kern/61909: 5.2-Current fails to notice change of CD in drive
timon at memphis.mephi.ru
Sun Jan 25 14:20:30 PST 2004
>Synopsis: 5.2-Current fails to notice change of CD in drive
>Arrival-Date: Sun Jan 25 14:20:15 PST 2004
>Originator: Artem Ignatiev
>Release: FreeBSD 5.2-CURRENT i386
System: FreeBSD timon.nist 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Sun Jan 4 22:50:09 MSK 2004 root at timon.nist:/usr/obj/usr/src/sys/TIMON i386
When CD is changed in drive (or removed from it), kernel still maintains
data from its TOC, like tracklist or CD ID. That confuses programs, i.e
dagrab requests CDDB for previous CD in drive, and therefore gets wrong
Also stale files /dev/acdXtNN are kept in /dev
One must force kernel to renew TOC, for example issuing a `cdcontrol 1'
Insert some audio cd in drive
Read it contents (use dagrab -CN to extract some audiotracks)
Remove cd from drive.
ls /dev/acd?t* ; cdcontrol info
- and see info about the cd you're holding in hands
Workaround: start playing from new cd (or mount it). After that you can do
what you wanted to do.
More information about the freebsd-bugs