Date: Wed, 5 Jan 2000 01:00:16 +0100 (MET) From: Gerard Roudier <groudier@club-internet.fr> To: Adam <bsdx@looksharp.net> Cc: scsi@FreeBSD.ORG Subject: Re: sym troubles Message-ID: <Pine.LNX.3.95.1000105003110.342A-100000@localhost> In-Reply-To: <Pine.BSF.4.21.0001041704280.7228-100000@turtle.looksharp.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 4 Jan 2000, Adam wrote:
> >But may-be you can check the above by trying the following:
> >
> >1) Send a TUR from camcontrol -> SIM should silently negotiate
> > SYNC=20MHz
> >2) Tell camcontrol to read current settings (if possible, is it ?)
> >3) If result is 40.000 MB/s (16 bit), then practice matches the theory
> > for once. :)
> >
>
> (with disk in)
> sapphire:/root % camcontrol tur cd1
> Unit is ready
> sapphire:/root % camcontrol inquiry cd1
> pass1: <PLEXTOR CD-ROM PX-40TW 1.01> Removable CD-ROM SCSI-2 device
> pass1: 6.600MB/s transfers (16bit)
Your device does not support the UNIT SERIAL NUMBER page. This can be
guessed from camcontrol not printing out this information by default.
What happens may be:
SCSI/IO INQUIRY (evpd=0) + Nego SYNC=20 MHz
SCSI/IO INQUIRY (evpd=1, #page=UNIT_SERIAL_NUMBER)
-> CHECK CONDITION (since not supported)
AUTO_SENSE + Nego WIDE=1 -> 6.600 MHz (16 bit)
So, nothing looks wrong there, excepted the frustrating announce that
don't want to go away: :)
I suggest you the following magic command that should avoid the offending
CHECK CONDITION and should allow the driver to negotiate SYNC=20MHz on
the normal INQUIRY command and prove us it did so as expected:
********************************
* camcontrol inquiry cd1 -D -R *
********************************
I expect this one to finally tell us the truth. Answer should resemble the
following as you know:
pass1: <PLEXTOR CD-ROM PX-40TW 1.01> Removable CD-ROM SCSI-2 device
pass1: 40.000MB/s transfers (16bit) + some BLAH BLAH BLAH
Gérard.
> I do not know if inquiry shows current settings though.
>
> sapphire:/root % camcontrol negotiate cd1 -R 20 -W 16 -a
> Current Parameters:
> (pass1:sym0:0:3:0): sync parameter: 0
> (pass1:sym0:0:3:0): offset: 0
> (pass1:sym0:0:3:0): bus width: 16 bits
> (pass1:sym0:0:3:0): disconnection is enabled
> (pass1:sym0:0:3:0): tagged queueing is disabled
> New Parameters:
> (pass1:sym0:0:3:0): sync parameter: 12
> (pass1:sym0:0:3:0): frequencey: 20.000MHz
> (pass1:sym0:0:3:0): offset: 15
> (pass1:sym0:0:3:0): bus width: 16 bits
> (pass1:sym0:0:3:0): disconnection is enabled
> (pass1:sym0:0:3:0): tagged queueing is disabled
> sapphire:/root % camcontrol negotiate cd1
> Current Parameters:
> (pass1:sym0:0:3:0): sync parameter: 12
> (pass1:sym0:0:3:0): frequencey: 20.000MHz
> (pass1:sym0:0:3:0): offset: 15
> (pass1:sym0:0:3:0): bus width: 16 bits
> (pass1:sym0:0:3:0): disconnection is enabled
> (pass1:sym0:0:3:0): tagged queueing is disabled
> sapphire:/root % camcontrol inquiry cd1
> pass1: <PLEXTOR CD-ROM PX-40TW 1.01> Removable CD-ROM SCSI-2 device
> pass1: 6.600MB/s transfers (16bit)
>
>
>
>
>
> 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.3.95.1000105003110.342A-100000>
