SMP kernel on UP machines?

Emiel Kollof coolvibe at hackerheaven.org
Mon Dec 29 15:25:25 PST 2003


* David Rhodus (drhodus at xxxxxxxxxxx) wrote:
> On Monday 29 December 2003 05:53 pm, Emiel Kollof wrote:
> 
> > No joy on my machine. Still not seeing the local apic on bootup. It
> 
> If you are booting a UP machine on ex a P4 3.06( a chip which has HTT) using 
> the patch I posted, no you wouldn't need to enable APIC_IO.
> 
> > panics just after loading the kernel and even before the initial credits
> > are shown (The Dragonfly Project blabla).
> 
> Can you paste a trace of the panic here ?

Well, it panics at pmap.c in the pmap_bootstrap function with everything
set to 0; which is kinda weird. It panics with: (hand copied)

panic: pmap_bootstrap: no local apic!
mp_lock = 00000000; cpuid = 0; lapic.id = 00000000;

> >
> > I'll try to enable both the APIC and the ICU, and fallback to the
> > latter if it fails, like CURRENT does.
> Does FreeBSD-CURRENT fail to boot as well ?

No, CURRENT works fine.

> What type of processor(s) and what board is this machine ?

2.66 Ghz P4 on a 533 FSB. Has a local APIC, ACPI sees 2 cpu's en 2
apics. I suspect that mp_probe doesn't get called and the APIC's don't
get initialized, but I could be wrong of course. I'm not an expert :)

Cheers,
Emiel
-- 





More information about the Kernel mailing list