From owner-freebsd-bugs Sun Sep 20 07:00:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA28674 for freebsd-bugs-outgoing; Sun, 20 Sep 1998 07:00:30 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA28662 for ; Sun, 20 Sep 1998 07:00:28 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id HAA04854; Sun, 20 Sep 1998 07:00:01 -0700 (PDT) Received: from tim.xenologics.com (tim.xenologics.com [194.77.5.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA28306 for ; Sun, 20 Sep 1998 06:58:26 -0700 (PDT) (envelope-from seggers@semyam.dinoco.de) Received: (from uucp@localhost) by tim.xenologics.com (8.8.5/8.8.8) with UUCP id PAA23468 for FreeBSD-gnats-submit@freebsd.org; Sun, 20 Sep 1998 15:56:06 +0200 (MET DST) Received: (from seggers@localhost) by semyam.dinoco.de (8.9.1/8.8.8) id PAA01028; Sun, 20 Sep 1998 15:51:59 +0200 (CEST) (envelope-from seggers) Message-Id: <199809201351.PAA01028@semyam.dinoco.de> Date: Sun, 20 Sep 1998 15:51:59 +0200 (CEST) From: Stefan Eggers Reply-To: seggers@semyam.dinoco.de To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: seggers@semyam.dinoco.de X-Send-Pr-Version: 3.2 Subject: kern/7996: CAM (in -current) for 53c875 fails to play audio CDs Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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: 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: 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