Subject: problem creating disklabel on newly added drive
To: None <netbsd-help@NetBSD.ORG>
From: Michael K. Sanders <msanders@aros.net>
List: netbsd-help
Date: 07/17/1998 15:19:16
I just installed an Adaptec 2944UW and a Quantum Atlas II 4GB Wide
Differential drive into a NetBSD/i386 1.3.2 system that boots from an
IDE drive.  I'm having trouble getting a disklabel onto the drive.

I'm accustomed to just using 'disklabel -e' to edit the fictitious
label write it to the disk, but I get the following error:

  disklabel: ioctl DIOCWDINFO: No disk label on disk;
  use "disklabel -r" to install initial label

An attempt to use disklabel with the -r flag gives:

  disklabel: no disk label

What am I doing wrong?


Copyright (c) 1996, 1997, 1998
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.3.2 (GENERIC) #0: Sun May 24 19:45:48 EDT 1998
    perry@frankenstein.piermont.com:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: family 5 model 2 step c
cpu0: Intel Pentium (P54C) (586-class)
real mem  = 66715648
avail mem = 62902272
using 840 buffers containing 3440640 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82439HX System Controller (TXC) (rev. 0x03)
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371SB PCI-to-ISA Bridge (PIIX3) (rev. 0x01)
Intel 82371SB IDE Interface (PIIX3) (IDE mass storage, interface 0x80)
at pci0 dev 7 function 1 not configured
ahc1 at pci0 dev 9 function 0
ahc1: interrupting at irq 12
ahc1: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
scsibus0 at ahc1 channel 0: 16 targets
ahc1: target 6 using 16Bit transfers
ahc1: target 6 synchronous at 10.0MHz, offset = 0x8
sd0 at scsibus0 targ 6 lun 0: <QUANTUM, XP34550WD, LXY4> SCSI2
0/direct fixed
sd0: 4341MB, 5899 cyl, 10 head, 150 sec, 512 bytes/sect x 8890760
sectors
fxp0 at pci0 dev 11 function 0: Intel EtherExpress Pro 10+/100B
Ethernet
fxp0: interrupting at irq 10
fxp0: Ethernet address 00:a0:c9:b1:ed:a5
Trident Microsystems TGUI 9660 (VGA display, revision 0xd3) at pci0
dev 12 function 0 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37b irq 7
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
atapibus0 at wdc0
wd0 at wdc0 drive 0: <WDC AC23200L>
wd0: using 16-sector 16-bit pio transfers, lba mode
wd0: 3098MB, 6346368 sec, 512 bytes/sec
wd1 at wdc0 drive 1: <WDC AC33100H>
wd1: using 16-sector 16-bit pio transfers, lba mode
wd1: 3020MB, 6185088 sec, 512 bytes/sec
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
pc0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
biomask 5040 netmask 5440 ttymask 54c2
sd0: no disk label
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs