Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 1998 15:51:59 +0200 (CEST)
From:      Stefan Eggers <seggers@semyam.dinoco.de>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        seggers@semyam.dinoco.de
Subject:   kern/7996: CAM (in -current) for 53c875 fails to play audio CDs
Message-ID:  <199809201351.PAA01028@semyam.dinoco.de>

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

>Number:         7996
>Category:       kern
>Synopsis:       CAM (in -current) for 53c875 fails to play audio CDs
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 20 07:00:01 PDT 1998
>Last-Modified:
>Originator:     Stefan Eggers
>Organization:
none
>Release:        FreeBSD 3.0-BETA i386
>Environment:

	-current from Thursday, retried it with a kernel cvsuped
today with same result.

>Description:

	Trying to play back audio CDs with a program like cdcontrol
(which is included in the base system) results in a message about
extraneous data from the ncr driver.  The drive doesn't start playing.

	The messages from the driver are:

Sep 20 15:40:21 semyam /kernel: (cd0:ncr0:0:1:0): extraneous data discarded.
Sep 20 15:40:21 semyam /kernel: (cd0:ncr0:0:1:0): COMMAND FAILED (9 0) @f0714800.

	Dmesg shows the following lines for cd and ncr:

ncr0: <ncr 53c875 fast20 wide scsi> rev 0x03 int a irq 11 on pci0.12.0
ncr0: minsync=12, maxsync=137, maxoffs=16, 128 dwords burst, large dma fifo
ncr0: single-ended, open drain IRQ driver, using on-chip SRAM
ncr0: restart (scsi reset).
(probe0:ncr0:0:0:0): INQUIRY. CDB: 12 1 80 0 ff 0 
(probe0:ncr0:0:0:0): ILLEGAL REQUEST asc:24,0
(probe0:ncr0:0:0:0): Invalid field in CDB
(probe1:ncr0:0:1:0): INQUIRY. CDB: 12 1 80 0 ff 0 
(probe1:ncr0:0:1:0): ILLEGAL REQUEST asc:24,0
(probe1:ncr0:0:1:0): Invalid field in CDB
pass0 at ncr0 bus 0 target 0 lun 0
pass1 at ncr0 bus 0 target 1 lun 0
(cd0:ncr0:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(cd0:ncr0:0:1:0): NOT READY asc:3a,0
(cd0:ncr0:0:1:0): Medium not present
cd0 at ncr0 bus 0 target 1 lun 0
cd0: <PIONEER CD-ROM DR-U12X 1.06> Removable CD-ROM SCSI2 device 
cd0: 10.0MB/s transfers (10.0MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present
(da0:ncr0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:ncr0:0:0:0): NOT READY asc:3a,0
(da0:ncr0:0:0:0): Medium not present
da0 at ncr0 bus 0 target 0 lun 0
(cd0:ncr0:0:1:0): extraneous data discarded.
(cd0:ncr0:0:1:0): COMMAND FAILED (9 0) @f0714800.
(cd0:ncr0:0:1:0): extraneous data discarded.
(cd0:ncr0:0:1:0): COMMAND FAILED (9 0) @f0714800.
(cd0:ncr0:0:1:0): extraneous data discarded.
(cd0:ncr0:0:1:0): COMMAND FAILED (9 0) @f0714800.
(cd0:ncr0:0:1:0): extraneous data discarded.
(cd0:ncr0:0:1:0): COMMAND FAILED (9 0) @f0714800.

	The error messages at the end are the result of trying to do
an audio play.  The newest kernel versions I tested contained
sys/cam/scsi/scsi_cd.c version 1.1 and sys/pci/ncr.c version 1.130.

>How-To-Repeat:

	Use the above configuration, insert an audio CD and then try
to start playing with "cdcontrol play".  Now consult /var/log/messages
to see the errors ncr spit out.

>Fix:
	
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



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