linux-origin
[Top] [All Lists]

Re: Kernel hang ...

To: ralf@xxxxxxxxxxx (Ralf Baechle)
Subject: Re: Kernel hang ...
From: kanoj@xxxxxxxxxxxxxxxxxxx (Kanoj Sarcar)
Date: Wed, 10 May 2000 10:51:41 -0700 (PDT)
Cc: linux-origin@xxxxxxxxxxx
In-reply-to: <20000510142407.A7547@uni-koblenz.de> from "Ralf Baechle" at May 10, 2000 02:24:07 PM
Sender: owner-linux-origin@xxxxxxxxxxx
> 
> I've verified that with just a single processor enabled the SMP kernel will
> hang even earlier, right after the ``POSIX conformance testing'' printout.
> 
> Investigating ...
> 
>   Ralf
> 

Depends on how you "disable" the other processors. Prom level disabling
has not been tested at all, and I would suggest leaving that for a little
later (maybe next week), since it also ties in to processor virtual/physical
numbering. 

If you want to come up on a CONFIG_SMP kernel with just 1 processor,
hack do_cpumask(), specifically, #if 0 out the code block

                        if (cpuid > *highest)
                                *highest = cpuid;
                        /* Only let it join in if it's marked enabled */
                        if (acpu->cpu_info.flags & KLINFO_ENABLE) {
                                CPUMASK_SETB(*boot_cpumask, cpuid);
                                cpus_found++;
                        }

Kanoj

<Prev in Thread] Current Thread [Next in Thread>