Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2004 19:43:55 +0300 (MSK)
From:      Artem Ignatev <timon@memphis.mephi.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/61537: 5.2-Current fails to notice change of CD in drive
Message-ID:  <200401181643.i0IGhtN3023185@memphis.mephi.ru>
Resent-Message-ID: <200401181650.i0IGo7kJ071335@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61537
>Category:       kern
>Synopsis:       5.2-Current fails to notice change of CD in drive
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 18 08:50:07 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Artem Ignatiev
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD timon.nist 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Sun Jan 4 22:50:09 MSK 2004 root@timon.nist:/usr/obj/usr/src/sys/TIMON i386


	
>Description:
	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.
	
>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
	
	
>Fix:
	Workaround: start playing from new cd (or mount it). After that you can do
	what you wanted to do.
	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401181643.i0IGhtN3023185>