From owner-freebsd-stable@FreeBSD.ORG Thu May 27 01:00:04 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFE4F106566B for ; Thu, 27 May 2010 01:00:04 +0000 (UTC) (envelope-from technews@giallarhorn.org) Received: from mail.giallarhorn.com (giallarhorn.com [204.109.60.83]) by mx1.freebsd.org (Postfix) with ESMTP id 8F6458FC19 for ; Thu, 27 May 2010 01:00:04 +0000 (UTC) Received: from [172.16.1.7] (c-69-255-57-42.hsd1.md.comcast.net [69.255.57.42]) by mail.giallarhorn.com (Postfix) with ESMTPSA id E276D11410 for ; Wed, 26 May 2010 20:41:46 -0400 (EDT) Message-ID: <4BFDC00B.1010502@giallarhorn.org> Date: Wed, 26 May 2010 20:42:51 -0400 From: technews User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: gmirror panic with SiI 3726 when array is degraded X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2010 01:00:05 -0000 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 Features2=0x1 AMD Features=0xe2500800 AMD Features2=0x1 real memory = 1073741824 (1024 MB) avail memory = 953888768 (909 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: 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: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: mem 0xd0000000-0xd3ffffff,0xfd000000-0xfdffffff irq 16 at device 0.0 on pci1 atapci0: 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: on atapci0 ata2: port is not ready (timeout 0ms) tfd = 000001d0 ata2: software reset clear timeout ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] ata4: on atapci0 ata4: port is not ready (timeout 0ms) tfd = 000001d0 ata4: software reset clear timeout ata4: [ITHREAD] ata5: on atapci0 ata5: [ITHREAD] atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 15.1 on pci0 ata0: on atapci1 ata0: [ITHREAD] ata1: on atapci1 ata1: [ITHREAD] uhci0: port 0xe080-0xe09f irq 20 at device 16.0 on pci0 uhci0: [ITHREAD] uhci0: LegSup = 0x0000 usbus0: on uhci0 uhci1: port 0xe000-0xe01f irq 22 at device 16.1 on pci0 uhci1: [ITHREAD] uhci1: LegSup = 0x0000 usbus1: on uhci1 uhci2: port 0xdc00-0xdc1f irq 21 at device 16.2 on pci0 uhci2: [ITHREAD] uhci2: LegSup = 0x0000 usbus2: on uhci2 uhci3: port 0xd880-0xd89f irq 23 at device 16.3 on pci0 uhci3: [ITHREAD] uhci3: LegSup = 0x0000 usbus3: on uhci3 ehci0: mem 0xfebff800-0xfebff8ff irq 22 at device 16.4 on pci0 ehci0: [ITHREAD] usbus4: EHCI version 1.0 usbus4: on ehci0 isab0: at device 17.0 on pci0 isa0: on isab0 pci0: at device 17.5 (no driver attached) vr0: port 0xd000-0xd0ff mem 0xfebff400-0xfebff4ff irq 23 at device 18.0 on pci0 vr0: Quirks: 0x0 vr0: Revision: 0x7c miibus0: on vr0 rlphy0: PHY 1 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: Ethernet address: 00:00:00:00:01:f8 vr0: [ITHREAD] pcib2: at device 19.0 on pci0 pci2: on pcib2 pcib3: at device 0.0 on pci2 pci3: on pcib3 atapci2: port 0xbc00-0xbc7f mem 0xfe9ffc00-0xfe9ffc7f,0xfe9f8000-0xfe9fbfff irq 16 at device 0.0 on pci3 atapci2: [ITHREAD] ata6: on atapci2 ata6: [ITHREAD] ata7: on atapci2 ata7: [ITHREAD] pcib4: at device 0.1 on pci2 pci4: on pcib4 pcib5: at device 19.1 on pci0 pci5: on pcib5 fwohci0: 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: on fwohci0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x3a32c000 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:11:06:00:48:f1 fwe0: Ethernet address: 02:11:06:00:48:f1 fwip0: 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: on acpi0 acpi_button1: on acpi0 atrtc0: port 0x70-0x71 irq 8 on acpi0 ppc0: 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: on ppc0 plip0: on ppbus0 plip0: [ITHREAD] lpt0: on ppbus0 lpt0: [ITHREAD] lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: 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: on acpi0 acpi_throttle0: on cpu0 powernow0: on cpu0 device_attach: powernow0 attach returned 6 orm0: at iomem 0xc8800-0xccfff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: 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: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: 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 at ata1-slave PIO4 ad4: 238475MB at ata2-master SATA150 ad8: 476940MB at ata4-master SATA150 GEOM: ad4s1: geometry does not match label (255h,63s != 16h,63s). ad12: 1430799MB at ata6-port0 SATA300 ad13: 1430799MB at ata6-port1 SATA300 GEOM_MIRROR: Device mirror/data1 launched (2/2). ad14: 1430799MB at ata6-port2 SATA300 ad15: 1430799MB 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 error=4 LBA=0