Bug 678
Summary: | ACPI VIA KT400, VT6102 interrupt assignment issue | ||
---|---|---|---|
Product: | ACPI | Reporter: | Jurriaan Kalkman (thunder7) |
Component: | Config-Interrupts | Assignee: | Len Brown (lenb) |
Status: | CLOSED PATCH_ALREADY_AVAILABLE | ||
Severity: | blocking | CC: | acpi-bugzilla, davej, john.stultz, Marko.Macek, robbe, thunder7, zwane |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.5.63-2.6.0-test4 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 845 | ||
Attachments: |
dmesg of 2.5.69 kernel with acpi and apic
dmesg of 2.5.69 kernel without acpi with apic decompiled ASL file for DSDT of this Epox 8K9A3+ motherboard lspci -vv output /proc/interrupts for 2.5.75 with ACPI and IO-APIC dmesg output for 2.5.75 with ACPI and IO-APIC dmesg output of 2.6.0-test4 kernel with ACPI and IO-APIC /proc/interrupts output for 2.6.0-test4 + APIC + IO-APIC ACPI fixes for VIA chipsets dmesg of 2.6.0-test4 with the patch applied |
Description
Jurriaan Kalkman
2003-05-08 02:18:27 UTC
Created attachment 318 [details]
dmesg of 2.5.69 kernel with acpi and apic
Created attachment 319 [details]
dmesg of 2.5.69 kernel without acpi with apic
Created attachment 320 [details]
decompiled ASL file for DSDT of this Epox 8K9A3+ motherboard
Created attachment 321 [details]
lspci -vv output
I don't believe so. I think this is just an error in the dmesg output. ACPI does support >15 irqs but it only fills in the mp_irqs array for legacy irqs. I don't know if we want to make this bug the task of fixing things so this confusing dmesg output is corrected, or what. Andrew Grover comments that only the dmesg-output is faulty, but the system is using the higher interrupts. Still, my network card isn't working, and this part of dmesg looks not right: ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 *5 6 7 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 *10 11 12 14 15) ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 10 *11 12 14 15) pci_link-0256 [17] acpi_pci_link_get_curr: No IRQ resource found ACPI: PCI Interrupt Link [ALKA] (IRQs 20, disabled) pci_link-0256 [19] acpi_pci_link_get_curr: No IRQ resource found ACPI: PCI Interrupt Link [ALKB] (IRQs 21, disabled) pci_link-0256 [21] acpi_pci_link_get_curr: No IRQ resource found ACPI: PCI Interrupt Link [ALKC] (IRQs 22, disabled) pci_link-0256 [23] acpi_pci_link_get_curr: No IRQ resource found ACPI: PCI Interrupt Link [ALKD] (IRQs 23, disabled) Later on, the VT6102 network-adapter seems to get IRQ 5: pci_link-0502 [23] acpi_pci_link_get_irq : Link disabled pci_irq-0256 [22] acpi_pci_irq_lookup : Invalid IRQ link routing entry pci_irq-0295 [22] acpi_pci_irq_derive : Unable to derive IRQ for device 00:12 .0 ACPI: No IRQ known for interrupt pin A of device 00:12.0 eth0: VIA VT6102 Rhine-II at 0xde002000, 00:04:61:02:0e:ea, IRQ 5. eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1. but it doesn't show in /proc/interrupts: CPU0 0: 7451442 IO-APIC-edge timer 1: 403 IO-APIC-edge i8042 2: 0 XT-PIC cascade 4: 8 IO-APIC-edge serial 8: 4 IO-APIC-edge rtc 9: 0 IO-APIC-edge acpi 11: 0 IO-APIC-edge VIA8233 12: 63 IO-APIC-edge i8042 14: 9161 IO-APIC-edge ide0 15: 1906 IO-APIC-edge ide1 17: 1507 IO-APIC-level ide2, ide4 18: 53 IO-APIC-level sym53c8xx 19: 0 IO-APIC-level EMU10K1 NMI: 0 LOC: 7451640 ERR: 0 MIS: 0 and consequently, doesn't work: NETDEV WATCHDOG: eth0: transmit timed out eth0: Transmit timed out, status 0003, PHY status 786d, resetting... eth0: Setting full-duplex based on MII #1 link partner capability of 45e1. without acpi, the VT6102 gets interrupt 23 and works fine: CPU0 0: 754463 IO-APIC-edge timer 1: 1916 IO-APIC-edge i8042 2: 0 XT-PIC cascade 4: 8 IO-APIC-edge serial 8: 4 IO-APIC-edge rtc 12: 41371 IO-APIC-edge i8042 14: 35646 IO-APIC-edge ide0 15: 15935 IO-APIC-edge ide1 17: 33022 IO-APIC-level ide2, ide4 18: 43 IO-APIC-level sym53c8xx 19: 0 IO-APIC-level EMU10K1 22: 0 IO-APIC-level VIA8233 23: 23246 IO-APIC-level eth0 NMI: 0 LOC: 754395 ERR: 0 MIS: 0 No change in linux-2.5.70 Still present in 2.5.71. no change in 2.5.72 No change in 2.5.74. Something changed in 2.5.75: I still get NETDEV WATCHDOG: eth0: transmit timed out eth0: Transmit timed out, status 0003, PHY status 786d, resetting... eth0: Setting full-duplex based on MII #1 link partner capability of 45e1. in my dmesg output, and the on-board network doesn't work. However, it seems to have gotten an interrupt now, according to /proc/interrupts: 5: 0 IO-APIC-edge uhci-hcd, eth0 I'll add a new dmesg and /proc/interrupts from 2.5.75. Created attachment 505 [details]
/proc/interrupts for 2.5.75 with ACPI and IO-APIC
Created attachment 506 [details]
dmesg output for 2.5.75 with ACPI and IO-APIC
And after I celebrated it's 3-month-anniversary, the bug is still present in 2.6.0-test3. It looks like a duplicate bug of #10. In that case, 2.6.0-test4 can work with ACPI + USB + Network - IOAPIC. Are you sure (ACPI + USB + network + IOAPIC) failed? Only usb get broken there. I am sure that 2.6.0-test4 doesn't work with ACPI + APIC together. It's different from earlier kernels, but both my onboard soundcard and my onboard network are disabled. I can't find a mention of them in the dmesg output, but they do exist in the .config. Created attachment 736 [details]
dmesg output of 2.6.0-test4 kernel with ACPI and IO-APIC
Created attachment 737 [details]
/proc/interrupts output for 2.6.0-test4 + APIC + IO-APIC
Thanks for the data. We understood what's happening, and we are working on it now. Please check if bug #10 fix works for you due to an off-line vacation, I'm not able to test patches or answer questions until sept 16. Created attachment 833 [details]
ACPI fixes for VIA chipsets
Please try the newly attached patch; it should fix VIA IRQ problems Created attachment 888 [details]
dmesg of 2.6.0-test4 with the patch applied
My problems are fixed by the patch provided. Thanks! Jurriaan solved in 2.6.0-test9, boots with acpi and working network without any patches. |