Sil 3112A and GEOM lockups

From: Kenneth P. Stox <stox_at_imagescape.com>
Date: Wed, 11 Feb 2004 17:57:49 -0600
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 _at_ /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 _at_ /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 _at_ /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 _at_ /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 _at_ /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 _at_ /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 _at_ /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 _at_ /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 _at_ /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 _at_ /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 _at_ /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 _at_ /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_at_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: <PTLTD          APIC  >
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<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>
  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 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
ioapic2 <Version 2.0> irqs 48-71 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <PTLTD   RSDT> 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: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_cpu2: <CPU> on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
acpi_cpu2: <CPU> on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
acpi_cpu2: <CPU> on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
acpi_cpu2: <CPU> on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
acpi_cpu2: <CPU> on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
acpi_cpu2: <CPU> on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel Generic host to PCI bridge> mem 0xec000000-0xefffffff at
device 0.0 on pci0
pci0: <unknown> at device 0.1 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> mem 0xf0000000-0xf3ffffff at device 1.0 on
pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pci1: <display> at device 0.1 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pcib2: could not get PCI interrupt routing table for \\_SB_.PCI0.HLB_ -
AE_NOT_FOUND
pci2: <ACPI PCI bus> on pcib2
pci2: <base peripheral, interrupt controller> at device 28.0 (no driver
attached)
pcib3: <ACPI PCI-PCI bridge> at device 29.0 on pci2
pci3: <ACPI PCI bus> on pcib3
pci2: <base peripheral, interrupt controller> at device 30.0 (no driver
attached)
pcib4: <ACPI PCI-PCI bridge> at device 31.0 on pci2
pci4: <ACPI PCI bus> on pcib4
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> port
0x8000-0x803f mem 0xe8300000-0xe831ffff irq 52 at device 2.0 on pci4
em0:  Speed:N/A  Duplex:N/A
pci0: <unknown> at device 2.1 (no driver attached)
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x6800-0x681f
irq 16 at device 29.0 on pci0
usb0: <Intel 82801DB (ICH4) USB controller USB-A> 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: <Intel 82801DB (ICH4) USB controller USB-B> port 0x6820-0x683f
irq 19 at device 29.1 on pci0
usb1: <Intel 82801DB (ICH4) USB controller USB-B> 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: <Intel 82801DB (ICH4) USB controller USB-C> port 0x6840-0x685f
irq 18 at device 29.2 on pci0
usb2: <Intel 82801DB (ICH4) USB controller USB-C> 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: <EHCI (generic) USB 2.0 controller> 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: <EHCI (generic) USB 2.0 controller> 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: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci5: <ACPI PCI bus> on pcib5
pci5: <multimedia, audio> at device 0.0 (no driver attached)
pci5: <multimedia, video> at device 1.0 (no driver attached)
fxp0: <Intel 82550 Pro/100 Ethernet> 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: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
atapci0: <SiI 3112 SATA150 controller> 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: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH4 UDMA100 controller> 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: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> 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: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
acpi_cpu2: <CPU> on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
acpi_cpu2: <CPU> on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
acpi_cpu2: <CPU> on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
acpi_cpu2: <CPU> on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
acpi_cpu2: <CPU> on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
acpi_cpu2: <CPU> on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
fdc0: cmd 3 failed at out byte 1 of 3
orm0: <Option ROMs> at iomem
0xe2000-0xe27ff,0xcd000-0xd17ff,0xc0000-0xccfff on isa0
pmtimer0 on isa0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
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
Timecounters tick every 10.000 msec
ad0: 117246MB <Maxtor 6Y120P0> [238216/16/63] at ata0-master UDMA100
ad1: 156334MB <Maxtor 6Y160P0> [317632/16/63] at ata0-slave UDMA100
acd0: CDRW <48X12> at ata1-master WDMA2
acd1: DVDROM <JLMS XJ-HD166S> at ata1-slave UDMA33
ad4: 117246MB <Maxtor 6Y120M0> [238216/16/63] at ata2-master UDMA100
ad6: 117246MB <Maxtor 6Y120M0> [238216/16/63] at ata3-master UDMA100
ar0: 117246MB <ATA RAID1 array> [14946/255/63] status: READY subdisks:
 disk0 READY on ad4 at ata2-master
 disk1 READY on ad6 at ata3-master
cd0 at ata1 bus 0 target 0 lun 0
cd0: <ATAPI CD-R/RW 48X12 7.GE> Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: cd present [1 x 2048 byte records]
cd1 at ata1 bus 0 target 1 lun 0
cd1: <JLMS XJ-HD166S DS18> Removable CD-ROM SCSI-0 device
cd1: 33.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present
SMP: AP CPU #1 Launched!

Further information available upon request.

-Ken Stox
 stox_at_imagescape.com
Received on Wed Feb 11 2004 - 14:58:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:42 UTC