Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2000 21:33:27 +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.1000104212054.722A-100000@localhost>
In-Reply-To: <Pine.BSF.4.21.0001032028430.2438-100000@turtle.looksharp.net>

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


On Mon, 3 Jan 2000, Adam wrote:

> If you mean the wide and mhz settings in the card "bios" setup (F2 at
> boot), I have the cdrom set to wide and 20mhz.  I just noticed too that i=
t
> reports the proper speeds when the cdrom drive contains a cdrom during
> boot.=20

The driver renegotiates for WIDE=3D0 and so for NARROW/ASYNC prior to
sending the REQUEST SENSE command following a CHECK CONDITION status
returned on the previous command. This is the behaviour I choose for the
driver in order to succeed the read of SENSE DATA when a UNIT ATTENTION is
present at the device side (due to a BDR sent by another initiator for
example, or the device having been switched off then on, etc ...).=20

Anyway, I expected the driver to renegotiate for the user wished settings
on the next SCSI commands (2 commands are needed due to the driver
negotiating WIDE on a command and then SYNC on the next command). If this
does not happen, then something has to be fixed. Will check the code and
prepare a fix if (as?) needed.

Thanks for your report.

Regards,
   G=E9rard.=20

> On Mon, 3 Jan 2000, Gerard Roudier wrote:
>=20
> >
> >Hello,
> >
> >The sym driver gets USER settings of SCSI devices from controller NVRAM
> >and reports these values as USER settings to CAM. The XPT just suggests
> >SIM to apply USER settings at initialization. But you can manually chang=
e
> >to better settings using camcontrol, once the system is up.=20
> >
> >Could you check how the device is user-configured in the NVRAM ?
> >You may let me know if the sym driver is not behaving as it should
> >regarding sync/wide negotiation. Thanks.
> >
> >I will provide a man page for the sym driver, but I donnot have found ti=
me=20
> >for writing it for the moment.
> >
> >Regards,
> >  G=E9rard.
> >
> >On Mon, 3 Jan 2000, Adam wrote:
> >
> >> I dont recall if this happened when I tried the driver last (two weeks
> >> ago) but a -current from today does this for me:
> >>=20
> >> Jan  3 16:00:13 sapphire /kernel: sym0: <875> irq 10 at device 15.0 on
> >> pci0
> >> Jan  3 16:00:13 sapphire /kernel: sym0: Tekram NVRAM, ID 7, Fast-20, S=
E,
> >> parity=20
> >> checking
> >> Jan  3 16:00:40 sapphire /kernel: cd1 at sym0 bus 0 target 3 lun 0
> >> Jan  3 16:00:40 sapphire /kernel: cd1: <PLEXTOR CD-ROM PX-40TW 1.01>
> >> Removable C
> >> D-ROM SCSI-2 device=20
> >> Jan  3 16:00:40 sapphire /kernel: cd1: 6.600MB/s transfers (16bit)
> >> Jan  3 16:00:40 sapphire /kernel: cd1: Attempt to query device size
> >> failed: NOT=20
> >> READY, Medium not present
> >>=20
> >> This is a UltraWide cdrom drive so it should show 40MB/sec right?
> >>=20
> >>=20
> >> Jan  3 16:36:07 sapphire /kernel: ncr0: <ncr 53c875 fast20 wide scsi> =
irq
> >> 11 at=20
> >> device 15.0 on pci0
> >> Jan  3 16:36:48 sapphire /kernel: cd1 at ncr0 bus 0 target 3 lun 0
> >> Jan  3 16:36:48 sapphire /kernel: cd1: <PLEXTOR CD-ROM PX-40TW 1.01>
> >> Removable C
> >> D-ROM SCSI-2 device=20
> >> Jan  3 16:36:48 sapphire /kernel: cd1: 40.000MB/s transfers (20.000MHz=
,
> >> offset 1
> >> 5, 16bit)
> >> Jan  3 16:36:48 sapphire /kernel: cd1: Attempt to query device size
> >> failed: NOT=20
> >> READY, Medium not present
> >
> >
>=20
>=20



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.1000104212054.722A-100000>