kern/132242: gmirror.ko fails to fully initialize

Aryeh M. Friedman aryeh at flosoft.no-ip.biz
Sun Mar 1 21:40:04 PST 2009


>Number:         132242
>Category:       kern
>Synopsis:       gmirror.ko fails to fully initialize
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 02 05:40:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Aryeh M. Friedman
>Release:        FreeBSD 7.1-RELEASE-p2 i386
>Organization:
IStudentUnion, LLC
>Environment:
System: FreeBSD flosoft.no-ip.biz 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #0: Sun Feb 1 18:13:54 UTC 2009 root at flosoft.no-ip.biz:/usr/obj/usr/src/sys/GENERIC i386


>Description:
>From mail sent to -current@:

Aryeh M. Friedman wrote:
> I have started the procedure for mirroring drives and everything works fine upto its first mount attempt (read only root... premounted before /etc/rc runs) and then sees no slices... what I mean is /dev/mirror/gm0Sxy never appears in the ls of /dev/mirror [bur /dev/mirror/gm0 does _exist_).... here is the output from kldstat:
>
> Id Refs Address    Size     Name
> 1   19 0xc0400000 94f054   kernel
> 2    1 0xc0d50000 84c4     linprocfs.ko
> 3    3 0xc0d59000 27744    linux.ko
> 4    1 0xc0d81000 161c8    geom_mirror.ko
> 5    1 0xc0d98000 15484    snd_hda.ko
> 6    2 0xc0dae000 4938c    sound.ko
> 7    1 0xc0df8000 23e4     accf_http.ko
> 8    1 0xc0dfb000 75aa64   nvidia.ko
> 9    1 0xc1556000 68304    acpi.ko
>
>
Forgot:

FreeBSD flosoft.no-ip.biz 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #0: Sun Feb  1 18:13:54 UTC 2009     root at flosoft.no-ip.biz:/usr/obj/usr/src/sys/GENERIC  i386

Not included in the email is the output of dmesg:
Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.1-RELEASE-p2 #0: Sun Feb  1 18:13:54 UTC 2009
    root at flosoft.no-ip.biz:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU     E6850  @ 3.00GHz (3003.40-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fb  Stepping = 11
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0xe3fd<SSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
  AMD Features=0x20000000<LM>
  AMD Features2=0x1<LAHF>
  Cores per package: 2
real memory  = 3220897792 (3071 MB)
avail memory = 3137912832 (2992 MB)
ACPI APIC Table: <070308 APIC1553>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <_ASUS_ Notebook> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, bff00000 (3) failed
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xcc00-0xcc7f mem 0xfd000000-0xfdffffff,0xd0000000-0xdfffffff,0xfa000000-0xfbffffff irq 16 at device 0.0 on pci1
nvidia0: <GeForce 9500 GT> on vgapci0
vgapci0: child nvidia0 requested pci_enable_busmaster
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
nvidia0: [GIANT-LOCKED]
nvidia0: [ITHREAD]
uhci0: <UHCI (generic) USB controller> port 0xbc00-0xbc1f irq 16 at device 26.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <UHCI (generic) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <UHCI (generic) USB controller> port 0xb880-0xb89f irq 21 at device 26.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <UHCI (generic) USB controller> on uhci1
usb1: USB revision 1.0
uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xf9fffc00-0xf9ffffff irq 18 at device 26.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: <EHCI (generic) USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2
uhub2: 4 ports with 4 removable, self powered
pcm0: <Intel 82801I High Definition Audio Controller> mem 0xf9ff8000-0xf9ffbfff irq 22 at device 27.0 on pci0
pcm0: [ITHREAD]
pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 17 at device 28.4 on pci0
pci3: <ACPI PCI bus> on pcib3
atapci0: <Marvell ATA controller> port 0xdc00-0xdc07,0xd880-0xd883,0xd800-0xd807,0xd480-0xd483,0xd400-0xd40f mem 0xfeaffc00-0xfeafffff irq 16 at device 0.0 on pci3
atapci0: [ITHREAD]
ata2: <ATA channel 0> on atapci0
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
pcib4: <ACPI PCI-PCI bridge> irq 16 at device 28.5 on pci0
pci4: <ACPI PCI bus> on pcib4
re0: <RealTek 8168/8168B/8168C/8168CP/8168D/8111B/8111C/8111CP PCIe Gigabit Ethernet> port 0xe800-0xe8ff mem 0xfebff000-0xfebfffff irq 17 at device 0.0 on pci4
re0: turning off MSI enable bit.
re0: Chip rev. 0x38000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
re0: Ethernet address: 00:19:db:b5:f8:0f
re0: [FILTER]
uhci2: <UHCI (generic) USB controller> port 0xb800-0xb81f irq 23 at device 29.0 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb3: <UHCI (generic) USB controller> on uhci2
usb3: USB revision 1.0
uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
uhub3: 2 ports with 2 removable, self powered
uhci3: <UHCI (generic) USB controller> port 0xb480-0xb49f irq 19 at device 29.1 on pci0
uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb4: <UHCI (generic) USB controller> on uhci3
usb4: USB revision 1.0
uhub4: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
uhub4: 2 ports with 2 removable, self powered
uhci4: <UHCI (generic) USB controller> port 0xb400-0xb41f irq 18 at device 29.2 on pci0
uhci4: [GIANT-LOCKED]
uhci4: [ITHREAD]
usb5: <UHCI (generic) USB controller> on uhci4
usb5: USB revision 1.0
uhub5: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb5
uhub5: 2 ports with 2 removable, self powered
uhci5: <UHCI (generic) USB controller> port 0xb080-0xb09f irq 16 at device 29.3 on pci0
uhci5: [GIANT-LOCKED]
uhci5: [ITHREAD]
usb6: <UHCI (generic) USB controller> on uhci5
usb6: USB revision 1.0
uhub6: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb6
uhub6: 2 ports with 2 removable, self powered
ehci1: <EHCI (generic) USB 2.0 controller> mem 0xf9fff800-0xf9fffbff irq 23 at device 29.7 on pci0
ehci1: [GIANT-LOCKED]
ehci1: [ITHREAD]
usb7: EHCI version 1.0
usb7: companion controllers, 2 ports each: usb3 usb4 usb5 usb6
usb7: <EHCI (generic) USB 2.0 controller> on ehci1
usb7: USB revision 2.0
uhub7: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb7
uhub7: 8 ports with 8 removable, self powered
pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci5: <ACPI PCI bus> on pcib5
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH9 SATA300 controller> port 0xb000-0xb007,0xac00-0xac03,0xa880-0xa887,0xa800-0xa803,0xa480-0xa48f,0xa400-0xa40f irq 19 at device 31.2 on pci0
atapci1: [ITHREAD]
ata4: <ATA channel 0> on atapci1
ata4: [ITHREAD]
ata5: <ATA channel 1> on atapci1
ata5: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
atapci2: <Intel ICH9 SATA300 controller> port 0xa000-0xa007,0x9c00-0x9c03,0x9880-0x9887,0x9800-0x9803,0x9480-0x948f,0x9400-0x940f irq 19 at device 31.5 on pci0
atapci2: [ITHREAD]
ata6: <ATA channel 0> on atapci2
ata6: [ITHREAD]
ata7: <ATA channel 1> on atapci2
ata7: [ITHREAD]
acpi_button0: <Power Button> on acpi0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio0: [FILTER]
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
cpu0: <ACPI CPU> on acpi0
ACPI Warning (tbutils-0243): Incorrect checksum in table [OEMB] -  B9, should be AC [20070320]
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 92a092a0600092a
device_attach: est1 attach returned 6
p4tcc1: <CPU Frequency Thermal Control> on cpu1
pmtimer0 on isa0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata0: [ITHREAD]
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
ata1: [ITHREAD]
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
ppbus0: [ITHREAD]
plip0: <PLIP network interface> on ppbus0
plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
uhub8: <vendor 0x0451 product 0x2046, class 9/0, rev 1.10/1.25, addr 2> on uhub3
uhub8: 4 ports with 4 removable, self powered
ums0: <PIXART USB OPTICAL MOUSE, class 0/0, rev 1.10/1.00, addr 3> on uhub8
ums0: 3 buttons and Z dir.
ukbd0: <Logitech Logitech USB Keyboard, class 0/0, rev 1.10/28.00, addr 4> on uhub8
kbd2 at ukbd0
Timecounters tick every 1.000 msec
ad8: 476940MB <Seagate ST3500630AS 3.AAE> at ata4-master SATA300
ad14: 476940MB <Seagate ST3500320AS SD15> at ata7-master SATA150
pcm0: <HDA Codec: Realtek ALC888>
pcm0: <HDA Driver Revision: 20080420_0052>
SMP: AP CPU #1 Launched!
GEOM_MIRROR: Device mirror/gm0 launched (1/1).
Trying to mount root from ufs:/dev/ad8s2a
uhub8: at uhub3 port 2 (addr 2) disconnected
ums0: at uhub8 port 3 (addr 3) disconnected
ums0: detached
ukbd0: at uhub8 port 4 (addr 4) disconnected
ukbd0: detached
uhub8: detached
uhub8: <vendor 0x0451 product 0x2046, class 9/0, rev 1.10/1.25, addr 2> on uhub3
uhub8: 4 ports with 4 removable, self powered
ums0: <PIXART USB OPTICAL MOUSE, class 0/0, rev 1.10/1.00, addr 3> on uhub8
ums0: 3 buttons and Z dir.
ukbd0: <Logitech Logitech USB Keyboard, class 0/0, rev 1.10/28.00, addr 4> on uhub8
kbd2 at ukbd0
uhub8: at uhub3 port 2 (addr 2) disconnected
ums0: at uhub8 port 3 (addr 3) disconnected
ums0: detached
ukbd0: at uhub8 port 4 (addr 4) disconnected
ukbd0: detached
uhub8: detached
uhub8: <vendor 0x0451 product 0x2046, class 9/0, rev 1.10/1.25, addr 2> on uhub3
uhub8: 4 ports with 4 removable, self powered
uhub8: port 2 power on failed, STALLED
uhub8: port 3 power on failed, STALLED
uhub8: port 4 power on failed, STALLED
uhub8: at uhub3 port 2 (addr 2) disconnected
uhub8: detached
uhub8: <vendor 0x0451 product 0x2046, class 9/0, rev 1.10/1.25, addr 2> on uhub3
uhub8: 4 ports with 4 removable, self powered
ums0: <PIXART USB OPTICAL MOUSE, class 0/0, rev 1.10/1.00, addr 3> on uhub8
ums0: 3 buttons and Z dir.
uhub8: port 4 reset failed
uhub8: at uhub3 port 2 (addr 2) disconnected
ums0: at uhub8 port 3 (addr 3) disconnected
ums0: detached
uhub8: detached
uhub3: device problem (STALLED), disabling port 2
uhub8: <vendor 0x0451 product 0x2046, class 9/0, rev 1.10/1.25, addr 2> on uhub3
uhub8: 4 ports with 4 removable, self powered
ums0: <PIXART USB OPTICAL MOUSE, class 0/0, rev 1.10/1.00, addr 3> on uhub8
ums0: 3 buttons and Z dir.
ukbd0: <Logitech Logitech USB Keyboard, class 0/0, rev 1.10/28.00, addr 4> on uhub8
kbd2 at ukbd0
uhub8: at uhub3 port 2 (addr 2) disconnected
ums0: at uhub8 port 3 (addr 3) disconnected
ums0: detached
ukbd0: at uhub8 port 4 (addr 4) disconnected
ukbd0: detached
uhub8: detached
uhub8: <vendor 0x0451 product 0x2046, class 9/0, rev 1.10/1.25, addr 2> on uhub3
uhub8: 4 ports with 4 removable, self powered
ums0: <PIXART USB OPTICAL MOUSE, class 0/0, rev 1.10/1.00, addr 3> on uhub8
ums0: 3 buttons and Z dir.
ukbd0: <Logitech Logitech USB Keyboard, class 0/0, rev 1.10/28.00, addr 4> on uhub8
kbd2 at ukbd0
uhub8: at uhub3 port 2 (addr 2) disconnected
ums0: at uhub8 port 3 (addr 3) disconnected
ums0: detached
ukbd0: at uhub8 port 4 (addr 4) disconnected
ukbd0: detached
uhub8: detached
uhub8: <vendor 0x0451 product 0x2046, class 9/0, rev 1.10/1.25, addr 2> on uhub3
uhub8: 4 ports with 4 removable, self powered
uhub8: port 1 power on failed, STALLED
uhub8: port 2 power on failed, STALLED
uhub8: port 3 power on failed, STALLED
uhub8: port 4 power on failed, STALLED
uhub8: at uhub3 port 2 (addr 2) disconnected
uhub8: detached
uhub8: <vendor 0x0451 product 0x2046, class 9/0, rev 1.10/1.25, addr 2> on uhub3
uhub8: 4 ports with 4 removable, self powered
ums0: <PIXART USB OPTICAL MOUSE, class 0/0, rev 1.10/1.00, addr 3> on uhub8
ums0: 3 buttons and Z dir.
ukbd0: <Logitech Logitech USB Keyboard, class 0/0, rev 1.10/28.00, addr 4> on uhub8
kbd2 at ukbd0


>How-To-Repeat:

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list