Subject: port-i386/33922: ath0 stopped working after ACPI changes
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 07/05/2006 12:50:00
>Number:         33922
>Category:       port-i386
>Synopsis:       ath0 stopped working after ACPI changes
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 05 12:50:00 +0000 2006
>Originator:     Martin Husemann
>Release:        NetBSD 3.99.21
>Organization:
>Environment:
System: NetBSD night-owl.duskware.de 3.99.21 NetBSD 3.99.21 (NIGHT-OWL) #16: Wed Jun 28 20:31:42 CEST 2006 martin@night-owl.duskware.de:/usr/src/sys/arch/i386/compile/NIGHT-OWL i386
Architecture: i386
Machine: i386
>Description:

My ath0 card stopped working and gives timeout messages with a kernel from
todays sources (I suppose related to changed interrupt routing due to the
recent ACPI changes)

>How-To-Repeat:

Boot current on Dell Inspiron 8600

Here is a diff of the dmesg before/after:

--- dmesg.june28	2006-07-05 14:35:52.000000000 +0200
+++ dmesg.current	2006-07-05 14:37:45.000000000 +0200
@@ -3,7 +3,7 @@
 Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.
 
-NetBSD 3.99.21 (NIGHT-OWL) #16: Wed Jun 28 20:31:42 CEST 2006
+NetBSD 3.99.21 (NIGHT-OWL) #25: Wed Jul  5 12:25:16 CEST 2006
 	martin@night-owl.duskware.de:/usr/src/sys/arch/i386/compile/NIGHT-OWL
 total memory = 1023 MB
 avail memory = 1001 MB
@@ -23,7 +23,7 @@
 pci_addr_fixup: 000:31:1 0x8086 0x24ca new address 0x40000000
 pci_addr_fixup: 002:01:0 0x104c 0xac44 new address 0x40001000
 cpu0 at mainbus0: (uniprocessor)
-cpu0: Intel Pentium M (Banias) (686-class), 1398.86 MHz, id 0x695
+cpu0: Intel Pentium M (Banias) (686-class), 1398.88 MHz, id 0x695
 cpu0: features a7e9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR>
 cpu0: features a7e9f9bf<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
 cpu0: features a7e9f9bf<FXSR,SSE,SSE2,TM,SBF>
@@ -37,10 +37,24 @@
 acpi0: using Intel ACPI CA subsystem version 20060217
 acpi0: X/RSDT: OemId <DELL  , CPi R  ,27d40a19>, AslId <ASL ,00000061>
 acpi0: SCI interrupting at int 9
-acpitimer_test(): 10
 timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
 timecounter: selected timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
 ACPI-Fast 24-bit timer
+mpacpi: could not get bus number, assuming bus 0
+LNKA: ACPI: Found matching pin for 0.31.INTA at func 1: 11
+LNKB: ACPI: Found matching pin for 0.31.INTB at func 5: 11
+LNKB: BIOS IRQ 11 for 0.31.INTB is invalid
+LNKA: ACPI: Found matching pin for 0.29.INTA at func 0: 11
+LNKD: ACPI: Found matching pin for 0.29.INTB at func 1: 11
+LNKC: ACPI: Found matching pin for 0.29.INTC at func 2: 11
+LNKH: ACPI: Found matching pin for 0.29.INTD at func 7: 11
+LNKA: ACPI: Found matching pin for 1.0.INTA at func 0: 11
+LNKD: ACPI: Found matching pin for 2.1.INTA at func 0: 255
+LNKD: ACPI: Found matching pin for 2.1.INTA at func 1: 11
+LNKB: ACPI: Found matching pin for 2.3.INTA at func 0: 11
+LNKB: BIOS IRQ 11 for 2.3.INTA is invalid
+LNKC: ACPI: Found matching pin for 2.0.INTA at func 0: 11
+allocated pic pic0 type level pin 9 level 10 to cpu0 slot 9 idt entry 41
 ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
 acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
 acpibat0 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
@@ -68,21 +82,20 @@
 com0 at acpi0 (PNP0501)
 com0: io 0x3f8-0x3ff irq 4
 com0: ns16550a, working fifo
+allocated pic pic0 type edge pin 4 level 13 to cpu0 slot 4 idt entry 36
 lpt0 at acpi0 (PNP0401)
 lpt0: io 0x378-0x37f,0x778-0x77b irq 7 drq 1
-PNP0C0F at acpi0 not configured
-PNP0C0F at acpi0 not configured
-PNP0C0F at acpi0 not configured
-PNP0C0F at acpi0 not configured
-PNP0C0F at acpi0 not configured
+allocated pic pic0 type edge pin 7 level 9 to cpu0 slot 7 idt entry 39
 acpitz0 at acpi0: ACPI Thermal Zone
 acpitz0: unable to get polling interval; using default of 30.0s
 acpitz0: passive cooling mode only
 acpitz0: critical 90.0C
 pckbd0 at pckbc1 (kbd slot)
+allocated pic pic0 type edge pin 1 level 9 to cpu0 slot 1 idt entry 33
 pckbc1: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard
 pms0 at pckbc1 (aux slot)
+allocated pic pic0 type edge pin 12 level 9 to cpu0 slot 12 idt entry 44
 pckbc1: using irq 12 for aux slot
 wsmouse0 at pms0 mux 0
 pci0 at mainbus0 bus 0: configuration mode 1
@@ -97,24 +110,28 @@
 wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
 wsmux1: connecting to wsdisplay0
 uhci0 at pci0 dev 29 function 0: vendor 0x8086 product 0x24c2 (rev. 0x01)
+allocated pic pic0 type level pin 11 level 6 to cpu0 slot 11 idt entry 43
 uhci0: interrupting at irq 11
 usb0 at uhci0: USB revision 1.0
 uhub0 at usb0
 uhub0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhci1 at pci0 dev 29 function 1: vendor 0x8086 product 0x24c4 (rev. 0x01)
+allocated pic pic0 type level pin 11 level 6 to cpu0 slot 11 idt entry 43
 uhci1: interrupting at irq 11
 usb1 at uhci1: USB revision 1.0
 uhub1 at usb1
 uhub1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 uhci2 at pci0 dev 29 function 2: vendor 0x8086 product 0x24c7 (rev. 0x01)
+allocated pic pic0 type level pin 11 level 6 to cpu0 slot 11 idt entry 43
 uhci2: interrupting at irq 11
 usb2 at uhci2: USB revision 1.0
 uhub2 at usb2
 uhub2: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub2: 2 ports with 2 removable, self powered
 ehci0 at pci0 dev 29 function 7: vendor 0x8086 product 0x24cd (rev. 0x01)
+allocated pic pic0 type level pin 11 level 6 to cpu0 slot 11 idt entry 43
 ehci0: interrupting at irq 11
 ehci0: BIOS has given up ownership
 ehci0: EHCI version 1.0
@@ -127,17 +144,21 @@
 pci2 at ppb1 bus 2
 pci2: i/o space, memory space enabled
 bce0 at pci2 dev 0 function 0: Broadcom BCM4401 10/100 Ethernet
+allocated pic pic0 type level pin 11 level 7 to cpu0 slot 11 idt entry 43
 bce0: interrupting at irq 11
 bmtphy0 at bce0 phy 1: BCM4401 10/100 media interface, rev. 0
 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 bce0: Ethernet address 00:0d:56:af:11:d2
 cbb0 at pci2 dev 1 function 0: vendor 0x104c product 0xac44 (rev. 0x02)
 vendor 0x104c product 0x8029 (Firewire serial bus, interface 0x10) at pci2 dev 1 function 1 not configured
-ath0 at pci2 dev 3 function 0
-ath0: interrupting at irq 11
+ath0 at pci2 dev 3 function 0LNKB: Picked IRQ 9 with weight 0
+allocated pic pic0 type level pin 9 level 7 to cpu0 slot 9 idt entry 41
+
+ath0: interrupting at irq 9
 ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
 ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
 ath0: mac 5.6 phy 4.1 radio 4.6
+allocated pic pic0 type level pin 11 level 6 to cpu0 slot 11 idt entry 43
 cbb0: interrupting at irq 11
 cardslot0 at cbb0 slot 0 flags 0
 cardbus0 at cardslot0: bus 3
@@ -148,20 +169,24 @@
 piixide0: Intel 82801DBM IDE Controller (ICH4-M) (rev. 0x01)
 piixide0: bus-master DMA support present
 piixide0: primary channel configured to compatibility mode
+allocated pic pic0 type edge pin 14 level 6 to cpu0 slot 14 idt entry 46
 piixide0: primary channel interrupting at irq 14
 atabus0 at piixide0 channel 0
 piixide0: secondary channel configured to compatibility mode
+allocated pic pic0 type edge pin 15 level 6 to cpu0 slot 15 idt entry 47
 piixide0: secondary channel interrupting at irq 15
 atabus1 at piixide0 channel 1
 auich0 at pci0 dev 31 function 5: i82801DB/DBM (ICH4/ICH4M) AC-97 Audio
-auich0: interrupting at irq 11
+allocated pic pic0 type level pin 9 level 11 to cpu0 slot 9 idt entry 41
+auich0: interrupting at irq 9
 auich0: ac97: SigmaTel STAC9750/51 codec; headphone, 20 bit DAC, 20 bit ADC, SigmaTel 3D
 auich0: ac97: ext id 605<AC97_22,AMAP,SPDIF,VRA>
 vendor 0x8086 product 0x24c6 (modem communications, revision 0x01) at pci0 dev 31 function 6 not configured
 isa0 at pcib0
 WARNING: Callback scheduled before sysmon task queue thread present.
 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
-auich0: measured ac97 link rate at 48001 Hz, will use 48000 Hz
+allocated pic pic0 type level pin 0 level 12 to cpu0 slot 0 idt entry 32
+auich0: measured ac97 link rate at 48000 Hz
 audio0 at auich0: full duplex, mmap, independent
 wd0 at atabus0 drive 0: <TOSHIBA MK6021GAS>
 wd0: drive supports 16-sector PIO transfers, LBA addressing
@@ -183,3 +208,4 @@
 wsdisplay0: screen 2 added (80x25, vt100 emulation)
 wsdisplay0: screen 3 added (80x25, vt100 emulation)
 wsdisplay0: screen 4 added (80x25, vt100 emulation)
+ath0: device timeout

>Fix:
n/a