Weird interrupt issues with RELENG_5

From: Kevin Oberman <oberman_at_es.net>
Date: Sat, 11 Sep 2004 19:57:12 -0700
I just updated my old K6-3 system from CURRENT of Jun 13 to RELENG_5
cvsupped today at 19:53 UTC. When I bring up the network interface, I
immediately start getting errors from both the Ethernet card and the
second disk (where my /usr partition sits). This is the master on the
second IDE bus. The boot disk has not such problems.

The errors are:
ad2: TIMEOUT - READ_DMA retrying (2 retries left) LBA=10928255
ad2: WARNING - READ_DMA no interrupt but good status
xl0: watchdog timeout
ad2: TIMEOUT - READ_DMA retrying (2 retries left) LBA=10928319
ad2: WARNING - READ_DMA no interrupt but good status
ad2: TIMEOUT - READ_DMA retrying (2 retries left) LBA=10989807
ad2: WARNING - READ_DMA no interrupt but good status
ad2: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=11855407
ad2: WARNING - WRITE_DMA no interrupt but good status
xl0: watchdog timeout
ad2: TIMEOUT - READ_DMA retrying (2 retries left) LBA=10963679
ad2: WARNING - READ_DMA no interrupt but good status

I never get failures and the retry count never goes below 2, but the
system is a bit slow.

If I don't bring up the network, it runs fine with no errors at all from
the disk.
FreeBSD kzin.es.net 5.2-CURRENT FreeBSD 5.2-CURRENT #27: Sun Jun 13 12:32:53 PDT 2004     root_at_kzin.es.net:/usr/obj/usr/src/sys/KZIN  i386
Here is the dmesg:
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.3-BETA4 #29: Sat Sep 11 13:04:34 PDT 2004
oberman_at_kzin.es.net:/usr/obj/usr/src/sys/KZIN
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD-K6(tm) 3D+ Processor (451.02-MHz 586-class CPU)
Origin = "AuthenticAMD"  Id = 0x591  Stepping = 1
Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
AMD Features=0x80000800<SYSCALL,3DNow!>
real memory  = 100646912 (95 MB)
avail memory = 92942336 (88 MB)
K6-family MTRR support enabled (2 registers)
ACPI disabled by blacklist.  Contact your BIOS vendor.
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <AcerLabs M1541 (Aladdin-V) PCI host bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 8 Entries> on motherboard
$PIR: BIOS IRQ 6 for 0.9.INTA is not valid for link 0x4
pci0: <PCI bus> on pcib0
agp0: <Ali M1541 host to AGP bridge> mem 0xe0000000-0xe3ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pci0: <bridge, PCI-unknown> at device 3.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pci0: <multimedia, audio> at device 9.0 (no driver attached)
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xd400-0xd47f mem 0xde000000-0xde00007f irq 10 at device 11.0 on pci0
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:50:da:80:4b:43
atapci0: <AcerLabs Aladdin UDMA33 controller> port 0xd000-0xd00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.0 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
cpu0 on motherboard
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/7 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
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
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0303> can't assign resources (port)
Timecounter "TSC" frequency 451023830 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 13031MB <FUJITSU MPE3136AT/ED-90-06> [26476/16/63] at ata0-master UDMA33
ATAPI_RESET time = 30us
ad2: 13029MB <Maxtor 91366U4/RA530JN0> [26473/16/63] at ata1-master UDMA33
acd0: DVDROM <COMPAQ DVD-ROM SD-M1002/2757> at ata1-slave PIO3
cd0 at ata1 bus 0 target 1 lun 0
cd0: <COMPAQ DVD-ROM SD-M1002 2757> Removable CD-ROM SCSI-0 device
cd0: 11.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from ufs:/dev/ad0s1a

I'm guessing that this is interrupt related, but the devices are on completely different IRQs, so I really don't understand how.

Any ideas on what could be happening?
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman_at_es.net			Phone: +1 510 486-8634
Received on Sun Sep 12 2004 - 00:57:14 UTC

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