From owner-freebsd-stable Fri Aug 17 8:23: 0 2001 Delivered-To: freebsd-stable@freebsd.org Received: from dzerzhinsky.rem.cs.cmu.edu (DZERZHINSKY.REM.CS.CMU.EDU [128.237.160.167]) by hub.freebsd.org (Postfix) with ESMTP id ACD6537B406 for ; Fri, 17 Aug 2001 08:22:34 -0700 (PDT) (envelope-from nlanza@dzerzhinsky.rem.cs.cmu.edu) Received: (from nlanza@localhost) by dzerzhinsky.rem.cs.cmu.edu (8.11.5/8.11.5) id f7HFLv679352; Fri, 17 Aug 2001 11:21:57 -0400 (EDT) (envelope-from nlanza) To: Warner Losh Cc: stable@FreeBSD.ORG Subject: Re: "wi0: watchdog timeout" errors in STABLE References: <200108170356.f7H3ugW37487@harmony.village.org> From: Nat Lanza Date: 17 Aug 2001 11:21:56 -0400 In-Reply-To: <200108170356.f7H3ugW37487@harmony.village.org> Message-ID: Lines: 125 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-=-= Warner Losh writes: > This is an interrupt routing issue, almost certainly. I recently > committed a bunch of code in that area that should have made things > much better, but appears to have made things a little worse for some > people. > > Can you send me the following: > dmesg (old and new kenrels) > pccardc rdreg > pciconf -r pciX:Y:Z 0:0xff (where X:Y:Z is the pci addr > of the pcic device with the problem) I'm also noticing that the machine hangs on startup about half of the time; the last boot message in these cases is pcic0: Event mask 0xf When the machine does boot, it doesn't notice the WaveLAN card until I run 'pccardc power 0 1'. At that point, the card is detected, and things look normal. I get a series of 'watchdog timeout' errors after setting up WEP and running 'dhclient wi0', though. After dhclient fails, I take down the wi0 interface, run 'pccardc power 0 0', and eject the card. I get a 'card deactivated' message when I run the pccardc command, but no 'card removed' message when ejecting the card. I do get a card removed message when I plug in and activate the minipci fxp interface built into the laptop, along with the other pcic0 messages I mentioned. Here's the log output (actually a trimmed /var/log/messages excerpt) for the old kernel: --=-=-= Content-Disposition: attachment; filename=dmesg-old Content-Description: Old kernel 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.3-STABLE #2: Mon Jul 23 22:54:34 EDT 2001 root@gunboat:/usr/obj/usr/src/sys/GUNBOAT Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (192.36-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383f9ff real memory = 134217728 (131072K bytes) avail memory = 126873600 (123900K bytes) Preloaded elf kernel "kernel" at 0xc02da000. VESA: v2.0, 8192k memory, flags:0x0, mode table:0xc0285da2 (1000022) VESA: S3 Incorporated. M7 BIOS Pentium Pro MTRR support enabled md0: Malloc disk apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 pcic-pci0: mem 0x50000000-0x50000fff irq 11 at device 2.0 on pci0 pcic-pci0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq] pcic-pci1: mem 0x50100000-0x50100fff irq 11 at device 2.1 on pci0 pcic-pci1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq] pci0: (vendor=0x8086, dev=0x1229) at 3.0 irq 11 pci0: (vendor=0x11c1, dev=0x045c) at 3.1 irq 11 csa0: mem 0xe8000000-0xe80fffff,0xe8122000-0xe8122fff irq 11 at device 5.0 on pci0 pcm0: on csa0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1850-0x185f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 irq 11 intpm0: port 0x1040-0x104f irq 9 at device 7.3 on pci0 intpm0: I/O mapped 1040 intpm0: intr IRQ 9 enabled revision 0 smbus0: on intsmb0 intpm0: PM I/O mapped 1000 orm0: