Bug 61537

Summary: 5.2-Current fails to notice change of CD in drive
Product: Base System Reporter: Artem 'Zazoobr' Ignatjev <timon>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.2-CURRENT   
Hardware: Any   
OS: Any   

Description Artem 'Zazoobr' Ignatjev 2004-01-18 16:50:07 UTC
	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
	tracklist.
	Also stale files /dev/acdXtNN are kept in /dev
	
	One must force kernel to renew TOC, for example issuing a `cdcontrol 1'
	command.

Fix: 

Workaround: start playing from new cd (or mount it). After that you can do
	what you wanted to do.
How-To-Repeat: 	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
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-08-26 21:33:48 UTC
State Changed
From-To: open->closed

See kern/61909 for more discussion.