[coyotos-dev] Coyotos SMP?

Valerio Bellizzomi devbox at selnet.org
Sat Oct 20 20:35:02 EDT 2007


On 20/10/2007, at 11.01, Jeroen Visser wrote:

>Val,
>
>On 10/20/07, Valerio Bellizzomi <devbox at selnet.org> wrote:
>> I have booted coyotos on Dual Celeron and on Pentium 4. The two cases
>> differ.
>> Booting on Dual Celeron was fine up to the TextConsole demo. Booting on
>P4
>> fires up the ncpu sanity assert.
>
>If we are talking about the same assert then it occurs on the P4
>because it tries to disable the PIC when multiple CPUs are present. I
>removed the assertion because it is just fine to disable the PIC when
>multiple CPUs are present, as long as you try to disable it only once.
>
>I understood that your tests on SMP hardware were with a single-CPU
>(BSP) running in the kernel. Did you manage to kick off the other
>processors (APs) as well?
>
>-Slim

I am using the coyotos image at http://www.coyotos.org/~shap/grubdisk.gz

This is the current status of my tests:

1. Mainboards that trigger the cpu_ncpu assert:
	- ASUS P4C800 mainboard with one P4 with HT enabled.
	- GIGABYTE P4 TITAN mainboard with one P4 with HT enabled.

2. Mainboards that bootstrap successfully:
	- ABIT BP-6 mainboard with *two* old Celeron CPUs mounted on-board.
	- Laptop ACER Travelmate with Pentium III.
	- ECS K7S5A mainboard with Athlon.

So, the cpu_ncpu assert is triggered on P4 with HT, where the ACPI reports
2 CPUs. It doesn't trigger on Dual Celeron, but I have not checked how
many CPUs are reported by ACPI on the BP-6 mainboard.

val




More information about the coyotos-dev mailing list