9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: jmk@plan9.bell-labs.com jmk@plan9.bell-labs.com
Subject: [9fans] 9fs and 1542
Date: Mon,  5 Oct 1998 09:38:08 -0400	[thread overview]
Message-ID: <19981005133808.3EzD8eT0ct98rMyqGSAx4nI7N1M5DFOqltnXmfcwr3U@z> (raw)

I'll echo the concerns about termination and also to double-check
the kernel is correctly determining the cpu speed for delay loops.

That said, I've looked at the Plan9 fs scsiprobe routine and I'd just
take out the loop, turning

	status = 0;
	for(t = 0; t < 3; t++) {
		status = testur(ctlr, d);
		if(status == 0x6000)
			break;
	}

into

	status = testur(ctlr, d);

I don't know why the loop is there, it's probably a hangover
from some buggy hardware in the distant past - some of this code
dates from a Unibus controller on a Vax-11/750 - the current fs code
doesn't do this. The loop shouldn't cause any problems, but it
might be interacting with some marginal hardware problem.

--jim




             reply	other threads:[~1998-10-05 13:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-05 13:38 jmk [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-10-06  9:29 forsyth
1998-10-06  4:27 Kenji
1998-10-05 13:55 G.David
1998-10-05  9:01 forsyth
1998-10-05  8:17 arisawa
1998-10-03  8:34 Kenji
1998-09-30 11:48 jmk
1998-09-30 11:36 G.David
1998-09-30  7:05 arisawa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19981005133808.3EzD8eT0ct98rMyqGSAx4nI7N1M5DFOqltnXmfcwr3U@z \
    --to=jmk@plan9.bell-labs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).