Date: Fri, 15 Jul 2005 11:59:35 -0700 (PDT) From: Drew Tomlinson <drew@mykitchentable.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Drew Tomlinson <drew@mykitchentable.net> Subject: kern/83521: GEOM_STRIPE Error On Boot Message-ID: <20050715185935.262611C6C33@blacklamb.mykitchentable.net> Resent-Message-ID: <200507151900.j6FJ0bGT069500@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83521 >Category: kern >Synopsis: GEOM_STRIPE Error On Boot >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 15 19:00:36 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Drew Tomlinson <drew@mykitchentable.net> >Release: FreeBSD 5.4-RELEASE-p4 i386 >Organization: >Environment: blacklamb> dmesg Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-RELEASE-p4 #1: Sun Jul 10 23:14:18 PDT 2005 tomlinson_dr@blacklamb.mykitchentable.net:/usr/obj/usr/src/sys/BLACKLAMB Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium III/Pentium III Xeon/Celeron (601.37-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE> real memory = 805240832 (767 MB) avail memory = 778248192 (742 MB) ACPI APIC Table: <PTLTD APIC > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 1 cpu1 (AP): APIC ID: 0 ioapic0 <Version 1.1> irqs 0-23 on motherboard npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <PTLTD RSDT> on motherboard acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 20 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 cpu0: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <PCI-PCI bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <display, VGA> at device 0.0 (no driver attached) isab0: <PCI-ISA bridge> at device 4.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 UDMA33 controller> port 0x1c90-0x1c9f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 4.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1ca0-0x1cbf irq 19 at device 4.2 on pci0 usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: <bridge> at device 4.3 (no driver attached) ahc0: <Adaptec aic7895 Ultra SCSI adapter> port 0x1000-0x10ff mem 0xfc100000-0xfc100fff irq 18 at device 5.0 on pci0 ahc0: Using left over BIOS settings aic7895C: Ultra Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: <Adaptec aic7895 Ultra SCSI adapter> port 0x1400-0x14ff mem 0xfc101000-0xfc101fff irq 18 at device 5.1 on pci0 ahc1: Host Adapter Bios disabled. Using default SCSI device parameters aic7895C: Ultra Wide Channel B, SCSI Id=7, 32/253 SCBs fxp0: <Intel 82559 Pro/100 Ethernet> port 0x1cc0-0x1cff mem 0xfc000000-0xfc0fffff,0xfc102000-0xfc102fff irq 19 at device 6.0 on pci0 miibus0: <MII bus> on fxp0 inphy0: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:e0:18:c4:f4:5e isp0: <Qlogic ISP 1020/1040 PCI SCSI Adapter> port 0x1800-0x18ff mem 0xfc103000-0xfc103fff irq 17 at device 9.0 on pci0 fwohci0: <VIA Fire II (VT6306)> port 0x1c00-0x1c7f mem 0xfc104000-0xfc1047ff irq 16 at device 10.0 on pci0 fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 8. fwohci0: EUI64 00:40:63:00:00:00:07:ff fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: <IEEE1394(FireWire) bus> on fwohci0 sbp0: <SBP-2/SCSI over FireWire> on firewire0 fwe0: <Ethernet over FireWire> on firewire0 if_fwe0: Fake Ethernet address: 02:40:63:00:07:ff fwe0: Ethernet address: 02:40:63:00:07:ff fwe0: if_start running deferred for Giant fwohci0: Initiate bus reset fwohci0: node_id=0xc800ffc1, gen=1, CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) firewire0: bus manager 1 (me) pcib2: <ACPI PCI-PCI bridge> at device 12.0 on pci0 pci2: <ACPI PCI bus> on pcib2 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x30 on acpi0 sio0: type 16550A, console ppc0: <Standard parallel printer port> port 0x378-0x37b irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: <Parallel port bus> on ppc0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A orm0: <ISA Option ROMs> at iomem 0xc8000-0xcd7ff,0xc0000-0xc7fff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 10.000 msec ad0: 76319MB <GENERIC GENERIC/A08.1500> [155061/16/63] at ata0-master UDMA33 ad1: 76319MB <WDC WD800AB-22CBA0/03.06A03> [155061/16/63] at ata0-slave UDMA33 firewire0: New S400 device ID:00d04b0cee100707 acd0: CDROM <HITACHI CDR-8435/0010> at ata1-master PIO4 Waiting 15 seconds for SCSI devices to settle da0 at ahc0 bus 0 target 0 lun 0 da0: <SEAGATE SX19171W 9D32> Fixed Direct Access SCSI-2 device da0: 11.626MB/s transfers (5.813MHz, offset 8, 16bit), Tagged Queueing Enabled da0: 8683MB (17783112 512 byte sectors: 64H 32S/T 8683C) da1 at ahc0 bus 0 target 2 lun 0 da1: <SEAGATE SX19171W 9D32> Fixed Direct Access SCSI-2 device da1: 11.626MB/s transfers (5.813MHz, offset 8, 16bit), Tagged Queueing Enabled da1: 8683MB (17783112 512 byte sectors: 64H 32S/T 8683C) da2 at sbp0 bus 0 target 0 lun 0 da2: <Oxford 911G 0135> Fixed Simplified Direct Access SCSI-4 device da2: 50.000MB/s transfers da2: 76351MB (156368016 512 byte sectors: 255H 63S/T 9733C) da3 at sbp0 bus 0 target 0 lun 1 da3: <Oxford 911G 0135> Fixed Simplified Direct Access SCSI-4 device da3: 50.000MB/s transfers da3: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C) SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/da0s1a System: FreeBSD blacklamb.mykitchentable.net 5.4-RELEASE-p4 FreeBSD 5.4-RELEASE-p4 #1: Sun Jul 10 23:14:18 PDT 2005 tomlinson_dr@blacklamb.mykitchentable.net:/usr/obj/usr/src/sys/BLACKLAMB i386 >Description: I just installed 5.4-RELEASE. I created a gstripe volume per the example in the man page. Googling revealed that I needed to load the geom_stripe module upon reboot so the volume can be created. I added the following line to /boot/loader.conf: geom_stripe_load="yes" Now upon reboot, I get this output: da0 at ahc0 bus 0 target 0 lun 0 da0: <SEAGATE SX19171W 9D32> Fixed Direct Access SCSI-2 device da0: 11.626MB/s transfers (5.813MHz, offset 8, 16bit), Tagged Queueing Enabled da0: 8683MB (17783112 512 byte sectors: 64H 32S/T 8683C) da1 at ahc0 bus 0 target 2 lun 0 da1: <SEAGATE SX19171W 9D32> Fixed Direct Access SCSI-2 device da1: 11.626MB/s transfers (5.813MHz, offset 8, 16bit), Tagged Queueing Enabled da1: 8683MB (17783112 512 byte sectors: 64H 32S/T 8683C) da2 at sbp0 bus 0 target 0 lun 0 da2: <Oxford 911G 0135> Fixed Simplified Direct Access SCSI-4 device da2: 50.000MB/s transfers da2: 76351MB (156368016 512 byte sectors: 255H 63S/T 9733C) da3 at sbp0 bus 0 target 0 lun 1 da3: <Oxford 911G 0135> Fixed Simplified Direct Access SCSI-4 device da3: 50.000MB/s transfers da3: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C) SMP: AP CPU #1 Launched! GEOM_STRIPE: Device data created (id=896603271). GEOM_STRIPE: Disk da0d attached to data. GEOM_STRIPE: Disk da1d attached to data. GEOM_STRIPE: Device data activated. GEOM_STRIPE: Cannot add disk da0s1d to data (error=17). GEOM_STRIPE: Cannot add disk da1s1d to data (error=17). Mounting root from ufs:/dev/da0s1a Then the machine comes up in single user mode. At this point if I unload and reload geom_stripe, then the volume is created just fine and I can boot the system in full production mode. I also have tried compiling GEOM_STRIPE support in the kernel but get the same behavior (except that I can't perform the kldunload/load workaround). >How-To-Repeat: Happens upon every boot sequence. >Fix: Workaround: At the single user prompt, use 'kldunload geom_stripe' to unload the module. Then use 'kldload geom_stripe' to load. The stripe is created without error. Type 'exit' to continue full boot sequence. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050715185935.262611C6C33>