Skip to contentSkip to conversation

APIC problem report

DISCUSSION Christopher Schramm 3 participants 7 messages Mar 19, 2009 – Mar 21, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

I found a problem with APIC on a desktop PC equipped with Asus' M2N, running the manufacturer's AMI BIOS - version 0803.

I've tried booting Knoppix 5.3.1 (Kernel 2.6.24.4) and GParted live (Debian's 2.6.26-13). Both will only boot if noapic parameter is used. Otherwise I get "MP-BIOS bug: 8254 timer not connected to IO-APIC" resulting in a kernel panic.

apic=debug gives "ACPI: Core revision 20080321", "Version 80050010" (twice), "ID: 0", "LVT0: 700", "LVT1:400" and "ESR value before enabling vector: 0x00000004 after: 0x00000000".

Hope it's of some use (and the best place to report it)

Christopher

#1 lore raw
Quoted 10 lines · Christopher Schramm

Hi,

I found a problem with APIC on a desktop PC equipped with Asus' M2N, running the manufacturer's AMI BIOS - version 0803.

I've tried booting Knoppix 5.3.1 (Kernel 2.6.24.4) and GParted live (Debian's 2.6.26-13). Both will only boot if noapic parameter is used. Otherwise I get "MP-BIOS bug: 8254 timer not connected to IO-APIC" resulting in a kernel panic.

Quoted 5 lines

apic=debug gives "ACPI: Core revision 20080321", "Version 80050010" (twice), "ID: 0", "LVT0: 700", "LVT1:400" and "ESR value before enabling vector: 0x00000004 after: 0x00000000".

Hope it's of some use (and the best place to report it)

Any chance to build and run a more recent kernel on it, to see whether this issue still occurs? The latest APIC code is at:

http://people.redhat.com/mingo/tip.git/README

And i suspect you should pick up the Knoppix .config and build with that to reproduce this issue. A digital picture of the panic would be useful as well.

Ingo

#2 lore raw

Thanks for the quick replay, Ingo!

Following your request, I installed Debian 5.0. Had to use noapic again for getting the boot media to work (think it utilizes 2.6.26).

The kernel panic is the same for all three systems: "not syncing: IO-APIC + timer doesn't work!".

The installed system had the same problem (2.6.26 again), then I compiled 2.6.28.8 (with default config). Booting that one with APIC enabled throws the known "MP-BIOS bug" message, but then continues booting - no kernel panic.

I will try Knoppix' kernel config and your git code, when I find some spare time.

Christopher

#3 lore raw
Quoted 9 lines · Christopher Schramm

Thanks for the quick replay, Ingo!

Following your request, I installed Debian 5.0. Had to use noapic again for getting the boot media to work (think it utilizes 2.6.26).

The kernel panic is the same for all three systems: "not syncing:
IO-APIC + timer doesn't work!".

Quoted 7 lines

The installed system had the same problem (2.6.26 again), then I compiled 2.6.28.8 (with default config). Booting that one with APIC enabled throws the known "MP-BIOS bug" message, but then continues booting - no kernel panic.

I will try Knoppix' kernel config and your git code, when I find some spare time.

By the looks of it, chances are that various APIC fixes and robustization patches might have fixed your problem:

691874f: x86: I/O APIC: timer through 8259A second-chance 03be750: x86: I/O APIC: keep the timer IRQ masked during set-up 24742ec: x86: I/O APIC: unmask the second-chance timer interrupt
d11d579: x86: I/O APIC: AEOI timer acknowledgement clean-ups

These first showed up in v2.6.27. Which would match your reported symptoms of v2.6.26 failig and 2.6.28 working. The bootup warning about a BIOS problem is still there because there is an underlying problem - we just work it around and fall back more robustly.

Ingo

#4 lore raw
Quoted 8 lines · Ingo Molnar

By the looks of it, chances are that various APIC fixes and robustization patches might have fixed your problem:

691874f: x86: I/O APIC: timer through 8259A second-chance 03be750: x86: I/O APIC: keep the timer IRQ masked during set-up 24742ec: x86: I/O APIC: unmask the second-chance timer interrupt
d11d579: x86: I/O APIC: AEOI timer acknowledgement clean-ups

These first showed up in v2.6.27. Which would match your reported symptoms of v2.6.26 failig and 2.6.28 working.

Yes, you're right. Looking at the detailed kernel messages, the "8259A second-chance" seems to do the trick. So it's already tackled. :-)

Christopher

#5 lore raw
In reply to Christopher Schramm
Quoted 4 lines · Christopher Schramm

Hi,

I found a problem with APIC on a desktop PC equipped with Asus' M2N, running the manufacturer's AMI BIOS - version 0803.

Quoted 8 lines

I've tried booting Knoppix 5.3.1 (Kernel 2.6.24.4) and GParted live (Debian's 2.6.26-13). Both will only boot if noapic parameter is used. Otherwise I get "MP-BIOS bug: 8254 timer not connected to IO-APIC" resulting in a kernel panic.

apic=debug gives "ACPI: Core revision 20080321", "Version 80050010" (twice), "ID: 0", "LVT0: 700", "LVT1:400" and "ESR value before enabling vector: 0x00000004 after: 0x00000000".

Hope it's of some use (and the best place to report it)

Christopher

Try booting with acpi_use_timer_override kernel parameter. The problem is likely the same one that shows up on my Asus A8N-SLI Deluxe with the latest 1805 BIOS. The kernel ignores ACPI timer overrides on NVIDIA chipsets since they have historically been broken, however in later BIOS versions this has been fixed and the override is now apparently required for the 8254 timer to function properly through the IO-APIC.

That problem is still there in newer kernels, but it's not fatal since the kernel just routes the timer through the PIC instead..

#6 lore raw
Quoted 27 lines · Robert Hancock
Quoted 10 lines · Christopher Schramm

Hi,

I found a problem with APIC on a desktop PC equipped with Asus' M2N, running the manufacturer's AMI BIOS - version 0803.

I've tried booting Knoppix 5.3.1 (Kernel 2.6.24.4) and GParted live (Debian's 2.6.26-13). Both will only boot if noapic parameter is used. Otherwise I get "MP-BIOS bug: 8254 timer not connected to IO-APIC" resulting in a kernel panic.

Quoted 7 lines

apic=debug gives "ACPI: Core revision 20080321", "Version 80050010" (twice), "ID: 0", "LVT0: 700", "LVT1:400" and "ESR value before enabling vector: 0x00000004 after: 0x00000000".

Hope it's of some use (and the best place to report it)

Christopher

Try booting with acpi_use_timer_override kernel parameter. The problem is likely the same one that shows up on my Asus A8N-SLI Deluxe with the latest 1805 BIOS. The kernel ignores ACPI timer overrides on NVIDIA chipsets since they have historically been broken, however in later BIOS versions this has been fixed and the override is now apparently required for the 8254 timer to function properly through the IO-APIC.

Quoted 2 lines

That problem is still there in newer kernels, but it's not fatal since the kernel just routes the timer through the PIC instead..

Correct. Warning messages in this area are OK as long as the system ends up booting and working fine. What we would be interested in fixing is latest kernels not booting out of box at all - i.e. requiring noapic parameter or other quirks.

Ingo