*BSD News Article 24649


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!pipex!doc.ic.ac.uk!sun.rhbnc.ac.uk!news
From: simon@dcs.rhbnc.ac.uk
Newsgroups: comp.os.386bsd.bugs
Subject: IDE drive problems - is it a bug?
Date: 2 Dec 1993 17:32:49 GMT
Organization: Univ. of London, Royal Holloway College.
Lines: 49
Message-ID: <2dl8s1$8v7@sun.rhbnc.ac.uk>
NNTP-Posting-Host: lt6.cs.rhbnc.ac.uk

Hi there,
        I am having a spot of bother.  I decided that 200M wasn't enough,
and finally treated myself to another 250M of harddisc.  But after a chunk
of struggling I can't make it happen...

        I have 386BSD 0.1 with the 2.4 patchkit installed, on a Western
Digital WDAC2200 IDE drive.  The kernel recognizes it as <WDC AC220F>. 
Recompiling the kernel with the config lines


controller      wd0     at isa? port "IO_WD1" bio irq 14 vector wdintr
disk            wd0     at wd0 drive 0
disk            wd1     at wd0 drive 1

in the configuration file.  The kernel recognizes the new drive, an 
IBM-H3256-A3 (badge-engineered?) drive as <H3256-A3>.  But I can't disklabel
it.  Every time I try it produces the errors

disklabel: /dev/rwd1a: Invalid argument

and then (from the system)

[date+time+machine name] /386bsd: wd1: Cannot find label (no disk label)

        The devices wd0 and rwd0 are

crw-r-----    1 root      3,   8 Dec  1 18:01 /dev/rwd1a
brw-r-----    1 root      0,   8 Sep  7 18:56 /dev/wd1a 



        I have tried setting up a 1-drive system with the new drive, and as
wd0 it disklabels just fine, with correct parameters and then newfs's OK.  I
have set it up as 2-drive and set up DOS on the second drive - FDISK seems
to have no problems.  So I would guess that my hardware is OK.

        So what?  Am I being like badly dumb?  Or is it really a bug?

Thanx

Simon

---
"This too is meaningless, a chasing after the wind"   -Ecclesiastes 4:16 

simon@dcs.rhbnc.ac.uk           | Not affiliated to any religion
simon@cs.rhbnc.ac.uk            | Not affiliated to any politics
zhac149@vax.rhbnc.ac.uk         | Not affiliated to any ideology
(+44/0)784 434568 (WET)         | What does that make me?