Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2001 19:39:31 +0100 (CET)
From:      =?ISO-8859-1?Q?G=E9rard_Roudier?= <groudier@club-internet.fr>
To:        Guido van Rooij <guido@gvr.org>
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: problem with Philips cdd3600 and Sym0 driver
Message-ID:  <Pine.LNX.4.10.10103091922200.1415-100000@linux.local>
In-Reply-To: <20010309195014.A1505@gvr.gvr.org>

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



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 device 20.0 
> on pci0
> sym0: No NVRAM, ID 7, Fast-10, SE, parity checking
> cd0 at sym0 bus 0 target 1 lun 0
> cd0: <PHILIPS CDD3600 CD-R/RW 2.00> Removable CD-ROM SCSI-2 device 
> cd0: 10.000MB/s transfers (10.000MHz, offset 8)
> cd0: Attempt to query device size failed: NOT READY, Medium not present
> 
> When I use xmcd (which uses cam's passthrough), weird things happen. 

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 
might be due to the IO lasting more than some expected time-out for 
example.

> Mar  9 19:46:27 gvr /kernel: sym0:1: ERROR (81:0) (6-a3-8) (8/13) 
>                                 @ (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 = 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 detected.

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 
> (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
> 
> CD audio: (pass0:sym0:0:1:0): PLAY AUDIO(12). CDB: a5 0 0 0 0 0 0 2 70 8f 0 0 
> (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
> 
> Manually pressing play again in xmcd will work without error messages.
> 
> This is on a 4.2-stable from Januari 15th.
> 
> Any ideas? 

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érard.

> -Guido
> 
> ps: I am not subscribed to -scsi, so please leave my name in the Cc:
> 
> 
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10103091922200.1415-100000>