From: Cagle, J. (ISS-Houston) <joh...@hp...> - 2003-02-27 13:39:07
|
What does 'cat /proc/interrupts' show when your running this new kernel? Regards, John -------------------------------- John Cagle joh...@hp... Principal Member Technical Staff Industry Standard Servers Hewlett-Packard Company http://www.hp.com/linux > -----Original Message----- > From: DPR [mailto:in...@br...]=20 > Sent: Thursday, February 27, 2003 7:14 AM > To: acp...@li... > Subject: [ACPI] APIC, USB mouse and errors >=20 >=20 > Hi everybody, >=20 > I've got the following problem with the latest=20 > "acpi-20030218" patch (for kernel > 2.4.21-pre4-ac6) ... >=20 > If I enable APIC then I get some "USB device not accepting=20 > new address" errors and my USB mouse doesn't work. If I use=20 > the "noapic" option then my mouse works fine but I get a=20 > bunch of "APIC error on CPU0 40(40)" messages. And finally if=20 > I use "disableapic" then I don't get these error messages but=20 > the mouse also doesn't work :( >=20 > Any suggestions ??? >=20 > Many thanks in advance !!! >=20 > -- >=20 > HOLGER >=20 > motherboard EPoX 8K5A2+ (VIA KT333, VT8235 southbridge, HPT372 RAID) > mouse Logitech Cordless MouseMan Optical > kernel 2.4.21 pre4 ac6 > options ACPI enabled, APIC enabled >=20 >=20 >=20 > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld =3D Something=20 > 2 See! http://www.vasoftware.com=20 > _______________________________________________ > Acpi-devel mailing list > Acp...@li...=20 > https://lists.sourceforge.net/lists/listinfo/a> cpi-devel >=20 |
From: Cagle, J. (ISS-Houston) <joh...@hp...> - 2003-02-28 23:47:13
|
Holger, I think that your APIC IRQs (0..15) aren't getting programmed properly. PCI is using IRQs 10, 11, 12 & 14, but I think the kernel has made an incorrect assumption that these are ISA IRQs and set them to be edge-triggered. PCI IRQs are always level-triggered. Take a look at arch/i386/kernel/mpparse.c in the mp_config_acpi_legacy_irqs() routine. It sets interrupts 0..15 to ISA bus conforming behavior (edge). You might try forcing the kernel to do the right thing and see what happens. Regards, John > -----Original Message----- > From: DPR [mailto:in...@br...]=20 > Sent: Friday, February 28, 2003 4:47 PM > To: Cagle, John (ISS-Houston); acp...@li... > Subject: RE: [ACPI] APIC, USB mouse and errors >=20 >=20 > Here are the messages the ACPI/APIC system produces during=20 > the boot process. Perhaps this will provide the information=20 > you need to fix my problem :) I don't understand why there're=20 > no IRQs above 17 ! Windows maps the IRQs 18, 19, 21 and 23=20 > for my audio/IEEE 1394/USB and ethernet devices. >=20 > Besides - the latest "20030228" version doesn't fix my=20 > problem. Same "APIC error on CPU0 40(40)" messages if I use=20 > the "noapic" parameter and "USB device not accepting new=20 > address" error if I don't use "noapic". >=20 > Thanks for any answer in advance, >=20 > HOLGER >=20 > > What does 'cat /proc/interrupts' show when your running this > > new kernel? > >=20 > > Regards, > > John > > -------------------------------- > > John Cagle joh...@hp... > > Principal Member Technical Staff > > Industry Standard Servers > > Hewlett-Packard Company > > http://www.hp.com/linux >=20 |
From: DPR <in...@br...> - 2003-03-01 02:45:58
Attachments:
I-O APIC.txt
|
Hi John, YOU GOT IT - GREAT JOB !!! I made an ugly but working hack in "mp_config_acpi_legacy_irqs" - I simply forced the trigger mode to "level" for my USB-IRQs. And now everything works fine !!! If you find another way to fix it - let me know ;) Besides, do you know why the high IRQs (>17) are not used at all ? I'm just wondering why M$ Windows produces such a different IRQ-mapping - take a look at the attached file (IRQs 0,1,4,6,8,9,13,15-19,21,23 are used). Thanks for your professional help, HOLGER > Holger, > > I think that your APIC IRQs (0..15) aren't getting programmed > properly. > > PCI is using IRQs 10, 11, 12 & 14, but I think the kernel has made an > incorrect assumption that these are ISA IRQs and set them to be > edge-triggered. PCI IRQs are always level-triggered. > > Take a look at arch/i386/kernel/mpparse.c in the > mp_config_acpi_legacy_irqs() routine. It sets interrupts > 0..15 to ISA > bus conforming behavior (edge). > > You might try forcing the kernel to do the right thing and see what > happens. > > Regards, > John |
From: DPR <in...@br...> - 2003-02-27 15:22:49
|
Here we go ... - interrupt table with enabled APIC (no special kernel params) CPU0 0: 9480 IO-APIC-edge timer 1: 257 IO-APIC-edge keyboard 2: 0 XT-PIC cascade 8: 2 IO-APIC-edge rtc 9: 0 IO-APIC-edge acpi 10: 0 IO-APIC-edge usb-uhci 11: 0 IO-APIC-edge eth0, usb-uhci 12: 9 IO-APIC-edge usb-uhci 14: 0 IO-APIC-edge ehci-hcd 15: 122 IO-APIC-edge ide2 16: 806 IO-APIC-level nvidia 17: 6480 IO-APIC-level ide0, ide1 NMI: 0 LOC: 9434 ERR: 0 MIS: 0 - and with "noapic" parameter CPU0 0: 7376 XT-PIC timer 1: 228 XT-PIC keyboard 2: 0 XT-PIC cascade 8: 2 XT-PIC rtc 9: 0 XT-PIC acpi 10: 13 XT-PIC usb-uhci 11: 340 XT-PIC eth0, usb-uhci 12: 0 XT-PIC usb-uhci 14: 0 XT-PIC ehci-hcd 15: 123 XT-PIC ide2 16: 360 IO-APIC-level nvidia 17: 6473 IO-APIC-level ide0, ide1 NMI: 0 LOC: 7340 ERR: 7316 MIS: 0 Regards, HOLGER > -----Original Message----- > From: acp...@li... > [mailto:acp...@li...] On Behalf Of > Cagle, John (ISS-Houston) > Sent: Thursday, February 27, 2003 2:39 PM > To: in...@br...; acp...@li... > Subject: RE: [ACPI] APIC, USB mouse and errors > > > What does 'cat /proc/interrupts' show when your running this > new kernel? > > Regards, > John > -------------------------------- > John Cagle joh...@hp... > Principal Member Technical Staff > Industry Standard Servers > Hewlett-Packard Company > http://www.hp.com/linux > |
From: DPR <in...@br...> - 2003-02-28 22:47:43
Attachments:
boot_msg.txt
|
Here are the messages the ACPI/APIC system produces during the boot = process. Perhaps this will provide the information you need to fix my problem :) I don't understand why there're no IRQs above 17 ! Windows maps the IRQs = 18, 19, 21 and 23 for my audio/IEEE 1394/USB and ethernet devices. Besides - the latest "20030228" version doesn't fix my problem. Same = "APIC error on CPU0 40(40)" messages if I use the "noapic" parameter and "USB device not accepting = new address" error if I don't use "noapic". Thanks for any answer in advance, HOLGER > What does 'cat /proc/interrupts' show when your running this=20 > new kernel? >=20 > Regards, > John > -------------------------------- > John Cagle joh...@hp... > Principal Member Technical Staff > Industry Standard Servers > Hewlett-Packard Company > http://www.hp.com/linux |