From owner-freebsd-scsi Tue Jan 4 15:33:17 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from front6.grolier.fr (front6.grolier.fr [194.158.96.56]) by hub.freebsd.org (Postfix) with ESMTP id 7835214E3A for ; Tue, 4 Jan 2000 15:33:13 -0800 (PST) (envelope-from groudier@club-internet.fr) Received: from localhost (ppp-168-201.villette.club-internet.fr [195.36.168.201]) by front6.grolier.fr (8.9.3/No_Relay+No_Spam_MGC990224) with SMTP id AAA23408; Wed, 5 Jan 2000 00:32:58 +0100 (MET) Date: Wed, 5 Jan 2000 01:00:16 +0100 (MET) From: Gerard Roudier X-Sender: groudier@localhost To: Adam Cc: scsi@FreeBSD.ORG Subject: Re: sym troubles In-Reply-To: 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 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=3D20MHz > >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= =20 > > for once. :) > > >=20 > (with disk in) > sapphire:/root % camcontrol tur cd1 > Unit is ready > sapphire:/root % camcontrol inquiry cd1 > pass1: Removable CD-ROM SCSI-2 device=20 > pass1: 6.600MB/s transfers (16bit) Your device does not support the UNIT SERIAL NUMBER page. This can be=20 guessed from camcontrol not printing out this information by default. What happens may be: SCSI/IO INQUIRY (evpd=3D0) + Nego SYNC=3D20 MHz SCSI/IO INQUIRY (evpd=3D1, #page=3DUNIT_SERIAL_NUMBER) -> CHECK CONDITION (since not supported) AUTO_SENSE + Nego WIDE=3D1 -> 6.600 MHz (16 bit) So, nothing looks wrong there, excepted the frustrating announce that don't want to go away: :)=20 I suggest you the following magic command that should avoid the offending CHECK CONDITION and should allow the driver to negotiate SYNC=3D20MHz on=20 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: Removable CD-ROM SCSI-2 device=20 pass1: 40.000MB/s transfers (16bit) + some BLAH BLAH BLAH G=E9rard. =20 > I do not know if inquiry shows current settings though. =20 >=20 > 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: Removable CD-ROM SCSI-2 device=20 > pass1: 6.600MB/s transfers (16bit) >=20 >=20 >=20 >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-scsi" in the body of the message >=20 >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message