From: Gerard Roudier <groudier@club-internet.fr>
Subject: Re: SCSI driver times out on UDB?
Date: Fri, 25 Oct 1996 22:16:49 +0000 (GMT) [thread overview]
Message-ID: <220745c2f4e5adb2058c6375d8f3ca87.axp-list@archive.invalid> (raw)
In-Reply-To: <199610251330.XAA00320@cs.monash.edu.au>
On Fri, 25 Oct 1996, Bernd Bernie Meyer wrote:
> Hi there,
>
> My UDB's disk drive has recently stopped working (it doesn't even spin
> up anymore). No problem, I thought, it was crap, anyway, I will just get
> some decent disk in there. Of course, no can do --- the power supply is
> too weak.
>
> So, my idea was to share the SCSI disk in my PC with the UDB. The setup
> would be something like
>
>
> _________________ ____________________
> I V I
> NCR NCR disk
> UDB Pentium
That should work, at least on paper.
Do you really need such configuration?
> with termination on the UDB NCR and on the disk. The UDB's NCR is supposed
> to get SCSI id 5, the Pentium will grab 7, and the disk is at 0. Of course,
> the UDB and the Pentium will use seperate partitions on the disk, otherwise
> it would be sure to end in disaster.
>
> Well, after unsuccessfully trying to convince the ARC console to leave alone
> SCSI ID 7, I switched to SRM (and boy, I like it :-), and SRM has no problems
> doing as it is told.
>
> I managed to install a (minimal) RedHat 4.0 on the UDB's partition (while
> the Pentium was sitting at the CMOS setup screen, thus leaving alone the
> SCSI bus).
>
> I _can_ boot both and use both machines at the same time (the Pentium gets
> slightly annoyed at the SCSI bus being reset when the UDB boots, but
> nothing bad happens). BUT:
>
> Every now and again, the UDB will stop working with a message to the effect
> of (from memory)
>
> ncr53c8xx: aborting command due to timeout
Aie! something went wrong ...
> and then a PID and some more info that doesn't seem to helpful. Unfortunately,
> not only will it not recover from such a timeout, but it also seems to kill
> the SCSI bus --- the Pentium can't access the disk anymore, either. BAD!
In my opinion, drivers writers did not imagine such situation.
For example, the scsi reset will set devices in asynchronous mode, and
initiators that negotiated sync transfers will continue to use sync
transfers.
There are probably other unexpected bad things that may happen ...
> OK, I _do_ have an idea --- if I understand it correctly, the Pentium has
> higher priority on the bus than the UDB. So it might happen that the UDB
> wants to talk to the disk, and as the Pentium is using the bus at the
> time, won't get through. This is probably unanticipated by the driver
> writers, and might in extreme cases lead to a timeout. Does that sound
> reasonable?
>
> Now, my questions:
>
> a) Any idea where I could change the timeout period to some really high
> value? And why does a timeout hang the SCSI bus?
The SD timeout is 15 seconds. It is reasonable and large. If you get a
timeout, obviously it is a problem.
Increasing the timeout will not fix anything.
> b) Is the suggested setup possible at all, using the cheap NCRs?
In theory probably. But in my opinion, drives and drivers are not quite
ready for such things even if the scsi-2 specs do not preclude it.
> c) I am using the 2.0.21 kernel with the BSD-53c8xx driver on the Pentium,
> and the default RedHat 4.0 Noname kernel on the UDB. Any known
> problems with the SCSI drivers in either (if so, I can recompile
> kernels for both platforms without trouble).
> d) On a related note --- is there a way to make the SRM console autoboot
> my MILO?
>
> Any help appreciated --- that UDB is waiting to go into action again!
I you really need such configuration, you should, in my opinion:
- Only use untagged commands on both hosts.
- Only use asynchronous transfers on both hosts.
- A pilgrimage in Lourdes (FRANCE) (known for its miracles) may help too. :)
> TIA
>
> Bernie
Gerard.
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
next prev parent reply other threads:[~1996-10-25 22:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-25 13:27 SCSI driver times out on UDB? Bernd
1996-10-25 18:32 ` Marc Singer
1996-10-25 22:16 ` Gerard Roudier [this message]
-- strict thread matches above, loose matches on Subject: below --
1996-10-27 14:25 Eric Youngdale
1996-10-27 17:36 Matthew Jacob
1996-10-27 18:09 Eric Youngdale
1996-10-27 18:40 Matthew Jacob
1996-10-27 19:11 Eric Youngdale
1996-10-27 19:31 Matthew Jacob
1996-10-27 22:04 Eric Youngdale
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox