This is a discussion on ioapic bug? interrupt handlers on shared pins getting called when they shouldn't within the lucky.openbsd.tech forums, part of the OpenBSD category; --> Where CUSTOM.MP is GENERIC.MP with MPVERBOSE, AUDIO_DEBUG, AUICH_DEBUG, AC97_DEBUG Taken from /var/log/messages, procedure was boot login to console and ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Where CUSTOM.MP is GENERIC.MP with MPVERBOSE, AUDIO_DEBUG, AUICH_DEBUG, AC97_DEBUG Taken from /var/log/messages, procedure was boot login to console and ping www.google.com, I am getting a flood of debugging messages from auich_intr reporting that it is receiving interrupts that the primary codec is ready(which is what state auich_attach should leave the hardware in from what I can see). Interesting thing is that I never attempt to use the sound hardware, no calls to audio_open etc. But the onboard lan fxp and onboard sound share the same entry in the ioapic and causing network activity results in the interrupt handler for auich being called. vmstat -iz output -> interrupt total rate irq0/clock 91272 199 irq65/pciide0 0 0 irq80/auich0 0 0 irq67/ohci0 13 0 irq66/ahc1 1450 3 irq80/fxp0 346 0 irq112/pckbc0 406 0 irq114/pckbc0 7 0 irq113/lpt0 0 0 irq177/pccom0 0 0 irq176/pccom1 0 0 irq64/fdc0 0 0 Total 93494 204 Interestingly enough the behavior is present with the onboard sound disabled and a pci sound card used in place though the pci soundcard emu doesn't have useful debugging statements. Should auich0 and fxp0 still be sharing the same faked irq numbers as shown above ? CUSTOM.MP is *just* GENERIC.MP with MPVERBOSE, AUDIO_DEBUG, AUICH_DEBUG OpenBSD 3.8-current (CUSTOM.MP) #1: Fri Oct 7 01:32:08 EDT 2005 root@bwk.csrg:/usr/src/sys/arch/i386/compile/CUSTOM.MP cpu0: AMD Athlon(tm) MP 2800+ ("AuthenticAMD" 686-clas s, 512KB L2 cache) 2.14 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR ,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 1072275456 (1047144K) avail mem = 971812864 (949036K) using 4278 buffers containing 53714944 bytes (52456K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(05) BIOS, date 10/09/03, BIOS32 rev. 0 @ 0xfb100 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 70102 dobusy 1 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf94 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdec0/208 (11 entries) pcibios0: PCI Exclusive IRQs: 5 10 11 pcibios0: no compatible PCI ICU found pcibios0: Warning, unable to fix up PCI interrupt routing pcibios0: PCI bus #2 is the last bus bios0: ROM list: 0xc0000/0xd000 0xd0000/0x4000! 0xd4000/0x4800 0xd9000/0x1800 mainbus0: scanning 0x9fc00 to 0x9fff0 for MP signature mainbus0: scanning 0x9f800 to 0x9fbf0 for MP signature mainbus0: scanning 0xf0000 to 0xffff0 for MP signature mainbus0: MP floating pointer found in bios at 0xf4b00 mainbus0: MP config table at 0xf1400, 284 bytes long mainbus0: Intel MP Specification (Version 1.4) (OEM00000 PROD00000000) cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Powernow: TS cpu0: calibrating local local timer cpu0: apic clock running at 266 MHz cpu0: kstack at 0xe902d000 for 8192 bytes cpu0: idle pcb at 0xe902d000, idle sp at 0xe902ef98 cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Athlon(tm) MP 2800+ ("AuthenticAMD" 686-class, 512KB L2 cache) 2.14 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P GE,MCA,CMOV cpu1: kstack at 0xe902f000 for 8192 bytes cpu1: idle pcb at 0xe902f000, idle sp at 0xe9030f98 mainbus0: bus 0 is type PCI mainbus0: bus 1 is type PCI mainbus0: bus 2 is type PCI mainbus0: bus 3 is type ISA ioapic0 at mainbus0: apid 2 pa 0xfec00000, virtual wire mode, version 11, 24 pins ioapic0: int19 attached to pci2 device 0 INT_D (type 0x0 flags 0xf) ioapic0: int17 attached to pci0 device 7 INT_B (type 0x0 flags 0xf) ioapic0: int17 attached to pci1 device 5 INT_A (type 0x0 flags 0xf) ioapic0: int17 attached to pci2 device 9 INT_A (type 0x0 flags 0xf) ioapic0: int18 attached to pci2 device 6 INT_A (type 0x0 flags 0xf) ioapic0: int0 attached to ExtINT (type 0x3 flags 0x0) ioapic0: int1 attached to isa0 irq 1 (type 0x0 flags 0x0) ioapic0: int2 attached to isa0 irq 0 (type 0x0 flags 0x0) ioapic0: int3 attached to isa0 irq 3 (type 0x0 flags 0x0) ioapic0: int4 attached to isa0 irq 4 (type 0x0 flags 0x0) ioapic0: int6 attached to isa0 irq 6 (type 0x0 flags 0x0) ioapic0: int7 attached to isa0 irq 7 (type 0x0 flags 0 ioapic0: int8 attached to isa0 irq 8 (type 0x0 flags 0x5) ioapic0: int9 attached to isa0 irq 9 (type 0x0 flags 0x0) ioapic0: int12 attached to isa0 irq 12 (type 0x0 flags 0x0) ioapic0: int13 attached to isa0 irq 13 (type 0x0 flags 0x0) ioapic0: int14 attached to isa0 irq 14 (type 0x0 flags 0x0) ioapic0: int15 attached to isa0 irq 15 (type 0x0 flags 0x0) local apic: int0 attached to ExtINT (type 0x3 flags 0x0) local apic: int1 attached to NMI (type 0x1 flags 0x0) pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "AMD 762 PCI" rev 0x11 ppb0 at pci0 dev 1 function 0 "AMD 762 PCI-PCI" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 5 function 0 "ATI Radeon 9200 PRO" rev 0x01 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) "ATI Radeon 9200 PRO Sec" rev 0x01 at pci1 dev 5 function 1 not configured pcib0 at pci0 dev 7 function 0 "AMD 768 ISA" rev 0x05 pciide0 at pci0 dev 7 function 1 "AMD 768 IDE" rev 0x04: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility pciide0: channel 0 disabled (no drives) atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <SAMSUNG, CD-ROM SC-140, FT02> SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 "AMD 768 Power" rev 0x03 at pci0 dev 7 function 3 not configured auich0 at pci0 dev 7 function 5 "AMD 768 AC97" rev 0x03: apic 2 int 17 (irq 10), AMD768 AC97 auich_attach: lists 0xe9042020 0xe9042028 0xe9042030 ac97: codec id 0x414c4710 (Avance Logic ALC200) ac97: codec features headphone, 18 bit DAC, 18 bit ADC, Realtek 3D ac97: ext id 605<vra,spdif,amap,rev0> read(2) = 8000 read(18) = 8808 read(1c) = 8000 read(1a) = 0 audioprobe: type=0 sa=0xd06f3d10 hw=0xd0599d40 audio0 at auich0 audio_calc_blksize: record blksize=448 audio_calc_blksize: play blksize=448 audio_init_ringbuffer: blksize=448 audio_init_ringbuffer: blksize=448 audio_attach: inputs ports=0x7, output ports=0x0 ppb1 at pci0 dev 16 function 0 "AMD 768 PCI-PCI" rev 0x05 pci2 at ppb1 bus 2 ohci0 at pci2 dev 0 function 0 "AMD 768 USB" rev 0x07: apic 2 int 19 (irq 5), version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: AMD OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered ahc1 at pci2 dev 6 function 0 "Adaptec AHA-2940U" rev 0x00: apic 2 int 18 (irq 11) scsibus1 at ahc1: 16 targets sd0 at scsibus1 targ 6 lun 0: <SEAGATE, ST373405LW, 0001> SCSI3 0/direct fixed sd0: 70007MB, 29550 cyl, 8 head, 606 sec, 512 bytes/se c, 143374741 sec total fxp0 at pci2 dev 9 function 0 "Intel 82557" rev 0x10, i82551: apic 2 int 17 (irq 10), address 00:10:dc:f5:12:72 inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 sysbeep0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 lm0 at isa0 port 0x290/8: W83627HF npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 biomask 0 netmask 0 ttymask 0 ioapic0: enabling ioapic0: int0 0x10700 0x0 ioapic0: int1 0x70 0x0 ioapic0: int2 0x10100 0x0 ioapic0: int3 0xb0 0x0 ioapic0: int4 0xb1 0x0 ioapic0: int5 0x10000 0x0 ioapic0: int6 0x40 0x0 ioapic0: int7 0x71 0x0 ioapic0: int8 0x10100 0x0 ioapic0: int9 0x10100 0x0 ioapic0: int10 0x10000 0x0 ioapic0: int11 0x10000 0x0 ioapic0: int12 0x72 0x0 ioapic0: int13 0x10100 0x0 ioapic0: int15 0x41 0x0 ioapic0: int16 0x10000 0x0 ioapic0: pin 17 shares different IPL interrupts (50..90), degraded performance ioapic0: int17 0xa050 0x0 ioapic0: int18 0xa042 0x0 ioapic0: int19 0xb043 0x0 ioapic0: int20 0x10000 0x0 ioapic0: int21 0x10000 0x0 ioapic0: int22 0x10000 0x0 ioapic0: int23 0x10000 0x0 pctr: user-level cycle counter enabled mtrr: Pentium Pro MTRR support apm0: disconnected ugen0 at uhub0 port 1 ugen0: Cambridge Silicon Radio Bluetooth, rev 1.10/5.25, addr 2 ahc1: target 6 using 16bit transfers ahc1: target 6 synchronous at 10.0MHz, offset = 0x8 dkcsum: sd0 matches BIOS drive 0x80 root on sd0a rootdev=0x400 rrootdev=0xd00 rawdev=0xd02 cpu1: starting, init idle stack ptr is 0xe9030f98 cpu1: AMD Powernow: TS cpu1: CPU at apid 1 running auich_intr: gsts=100<pcr> Oct 7 16:22:20 bwk last message repeated 7 times Oct 7 16:22:21 bwk last message repeated 6 times Oct 7 16:22:54 bwk last message repeated 56 times Oct 7 16:32:05 bwk last message repeated 189 times |
| Thread Tools | |
| Display Modes | |
|
|