From owner-freebsd-scsi Fri Mar 9 12:50: 3 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from front6m.grolier.fr (front6m.grolier.fr [195.36.216.56]) by hub.freebsd.org (Postfix) with ESMTP id 8CC5337B719 for ; Fri, 9 Mar 2001 12:49:57 -0800 (PST) (envelope-from groudier@club-internet.fr) Received: from nas1-218.mea.club-internet.fr (nas1-218.mea.club-internet.fr [195.36.139.218]) by front6m.grolier.fr (8.9.3/No_Relay+No_Spam_MGC990224) with ESMTP id VAA28498; Fri, 9 Mar 2001 21:49:46 +0100 (MET) Date: Fri, 9 Mar 2001 19:39:31 +0100 (CET) From: =?ISO-8859-1?Q?G=E9rard_Roudier?= X-Sender: groudier@linux.local To: Guido van Rooij Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: problem with Philips cdd3600 and Sym0 driver In-Reply-To: <20010309195014.A1505@gvr.gvr.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 9 Mar 2001, Guido van Rooij wrote: > I have a cdd3600 hooked up to a sym: > sym0: <810a> port 0xe800-0xe8ff mem 0xe6001000-0xe60010ff irq 10 at devic= e 20.0=20 > on pci0 > sym0: No NVRAM, ID 7, Fast-10, SE, parity checking > cd0 at sym0 bus 0 target 1 lun 0 > cd0: Removable CD-ROM SCSI-2 device=20 > cd0: 10.000MB/s transfers (10.000MHz, offset 8) > cd0: Attempt to query device size failed: NOT READY, Medium not present >=20 > When I use xmcd (which uses cam's passthrough), weird things happen.=20 The passthrough device has been designed for any kind of weird operations to get possible with SCSI devices. :-) > E.g. when I eject a disk from xmcd I get: > Mar 9 19:46:27 gvr /kernel: sym0:1:control msgout: 80 6. The driver here tried to send an ABORT message to the device. This=20 might be due to the IO lasting more than some expected time-out for=20 example. > Mar 9 19:46:27 gvr /kernel: sym0:1: ERROR (81:0) (6-a3-8) (8/13)=20 > @ (scriptb 50:48000000). This _quite_ _clear_ :-) error message indicates that the device asserted the SCSI REQ line but the SCSI chip (driven by SCRIPTS) expected the device to disconnect from the SCSI BUS. Such a release of the BUS is expected just after the ABORT message having been accepted by the device. > Mar 9 19:46:27 gvr /kernel: sym0: script cmd =3D 98080000 > Mar 9 19:46:27 gvr /kernel: sym0: regdump: da 10 00 13 47 08 01 1f 10 06= 81 a3 80 00 03 00 00 e0 ec 03 18 ff ff ff. > Mar 9 19:46:27 gvr /kernel: (noperiph:sym0:0:-1:-1): SCSI BUS reset dete= cted. The driver didn't want to be soft here and decided to reset everything. > When a disk is present and I start xmcd, I first get the following > messages from xmcd: > CD audio: (pass0:sym0:0:1:0): PLAY AUDIO MSF. CDB: 47 0 0 0 2 0 23 21 3e = 0=20 > (pass0:sym0:0:1:0): NOT READY csi:0,0,18,2a asc:4,1 > (pass0:sym0:0:1:0): Logical unit is in process of becoming ready >=20 > CD audio: (pass0:sym0:0:1:0): PLAY AUDIO(12). CDB: a5 0 0 0 0 0 0 2 70 8f= 0 0=20 > (pass0:sym0:0:1:0): NOT READY csi:0,0,18,2e asc:4,1 > (pass0:sym0:0:1:0): Logical unit is in process of becoming ready >=20 > Manually pressing play again in xmcd will work without error messages. >=20 > This is on a 4.2-stable from Januari 15th. >=20 > Any ideas?=20 Unless there is a fault (from me) in the SCSI SCRIPTS, the device should have disconnected the BUS as the driver was expecting it to do so. I will check the code. G=E9rard. > -Guido >=20 > ps: I am not subscribed to -scsi, so please leave my name in the Cc: >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-scsi" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message