Subject: Can't newfs a new disk
To: None <netbsd-help@NetBSD.ORG>
From: Paul M. Newhouse <newhouse@pimin.diac.com>
List: netbsd-help
Date: 01/01/1997 01:11:33
Ok, I give up. I'm running a simple box with:

120MHz 486
NetBSD 1.1
8MB Mem
2 - Serial IO cards
NE2000 compatible
SVGA 
850MB Seagate IDE
3.2GB IBM IDE

I've gotten 2nd and 3rd disks to configure on other NetBSD boxes.  I can't figure 
out what I'm doing wrong here.

>From "dmesg" I get:

    wdc0 at isa0 port 0x1f0-0x1f7 irq 14
    wd0 at wdc0 drive 0: 811MB, 1648 cyl, 16 head, 63 sec, 512 bytes/sec <ST3850A>
    wd0: using 16-sector 16-bit pio transfers, lba addressing
    wdc1 at isa0 port 0x170-0x177 irq 15
    wd1 at wdc1 drive 0: 3098MB, 6296 cyl, 16 head, 63 sec, 512 bytes/sec <IBM-DAQA-33240>
    wd1: using 16-sector 16-bit pio transfers, lba addressing

>From "disklabel -r wd1" I get:

    # /dev/rwd1d:
    type: ESDI
    disk: NetBSD-current
    label: IBM-DAQA-33240  
    flags:
    bytes/sector: 512
    sectors/track: 63
    tracks/cylinder: 16
    sectors/cylinder: 1008
    cylinders: 6296
    rpm: 5400
    interleave: 1
    trackskew: 0
    cylinderskew: 0
    headswitch: 0           # milliseconds
    track-to-track seek: 0  # milliseconds
    drivedata: 0 
    
    8 partitions:
    #        size   offset    fstype   [fsize bsize   cpg]
      a:   250992     1008    unused        0     0         # (Cyl.    1 - 249)
      b:   252000   252000    unused        0     0         # (Cyl.  250 - 499)
      c:  6346368        0    unused        0     0         # (Cyl.    0 - 6295)
      d:  6346368        0    unused        0     0         # (Cyl.    0 - 6295)
      e:  1512000   504000    unused        0     0         # (Cyl.  500 - 1999)
      f:  1512000  2016000    unused        0     0         # (Cyl. 2000 - 3499)
      g:  1008000  3528000    unused        0     0         # (Cyl. 3500 - 4499)
      h:  1810368  4536000    unused        0     0         # (Cyl. 4500 - 6295)

This shows up after a reboot. So, I think it must actually be on the disk.

Then I get this from newfs "/dev/rwd1":

    # newfs /dev/rwd1a
    newfs: /dev/rwd1a: Device not configured

Thanks,
Paul