Re: IO-APIC + timer doesn't work (was: Linux 2.6.20-rc1)

From: Eric W. Biederman
Date: Mon Dec 18 2006 - 08:15:56 EST


Tobias Diedrich <ranma@xxxxxxxxxxxx> writes:

> Linus Torvalds wrote:
>
>> Your dmesg is kind of interesting:
>>
>> ..TIMER: trying IO-APIC=0 PIN=0 with 8259 IRQ0 enabled(7)APIC error on CPU0:
> 04(40)
>> .. failed
>>
>> where that APIC error on CPU0 seems to be a "Send accept error" and "Send
>> illegal vector" thing. I think we actually got the interrupt there, but
>> because we had some APIC setup bug, we didn't accept it properly, and it
>> resulted in that "APIC error" thing. Maybe.
>
> I just tried changing the code so the "8259 IRQ0 enabled" case is
> tested first and with that it boots fine.

Could you try removing the clear_IO_APIC_pin from try_io_apic_pin.

This isn't a complete fix but I believe for your hardware it will
fix the problem and it points at what the real fix is.

Not properly programming the io_apic for the case we want to test.

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/