Bug 25953

Summary: Attempt to access CD changer results in panic
Product: Base System Reporter: darkwalker <darkwalker>
Component: kernAssignee: Søren Schmidt <sos>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description darkwalker 2001-03-20 22:50:01 UTC
NEC CD changer no longer works in FreeBSD (it did in -current 2
weeks ago)

attempting to read any /dev/acd[0123]c device (even as non-root user)
causes a panic.. No dump because it apparently kills the IDE driver
too.

Panic message says instruction pointer = 0xc0131ca0
nm -a kernel.debug | grep c0131:
c0131a78 t acd_done
c0131ac8 t acd_read_toc
c0131fa8 t acd_select_done
c0131f58 t acd_select_done1
c0131ea4 t acd_setchan
c01317e8 T acd_start
c0131784 t acdstrategy

kernel dmesg looks different too, like it's putting the wrong
device in for the changer (ata1-master instead of the previous
acd0-3):
--
ad0: 10991MB <Maxtor 91152D8> [22332/16/63] at ata0-master UDMA33
ata1-master: Aladdin: two atapi devices on this channel, no DMA
ata1-master: CDROM with 4 CD changer <NEC CD-ROM DRIVE:252> at ata1-master PIO3
ata1-slave: Aladdin: two atapi devices on this channel, no DMA
acd4: CD-RW <YAMAHA CRW8424E> at ata1-slave PIO4
--

The two drives on that IDE controller are the NEC changer (master)
and a Yamaha CDRW (which works fine)

Fix: 

none known
How-To-Repeat: Try using an ATAPI CD changer with -current
Comment 1 Søren Schmidt freebsd_committer freebsd_triage 2001-05-30 10:45:35 UTC
Responsible Changed
From-To: freebsd-bugs->sos-bugs

I'll look at this.
Comment 2 Kris Kennaway freebsd_committer freebsd_triage 2001-05-30 11:37:43 UTC
Responsible Changed
From-To: sos-bugs->sos

Assuming that 'sos-bugs' was a typo :-)
Comment 3 Søren Schmidt freebsd_committer freebsd_triage 2001-09-06 10:30:01 UTC
State Changed
From-To: open->closed

Fixed, at least it works on my NEC changer now.