*BSD News Article 37778


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!warrane.connect.com.au!troll.apana.org.au!rivendell.apana.org.au!not-for-mail
From: phil@rivendell.apana.org.au (Phil Homewood)
Newsgroups: comp.os.386bsd.questions
Subject: [Free1.1.5.1] SCSI problems
Date: 12 Nov 1994 21:44:06 +1000
Organization: Rivendell - APANA Brisbane
Lines: 49
Message-ID: <3a29q6$dt@rivendell.apana.org.au>
NNTP-Posting-Host: rivendell.apana.org.au
X-Newsreader: TIN [version 1.2 PL2]

Hi all,

Hopefully someone can shed a little light on this for me:

I have a Future Domain 950 SCSI card, to which is attached a Quantum
ELS170S 170MB non-removable drive.

The card and the drive both successfully detect under FreeBSD
1.1.5.1, and I can write a disklabel to the drive.

However, trying to newfs sd0a, the seagate driver times out after
writing the super-block backups.

Depending on what SEADEBUG options I happen to have set in
seagate.c, I get one or more of the following errors which may be of
some help:

* sea_transfer_pio: timeout waiting for STAT_REQ

* sea: pio phase mismatch: X, want: Y, len: Z
   (X, Y and Z are virtually anything - no discernible pattern AFAICS)

* !STAT_BSY unit in data transfer!

* read error:48
  rdfs: input/output error

Defining SEADEBUG, SEADEBUG[123] I can actually newfs the drive;
however this is obviously a kluge and generates so much crud over my
console that it's unusable :-)

Has anybody else ever come across this problem?

Oh, one more thing: at compile time, I get this:

../../i386/isa/seagate.c: In function `sea_get_scb':
../../i386/isa/seagate.c:877: warning: passing arg 1 of `tsleep' from
incompatible pointer type

The offending line is:
	tsleep(&sea->free_scb, PRIBIO, "seascb", 0);

TIA,

Phil.
--
Phil Homewood                           phil@rivendell.apana.org.au
APANA Brisbane Regional Co-Ordinator    brisbane@apana.org.au
       "Every precious second is a chance to change"