* SCSI NCR5C7,8xx works NCR5C8xx doesnt on cdrom
@ 1996-09-08 21:31 Thunderhawk Alpha
1996-09-08 23:15 ` jestabro
1996-09-10 23:03 ` Gerard Roudier
0 siblings, 2 replies; 3+ messages in thread
From: Thunderhawk Alpha @ 1996-09-08 21:31 UTC (permalink / raw)
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)?
Thunderhawk Alpha
seafire@ix.netcom.com
"One if by land, two if by sea, or press 0 followed by the pound sign to
leave a message."
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: SCSI NCR5C7,8xx works NCR5C8xx doesnt on cdrom
1996-09-08 21:31 SCSI NCR5C7,8xx works NCR5C8xx doesnt on cdrom Thunderhawk Alpha
@ 1996-09-08 23:15 ` jestabro
1996-09-10 23:03 ` Gerard Roudier
1 sibling, 0 replies; 3+ messages in thread
From: jestabro @ 1996-09-08 23:15 UTC (permalink / raw)
>>> Thunderhawk Alpha said:
> 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)?
Did you make sure to configure the 8XX driver to use IO-mapped registers (I
think answering the second question YES instead of the default NO)?
That driver doesn't (yet) work with memory-mapped registers...
--Jay++
-------------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Migration Tools - LINUX Project
Digital Equipment Corp. (508) 952-4202 or (DTN) 227-4202
151 Taylor Street - TAY1-2 enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407 decnet: tallis::jestabro
-------------------------------------------------------------------------------
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: SCSI NCR5C7,8xx works NCR5C8xx doesnt on cdrom
1996-09-08 21:31 SCSI NCR5C7,8xx works NCR5C8xx doesnt on cdrom Thunderhawk Alpha
1996-09-08 23:15 ` jestabro
@ 1996-09-10 23:03 ` Gerard Roudier
1 sibling, 0 replies; 3+ messages in thread
From: Gerard Roudier @ 1996-09-10 23:03 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-09-10 23:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-08 21:31 SCSI NCR5C7,8xx works NCR5C8xx doesnt on cdrom Thunderhawk Alpha
1996-09-08 23:15 ` jestabro
1996-09-10 23:03 ` Gerard Roudier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox