Date: Tue, 4 Jan 2000 22:38:28 +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.1000104222030.951A-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 Juts simulating on paper leads to nothing wrong in theory: 1) SCSI/IO INQUIRY 2) TRANS_SETTINGS WIDE=3D1 SYNC=3D20MHz 3) SCSI/IO TEST UNIT READY + NEGO WIDE=3D1 -> 6,600 MB/s (16 bit) 4) SCSI/IO READ CAPACITY + NEGO SYNC=3D20MHz --> returns CHECK CONDITION 5) AUTO-SENSE + WIDE=3D1 (not to be stuck with Unit Attention condition) -> 6.600 MB/s (16 bit) 6) ANNOUNCE -> 6,600 MB/s (16 bit)=20 which matches observations, btw. The driver will probably try to negotiate SYNC=3D20MHz on the next SCSI IO,= =20 but this will not be announced and lead to user frustration. ;-) Sorry for that, but I donnot have any immediate solution. Will think about such. 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. :) G=E9rard. > 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 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.1000104222030.951A-100000>