Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Aug 2001 18:33:06 +0200 (CEST)
From:      Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/29469: ata-tags considered harmful (DTLA)
Message-ID:  <200108051633.f75GX6a00704@monster.ikea.net>

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

>Number:         29469
>Category:       kern
>Synopsis:       ata-tags considered harmful (DTLA)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 05 09:40:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.4-PRERELEASE i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD monster.ikea.net 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #25: Fri Aug 3 19:40:22 CEST 2001 vs@monster.ikea.net:/opt/obj/opt/src/sys/MONSTER i386


>Description:
Enabling ATA tags will (reliably reproduceable by make world -j4!) cause the
following errors on heavy disk load, including a spontaneous reboot.
One time, the message

  kernel: type 18 trap, code=0 

was observed, after trying to save the system by ctrl-cīing the processes
causing the load (sometimes the messages will seize and itīs possible to
cleanly shutdown).

------>
Aug  5 18:02:45 monster /kernel: ad2: READ command timeout tag=2 serv=0 - resetting
Aug  5 18:02:45 monster /kernel: ad2: invalidating queued requests
Aug  5 18:02:45 monster /kernel: ata1: resetting devices .. ad2: invalidating queued requests
Aug  5 18:02:45 monster /kernel: done
Aug  5 18:02:45 monster /kernel: ad2: no request for this tag=2??
Aug  5 18:02:45 monster /kernel: ad2: invalidating queued requests
Aug  5 18:02:45 monster /kernel: ad2: timeout waiting for READY
Aug  5 18:02:45 monster /kernel: ad2: invalidating queued requests
Aug  5 18:02:45 monster /kernel: - resetting
Aug  5 18:02:45 monster /kernel: ata1: resetting devices .. ad2: invalidating queued requests
Aug  5 18:02:45 monster /kernel: done
<------

dmesg (NB: Tags already disbled):

Copyright (c) 1992-2001 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 4.4-PRERELEASE #25: Fri Aug  3 19:40:22 CEST 2001
    vs@monster.ikea.net:/opt/obj/opt/src/sys/MONSTER
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (748.00-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 268369920 (262080K bytes)
config> flags ppc0 0x4
config> q
avail memory = 256860160 (250840K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc045a000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc045a09c.
Preloaded elf module "vesa.ko" at 0xc045a0ec.
Preloaded elf module "agp.ko" at 0xc045a188.
VESA: v3.0, 16384k memory, flags:0x1, mode table:0xc044d4f7 (1000117)
VESA: 3dfx Interactive, Inc.
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
IOAPIC #0 intpin 16 -> irq 2
IOAPIC #0 intpin 17 -> irq 16
IOAPIC #0 intpin 18 -> irq 17
IOAPIC #0 intpin 19 -> irq 18
pci0: <PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xd8000000-0xdbffffff at device 0.0 on pci0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <3Dfx Voodoo 3 graphics accelerator> at 0.0
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd000-0xd01f irq 11 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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
intpm0: <Intel 82371AB Power management controller> port 0x5000-0x500f irq 9 at device 7.3 on pci0
intpm0: I/O mapped 5000
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped 4000 
sym0: <810a> port 0xd400-0xd4ff mem 0xe3003000-0xe30030ff irq 2 at device 8.0 on pci0
sym0: No NVRAM, ID 7, Fast-10, SE, parity checking
bktr0: <BrookTree 878> mem 0xe3000000-0xe3000fff irq 16 at device 9.0 on pci0
iicbb0: <I2C generic bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicsmb0: <I2C to SMB bridge> on iicbus0
smbus1: <System Management Bus> on iicsmb0
smb1: <SMBus general purpose I/O> on smbus1
iic0: <I2C general purpose I/O> on iicbus0
smbus2: <System Management Bus> on bti2c0
smb2: <SMBus general purpose I/O> on smbus2
bktr0: Hauppauge Model 37284 B421
bktr0: Detected a MSP3410D-B4 at 0x80
bktr0: Detected a DPL3418A-A2 at 0x84
bktr0: Hauppauge WinCast/TV, Philips FR1216 PAL FM tuner, msp3400c stereo, dpl3518a dolby, remote control.
pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 9.1 irq 16
de0: <Digital 21041 Ethernet> port 0xd800-0xd87f mem 0xe3002000-0xe300207f irq 17 at device 10.0 on pci0
de0: 21041 [10Mb/s] pass 2.1
de0: address 00:40:05:a6:fc:01
pcm0: <Creative EMU10K1> port 0xdc00-0xdc1f irq 18 at device 11.0 on pci0
ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0xe400-0xe41f irq 2 at device 12.0 on pci0
ed0: address 00:00:e8:ee:a3:b1, type NE2000 (16 bit) 
orm0: <Option ROMs> at iomem 0xc0000-0xc9fff,0xcc000-0xcffff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
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
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> 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
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 drq 0 flags 0x4 on isa0
ppc0: SMC-like chipset (EPP-only) in EPP mode (EPP 1.9)
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
IPsec: Initialized Security Association Processing.
SMP: AP CPU #1 Launched!
ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
ad0: 12949MB <IBM-DJNA-371350> [26310/16/63] at ata0-master UDMA33
ad2: 19623MB <IBM-DTLA-305020> [39870/16/63] at ata1-master UDMA33
acd0: CD-RW <4X4X32> at ata0-slave using PIO4
(probe5:sym0:0:5:0): phase change 6-7 6@0f8b4f8c resid=4.
Mounting root from ufs:/dev/ad2s2a
cd0 at sym0 bus 0 target 0 lun 0
cd0: <PIONEER DVD-ROM DVD-303 1.09> Removable CD-ROM SCSI-2 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 8)
cd0: cd present [194166 x 2048 byte records]
da0 at sym0 bus 0 target 5 lun 0
da0: <IOMEGA ZIP 100 J.02> Removable Direct Access SCSI-2 device 
da0: 3.300MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
drm0: <3Dfx Voodoo 3 graphics accelerator> port 0xc000-0xc0ff mem 0xe0000000-0xe1ffffff,0xdc000000-0xddffffff at device 0.0 on pci1
info: [drm] Initialized tdfx 1.0.0 19991009 on minor 0
>How-To-Repeat:
Enable ata tags (& wc), cd /usr/src, nice make buildworld -j4 and wait a
couple of minutes.
>Fix:
Donīt enable ata-tags, itīs off by default anyway now.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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