Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!usc!cs.utexas.edu!uunet!news.sprintlink.net!clark.net!clark.net!not-for-mail From: ack@clark.net (Eric S. Hvozda) Newsgroups: comp.os.386bsd.bugs Subject: Re: [NetBSD 0.9] patch to wd.c for IDE controller weirdnesses Date: 3 Jan 1994 22:40:59 -0500 Organization: Clark Internet Services, Inc. Lines: 34 Message-ID: <2gaogb$7k@explorer.clark.net> References: <2ga4l7$i75@explorer.clark.net> <2ga76e$r01@unix1.cc.uop.edu> <2gac7i$ma7@explorer.clark.net> <2gakmg$ac4@unix1.cc.uop.edu> NNTP-Posting-Host: explorer.clark.net Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit In article <2gakmg$ac4@unix1.cc.uop.edu>, Ken Hughes <hughes@napa.eng.uop.edu> wrote: > >That's the thing. The label on my disk was fine; it was the driver which >was miscalculating where to read the label from. The disk was setup >as 936/16/17 but NetBSD determined it was 1024/14/17 when booting with the >second IDE attached, so the disk partition table saying the NetBSD >partition was as x/y/z was calculating the incorrect physical block. As I >said, when I jumpered wd0 things were fine; the disk label was still >there. Hmmm, I've had the 2nd disk from the very beginning, I used pfdisk to partition both disks and used the geometery it reported and I've never had a problem until I patched wd.c. Well, I do seem to remember newfs complaining about the last cylinder not being used (it was marked as parital or something). Hmmm, maybe I need to back it up and reformat it and see if the problem bails then. I'm 99.5% I have both drives jumpered right, but It's simple to check that. How did you determine that NetBSD saw the geometery differently? By watching auto configuration I assume. In that case, both geometeries match for me. NetBSD's fdisk (in /sbin ?) also reports the proper (and the same) geometery all the way around. >I've also applied the patch to wd.c, but all this occured before then. Hmmmm, I'm really beginning to wonder if I have a geometery problem or the reported partial cylinders... Blah....it's not gonna be fun backing that puppy up... -- Ack! Creek, not creek; Pop not soda; Car needs washed...