From owner-freebsd-bugs@FreeBSD.ORG Tue Jul 17 16:55:46 2007 Return-Path: X-Original-To: freebsd-bugs@freebsd.org Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5284716A409 for ; Tue, 17 Jul 2007 16:55:46 +0000 (UTC) (envelope-from thede@loder.com) Received: from mini01.loder.com (mini01.loder.com [66.245.252.55]) by mx1.freebsd.org (Postfix) with ESMTP id E62DF13C474 for ; Tue, 17 Jul 2007 16:55:45 +0000 (UTC) (envelope-from thede@loder.com) Received: from smith.boxbe-inc.com (coase.boxbe-inc.com [68.183.226.91]) by mini01.loder.com (Postfix) with ESMTP id 5B2122E5B59; Tue, 17 Jul 2007 09:22:28 -0700 (PDT) Message-ID: <469CECC1.4040408@loder.com> Date: Tue, 17 Jul 2007 09:22:25 -0700 From: Thede Loder Organization: Boxbe, Inc. User-Agent: Thunderbird 2.0.0.4 (Macintosh/20070604) MIME-Version: 1.0 To: freebsd-bugs@freebsd.org Content-Type: multipart/mixed; boundary="------------010704020809070202080108" Cc: pjd@freebsd.org Subject: zfs, crash, 7-CURRENT X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jul 2007 16:55:46 -0000 This is a multi-part message in MIME format. --------------010704020809070202080108 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello all, I am using CURRENT, experimenting with ZFS, and I am getting a consistent crash with any substantial file system IO. It usually takes just a few seconds of heavy use. I have a standard ATA drive connected via ATA100 off the motherboard that I use as the source of files (ad1s1a, UFS2). The ZFS file system sits on a ZFS pool created with: zpool create zp0 raidz /dev/ad4 /dev/ad6 /dev/ad10 /dev/ad12 The devices ad4 and ad6 are connected via a PCI SATA card: atapci0: port 0xec00-0xec7f,0xe800-0xe8ff mem 0xdffff000-0xdfffffff,0xdffc0000-0xdffdffff irq 11 at device 5.0 on pci0 And ad10 and ad12 are on another PCI SATA card: atapci1: port 0xdc00-0xdc07,0xd800-0xd803,0xd400-0 xd407,0xd000-0xd003,0xcc00-0xcc0f mem 0xdfffec00-0xdfffedff irq 9 at device 8.0 on pci0 When not being used as part of the ZFS pool, each of the four drives (disks/devices) can be read/written at any rate and load without creating instability (thank you FreeBSD). Before trying ZFS I had standard UFS2 file systems on each one. When the crash occurs, the following appears on the console (typed in): ---begin console message--- ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA = xxxx ad4: FAILURE - device attached subdisk4: detached ad4: detached Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x2c fault code = supervisor read, page not present instruction pointer = 0x20:0xc073ee36 stack pointer = 0x28:0xdc6c4c58 frame pointer = 0x28:0xdc6c4c78 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume IOPL = 0 current process = 3 (g_up) [thread pid 3 tid 100011 ] stopped at _mtx_lock_flags+0x46: movl 0x10(%ebx),%eax db> ---end console message--- The output of dmesg for my machine is attached. It's a MSI motherboard with 5PCI slots and a Athlon XP 1800+ with 768MB RAM. Happy to provide more information (crashdumps?) to help solve the bug. ZFS is so cool, it will be great to have it stable on FreeBSD. You can email me at thede@loder.com (there might be a challenge since I use Boxbe, but even if you decide not to take it, I'll search for your message so I can reply). Cheers, Thede --------------010704020809070202080108 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="davdmsg" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="davdmsg" Copyright (c) 1992-2007 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.0-CURRENT #4: Sat Jul 14 08:58:50 PDT 2007 root@davros.loder.com:/evol/vol01/obj/usr/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) XP 1800+ (1533.40-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383f9ff AMD Features=0xc0400800 real memory = 805306368 (768 MB) avail memory = 774152192 (738 MB) kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) cpu0 on motherboard pcib0: pcibus 0 on motherboard pir0: on motherboard pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: mem 0xde000000-0xdeffffff,0xda000000-0xdbffffff irq 11 at device 0.0 on pci1 atapci0: port 0xec00-0xec7f,0xe800-0xe8ff mem 0xdffff000-0xdfffffff,0xdffc0000-0xdffdffff irq 11 at device 5.0 on pci0 atapci0: [ITHREAD] atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] ata4: on atapci0 ata4: [ITHREAD] rl0: port 0xe400-0xe4ff mem 0xdfffef00-0xdfffefff irq 10 at device 6.0 on pci0 miibus0: on rl0 rlphy0: PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:05:5d:32:83:a4 rl0: [ITHREAD] dc0: port 0xe000-0xe0ff mem 0xdfffe800-0xdfffebff irq 12 at device 7.0 on pci0 miibus1: on dc0 ukphy0: PHY 1 on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: Ethernet address: 00:50:bf:96:fd:d2 dc0: [ITHREAD] atapci1: port 0xdc00-0xdc07,0xd800-0xd803,0xd400-0xd407,0xd000-0xd003,0xcc00-0xcc0f mem 0xdfffec00-0xdfffedff irq 9 at device 8.0 on pci0 atapci1: [ITHREAD] ata5: on atapci1 ata5: [ITHREAD] ata6: on atapci1 ata6: [ITHREAD] uhci0: port 0xc000-0xc01f irq 11 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xc400-0xc41f irq 10 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xc800-0xc81f irq 12 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xdfffee00-0xdfffeeff irq 9 at device 16.3 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered isab0: at device 17.0 on pci0 isa0: on isab0 atapci2: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 17.1 on pci0 ata0: on atapci2 ata0: [ITHREAD] ata1: on atapci2 ata1: [ITHREAD] pci0: at device 17.5 (no driver attached) pmtimer0 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio0: [FILTER] sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio1: [FILTER] vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) Timecounter "TSC" frequency 1533399720 Hz quality 800 Timecounters tick every 1.000 msec ad0: 152627MB at ata0-master UDMA100 ad1: 238475MB at ata0-slave UDMA100 acd0: CDRW at ata1-master UDMA33 ad4: 238475MB at ata2-master SATA150 ad6: 238475MB at ata3-master SATA150 ad10: 238475MB at ata5-master SATA150 ad12: 238475MB at ata6-master SATA150 WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from ufs:/dev/ad0s1a ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to deny, logging disabled --------------010704020809070202080108--