From nobody@FreeBSD.org  Tue Mar 20 14:47:23 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id A736D37B718
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 20 Mar 2001 14:47:23 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f2KMlN829639;
	Tue, 20 Mar 2001 14:47:23 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200103202247.f2KMlN829639@freefall.freebsd.org>
Date: Tue, 20 Mar 2001 14:47:23 -0800 (PST)
From: darkwalker@bigfoot.com
To: freebsd-gnats-submit@FreeBSD.org
Subject: Attempt to access CD changer results in panic
X-Send-Pr-Version: www-1.0

>Number:         25953
>Category:       kern
>Synopsis:       Attempt to access CD changer results in panic
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 20 14:50:01 PST 2001
>Closed-Date:    Thu Sep 6 02:30:01 PDT 2001
>Last-Modified:  Thu Sep 06 02:31:05 PDT 2001
>Originator:     Michael Lothian
>Release:        current as of March 20th
>Organization:
>Environment:
FreeBSD stones.internal.dsmx.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Mar 20 14:18:19 PST 2001     root@stones.internal.dsmx.net:/usr/src/sys/compile/STONES  i386
>Description:
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)

>How-To-Repeat:
Try using an ATAPI CD changer with -current

>Fix:
none known

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sos-bugs 
Responsible-Changed-By: sos 
Responsible-Changed-When: Wed May 30 02:45:35 PDT 2001 
Responsible-Changed-Why:  
I'll look at this. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25953 
Responsible-Changed-From-To: sos-bugs->sos 
Responsible-Changed-By: kris 
Responsible-Changed-When: Wed May 30 03:37:43 PDT 2001 
Responsible-Changed-Why:  
Assuming that 'sos-bugs' was a typo :-) 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25953 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Thu Sep 6 02:30:01 PDT 2001 
State-Changed-Why:  
Fixed, at least it works on my NEC changer now. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25953 
>Unformatted:
