Kernel 2.4.2 - kernel BUG at apic.c:220!

Manfred Spraul (manfred@colorfullife.com)
Sat, 24 Feb 2001 19:45:43 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0005_01C09E9A.5FB4A3C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

> kernel BUG at apic.c:220!
<<<<<<<<<<<

/*
* Double-check wether this APIC is really registered.
*/
if (!test_bit(GET_APIC_ID(apic_read(APIC_ID)),
&phys_cpu_present_map))
BUG();
>>>>>>>>>>>
Really odd. That's usually a sign of a bad MP table.

Could you check your BIOS settings for an entry MP, or MPS, or
Multiprocessor Table?
Usually the options are 1.1 and 1.4 - just try the other one.

or try the attached patch - it prints 2 additional debug lines.

--
    Manfred

------=_NextPart_000_0005_01C09E9A.5FB4A3C0 Content-Type: application/octet-stream; name="patch.out" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="patch.out"

--- linux/arch/i386/kernel/apic.c.old Tue Dec 05 21:43:48 2000 +++ linux/arch/i386/kernel/apic.c Sat Feb 24 19:39:44 2001 @@ -216,8 +216,13 @@ /* * Double-check wether this APIC is really registered. */ - if (!test_bit(GET_APIC_ID(apic_read(APIC_ID)), &phys_cpu_present_map)) + if (!test_bit(GET_APIC_ID(apic_read(APIC_ID)), &phys_cpu_present_map)) = { + printk(KERN_ERR "phys_cpu_present_map is %lxh.\n", + phys_cpu_present_map); + printk(KERN_ERR "Apic id is %ldh.\n", + GET_APIC_ID(apic_read(APIC_ID))); BUG(); + } =20 /* * Intel recommends to set DFR, LDR and TPR before enabling

------=_NextPart_000_0005_01C09E9A.5FB4A3C0--

- 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/