9fans archive / 1997 / 07 / 39 /    prev next

From: Lucio de Re lucio@pro...
Subject: SCSI woes.
Date: Sun, 13 Jul 1997 16:55:24 +0200


The Plug-and-Play (disabled) AHA1542CP adapter and Seagate ST12400N 
drive combination that I have allocated to my future Plan 9 file server 
causes PCFS to return zero heads and zero cylinders, the number of 
sectors and bytes per track (3145968 (0x3000f0) and 1610735616, 
respectively) also seem unreasonable:

hd0: 0 cylinders 0 heads 3145968 sectors/track 1610735616 bytes

This is then followed by, perhaps understandably:

adaptec0: invdcmd #01, len 5
scsiwait timed out
adaptec0: invdcmd #02, len 1

in various groupings; "can't read partition block" seems to be the 
eventual prognosis.  I do get some

scsi?: cap 1, sec 0

messages as well, where the question mark above has been 0, 1, 2, 3 and 
4 so far.

I'm going to rebuild PCFS with some additional debugging to see if I 
can remedy the situation and get the file server running.  As I know 
frightfully little about SCSI, any suggestions, recommendations and 
labour/headache saving advice will be greatly appreciated.

Ha!  PCFS gave up after "scsi6: cap 1, sec 0" although I'm not 
convinced that a register dump following "exception/interrupt 0" is 
going to simplify my efforts much :-)
-- 
Lucio de Re (lucio@pro...)
Disclaimer: I'm working at getting my opinions to agree with me.