So I've started using gmirror recently to mirror 2 1.5 TB drives however
if I reboot the machine or 'gmirror stop -f data1' while the array is
been rebuilt I get the panic below.
Rebooting without geom_mirror loaded does not cause a panic
Rebooting with geom_mirror loaded and the drives disconnected does not
cause a panic.
The drives are in an "Rosewill RSV-S4-X 4 Bay SATA to eSATA (Port
Multiplier) JBOD / RAID 0, 1, 1+0, 5 Enclosure" connected over a SiI
3726 (rev=1706) adapter
Rebooting with the drives mounted normally does not cause a panic
I'm using the latest and greatest firmware, the panics occurred before
the update
After rebooting background fsck has to run to fix all mounts every time
their is a panic, even if i did a several sync's before running
'reboot'
I previously had the drives mirrored using the built-in sata ports and
geom_mirror without any panics.
The port multiplier:
http://www.newegg.com/Product/Product.aspx?Item=N82E16816132029
I've configured the machine to save crash dumps and will try to generate
one later.
Thanks for any help.
_________________
waiting (max 60 seconds) for system process `bufdaemon` to
stop...GEOM_MIRROR:
Device data1: provider mirror/data1 destroyed.
fatal trap 12: page fault while in kernel mode
cpuid =0; apic id =00
fault virtual address = 0x98
fault code = supervisor write data, page not present
instruction pointer = 0x20:0xffffffff80571105
stack pointer = 0x28:0xffffff8000033ba0
frame pointer = 0x28:0xffffff8000033bb0
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 3 (g_up)
trap number = 12
panic: page fault
cpuid = 0
uptime 19m9s
cannot dump. Device not defined or unavailable
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 8.0-RELEASE-p2 #0: Tue Jan 5 21:11:58 UTC 2010
root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3500+ (2200.10-MHz K8-class CPU)
Origin = "AuthenticAMD" Id = 0x20ff2 Stepping = 2
Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
Features2=0x1<SSE3>
AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!>
AMD Features2=0x1<LAHF>
real memory = 1073741824 (1024 MB)
avail memory = 953888768 (909 MB)
ACPI APIC Table: <A M I OEMAPIC >
ioapic0 <Version 0.3> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <A M I OEMXSDT> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 3ff00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
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
agp0: <VIA 8380 host to PCI bridge> on hostb0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> mem
0xd0000000-0xd3ffffff,0xfd000000-0xfdffffff irq 16 at device 0.0 on pci1
atapci0: <VIA 8251 SATA300 controller> port
0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe40f
mem 0xfebffc00-0xfebfffff irq 21 at device 15.0 on pci0
atapci0: [ITHREAD]
atapci0: AHCI called from vendor specific driver
atapci0: AHCI v1.00 controller with 4 3Gbps ports, PM supported
ata2: <ATA channel 0> on atapci0
ata2: port is not ready (timeout 0ms) tfd = 000001d0
ata2: software reset clear timeout
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
ata4: <ATA channel 2> on atapci0
ata4: port is not ready (timeout 0ms) tfd = 000001d0
ata4: software reset clear timeout
ata4: [ITHREAD]
ata5: <ATA channel 3> on atapci0
ata5: [ITHREAD]
atapci1: <VIA 8251 UDMA133 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 15.1 on pci0
ata0: <ATA channel 0> on atapci1
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci1
ata1: [ITHREAD]
uhci0: <VIA 83C572 USB controller> port 0xe080-0xe09f irq 20 at device
16.0 on pci0
uhci0: [ITHREAD]
uhci0: LegSup = 0x0000
usbus0: <VIA 83C572 USB controller> on uhci0
uhci1: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 22 at device
16.1 on pci0
uhci1: [ITHREAD]
uhci1: LegSup = 0x0000
usbus1: <VIA 83C572 USB controller> on uhci1
uhci2: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 21 at device
16.2 on pci0
uhci2: [ITHREAD]
uhci2: LegSup = 0x0000
usbus2: <VIA 83C572 USB controller> on uhci2
uhci3: <VIA 83C572 USB controller> port 0xd880-0xd89f irq 23 at device
16.3 on pci0
uhci3: [ITHREAD]
uhci3: LegSup = 0x0000
usbus3: <VIA 83C572 USB controller> on uhci3
ehci0: <VIA VT6202 USB 2.0 controller> mem 0xfebff800-0xfebff8ff irq 22
at device 16.4 on pci0
ehci0: [ITHREAD]
usbus4: EHCI version 1.0
usbus4: <VIA VT6202 USB 2.0 controller> on ehci0
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
pci0: <multimedia, audio> at device 17.5 (no driver attached)
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xd000-0xd0ff mem
0xfebff400-0xfebff4ff irq 23 at device 18.0 on pci0
vr0: Quirks: 0x0
vr0: Revision: 0x7c
miibus0: <MII bus> on vr0
rlphy0: <RTL8201L 10/100 media interface> PHY 1 on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:00:00:00:01:f8
vr0: [ITHREAD]
pcib2: <ACPI PCI-PCI bridge> at device 19.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 0.0 on pci2
pci3: <ACPI PCI bus> on pcib3
atapci2: <SiI 3132 SATA300 controller> port 0xbc00-0xbc7f mem
0xfe9ffc00-0xfe9ffc7f,0xfe9f8000-0xfe9fbfff irq 16 at device 0.0 on pci3
atapci2: [ITHREAD]
ata6: <ATA channel 0> on atapci2
ata6: [ITHREAD]
ata7: <ATA channel 1> on atapci2
ata7: [ITHREAD]
pcib4: <ACPI PCI-PCI bridge> at device 0.1 on pci2
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> at device 19.1 on pci0
pci5: <ACPI PCI bus> on pcib5
fwohci0: <VIA Fire II (VT6306)> port 0xcc00-0xcc7f mem
0xfeaff800-0xfeafffff irq 17 at device 12.0 on pci5
fwohci0: [ITHREAD]
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:11:06:00:00:00:48:f1
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0x3a32c000
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:11:06:00:48:f1
fwe0: Ethernet address: 02:11:06:00:48:f1
fwip0: <IP over FireWire> on firewire0
fwip0: Firewire address: 00:11:06:00:00:00:48:f1 @ 0xfffe00000000, S400,
maxrec 2048
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1,
CYCLEMASTER mode
acpi_button0: <Sleep Button> on acpi0
acpi_button1: <Power Button> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppc0: [ITHREAD]
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
plip0: [ITHREAD]
lpt0: <Printer> on ppbus0
lpt0: [ITHREAD]
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
powernow0: <Cool`n'Quiet K8> on cpu0
device_attach: powernow0 attach returned 6
orm0: <ISA Option ROM> at iomem 0xc8800-0xccfff 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
Timecounter "TSC" frequency 2200100868 Hz quality 800
Timecounters tick every 1.000 msec
firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me)
firewire0: bus manager 0
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 480Mbps High Speed USB v2.0
ugen0.1: <VIA> at usbus0
uhub0: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <VIA> at usbus1
uhub1: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <VIA> at usbus2
uhub2: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <VIA> at usbus3
uhub3: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <VIA> at usbus4
uhub4: <VIA EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
ata6: SiI 3726 (rev=1706) Port Multiplier with 6 (5) ports
uhub4: 8 ports with 8 removable, self powered
acd0: CDRW <Hewlett-Packard CD-Writer cd12d/LKS2> at ata1-slave PIO4
ad4: 238475MB <Seagate ST3250824AS 3.AAH> at ata2-master SATA150
ad8: 476940MB <Seagate ST3500630AS 3.AAE> at ata4-master SATA150
GEOM: ad4s1: geometry does not match label (255h,63s != 16h,63s).
ad12: 1430799MB <WDC WD15EARS-00Z5B1 80.00A80> at ata6-port0 SATA300
ad13: 1430799MB <WDC WD15EARS-00Z5B1 80.00A80> at ata6-port1 SATA300
GEOM_MIRROR: Device mirror/data1 launched (2/2).
ad14: 1430799MB <WDC WD15EARS-00Z5B1 80.00A80> at ata6-port2 SATA300
ad15: 1430799MB <WDC WD15EARS-00Z5B1 80.00A80> at ata6-port3 SATA300
Trying to mount root from ufs:/dev/ad4s1a
WARNING: /mnt/data was not properly dismounted
acd0: FAILURE - ATA_IDENTIFY status=51<READY,DSC,ERROR>
error=4<ABORTED>
LBA=0