*BSD News Article 17101


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!uunet!gatech!usenet.ufl.edu!usenet.cis.ufl.edu!caen!destroyer!cs.ubc.ca!alberta!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!cpsc.ucalgary.ca!xenlink!fsa.ca!deraadt
From: deraadt@fsa.ca (Theo de Raadt)
Subject: Re: more netbsd 0.8 woes
In-Reply-To: mark@roissy.umd.edu's message of 8 Jun 1993 16: 54:51 GMT
Message-ID: <DERAADT.93Jun8203804@newt.fsa.ca>
Sender: news@fsa.ca
Nntp-Posting-Host: newt.fsa.ca
Organization: little lizard city
References: <1993Jun7.182848.779@mic.ucla.edu> <1v2g8r$o47@umd5.umd.edu>
Date: Wed, 9 Jun 1993 03:38:04 GMT
Lines: 30

In article <1v2g8r$o47@umd5.umd.edu> mark@roissy.umd.edu (Mark Sienkiewicz) writes:
   In article <1993Jun7.182848.779@mic.ucla.edu> scott@pita.cns.ucla.edu (Scott Burris) writes:
   >
   >	- running with two ide drives causes the system to hang during
   >	  fsck's preening phase when it's accessing both drives at once
   >	  ^T shows system time on fsck increasing in sync with real time,
   >	  user time doesn't change (sounds like a driver bug)

   It's a known bug from the "barsoom" driver.  If you config your system with
   "root on wd0 swap on wd0 and wd1", when the system comes up it opens
   each drive independently.

   Another thing you can do is fix /etc/fstab so that it fsck's the disks one
   after the other, instead of at the same time.

   Of course, ultimately it _is_ a driver bug.

I don't believe this bug exists. I had major problems accessing two
drives, even with modifications to the original wd.c, until I switched
to barsoom.  Since that day, everything has worked wonderful. When I
put mod-barsoom (with yet a few more local modifications) into the
netbsd source tree, things worked even better; except there appears to
be some very bad behaviour when it actually hits a hard block error
(nothing to do with bad144).

If anyone were to "get down and dirty" and write a working wd device
driver, they would have their praises sung from hill and dale...
--
NOTE: I cut a small piece off a finger -> excuse briefness in mail
This space not left unintentionally unblank.		deraadt@fsa.ca