From kirk@kanga.honeypot.net  Sat Dec 13 19:51:18 2003
Return-Path: <kirk@kanga.honeypot.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7545316A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 13 Dec 2003 19:51:18 -0800 (PST)
Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3529443D36
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 13 Dec 2003 19:51:12 -0800 (PST)
	(envelope-from kirk@kanga.honeypot.net)
Received: from kanga.honeypot.net (localhost [127.0.0.1])
	by kanga.honeypot.net (8.12.10/8.12.10) with ESMTP id hBE3pDdl002482
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 13 Dec 2003 21:51:14 -0600 (CST)
	(envelope-from kirk@kanga.honeypot.net)
Received: (from kirk@localhost)
	by kanga.honeypot.net (8.12.10/8.12.10/Submit) id hBE3pDh6002481;
	Sat, 13 Dec 2003 21:51:13 -0600 (CST)
	(envelope-from kirk)
Message-Id: <200312140351.hBE3pDh6002481@kanga.honeypot.net>
Date: Sat, 13 Dec 2003 21:51:13 -0600 (CST)
From: Kirk Strauser <kirk@strauser.com>
Reply-To: Kirk Strauser <kirk@strauser.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: ATA system freezes during heavy loads
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         60221
>Category:       kern
>Synopsis:       ATA system freezes during heavy loads
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 13 20:00:35 PST 2003
>Closed-Date:    Mon Aug 16 12:14:06 GMT 2004
>Last-Modified:  Mon Aug 16 12:14:06 GMT 2004
>Originator:     Kirk Strauser
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
The Strauser Group
>Environment:
System: FreeBSD kanga.honeypot.net 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Thu Dec 11 14:13:32 CST 2003 root@kanga.honeypot.net:/usr/obj/usr/src/sys/KANGA i386

Kernel is a lightly-modified GENERIC with the recommended additional settings
the PostgreSQL port, and with NIC polling (although polling is disabled in
the actual running system).  It was built with "CFLAGS= -O -pipe".

dmesg is as follows:

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-CURRENT #1: Thu Dec 11 14:13:32 CST 2003
    root@kanga.honeypot.net:/usr/obj/usr/src/sys/KANGA
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a7d000.
Preloaded elf module "/boot/kernel/linprocfs.ko" at 0xc0a7d1f4.
Preloaded elf module "/boot/kernel/linux.ko" at 0xc0a7d2a4.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a7d350.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (936.74-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 805289984 (767 MB)
avail memory = 772505600 (736 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS   P3V_4X  > on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 8 entries at 0xc00f0e60
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 4 INTD is routed to irq 9
pcib0: slot 9 INTA is routed to irq 9
pcib0: slot 10 INTA is routed to irq 9
pcib0: slot 11 INTA is routed to irq 10
pcib0: slot 12 INTA is routed to irq 11
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xe4000000-0xe7ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C596B UDMA66 controller> port 0xd800-0xd80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 9 at device 4.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ulpt0: HewLett Packard HP LaserJet 1200, rev 1.10/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
ukbd0: Belkin Components USB-PS2 Adapter, rev 1.10/1.20, addr 3, iclass 3/1
kbd0 at ukbd0
ums0: Belkin Components USB-PS2 Adapter, rev 1.10/1.20, addr 3, iclass 3/1
ums0: 5 buttons and Z dir.
viapropm0: SMBus I/O base at 0xe800
viapropm0: <VIA VT82C596A Power Management Unit> port 0xe800-0xe80f at device 4.3 on pci0
viapropm0: SMBus revision code 0x0
smbus0: <System Management Bus> on viapropm0
smb0: <SMBus generic I/O> on smbus0
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xd000-0xd03f mem 0xd6800000-0xd68fffff,0xd7000000-0xd7000fff irq 9 at device 9.0 on pci0
fxp0: Ethernet address 00:d0:b7:0e:3a:4a
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: <Intel 82559 Pro/100 Ethernet> port 0xb800-0xb83f mem 0xd5800000-0xd58fffff,0xd6000000-0xd6000fff irq 9 at device 10.0 on pci0
fxp1: Ethernet address 00:d0:b7:9e:bb:dd
miibus1: <MII bus> on fxp1
inphy1: <i82555 10/100 media interface> on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sym0: <875> port 0xb400-0xb4ff mem 0xd4800000-0xd4800fff,0xd5000000-0xd50000ff irq 10 at device 11.0 on pci0
sym0: Tekram NVRAM, ID 7, Fast-20, SE, parity checking
pci0: <display, VGA> at device 12.0 (no driver attached)
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
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
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
orm0: <Option ROMs> at iomem 0xd4000-0xd4fff,0xd0000-0xd0fff,0xcc000-0xcffff,0xc0000-0xcafff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio2 at port 0x3e8-0x3ef irq 5 on isa0
sio2: type 16450
sio3: configured irq 9 not in bitmap of probed irqs 0
sio3: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 936743135 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 16 steps (100% to 6.2%), currently 100.0%
GEOM: create disk ad0 dp=0xc639f760
ad0: 114473MB <WDC WD1200JB-00DUA3> [232581/16/63] at ata0-master UDMA66
Waiting 15 seconds for SCSI devices to settle
(probe1:sym0:0:1:0): phase change 6-7 6@002fe78c resid=4.
(probe2:sym0:0:2:0): phase change 6-2 6@0035f98c resid=5.
sa0 at sym0 bus 0 target 6 lun 0
sa0: <SEAGATE DAT    9SP40-000 9100> Removable Sequential Access SCSI-3 device
sa0: 40.000MB/s transfers (20.000MHz, offset 16, 16bit)
GEOM: create disk cd0 dp=0xc6394600
GEOM: create disk da0 dp=0xc63aec50
(cd0:sym0:0:2:0): phase change 6-2 6@0035f98c resid=5.
cd0 at sym0 bus 0 target 2 lun 0
cd0: <RICOH RO-1420C 1.61> Removable CD-ROM SCSI-2 device
cd0: 3.300MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at sym0 bus 0 target 1 lun 0
da0: <IOMEGA ZIP 100 J.03> Removable Direct Access SCSI-2 device
da0: 3.300MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(cd0:sym0:0:2:0): phase change 6-2 6@0035f98c resid=5.
(cd0:sym0:0:2:0): phase change 6-2 6@0035f98c resid=5.
(cd0:sym0:0:2:0): phase change 6-2 6@0035f98c resid=5.
(cd0:sym0:0:2:0): phase change 6-2 6@0035f98c resid=5.
(da0:sym0:0:1:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:sym0:0:1:0): CAM Status: SCSI Status Error
(da0:sym0:0:1:0): SCSI Status: Check Condition
(da0:sym0:0:1:0): NOT READY asc:3a,0
(da0:sym0:0:1:0): Medium not present
(da0:sym0:0:1:0): Unretryable error
Opened disk da0 -> 6
(da0:sym0:0:1:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:sym0:0:1:0): CAM Status: SCSI Status Error
(da0:sym0:0:1:0): SCSI Status: Check Condition
(da0:sym0:0:1:0): NOT READY asc:3a,0
(da0:sym0:0:1:0): Medium not present
(da0:sym0:0:1:0): Unretryable error
Opened disk da0 -> 6
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /home was not properly dismounted
/home: mount pending error: blocks 4 files 1
/home: superblock summary recomputed
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
/usr: mount pending error: blocks 24 files 2
WARNING: /usr/export was not properly dismounted
WARNING: /usr/share was not properly dismounted
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 360 files 7
/var: superblock summary recomputed
WARNING: /var/amanda was not properly dismounted
/var/amanda: superblock summary recomputed
WARNING: /var/jail was not properly dismounted
/var/jail: mount pending error: blocks 5420 files 3
/var/jail: superblock summary recomputed

	
>Description:
	
I built world after cvsup'ing -CURRENT on 2003-12-11 and am still having the
same ATA READ_DMA hangs that started in early October on my system.  I can
repeat the hangs at will; the machine serves as an Amanda server, and
launching a backup for itself plus 3 client machines is guaranteed to
trigger it:

    ad0: TIMEOUT - READ_DMA retrying (2 retries left)
    ata0: resetting devices ..
    ad0: FAILURE - already active DMA on this device
    ad0: setting up DMA failed

When this happens, the system is effectively dead until I reset it.  I can
run for days on end by booting with the drive in BIOSPIO mode (PIO4 has the
same problem as the UDMA modes), but that's not really my ideal long-term
solution as it slows the system to a crawl.

The drive in question is a Western Digital WD1200JB-00DUA3 (Caviar 120GB
special edition) attached to an Asus P3V4X (Via chipset) motherboard.  The
combination has worked perfectly from the server's 4.8-STABLE days, through
5.0, and up until the last two months when I started experiencing this
immediately after an upgrade.

The sysutils/smartctl reports:

    SMART overall-health self-assessment test result: PASSED

That, coupled with the problem's appearance immediately after an upgrade
leads me to suspect a problem with the ATA driver and not with the hardware
itself.

>How-To-Repeat:
	

Do anything that stresses the ATA drive, such as run multiple copies of tar.

>Fix:

A temporary workaround is to run:

    atacontrol mode 0 BIOSPIO BIOSPIO

The system will still crash at PIO4 and above, so stick with BIOSPIO for
stability.

	


>Release-Note:
>Audit-Trail:

From: Christian Wittenhorst <wiwi@progon.net>
To: freebsd-gnats-submit@FreeBSD.org, kirk@strauser.com
Cc:  
Subject: Re: kern/60221: ATA system freezes during heavy loads
Date: Sat, 27 Dec 2003 20:19:13 +0100

 Hallo...
 
 I have the same problem:
 
   ad0: TIMEOUT - WRITE_DMA retrying (2 reties left)
   ata0: resetting devices
   ad0: FAILURE - already active DMA on this device
   ad0: setting up DMA failed
   [only reset helps]
 
 I tried three different harddisks (IBM/Seagate) and two different 
 (UDMA-)cables without any change. The system still crashes under heavy IO 
 load! In PIO mode everything works fine but *very* slow...
 
 # uname -a
 FreeBSD  5.2-RC FreeBSD 5.2-RC #2: Sat Dec 27 18:28:11 CET 2003 
 wiwi@:/usr/src/sys/i386/compile/mail  i386
 (just cvsup'ed)
 
 # atacontrol list
 ATA channel 0:
     Master:  ad0 <IC35L120AVV207-1/V24OA66A> ATA/ATAPI rev 6
     Slave:       no device present
 ATA channel 1:
     Master: acd0 <COMPAQ DVD-ROM GDR8160B/0012> ATA/ATAPI rev 0
     Slave:       no device present
 
 Dec 27 20:04:29  syslogd: kernel boot file is /boot/kernel/kernel
 Dec 27 20:04:29  kernel: Copyright (c) 1992-2003 The FreeBSD Project.
 Dec 27 20:04:29  kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 
 1991, 1992, 1993, 1994
 Dec 27 20:04:29  kernel: The Regents of the University of California. All 
 rights reserved.
 Dec 27 20:04:29  kernel: FreeBSD 5.2-RC #2: Sat Dec 27 18:28:11 CET 2003
 Dec 27 20:04:29  kernel: wiwi@:/usr/src/sys/i386/compile/mail
 Dec 27 20:04:29  kernel: Preloaded elf kernel "/boot/kernel/kernel" at 
 0xc09c5000.
 Dec 27 20:04:29  kernel: Preloaded elf module "/boot/kernel/acpi.ko" at 
 0xc09c50cc.
 Dec 27 20:04:29  kernel: Timecounter "i8254" frequency 1193182 Hz quality 0
 Dec 27 20:04:29  kernel: CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz 
 (2392.30-MHz 686-class CPU)
 Dec 27 20:04:29  kernel: Origin = "GenuineIntel"  Id = 0xf24  Stepping = 4
 Dec 27 20:04:29  kernel: 
 Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MC
 A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
 Dec 27 20:04:29  kernel: real memory  = 260046848 (248 MB)
 Dec 27 20:04:29  kernel: avail memory = 242958336 (231 MB)
 Dec 27 20:04:29  kernel: Pentium Pro MTRR support enabled
 Dec 27 20:04:29  kernel: ACPI-0264: *** Error: Looking up 
 [\_SB_.PCI0.IDE_.SIDE] in namespace, AE_NOT_FOUND
 Dec 27 20:04:29  kernel: ACPI-1287: *** Error: , AE_NOT_FOUND
 Dec 27 20:04:29  kernel: npx0: [FAST]
 Dec 27 20:04:29  kernel: npx0: <math processor> on motherboard
 Dec 27 20:04:29  kernel: npx0: INT 16 interface
 Dec 27 20:04:29  kernel: acpi0: <COMPAQ CPQ0050 > on motherboard
 Dec 27 20:04:29  kernel: pcibios: BIOS version 2.10
 Dec 27 20:04:29  kernel: Using $PIR table, 10 entries at 0xc00ecef0
 Dec 27 20:04:29  kernel: ACPI-0438: *** Error: Looking up [\OSFG] in 
 namespace, AE_NOT_FOUND
 Dec 27 20:04:29  kernel: SearchNode 0xc16859c0 StartNode 0xc16859c0 
 ReturnNode 0
 Dec 27 20:04:29  kernel: ACPI-1287: *** Error: Method execution failed 
 [\_SB_.PCI0._INI] (Node 0xc16859c0), AE_NOT_FOUND
 Dec 27 20:04:29  kernel: acpi0: Power Button (fixed)
 Dec 27 20:04:29  kernel: Timecounter "ACPI-fast" frequency 3579545 Hz 
 quality 1000
 Dec 27 20:04:29  kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 
 0xf808-0xf80b on acpi0
 Dec 27 20:04:29  kernel: pcib0: <ACPI Host-PCI bridge> on acpi0
 Dec 27 20:04:29  kernel: pci0: <ACPI PCI bus> on pcib0
 Dec 27 20:04:29  kernel: pcib0: slot 2 INTA is routed to irq 10
 Dec 27 20:04:29  kernel: pcib0: slot 29 INTA is routed to irq 10
 Dec 27 20:04:29  kernel: pcib0: slot 29 INTB is routed to irq 11
 Dec 27 20:04:29  kernel: pcib0: slot 29 INTD is routed to irq 5
 Dec 27 20:04:29  kernel: pcib0: slot 31 INTA is routed to irq 11
 Dec 27 20:04:29  kernel: pcib0: slot 31 INTB is routed to irq 5
 Dec 27 20:04:29  kernel: agp0: <Intel 82845G (845G GMCH) SVGA controller> 
 mem 0xfa400000-0xfa47ffff,0xf0000000-0xf7ffffff irq 10 at device 2.0 on pci0
 Dec 27 20:04:29  kernel: agp0: detected 8060k stolen memory
 Dec 27 20:04:29  kernel: agp0: aperture size is 128M
 Dec 27 20:04:29  kernel: uhci0: <Intel 82801DB (ICH4) USB controller USB-A> 
 port 0x2440-0x245f irq 10 at device 29.0 on pci0
 Dec 27 20:04:29  kernel: usb0: <Intel 82801DB (ICH4) USB controller USB-A> 
 on uhci0
 Dec 27 20:04:29  kernel: usb0: USB revision 1.0
 Dec 27 20:04:29  kernel: uhub0: Intel UHCI root hub, class 9/0, rev 
 1.00/1.00, addr 1
 Dec 27 20:04:29  kernel: uhub0: 2 ports with 2 removable, self powered
 Dec 27 20:04:29  kernel: uhci1: <Intel 82801DB (ICH4) USB controller USB-B> 
 port 0x2460-0x247f irq 11 at device 29.1 on pci0
 Dec 27 20:04:29  kernel: usb1: <Intel 82801DB (ICH4) USB controller USB-B> 
 on uhci1
 Dec 27 20:04:29  kernel: usb1: USB revision 1.0
 Dec 27 20:04:29  kernel: uhub1: Intel UHCI root hub, class 9/0, rev 
 1.00/1.00, addr 1
 Dec 27 20:04:29  kernel: uhub1: 2 ports with 2 removable, self powered
 Dec 27 20:04:29  kernel: pci0: <serial bus, USB> at device 29.7 (no driver 
 attached)
 Dec 27 20:04:29  kernel: pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
 Dec 27 20:04:29  kernel: pcib1: could not get PCI interrupt routing table 
 for \_SB_.PCI0.HUB_ - AE_NOT_FOUND
 Dec 27 20:04:29  kernel: pci5: <ACPI PCI bus> on pcib1
 Dec 27 20:04:29  kernel: fxp0: <Intel 82801DB (ICH4) Pro/100 VM Ethernet> 
 port 0x1000-0x103f mem 0xfa500000-0xfa500fff irq 5 at device 8.0 on pci5
 Dec 27 20:04:29  kernel: fxp0: Ethernet address 00:08:02:a6:7a:19
 Dec 27 20:04:29  kernel: miibus0: <MII bus> on fxp0
 Dec 27 20:04:29  kernel: inphy0: <i82562EM 10/100 media interface> on 
 miibus0
 Dec 27 20:04:29  kernel: inphy0:  10baseT, 10baseT-FDX, 100baseTX, 
 100baseTX-FDX, auto
 Dec 27 20:04:29  kernel: isab0: <PCI-ISA bridge> at device 31.0 on pci0
 Dec 27 20:04:29  kernel: isa0: <ISA bus> on isab0
 Dec 27 20:04:29  kernel: atapci0: <Intel ICH4 UDMA100 controller> port 
 0x24a0-0x24af,0x24c4-0x24c7,0x24b8-0x24bf,0x24c0-0x24c3,0x24b0-0x24b7 irq 
 11 at device 31.1 on pci0
 Dec 27 20:04:29  kernel: ata0: at 0x1f0 irq 14 on atapci0
 Dec 27 20:04:29  kernel: ata0: [MPSAFE]
 Dec 27 20:04:29  kernel: ata1: at 0x170 irq 15 on atapci0
 Dec 27 20:04:29  kernel: ata1: [MPSAFE]
 Dec 27 20:04:29  kernel: pci0: <multimedia, audio> at device 31.5 (no 
 driver attached)
 Dec 27 20:04:29  kernel: pmtimer0 on isa0
 Dec 27 20:04:29  kernel: atkbdc0: <Keyboard controller (i8042)> at port 
 0x64,0x60 on isa0
 Dec 27 20:04:29  kernel: atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
 Dec 27 20:04:29  kernel: kbd0 at atkbd0
 Dec 27 20:04:29  kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0
 Dec 27 20:04:29  kernel: psm0: model IntelliMouse Explorer, device ID 4
 Dec 27 20:04:29  kernel: fdc0: <Enhanced floppy controller (i82077, NE72065 
 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
 Dec 27 20:04:29  kernel: fdc0: FIFO enabled, 8 bytes threshold
 Dec 27 20:04:29  kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 Dec 27 20:04:29  kernel: ppc0: <Parallel port> at port 0x378-0x37f irq 7 on 
 isa0
 Dec 27 20:04:29  kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in 
 COMPATIBLE mode
 Dec 27 20:04:29  kernel: ppc0: FIFO with 16/16/13 bytes threshold
 Dec 27 20:04:29  kernel: ppbus0: <Parallel port bus> on ppc0
 Dec 27 20:04:29  kernel: plip0: <PLIP network interface> on ppbus0
 Dec 27 20:04:29  kernel: lpt0: <Printer> on ppbus0
 Dec 27 20:04:29  kernel: lpt0: Interrupt-driven port
 Dec 27 20:04:29  kernel: ppi0: <Parallel I/O> on ppbus0
 Dec 27 20:04:29  kernel: sc0: <System console> at flags 0x100 on isa0
 Dec 27 20:04:29  kernel: sc0: VGA <16 virtual consoles, flags=0x300>
 Dec 27 20:04:29  kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 Dec 27 20:04:29  kernel: sio0: type 16550A
 Dec 27 20:04:29  kernel: sio1 at port 0x2f8-0x2ff irq 3 on isa0
 Dec 27 20:04:29  kernel: sio1: type 16550A
 Dec 27 20:04:29  kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 
 0xa0000-0xbffff on isa0
 Dec 27 20:04:29  kernel: Timecounter "TSC" frequency 2392296452 Hz quality 
 800
 Dec 27 20:04:29  kernel: Timecounters tick every 10.000 msec
 Dec 27 20:04:29  kernel: GEOM: create disk ad0 dp=0xc2d2e160
 Dec 27 20:04:29  kernel: ad0: 117800MB <IC35L120AVV207-1> [239340/16/63] at 
 ata0-master UDMA100
 Dec 27 20:04:29  kernel: acd0: DVDROM <COMPAQ DVD-ROM GDR8160B> at 
 ata1-master PIO4
 
 Best regards,
     Christian Wittenhorst

From: Christian Wittenhorst <wiwi@progon.net>
To: freebsd-gnats-submit@FreeBSD.org, kirk@strauser.com
Cc:  
Subject: Re: kern/60221: ATA system freezes during heavy loads
Date: Sun, 04 Jan 2004 11:28:41 +0000

 Hi, it's me again...
 
 MAINTAINER: can you reassign this bug report to: "CRITICAL", please? I 
 think this bug is "critical", indeed!
 
 I checked this on different machines. The bug seems systematic. I 
 experienced this bug on all (=4) machines I installed 5.2RC on. This bug 
 seems unrelated to kern/57174 (ata tagging), all machines have standard 
 install and GENERIC kernel config with just SMP disabled! The same machines 
 worked fine at 5.1/5.0!
 
 both ATA 0&1 crash:
 ATA channel 0:
     Master:  ad0 <QUANTUM FIREBALL CR4.3A/A5U.1000> ATA/ATAPI rev 4
     Slave:       no device present
 ATA channel 1:
     Master:  ad2 <IC35L080AVVA07-0/VA4OA52A> ATA/ATAPI rev 5
     Slave:       no device present
 
 only ATA 0 crashed so far:
 ATA channel 0:
     Master:  ad0 <ST340016A/3.21> ATA/ATAPI rev 5
     Slave:       no device present
 ATA channel 1:
     Master: acd0 <COMPAQ DVD-ROM GDR8160B/0012> ATA/ATAPI rev 0
     Slave:       no device present
 
 only ATA 0 crashed so far:
 ATA channel 0:
     Master:  ad0 <IC35L060AVV207-0/V22OA66A> ATA/ATAPI rev 6
     Slave:       no device present
 ATA channel 1:
     Master: acd0 <Compaq CRD-8322B/1.03> ATA/ATAPI rev 0
     Slave:       no device present
 
 both ATA 0&1 crash:
 ATA channel 0:
     Master:  ad0 <IC35L060AVV207-0/V22OA63A> ATA/ATAPI rev 6
     Slave:       no device present
 ATA channel 1:
     Master:  ad2 <IC35L120AVV207-0/V24OA66A> ATA/ATAPI rev 6
     Slave:  acd0 <Compaq CRD-8322B/1.06> ATA/ATAPI rev 0
 
 I just "need" heavy io load over a longer time (>5 mins) to crash the ata 
 system. I just rebuild bogofilter's spam databases to crash the machines:
 
   #/bin/sh
 
   for i in /mail/data/user/progon-net/Archive/Spam/2003-11/*.
   do
           echo $i
           bogofilter -c /etc/bogofilter.cf -s < $i
   done
 
 If you need more information, just drop an email...
 
 Best regards,
 
  Christian Wittenhorst
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: fjoe 
Responsible-Changed-When: Thu Feb 5 12:21:05 PST 2004 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=60221 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Mon Aug 16 12:13:12 GMT 2004 
State-Changed-Why:  
This is belived to be fixed recently in -current. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=60221 
>Unformatted:
