Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jan 2004 12:22:16 +0200 (EET)
From:      Petri Helenius <pete@silver.he.iki.fi>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/61063: ata hangs in smp system
Message-ID:  <200401081022.i08AMGWd081634@silver.he.iki.fi>
Resent-Message-ID: <200401081030.i08AU9V2030688@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61063
>Category:       i386
>Synopsis:       ata hangs in smp system
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 08 02:30:09 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Petri Helenius
>Release:        FreeBSD 5.2-RC i386
>Organization:
>Environment:
System: FreeBSD 5.2-RC FreeBSD 5.2-RC #1: Thu Jan 8 09:01:07 GMT 2004 i386
Dual Xeon E7505VB2 Intel motherboard

>Description:
	When running the machine with SMP kernel, semi-heavy to heavy
io will result in disks hanging. The system still runs but processes waiting
on the partition which resides on hung disk stop in D state.
No messages appear on the console when activity stops.

>How-To-Repeat:
	In this particular case, the application doing the IO is mysql.
>Fix:
	Workaround is to disable SMP operation, the system will then run fine.

This dmesg is from the system when running without SMP.

Copyright (c) 1992-2003 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-RC #1: Thu Jan  8 09:01:07 GMT 2004
Preloaded elf kernel "/boot/kernel/kernel" at 0xc08ac000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc08ac294.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.05-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  = 2146893824 (2047 MB)
avail memory = 2080129024 (1983 MB)
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
device_probe_and_attach: acpi_cpu1 attach returned 6
acpi_cpu1: <CPU> on acpi0
device_probe_and_attach: acpi_cpu1 attach returned 6
acpi_cpu1: <CPU> on acpi0
device_probe_and_attach: acpi_cpu1 attach returned 6
acpi_cpu1: <CPU> on acpi0
device_probe_and_attach: acpi_cpu1 attach returned 6
acpi_cpu1: <CPU> on acpi0
device_probe_and_attach: acpi_cpu1 attach returned 6
acpi_cpu1: <CPU> on acpi0
device_probe_and_attach: acpi_cpu1 attach returned 6
acpi_cpu1: <CPU> on acpi0
device_probe_and_attach: acpi_cpu1 attach returned 6
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 29 INTA is routed to irq 11
pcib0: slot 29 INTB is routed to irq 10
pcib0: slot 29 INTC is routed to irq 5
pcib0: slot 29 INTD is routed to irq 7
agp0: <Intel Generic host to PCI bridge> mem 0xf4000000-0xf7ffffff at device 0.0 on pci0
pci0: <unknown> at device 0.1 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> mem 0xf8000000-0xfbffffff at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
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
pcib3: slot 1 INTA is routed to irq 12
pcib3: slot 2 INTA is routed to irq 12
atapci0: <Promise PDC20318 SATA150 controller> port 0x7000-0x707f,0x7480-0x748f,0x7400-0x743f mem 0xf0200000-0xf021ffff,0xf0240000-0xf0240fff irq 12 at device 1.0 on pci3
atapci0: [MPSAFE]
ata2: at 0xf0240000 on atapci0
ata2: [MPSAFE]
ata3: at 0xf0240000 on atapci0
ata3: [MPSAFE]
ata4: at 0xf0240000 on atapci0
ata4: [MPSAFE]
ata5: at 0xf0240000 on atapci0
ata5: [MPSAFE]
atapci1: <Promise PDC20318 SATA150 controller> port 0x7080-0x70ff,0x7490-0x749f,0x7440-0x747f mem 0xf0220000-0xf023ffff,0xf0241000-0xf0241fff irq 12 at device 2.0 on pci3
atapci1: [MPSAFE]
ata6: at 0xf0241000 on atapci1
ata6: [MPSAFE]
ata7: at 0xf0241000 on atapci1
ata7: [MPSAFE]
ata8: at 0xf0241000 on atapci1
ata8: [MPSAFE]
ata9: at 0xf0241000 on atapci1
ata9: [MPSAFE]
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
pcib4: slot 1 INTA is routed to irq 12
pcib4: slot 2 INTA is routed to irq 12
atapci2: <Promise PDC20318 SATA150 controller> port 0x8000-0x807f,0x8400-0x840f,0x8080-0x80bf mem 0xf0300000-0xf031ffff,0xf0340000-0xf0340fff irq 12 at device 1.0 on pci4
atapci2: [MPSAFE]
ata10: at 0xf0340000 on atapci2
ata10: [MPSAFE]
ata11: at 0xf0340000 on atapci2
ata11: [MPSAFE]
ata12: at 0xf0340000 on atapci2
ata12: [MPSAFE]
ata13: at 0xf0340000 on atapci2
ata13: [MPSAFE]
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.19> port 0x80c0-0x80ff mem 0xf0320000-0xf033ffff irq 12 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 11 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 10 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 5 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
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci5: <ACPI PCI bus> on pcib5
pcib5: slot 2 INTA is routed to irq 11
pcib5: slot 3 INTA is routed to irq 5
pci5: <display, VGA> at device 2.0 (no driver attached)
fxp0: <Intel 82550 Pro/100 Ethernet> port 0x9400-0x943f mem 0xf0420000-0xf043ffff,0xf0401000-0xf0401fff irq 5 at device 3.0 on pci5
fxp0: Ethernet address 00:04:23:88:0c:ad
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci3: <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 atapci3
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci3
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
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
acpi_cpu1: <CPU> on acpi0
device_probe_and_attach: acpi_cpu1 attach returned 6
acpi_cpu1: <CPU> on acpi0
device_probe_and_attach: acpi_cpu1 attach returned 6
acpi_cpu1: <CPU> on acpi0
device_probe_and_attach: acpi_cpu1 attach returned 6
acpi_cpu1: <CPU> on acpi0
device_probe_and_attach: acpi_cpu1 attach returned 6
acpi_cpu1: <CPU> on acpi0
device_probe_and_attach: acpi_cpu1 attach returned 6
acpi_cpu1: <CPU> on acpi0
device_probe_and_attach: acpi_cpu1 attach returned 6
acpi_cpu1: <CPU> on acpi0
device_probe_and_attach: acpi_cpu1 attach returned 6
orm0: <Option ROMs> at iomem 0xe2000-0xe27ff,0xc8000-0xcafff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
ppc0: parallel port not found.
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 2392045308 Hz quality 800
Timecounters tick every 10.000 msec
GEOM: create disk ad4 dp=0xc85cfd60
ad4: 78167MB <Maxtor 6Y080M0> [158816/16/63] at ata2-master UDMA133
GEOM: create disk ad6 dp=0xc85cf960
ad6: 78167MB <Maxtor 6Y080M0> [158816/16/63] at ata3-master UDMA133
GEOM: create disk ad8 dp=0xc85cf360
ad8: 78167MB <Maxtor 6Y080M0> [158816/16/63] at ata4-master UDMA133
GEOM: create disk ad10 dp=0xc85cf460
ad10: 78167MB <Maxtor 6Y080M0> [158816/16/63] at ata5-master UDMA133
GEOM: create disk ad12 dp=0xc85cf260
ad12: 78167MB <Maxtor 6Y080M0> [158816/16/63] at ata6-master UDMA133
GEOM: create disk ad14 dp=0xc85d6360
ad14: 78167MB <Maxtor 6Y080M0> [158816/16/63] at ata7-master UDMA133
GEOM: create disk ad16 dp=0xc85d0a60
ad16: 78167MB <Maxtor 6Y080M0> [158816/16/63] at ata8-master UDMA133
GEOM: create disk ad18 dp=0xc85d6460
ad18: 78167MB <Maxtor 6Y080M0> [158816/16/63] at ata9-master UDMA133
GEOM: create disk ad20 dp=0xc85d6660
ad20: 78167MB <Maxtor 6Y080M0> [158816/16/63] at ata10-master UDMA133
GEOM: create disk ad22 dp=0xc85e6660
ad22: 78167MB <Maxtor 6Y080M0> [158816/16/63] at ata11-master UDMA133
GEOM: create disk ad24 dp=0xc85e6260
ad24: 78167MB <Maxtor 6Y080M0> [158816/16/63] at ata12-master UDMA133
GEOM: create disk ad26 dp=0xc85d6760
ad26: 78167MB <Maxtor 6Y080M0> [158816/16/63] at ata13-master UDMA133
GEOM: create disk ar0 dp=0xc82e75e0
ar0: 78167MB <ATA RAID1 array> [9964/255/63] status: READY subdisks:
 disk0 READY on ad4 at ata2-master
 disk1 READY on ad6 at ata3-master
GEOM: create disk ar1 dp=0xc82e5de0
ar1: 390836MB <ATA RAID0+1 array> [49824/255/63] status: READY subdisks:
 disk0 READY on ad8 at ata4-master
 disk1 READY on ad10 at ata5-master
 disk2 READY on ad12 at ata6-master
 disk3 READY on ad14 at ata7-master
 disk4 READY on ad16 at ata8-master
 disk5 READY on ad18 at ata9-master
 disk6 READY on ad20 at ata10-master
 disk7 READY on ad22 at ata11-master
 disk8 READY on ad24 at ata12-master
 disk9 READY on ad26 at ata13-master
Mounting root from ufs:/dev/ar0s1a

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401081022.i08AMGWd081634>