Problem initializing PCI boards where IRQ has to be guessed
From: Marty Leisner (mleisner_at_eng.mc.xerox.com)
Date: 09/30/04
- Previous message: Andries Brouwer: "Re: [PATCH] overcommit symbolic constants"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: linux-kernel@vger.kernel.org Date: Thu, 30 Sep 2004 16:22:40 -0400
I had this problem in 2.4.27...the same code is in 2.6.8.1
If the bios doesn't assign an interrupt, the guessing algorithm is
able to work only in a very special case (when the mask is one bit).
In 2.4.27 (I have lxr.linux.no for 2.4.26, its the same in
2.6.8.1)
933 if (!irq) {
934 DBG(" ... failed\n");
935 if (newirq && mask == (1 << newirq)) {
936 msg = "Guessed";
937 irq = newirq;
938 } else
939 return 0;
In 2.4.27 I have:
@@ -942,7 +939,8 @@
if (!irq) {
DBG(" ... failed\n");
- - if (newirq && mask == (1 << newirq)) {
+ if (newirq && (mask & (1 << newirq))) {
+ /* newirq is a routable interrupt */
msg = "Guessed";
irq = newirq;
} else
marty mleisner@eng.mc.xerox.com
Don't confuse education with schooling.
Milton Friedman to Yogi Berra
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Andries Brouwer: "Re: [PATCH] overcommit symbolic constants"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.27-10
... that jump is a delayed interrupt hitting the BIOS on its way out of APM ...
There's nothing to be done about that, except to disable APM. ... send the line "unsubscribe
linux-kernel" in ... (Linux-Kernel) - Re: clock runs at double speed on x86_64 system w/ATI RS200 chipset
... > typically indicate hardware flakiness or BIOS issues. ... If anyone has
a suggestion for debugging the clock problem in APIC mode ... interrupt to be mapped
twice- are there any tools for looking at the ACPI ... send the line "unsubscribe linux-kernel"
in ... (Linux-Kernel) - Re: [PATCH] 3c59x: read current link status from phy
... there is only one interrupt that for data transmission (both Tx ... The MII
registers are not ... Universitaet Heidelberg, INF 368, D-69120 Heidelberg, GERMANY
... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: is killing zombies possible w/o a reboot?
... An interrupt could be received at any time, ... in uninterruptible state
because it is uninterruptible ... Processes must never get stuck in D, it's a kernel bug.
... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: [PATCH] ide-disk.c rev 1.13 killed CONFIG_IDEDISK_STROKE
... and I think should be replaced by rereading drive->id from a drive. ... I
can't spot place when we get info from a BIOS. ... We can deal with HPA before our geometry
info is set ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel)