Boris Goldberg wrote:
Hello misc,
I've been booting my system from RAIDframe partitions for a long while.
Small partition for kernel(s), raidctl -A root raid0 - and I have root on
raid0a and swap on raid0b.
But with 4.2 I'm getting "swapmount: no device" error from the kernel and
"savecore: no core dump (no dumpdev)" later. However, root is still on
raid0a (but no swap).
<snip>
I just set up RAIDframe for the first time using 4.2 following the
instructions located here:
http://www.eclectica.ca/howto/openbsd-software-raid-howto.php
When I booted into the raided system, I noticed the following output:
<snip>
Kernelized RAIDframe activated
cd0(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x0
SENSE KEY: Not Ready
ASC/ASCQ: Medium Not Present
siop0: target 0 now using tagged 16 bit 40.0 MHz 31 REQ/ACK offset xfers
siop0: target 1 now using tagged 16 bit 40.0 MHz 31 REQ/ACK offset xfers
raid0 at root: (RAID Level 1) total number of sectors is 16732160
(8170 MB) as root
raid0 at root: (RAID Level 1) total number of sectors is 16732160
(8170 MB) as root
bootpath: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],0/[EMAIL
PROTECTED],0/[EMAIL PROTECTED],0
swapmount: no device
raid0: Device already configured!
raidctl: ioctl (RAIDFRAME_CONFIGURE) failed
raid0: Parity status: clean
Automatic boot in progress: starting file system checks.
/dev/rraid0a: file system is clean; not checking
setting tty flags
starting network
starting system logger
starting initial daemons: ntpd.
savecore: no core dump (no dumpdev)
<snip>
which shows both the "swapmount: no device" and "savecore: no core dump
(no dumpdev)" issues Boris reported.
Here are my disklabel and fstab
# disklabel raid0 | tail -4
# size offset fstype [fsize bsize cpg]
a: 15683584 0 4.2BSD 2048 16384 1
b: 1048576 15683584 swap
c: 16732160 0 unused 0 0
# cat
/etc/fstab
/dev/raid0a / ffs rw 1 1
Note: prior to booting in the raid set, I'd get : "root on sd0a swap on
sd0b dump on sd0b"
Thanks,
Kent