From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199609111908.PAA10667@Valinet.com> Date: Tue, 10 Sep 1996 23:03:36 +0000 (GMT) From: Gerard Roudier Subject: Re: SCSI NCR5C7,8xx works NCR5C8xx doesnt on cdrom In-Reply-To: <199609082131.OAA13010@sjx-ixn4.ix.netcom.com> On Sun, 8 Sep 1996, Thunderhawk Alpha wrote: > I have a portable SCSI-II CDROM that I have been using on my UDB. I decided > to try the 8xx scsi driver since I read that it was supposed to be better. I > took the defaults for making (2.0.16&18 kernel) on 8xx driver. When I go to > access the cdrom (ls on /mnt/cdrom/RedHat/RPMS) I get a number of error > lines with scsi resets and then the system hangs, unable to hot reboot. When > I go back to the 7,8xx driver, all is well. Any suggestions (or is there > really not that much to gain by using the 8xx driver)? > The default configuration for the 2 drivers are different: - synchronous negotiation: 8xx : initiated if announced by the device in byte 7 of INQUIRY response. 7,8xx : no negotiation (so transfers are always asynchronous). - disconnections: 8xx : allowed. 7,8xx : not allowed. - scsi parity checking: 8xx : enabled. (can be disabled with CONFIG_EXPERIMENTAL = Y) 7,8xx : disabled. - selection timeout: 8xx : 409 ms. (hard-coded in source file, 250ms recommended by SCSI-2) 7,8xx : 819 ms. (The Net/FreeBSD ncr driver and the Tekram driver use 204 ms). Your problem may be due to one of the above differences. Since IDE devices are now able to do DMA and transfer data at high speed, the main advantages of scsi systems for performance are: - disconnections - parity checking - synchronous transfers - tagged command queueing (for hard disks that support it properly) Another advantage is that disks with large cache and very short access time generally support only scsi interface. Disconnections, synchronous transfers and tagged queuing support are announced by scsi-2 devices in the INQUIRY response, and I never read that parity checking was optionnal for scsi-2 devices (perhaps I have missed something since my english is too bad). So, the default configuration for the 8xx driver is quite OK, being given that the driver does not try to use the above features with scsi-1 devices. Try to disable, one at a time, parity checking, disconnections, synchronous negotiation. If your CD device does not work with these change, you can try to increase the selection timeout by applying this patch to ncr53c8xx.c: - OUTB (nc_stime0, 0x0d ); /* HTH = disable STO = 0.4 sec. */ + OUTB (nc_stime0, 0x0e ); /* HTH = disable STO = 0.8 sec. */ Gerard. -- To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null