From owner-freebsd-current@FreeBSD.ORG Wed Feb 11 15:58:01 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D11AE16A4CE for ; Wed, 11 Feb 2004 15:58:01 -0800 (PST) Received: from zardoz.rd.imagescape.com (zardoz.rd.imagescape.com [66.100.151.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CD3143D1F for ; Wed, 11 Feb 2004 15:58:01 -0800 (PST) (envelope-from stox@imagescape.com) Received: from [192.168.2.3] (adsl-68-21-13-20.dsl.chcgil.ameritech.net [68.21.13.20]) (authenticated bits=0)i1BNvsV8014651 for ; Wed, 11 Feb 2004 17:57:54 -0600 (CST) (envelope-from stox@imagescape.com) From: "Kenneth P. Stox" To: FreeBSD Current Content-Type: text/plain Organization: Imaginary Landscape, LLC. Message-Id: <1076543869.1373.12.camel@stox.dyndns.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 11 Feb 2004 17:57:49 -0600 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 12 Feb 2004 05:25:00 -0800 Subject: Sil 3112A and GEOM lockups X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2004 23:58:01 -0000 I have been having some hard lockups the past few days, and suspect that they relate to the following diagnostics I am receiving in /var/log/messages: Feb 11 17:45:06 stox kernel: ad4: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=187564054 Feb 11 17:45:06 stox kernel: Waiting on "ATA request done" with the following non-sleepable locks held: Feb 11 17:45:06 stox kernel: exclusive sleep mutex g_xup r = 0 (0xe17dfcc0) locked @ /usr/src/sys/geom/geom_io.c:393 Feb 11 17:45:06 stox kernel: Waiting on "ATA request done" with the following non-sleepable locks held: Feb 11 17:45:06 stox kernel: exclusive sleep mutex g_xup r = 0 (0xe17dfcc0) locked @ /usr/src/sys/geom/geom_io.c:393 Feb 11 17:45:06 stox kernel: Waiting on "ATA request done" with the following non-sleepable locks held: Feb 11 17:45:06 stox kernel: exclusive sleep mutex g_xup r = 0 (0xe17dfcc0) locked @ /usr/src/sys/geom/geom_io.c:393 Feb 11 17:45:06 stox kernel: Waiting on "ATA request done" with the following non-sleepable locks held: Feb 11 17:45:06 stox kernel: exclusive sleep mutex g_xup r = 0 (0xe17dfcc0) locked @ /usr/src/sys/geom/geom_io.c:393 Feb 11 17:45:06 stox kernel: Waiting on "ATA request done" with the following non-sleepable locks held: Feb 11 17:45:06 stox kernel: exclusive sleep mutex g_xup r = 0 (0xe17dfcc0) locked @ /usr/src/sys/geom/geom_io.c:393 Feb 11 17:45:06 stox kernel: Waiting on "ATA request done" with the following non-sleepable locks held: Feb 11 17:45:06 stox kernel: exclusive sleep mutex g_xup r = 0 (0xe17dfcc0) locked @ /usr/src/sys/geom/geom_io.c:393 Feb 11 17:45:06 stox kernel: Waiting on "ATA request done" with the following non-sleepable locks held: Feb 11 17:45:06 stox kernel: exclusive sleep mutex g_xup r = 0 (0xe17dfcc0) locked @ /usr/src/sys/geom/geom_io.c:393 Feb 11 17:45:06 stox kernel: malloc() of "1024" with the following non-sleepable locks held: Feb 11 17:45:06 stox kernel: exclusive sleep mutex g_xup r = 0 (0xe17dfcc0) locked @ /usr/src/sys/geom/geom_io.c:393 Feb 11 17:45:06 stox kernel: malloc() of "1024" with the following non-sleepable locks held: Feb 11 17:45:06 stox kernel: exclusive sleep mutex g_xup r = 0 (0xe17dfcc0) locked @ /usr/src/sys/geom/geom_io.c:393 Feb 11 17:45:06 stox kernel: malloc() of "16" with the following non-sleepable locks held: Feb 11 17:45:06 stox kernel: exclusive sleep mutex g_xup r = 0 (0xe17dfcc0) locked @ /usr/src/sys/geom/geom_io.c:393 Feb 11 17:45:06 stox kernel: malloc() of "1024" with the following non-sleepable locks held: Feb 11 17:45:06 stox kernel: exclusive sleep mutex g_xup r = 0 (0xe17dfcc0) locked @ /usr/src/sys/geom/geom_io.c:393 Feb 11 17:45:06 stox kernel: malloc() of "1024" with the following non-sleepable locks held: Feb 11 17:45:06 stox kernel: exclusive sleep mutex g_xup r = 0 (0xe17dfcc0) locked @ /usr/src/sys/geom/geom_io.c:393 Looks like the Sil3112A and GEOM are not getting along. dmesg output follows: Copyright (c) 1992-2004 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.2-CURRENT #0: Wed Feb 11 15:27:16 CST 2004 stox@stox.dyndns.org:/usr/obj/usr/src/sys/STOX Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a64000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a642bc. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.06GHz (3056.50-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf25 Stepping = 5 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 1073152000 (1023 MB) avail memory = 1040621568 (992 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 6 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard ioapic2 irqs 48-71 on motherboard Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 21 entries at 0xc00fde70 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_cpu2: on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xec000000-0xefffffff at device 0.0 on pci0 pci0: at device 0.1 (no driver attached) pcib1: mem 0xf0000000-0xf3ffffff at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci1: at device 0.1 (no driver attached) pcib2: at device 2.0 on pci0 pcib2: could not get PCI interrupt routing table for \\_SB_.PCI0.HLB_ - AE_NOT_FOUND pci2: on pcib2 pci2: at device 28.0 (no driver attached) pcib3: at device 29.0 on pci2 pci3: on pcib3 pci2: at device 30.0 (no driver attached) pcib4: at device 31.0 on pci2 pci4: on pcib4 em0: port 0x8000-0x803f mem 0xe8300000-0xe831ffff irq 52 at device 2.0 on pci4 em0: Speed:N/A Duplex:N/A pci0: at device 2.1 (no driver attached) uhci0: port 0x6800-0x681f irq 16 at device 29.0 on pci0 usb0: 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 uhci1: port 0x6820-0x683f irq 19 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x6840-0x685f irq 18 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xe8000000-0xe80003ff irq 23 at device 29.7 on pci0 ehci_pci_attach: companion usb0 ehci_pci_attach: companion usb1 ehci_pci_attach: companion usb2 usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: (0x8086) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered pcib5: at device 30.0 on pci0 pci5: on pcib5 pci5: at device 0.0 (no driver attached) pci5: at device 1.0 (no driver attached) fxp0: port 0x9000-0x903f mem 0xe8420000-0xe843ffff,0xe8401000-0xe8401fff irq 18 at device 3.0 on pci5 fxp0: Ethernet address 00:04:23:46:ca:af miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto atapci0: port 0x9040-0x904f,0x9050-0x9053,0x9058-0x905f,0x9054-0x9057,0x9060-0x9067 mem 0xe8402000-0xe84021ff irq 19 at device 4.0 on pci5 atapci0: [MPSAFE] ata2: at 0xe8402000 on atapci0 ata2: [MPSAFE] ata3: at 0xe8402000 on atapci0 ata3: [MPSAFE] isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0x6860-0x686f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci1 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci1 ata1: [MPSAFE] pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 fdc0: cmd 3 failed at out byte 1 of 3 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77b,0x378-0x37f 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 ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 acpi_cpu2: on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 fdc0: cmd 3 failed at out byte 1 of 3 orm0: