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).

  I've  tried "config bsd root on raid0a swap on raid0b dumps on wd0b" in a
kernel config, but got:

# config GENERIC.MP.RAID
../../../../arch/i386/conf/GENERIC.RAID:45: bsd: can't make root device from 
`raid0a'
../../../../arch/i386/conf/GENERIC.RAID:45: bsd: can't make swap device from 
`raid0b'
GENERIC.MP.RAID has no configurations!
*** Stop.

  I  have  an idea about a (pretty nasty) workaround, but is there a way to
make it "right"?

  BTW, "config bsd root on wd0a swap on wd0b dumps on wd0b and wd1b" should
be ok (according to the main page), but config doesn't like "and wd1b".

# dmesg
OpenBSD 4.2-stable (GENERIC.MP.RAID) #0: Thu Oct 18 17:40:50 CDT 2007
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP.RAID
cpu0: Intel(R) Pentium(R) D CPU 3.00GHz ("GenuineIntel" 686-class) 3.01 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR
real mem  = 1071640576 (1021MB)
avail mem = 1028104192 (980MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf0000, SMBIOS 
rev. 2.3 @ 0xee000 (47 entries)
bios0: vendor HP version "W04" date 04/06/2007
bios0: HP ProLiant DL320 G5
pcibios0 at bios0: rev 3.0 @ 0xf0000/0x2000
pcibios0: PCI BIOS has 7 Interrupt Routing table entries
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801GB LPC" rev 0x00)
pcibios0: PCI bus #11 is the last bus
bios0: ROM list: 0xc0000/0xb000 0xcc400/0x3400! 0xcf800/0x1a00 0xe6000/0x2000!
acpi0 at mainbus0: rev 2
acpi0: tables DSDT FACP SPCR MCFG HPET SPMI APIC SSDT
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 200 MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Pentium(R) D CPU 3.00GHz ("GenuineIntel" 686-class) 3.01 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR
ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins
acpiprt0 at acpi0: bus 11 (IP2P)
acpiprt1 at acpi0: bus 5 (PCXS)
acpiprt2 at acpi0: bus 4 (PCXA)
acpiprt3 at acpi0: bus 3 (ICHE)
acpiprt3: no apic found for irq 47
acpiprt4 at acpi0: bus 6 (IPE4)
acpiprt5 at acpi0: bus 1 (PTA0)
acpiprt6 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpicpu2 at acpi0
acpicpu3 at acpi0
acpicpu4 at acpi0
acpicpu5 at acpi0
acpicpu6 at acpi0
acpicpu7 at acpi0
acpitz0 at acpi0, critical temperature: 31 degC
ipmi0 at mainbus0: version 2.0 interface KCS iobase 0xca2/2 spacing 1
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel E7230 MCH" rev 0xc0
ppb0 at pci0 dev 1 function 0 "Intel E7230 PCIE" rev 0xc0
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 vendor "TI", unknown product 0x8231 rev 0x03
pci2 at ppb1 bus 2
puc0 at pci2 dev 0 function 0 "Sunix 40XX" rev 0x01: ports: 2 com
pccom3 at puc0 port 0 apic 8 int 16 (irq 11): ti16750, 64 byte fifo
pccom4 at puc0 port 1 apic 8 int 16 (irq 11): ti16750, 64 byte fifo
ppb2 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01
pci3 at ppb2 bus 3
ppb3 at pci3 dev 0 function 0 "ServerWorks PCIE-PCIX" rev 0xb5
pci4 at ppb3 bus 4
bge0 at pci4 dev 4 function 0 "Broadcom BCM5714" rev 0xa3, BCM5715 A3 (0x9003): 
apic 8 int 16 (irq 11), address 00:1b:78:07:c8:fc
brgphy0 at bge0 phy 1: BCM5714 10/100/1000baseT PHY, rev. 0
bge1 at pci4 dev 4 function 1 "Broadcom BCM5714" rev 0xa3, BCM5715 A3 (0x9003): 
apic 8 int 17 (irq 10), address 00:1b:78:07:c8:fd
brgphy1 at bge1 phy 1: BCM5714 10/100/1000baseT PHY, rev. 0
ppb4 at pci4 dev 8 function 0 "ServerWorks HT-1000 PCIX" rev 0xb4
pci5 at ppb4 bus 5
ppb5 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01
pci6 at ppb5 bus 6
ppb6 at pci6 dev 0 function 0 vendor "IDT", unknown product 0x8018 rev 0x04
pci7 at ppb6 bus 7
ppb7 at pci7 dev 0 function 0 vendor "IDT", unknown product 0x8018 rev 0x04
pci8 at ppb7 bus 8
em0 at pci8 dev 0 function 0 "Intel PRO/1000 QP (82571EB)" rev 0x06: apic 8 int 
17 (irq 10), address 00:18:fe:2e:27:25
em1 at pci8 dev 0 function 1 "Intel PRO/1000 QP (82571EB)" rev 0x06: apic 8 int 
16 (irq 11), address 00:18:fe:2e:27:24
ppb8 at pci7 dev 1 function 0 vendor "IDT", unknown product 0x8018 rev 0x04
pci9 at ppb8 bus 9
em2 at pci9 dev 0 function 0 "Intel PRO/1000 QP (82571EB)" rev 0x06: apic 8 int 
18 (irq 5), address 00:18:fe:2e:27:27
em3 at pci9 dev 0 function 1 "Intel PRO/1000 QP (82571EB)" rev 0x06: apic 8 int 
17 (irq 10), address 00:18:fe:2e:27:26
ppb9 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01
pci10 at ppb9 bus 10
"Intel 82801GB USB" rev 0x01 at pci0 dev 29 function 0 not configured
"Intel 82801GB USB" rev 0x01 at pci0 dev 29 function 1 not configured
"Intel 82801GB USB" rev 0x01 at pci0 dev 29 function 2 not configured
"Intel 82801GB USB" rev 0x01 at pci0 dev 29 function 3 not configured
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 8 int 21 
(irq 5)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1
ppb10 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xe1
pci11 at ppb10 bus 11
vga1 at pci11 dev 3 function 0 "ATI ES1000" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"Compaq iLO" rev 0x03 at pci11 dev 4 function 0 not configured
"Compaq iLO" rev 0x03 at pci11 dev 4 function 2 not configured
"Hewlett-Packard USB" rev 0x00 at pci11 dev 4 function 4 not configured
"Hewlett-Packard IPMI" rev 0x00 at pci11 dev 4 function 6 not configured
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA, channel 0 
configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 8 int 20 (irq 7) for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <FB160C4081>
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1 at pciide1 channel 1 drive 0: <FB160C4081>
wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pccom1: console
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
Kernelized RAIDframe activated
raid0 at root: (RAID Level 1) total number of sectors is 308367488 (150570 MB) 
as root
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
swapmount: no device

# tail -15 /var/log/messages | head -6
Oct 30 21:43:30 fw /bsd: Kernelized RAIDframe activated
Oct 30 21:43:30 fw /bsd: raid0 at root: (RAID Level 1) total number of sectors 
is 308367488 (150570 MB) as root
Oct 30 21:43:30 fw /bsd: dkcsum: wd0 matches BIOS drive 0x80
Oct 30 21:43:30 fw /bsd: dkcsum: wd1 matches BIOS drive 0x81
Oct 30 21:43:30 fw /bsd: swapmount: no device
Oct 30 21:43:42 fw savecore: no core dump (no dumpdev)

-- 
Best regards,
 Boris                          mailto:[EMAIL PROTECTED]

Reply via email to