On Sun, 4 Jun 2006 16:09:03 +0200 Mitja Mu>enih <[EMAIL PROTECTED]> wrote:
> I even tried to replicate the problem locally on supposedly same > hardware (HP Compaq dc5100 + 2x SATA HDDs) but here I couldn't get it > to hang on raidframe. I did manage to consistently hang it by > enabling the front two USB ports, tough. Yep -- weird problem, it seems. This is an old (Compaq) Pentium machine, with two 40GB Maxtor IDE drives (dmesg on 3.8-stable follows, no GENERIC at hand, sorry, but this one runs fine) > Eventually I had to abandon the idea of root-on-raid and use raid1 > just for the data set (without RAID_AUTOCONFIG it works for me). Yes, disabling RAID_AUTOCONFIG permits the kernel to boot, but it panics as it the does not find the root (which seems normal ;-). I'll stay with 3.8 for now. dmesg and the console output with RAIDDEBUG enabled follow -- it appears the two RAID members are indeed recognized, but they somehow can't be mounted as the root dev. Simon *** RAIDDEBUG *** [...] Kernelized RAIDframe activated Searching for raid components... Component on: wd0d: 79126992 Row: 0 Column: 0 Num Rows: 1 Num Columns: 2 Version: 2 Serial Number: 20050900 Mod Counter: 491 Clean: Yes Status: 0 sectPerSU: 128 SUsPerPU: 1 SusPerRU: 1 RAIDLevel: 1 blocksize: 512 numBlocks: 79126912 Autoconfig: Yes Contains root partition: Yes Last configured as: raid0 Component on: wd1d: 79126992 Row: 0 Column: 1 Num Rows: 1 Num Columns: 2 Version: 2 Serial Number: 20050900 Mod Counter: 491 Clean: Yes Status: 0 sectPerSU: 128 SUsPerPU: 1 SusPerRU: 1 RAIDLevel: 1 blocksize: 512 numBlocks: 79126912 Autoconfig: Yes Contains root partition: Yes Last configured as: raid0 *** 3.8-stable dmesg *** OpenBSD 3.8-stable (RAID-38-sjv1) #1: Fri Nov 11 20:03:37 CET 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAID-38-sjv1 RTC BIOS diagnostic error 2 cpu0: Intel Pentium/MMX ("GenuineIntel" 586-class) 233 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX cpu0: F00F bug workaround installed real mem = 402235392 (392808K) avail mem = 362516480 (354020K) using 4278 buffers containing 20213760 bytes (19740K) of memory RTC BIOS diagnostic error 2 mainbus0 (root) bios0 at mainbus0: AT/286+(ff) BIOS, date 12/10/98, BIOS32 rev. 0 @ 0xf1700 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf1700/0x2100 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf1cc0/112 (5 entries) pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7350/112 (5 entries) pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C586 ISA" rev 0x00) pcibios0: PCI bus #0 is the last bus bios0: ROM list: 0xc0000/0x8000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "VIA VT82C1595 PCI" rev 0x06 dc0 at pci0 dev 3 function 0 "Accton EN2242" rev 0x11: irq 11, address 00:04:e2:d5:42:5a ukphy0 at dc0 phy 1: Generic IEEE 802.3u media interface ukphy0: OUI 0x000749, model 0x0001, rev. 1 pcib0 at pci0 dev 7 function 0 "VIA VT82C586 ISA" rev 0x41 pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x06: ATA33, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <Maxtor 2F040J0> wd0: 16-sector PIO, LBA, 39205MB, 80293248 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 wd1 at pciide0 channel 1 drive 0: <Maxtor 6E040L0> wd1: 16-sector PIO, LBA, 39205MB, 80293248 sectors atapiscsi0 at pciide0 channel 1 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <SONY, CD-ROM CDU571-Q, 1.1a> SCSI0 5/cdrom removable wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 cd0(pciide0:1:1): using PIO mode 3, DMA mode 1 uhci0 at pci0 dev 7 function 2 "VIA VT83C572 USB" rev 0x02: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered "VIA VT82C586 Power" rev 0x10 at pci0 dev 7 function 3 not configured vga0 at pci0 dev 15 function 0 "S3 Trio64V2/DX" rev 0x16 wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) isa0 at pcib0 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 ep0 at isa0 port 0x300/16 irq 10: address 00:60:97:a6:d7:8c, utp (default utp) pcppi0 at isa0 port 0x61 spkr0 at pcppi0 midi0 at pcppi0: <PC speaker> sysbeep0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask fb6d netmask ff6d ttymask ffef pctr: 586-class performance counters and user-level cycle counter enabled Kernelized RAIDframe activated cd0(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x0 SENSE KEY: Not Ready ASC/ASCQ: Medium Not Present raid0 (root): (RAID Level 1) total number of sectors is 79126912 (38636 MB) as root dkcsum: wd0 matches BIOS drive 0x80 dkcsum: wd1 matches BIOS drive 0x81 rootdev=0x1300 rrootdev=0x3600 rawdev=0x3602