Subject: is the problem of not finding root on ld? with mlx(4) a known one?
To: NetBSD Kernel Technical Discussion List <tech-kern@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: tech-kern
Date: 01/26/2004 19:23:31
After finally rebuilding and updating my alpha I've moved the root
filesystem over to a RAID-1 partition on the Mylex DCA960.

However when I boot I have to explicitly enter the root (and swap)
device (and root filesystem type too, of course).

My kernel config has:

	config		netbsd	root on ? type ?

NetBSD 1.6.2_RC2 (BUILDING) #5: Fri Jan 23 21:49:18 EST 2004
    woods@building:/build/woods/building/NetBSD-1.6.x-alpha-alpha-obj/proven/work/woods/m-NetBSD-1.6/sys/arch/alpha/compile/BUILDING
AlphaServer 4000 5/400 4MB, 400MHz, s/n NI64906T1N
8192 byte page size, 2 processors.
total memory = 1536 MB
(2080 KB reserved for PROM, 1533 MB used by NetBSD)
avail memory = 1421 MB
using 9830 buffers containing 78640 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164A-1
cpu0: VAX FP support, IEEE FP support, Primary Eligible
cpu0: Architecture extensions: 1<BWX>
cpu1 at mainbus0: ID 1, 21164A-2
cpu1: VAX FP support, IEEE FP support
cpu1: processor off-line; multiprocessor support not present in kernel
mcbus0 at mainbus0: 4MB BCache
mcmem0 at mcbus0 mid 1: Memory
mcpcia0 at mcbus0 mid 5: PCI Bridge
mcpcia0: Horse Revision 3, Left Handed Saddle Revision 3, CAP Revision 2
pci0 at mcpcia0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
siop0 at pci0 dev 1 function 0: Symbios Logic 53c810 (fast scsi)
siop0: interrupting at kn300 irq 36
scsibus0 at siop0: 8 targets, 8 luns per target
ppb0 at pci0 dev 2 function 0: Digital Equipment DECchip 21050 PCI-PCI Bridge (rev. 0x02)
pci1 at ppb0 bus 2
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
isp0 at pci1 dev 0 function 0: QLogic 1020 Ultra Wide SCSI HBA
isp0: interrupting at kn300 irq 40
scsibus1 at isp0: 16 targets, 8 luns per target
mlx0 at pci0 dev 3 function 0: Mylex RAID (v2 interface)
mlx0: interrupting at kn300 irq 44
mlx0: DAC960P/PD, 3 channels, firmware 2.70-0-00, interface V2, 32MB RAM
ld0 at mlx0 unit 0: RAID6, online
ld0: 8182 MB, 4155 cyl, 64 head, 63 sec, 512 bytes/sect x 16756736 sectors
ld1 at mlx0 unit 1: RAID6, online
ld1: 8182 MB, 4155 cyl, 64 head, 63 sec, 512 bytes/sect x 16756736 sectors
ld2 at mlx0 unit 2: RAID5, online
ld2: 28637 MB, 7272 cyl, 128 head, 63 sec, 512 bytes/sect x 58648576 sectors
mcpcia1 at mcbus0 mid 4: PCI Bridge
mcpcia1: Horse Revision 3, Left Handed Saddle Revision 3, CAP Revision 2
pci2 at mcpcia1 bus 0
pci2: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pceb0 at pci2 dev 1 function 0: Intel 82375EB/SB PCI-EISA Bridge (PCEB) (rev. 0x05)
vga0 at pci2 dev 2 function 0: S3 Trio32/64 (rev. 0x00)
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
wsdisplay0 at vga0 (kbdmux ignored)
tlp0 at pci2 dev 3 function 0: DECchip 21140 Ethernet, pass 1.2
tlp0: broken MicroWire interface detected; setting SROM size to 1Kb
tlp0: interrupting at kn300 irq 12
tlp0: DEC DE500-XA, Ethernet address 00:00:f8:1e:38:a7
tlp0: 10baseT, 100baseTX, 100baseTX-FDX, 10baseT-FDX
fpa0 at pci2 dev 4 function 0: DEC DEFPA PCI FDDI SAS Controller
fpa0: FDDI address 08:00:2b:b7:68:e8, FW=3.20, HW=1, SMT V7.2
fpa0: FDDI Port = S (PMD = ANSI Multi-Mode)
fpa0: interrupting at kn300 irq 16
eisa0 at pceb0
isa0 at pceb0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux ignored)
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 (mux ignored)
lpt0 at isa0 port 0x3bc-0x3bf irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
stray kn300 irq 40
scsibus0: waiting 2 seconds for devices to settle...
siop0: alloc newcdb at PHY addr 0x875a4000
st0 at scsibus0 target 0 lun 0: <DEC, TLZ09     (C)DEC, 0167> SCSI2 1/sequential removable
st0: drive empty
st0: sync (100.0ns offset 8), 8-bit (10.000MB/s) transfers
cd0 at scsibus0 target 5 lun 0: <DEC, RRD45   (C) DEC, 0436> SCSI2 5/cdrom removable
cd0: async, 8-bit transfers
scsibus1: waiting 2 seconds for devices to settle...
stray kn300 irq 40
sd0 at scsibus1 target 0 lun 0: <DEC, RZ29B    (C) DEC, 0016> SCSI2 0/direct fixed
sd0: 4091 MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
stray kn300 irq 40
sd0: sync (100.0ns offset 12), 16-bit (20.000MB/s) transfers, tagged queueing
stray kn300 irq 40
raidattach: Asked for 8 units
Kernel internal RAIDframe activated
RAIDframe: Searching for raid components...
IPsec: Initialized Security Association Processing.
WARNING: can't figure what device matches "RAID 1 3 0 0 0 6000 11069"
root device: ?
use one of: raid0[a-h] raid1[a-h] raid2[a-h] raid3[a-h] raid4[a-h] raid5[a-h] raid6[a-h] raid7[a-h] ld0[a-h] ld1[a-h] ld2[a-h] tlp0 fpa0 fd0[a-h] cd0[a-h] sd0[a-h] ddb halt reboot
root device: ld0a
dump device (default ld0b): 
file system (default generic): ffs
root on ld0a dumps on ld0b
readclock: 4/1/27/0/18/48=>1075162728 (1075162469)


-- 
						Greg A. Woods

+1 416 218-0098                  VE3TCP            RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>