From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucio De Re To: 9fans mailing list <9fans@cse.psu.edu> Message-ID: <20030429111536.D26796@cackle.proxima.alt.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [9fans] SCSI initialisation Date: Tue, 29 Apr 2003 11:15:37 +0200 Topicbox-Message-UUID: 9a864dcc-eacb-11e9-9e20-41e7f4b1d025 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