Re: [PATCH] local APIC support on uniprocessor machines

From: Keir Fraser (Keir.Fraser@cl.cam.ac.uk)
Date: Mon Aug 14 2000 - 03:12:04 EST


Urk! A ThinkPad... :)

I presume plain test6 works for you. In that case, a good place to add
some debugging would be the end of io_apic.c.

Directly after:
    /* Some BIOSes disable the local APIC in the APIC_BASE MSR */
    rdmsr(0x1b, l, h);

Add:
    printk("XXX APIC_BASE=%08x:%08x pic_mode=%d nr_ioapics=%d\n",
           h, l, pic_mode, nr_ioapics);
    printk("XXX phys_cpu_present_map=%d\n", phys_cpu_present_map);
    for ( ; ; ) ;

And mail me the two lines of debug output. If the two lines don't come
out at all then my patch isn't being executed.

 Thanks,
 Keir Fraser

> From: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
>
> Despite selecting the "APIC and IO-APIC support on uniprocessors"
> kernel config option, I've had trouble getting 2.4.0-test6 to
> correctly enable the local APIC.
> Your patch gave me a "killing uninteruptible" something or the other
> Followed by a kernel panic half way through the boot process.
> IBM 380XD
> Garst

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



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:32 EST