Subject: RAIDframe boot problems
To: None <port-sparc64@NetBSD.org>
From: Matthias Scheler <tron@zhadum.org.uk>
List: port-sparc64
Date: 04/13/2006 22:46:13
Hello,
I'm trying to boot NetBSD-sparc 3.0_STABLE on a Tadpole Voyager (a machine
similar to an ULTRA10) from a RAIDframe RAID 1. All four physical disks
(wd0 to wd3) are layed out like this:
voyager# disklabel wd<n>
# wd<n>c:
type: ESDI
disk: IBM-DPLA-25120
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 15
sectors/cylinder: 945
cylinders: 10590
total sectors: 10007550
rpm: 4900
[...]
8 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 10007550 0 RAID # (Cyl. 0 - 10589)
c: 10007550 0 unused 0 0 # (Cyl. 0 - 10589)
The two RAIDs are configure like this:
Components:
/dev/wd0a: optimal
/dev/wd1a: optimal
No spares.
Component label for /dev/wd0a:
Row: 0, Column: 0, Num Rows: 1, Num Columns: 2
Version: 2, Serial Number: 2006041200, Mod Counter: 187
Clean: No, Status: 0
sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
Queue size: 100, blocksize: 512, numBlocks: 10007424
RAID Level: 1
Autoconfig: Yes
Root partition: Yes
Last configured as: raid0
Component label for /dev/wd1a:
Row: 0, Column: 1, Num Rows: 1, Num Columns: 2
Version: 2, Serial Number: 2006041200, Mod Counter: 187
Clean: No, Status: 0
sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
Queue size: 100, blocksize: 512, numBlocks: 10007424
RAID Level: 1
Autoconfig: Yes
Root partition: Yes
Last configured as: raid0
Parity status: DIRTY
Reconstruction is 100% complete.
Parity Re-write is 100% complete.
Copyback is 100% complete.
Components:
/dev/wd2a: optimal
/dev/wd3a: optimal
No spares.
Component label for /dev/wd2a:
Row: 0, Column: 0, Num Rows: 1, Num Columns: 2
Version: 2, Serial Number: 2006041201, Mod Counter: 92
Clean: No, Status: 0
sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
Queue size: 100, blocksize: 512, numBlocks: 10007424
RAID Level: 1
Autoconfig: Yes
Root partition: No
Last configured as: raid1
Component label for /dev/wd3a:
Row: 0, Column: 1, Num Rows: 1, Num Columns: 2
Version: 2, Serial Number: 2006041201, Mod Counter: 92
Clean: No, Status: 0
sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
Queue size: 100, blocksize: 512, numBlocks: 10007424
RAID Level: 1
Autoconfig: Yes
Root partition: No
Last configured as: raid1
Parity status: DIRTY
Reconstruction is 100% complete.
Parity Re-write is 100% complete.
Copyback is 100% complete.
I've installed the bootblocks like this:
voyager# cp -p /usr/mdec/ofwboot /
voyager# mount /dev/raid0a /mnt
voyager# /usr/sbin/installboot -v /dev/rwd0a /usr/mdec/bootblk
File system: /dev/rwd0a
File system type: ffs (blocksize 16384, needswap 0)
Primary bootstrap: /usr/mdec/bootblk
Bootstrap start sector: 1
Bootstrap byte count: 4915
Writing bootstrap
voyager# /usr/sbin/installboot -v /dev/rwd1a /usr/mdec/bootblk
File system: /dev/rwd1a
File system type: ffs (blocksize 8192, needswap 0)
Primary bootstrap: /usr/mdec/bootblk
Bootstrap start sector: 1
Bootstrap byte count: 4915
Writing bootstrap
But booting of the RAID 1 doesn't work:
Rebooting with command: boot -s
Boot device: /pci@1f,0/pci@1/ide@3/disk@0,0 File and args: -s
NetBSD IEEE 1275 Bootblock
.Inode not directory
Fast Data Access MMU Miss
Any idea what is wrong?
Kind regards
--
Matthias Scheler http://scheler.de/~matthias/