From: Lucio De Re <lucio@proxima.alt.za>
To: 9fans mailing list <9fans@cse.psu.edu>
Subject: [9fans] SCSI initialisation
Date: Tue, 29 Apr 2003 11:15:37 +0200 [thread overview]
Message-ID: <20030429111536.D26796@cackle.proxima.alt.za> (raw)
The current (?) version of /sys/src/boot/pc/sdscsi.c has the
following in :/^scsiverify:
if((r->sense[2] & 0x0F) != 0x02)
continue;
if(r->sense[12] == 0x3A){
status = SDok;
break;
}
as opposed to, in /sys/src/9/pc/sdscsi.c:
if((r->sense[2] & 0x0F) != 0x02)
continue;
/*
* Unit is 'not ready'.
* If it needs an initialising command, set status
* so it will be spun-up below.
* If there's no medium, that's OK too, but don't
* try to spin it up.
*/
if(r->sense[12] == 0x04 && r->sense[13] == 0x02){
status = SDok;
break;
}
if(r->sense[12] == 0x3A)
break;
Sadly, my controller seems to return
r->sense[12] == 0x04 && r->sense[13] == 0x01
and I have no idea what to make of it :-(
Suggestions? I can't find my SCSI reference manual, so I'ma bit at
the mercy of the list. Oh, the problem I'm trying to address is
9load's inability to use #S/sd00/9fat/plan9.ini.
++L
next reply other threads:[~2003-04-29 9:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-29 9:15 Lucio De Re [this message]
2003-04-29 9:59 ` Nigel Roles
2003-04-29 10:07 ` Lucio De Re
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=20030429111536.D26796@cackle.proxima.alt.za \
--to=lucio@proxima.alt.za \
--cc=9fans@cse.psu.edu \
/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).