From owner-freebsd-current@FreeBSD.ORG Sun Sep 12 02:57:14 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9839D16A4CE for ; Sun, 12 Sep 2004 02:57:14 +0000 (GMT) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6566C43D39 for ; Sun, 12 Sep 2004 02:57:14 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id IBA74465 for ; Sat, 11 Sep 2004 19:57:13 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id DE1CA5D09 for ; Sat, 11 Sep 2004 19:57:12 -0700 (PDT) To: current@freebsd.org Date: Sat, 11 Sep 2004 19:57:12 -0700 From: "Kevin Oberman" Message-Id: <20040912025712.DE1CA5D09@ptavv.es.net> Subject: Weird interrupt issues with RELENG_5 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Sep 2004 02:57:14 -0000 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@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@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 AMD Features=0x80000800 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: on motherboard npx0: INT 16 interface pcib0: pcibus 0 on motherboard pir0: on motherboard $PIR: BIOS IRQ 6 for 0.9.INTA is not valid for link 0x4 pci0: on pcib0 agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci0: at device 3.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 pci0: 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: 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: 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: at iomem 0xc0000-0xc7fff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: 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: 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: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: 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: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (irq) unknown: can't assign resources (port) Timecounter "TSC" frequency 451023830 Hz quality 800 Timecounters tick every 10.000 msec ad0: 13031MB [26476/16/63] at ata0-master UDMA33 ATAPI_RESET time = 30us ad2: 13029MB [26473/16/63] at ata1-master UDMA33 acd0: DVDROM at ata1-slave PIO3 cd0 at ata1 bus 0 target 1 lun 0 cd0: 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@es.net Phone: +1 510 486-8634