Hi, while trying to "repair" a 4.4 machine, I recently added two SATA disks to the two SATA disks already there (dmesg below), which were only detected after reboot, contrary to my expectations. The first thing to note after reboot was that the formerly second disk (wd1) has now become wd2, although the physical arrangement looks like this (1HE):
front view: (left side) | disk1 disk2 disk3 disk4 | (right side) In the process, I found out that there is hotplugd, but hotplugd didn't find the disks also before I rebooted the machine. The next issue is that hotplugd logs this immediately after pushing out a few initial "attach xxx" messages: ... hotplugd[7128]: waitpid: Error 10 I didn't yet find out what that means. Last but not least, when I wanted to configure a RAIDFRAME type raid on the two new disks, it said: /bsd: Hosed component: /dev/wd3d and: /bsd: raid1: Ignoring /dev/wd3d. When I unconfigured the raid and tried again, literally using the same commands from the shell's history, I got no such error message. The kernel used is a custom kernel which is GENERIC.MP with RAIDFRAME enabled. Kind regards, --Toni++ OpenBSD 4.4-stable (GENERIC.MPR) #0: Mon Dec 15 14:29:41 CET 2008 r...@localhost:/usr/src/sys/arch/amd64/compile/GENERIC.MPR real mem = 3474718720 (3313MB) avail mem = 3371180032 (3215MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xcff66000 (52 entries) bios0: vendor Phoenix Technologies LTD version "1.2" date 11/04/2008 bios0: Supermicro X7DWU acpi0 at bios0: rev 2 acpi0: tables DSDT FACP _MAR TCPA APIC MCFG HPET BOOT SPCR ERST HEST BERT EINJ SLIC SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices P0P1(S5) BPD0(S5) BPD1(S5) P0P5(S5) P0P7(S5) P0P9(S5) PEX0(S5) USB1(S5) USB2(S5) USB3(S5) EUSB(S5) PCIB(S5) KBC0(S1) MSE0(S1) COM1(S5) COM2(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU L5420 @ 2.50GHz, 2500.38 MHz cpu0: FPU,VME,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,VMX,EST,TM2,CX16,xTPR,NXE,LONG cpu0: 6MB 64b/line 16-way L2 cache cpu0: apic clock running at 333MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Xeon(R) CPU L5420 @ 2.50GHz, 2500.09 MHz cpu1: FPU,VME,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,VMX,EST,TM2,CX16,xTPR,NXE,LONG cpu1: 6MB 64b/line 16-way L2 cache cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Xeon(R) CPU L5420 @ 2.50GHz, 2500.09 MHz cpu2: FPU,VME,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,VMX,EST,TM2,CX16,xTPR,NXE,LONG cpu2: 6MB 64b/line 16-way L2 cache cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Xeon(R) CPU L5420 @ 2.50GHz, 2500.09 MHz cpu3: FPU,VME,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,VMX,EST,TM2,CX16,xTPR,NXE,LONG cpu3: 6MB 64b/line 16-way L2 cache ioapic0 at mainbus0 apid 4 pa 0xfec00000, version 20, 24 pins ioapic1 at mainbus0 apid 5 pa 0xfec89000, version 20, 24 pins acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 1 (P0P1) acpiprt1 at acpi0: bus 2 (P0P3) acpiprt2 at acpi0: bus 3 (BMF0) acpiprt3 at acpi0: bus 4 (BPD0) acpiprt4 at acpi0: bus -1 (BPD1) acpiprt5 at acpi0: bus 6 (P0P5) acpiprt6 at acpi0: bus 7 (P0P7) acpiprt7 at acpi0: bus 8 (P0P9) acpiprt8 at acpi0: bus 0 (PCI0) acpiprt9 at acpi0: bus -1 (PEX0) acpiprt10 at acpi0: bus 9 (PCIB) acpicpu0 at acpi0 acpicpu1 at acpi0 acpicpu2 at acpi0 acpicpu3 at acpi0 acpibtn0 at acpi0: PWRB ipmi at mainbus0 not configured cpu0: unknown i686 model 7, can't get bus clockcpu0: EST: unknown system bus clock pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x4003 rev 0x20 ppb0 at pci0 dev 1 function 0 "Intel E4500 PCIE" rev 0x20: apic 5 int 0 (irq 11) pci1 at ppb0 bus 1 ppb1 at pci0 dev 3 function 0 "Intel E4500 PCIE" rev 0x20 pci2 at ppb1 bus 2 ppb2 at pci2 dev 0 function 0 "Intel 6321ESB PCIE" rev 0x01 pci3 at ppb2 bus 3 ppb3 at pci3 dev 0 function 0 "Intel 6321ESB PCIE" rev 0x01 pci4 at ppb3 bus 4 ppb4 at pci2 dev 0 function 3 "Intel 6321ESB PCIE-PCIX" rev 0x01 pci5 at ppb4 bus 5 ppb5 at pci0 dev 5 function 0 "Intel E4500 PCIE" rev 0x20: apic 5 int 4 (irq 11) pci6 at ppb5 bus 6 em0 at pci6 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 4 (irq 11), address 00:15:17:95:07:62 em1 at pci6 dev 0 function 1 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 12 (irq 11), address 00:15:17:95:07:63 ppb6 at pci0 dev 7 function 0 "Intel E4500 PCIE" rev 0x20: apic 5 int 6 (irq 11) pci7 at ppb6 bus 7 ppb7 at pci0 dev 9 function 0 "Intel E4500 PCIE" rev 0x20: apic 5 int 8 (irq 11) pci8 at ppb7 bus 8 "Intel PRO/1000 PT (82575EB)" rev 0x02 at pci8 dev 0 function 0 not configured "Intel PRO/1000 PT (82575EB)" rev 0x02 at pci8 dev 0 function 1 not configured "Intel I/OAT SNB" rev 0x20 at pci0 dev 15 function 0 not configured pchb1 at pci0 dev 16 function 0 vendor "Intel", unknown product 0x4030 rev 0x20 pchb2 at pci0 dev 16 function 1 vendor "Intel", unknown product 0x4030 rev 0x20 pchb3 at pci0 dev 16 function 2 vendor "Intel", unknown product 0x4030 rev 0x20 pchb4 at pci0 dev 16 function 3 vendor "Intel", unknown product 0x4030 rev 0x20 pchb5 at pci0 dev 16 function 4 vendor "Intel", unknown product 0x4030 rev 0x20 pchb6 at pci0 dev 17 function 0 vendor "Intel", unknown product 0x4031 rev 0x20 pchb7 at pci0 dev 21 function 0 vendor "Intel", unknown product 0x4035 rev 0x20 pchb8 at pci0 dev 21 function 1 vendor "Intel", unknown product 0x4035 rev 0x20 pchb9 at pci0 dev 22 function 0 vendor "Intel", unknown product 0x4036 rev 0x20 pchb10 at pci0 dev 22 function 1 vendor "Intel", unknown product 0x4036 rev 0x20 uhci0 at pci0 dev 29 function 0 "Intel 6321ESB USB" rev 0x09: apic 4 int 20 (irq 10) uhci1 at pci0 dev 29 function 1 "Intel 6321ESB USB" rev 0x09: apic 4 int 21 (irq 5) uhci2 at pci0 dev 29 function 2 "Intel 6321ESB USB" rev 0x09: apic 4 int 22 (irq 7) uhci3 at pci0 dev 29 function 3 "Intel 6321ESB USB" rev 0x09: apic 4 int 23 (irq 3) ehci0 at pci0 dev 29 function 7 "Intel 6321ESB USB" rev 0x09: apic 4 int 23 (irq 3) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb8 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xd9 pci9 at ppb8 bus 9 vga1 at pci9 dev 1 function 0 "ATI ES1000" rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) drm at vga1 unsupported pcib0 at pci0 dev 31 function 0 "Intel 6321ESB LPC" rev 0x09 pciide0 at pci0 dev 31 function 1 "Intel 6321ESB IDE" rev 0x09: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 1 scsibus0 at atapiscsi0: 2 targets, initiator 7 cd0 at scsibus0 targ 0 lun 0: <TSSTcorp, CDDVDW SN-S082H, SB01> ATAPI 5/cdrom removable cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) pciide1 at pci0 dev 31 function 2 "Intel 6321ESB SATA" rev 0x09: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide1: using apic 4 int 17 (irq 11) for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: <ST3500320NS> wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors wd1 at pciide1 channel 0 drive 1: <ST3500320NS> wd1: 16-sector PIO, LBA48, 476940MB, 976773168 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 wd1(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 5 wd2 at pciide1 channel 1 drive 0: <ST3500320NS> wd2: 16-sector PIO, LBA48, 476940MB, 976773168 sectors wd3 at pciide1 channel 1 drive 1: <ST3500320NS> wd3: 16-sector PIO, LBA48, 476940MB, 976773168 sectors wd2(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5 wd3(pciide1:1:1): using PIO mode 4, Ultra-DMA mode 5 ichiic0 at pci0 dev 31 function 3 "Intel 6321ESB SMBus" rev 0x09: apic 4 int 18 (irq 11) iic0 at ichiic0 lm1 at iic0 addr 0x2d: W83627HF wbng0 at iic0 addr 0x2f: w83793g usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci3: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 wbsio0 at isa0 port 0x2e/2: W83627HF rev 0x41 lm2 at wbsio0 port 0x290/8: W83627HF lm1 detached fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec mtrr: Pentium Pro MTRR support Kernelized RAIDframe activated uhidev0 at uhub1 port 2 configuration 1 interface 0 "CHESEN USB Keyboard" rev 1.10/1.10 addr 2 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 modifier keys, 6 key codes, country code 33 wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev1 at uhub1 port 2 configuration 1 interface 1 "CHESEN USB Keyboard" rev 1.10/1.10 addr 2 uhidev1: iclass 3/0, 3 report ids uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0 uhid1 at uhidev1 reportid 3: input=3, output=0, feature=0 raid0 at root: (RAID Level 1) total number of sectors is 974675456 (475915 MB) as root softraid0 at root softraid0: wd0d can not read metadata version 0, expected 3 softraid0: wd2d can not read metadata version 0, expected 3 root on raid0a swapmount: no device