[coyotos-dev] Coyotos SMP?

Jeroen Visser jeroen.c.visser at gmail.com
Mon Oct 22 15:54:08 EDT 2007


Shap,

In order to run with ACPI/IOAPIC I need the second part of this patch:

diff -r 5874a080123b src/sys/arch/i386/kernel/lapic.c
--- a/src/sys/arch/i386/kernel/lapic.c  Mon Oct 22 11:04:15 2007 -0400
+++ b/src/sys/arch/i386/kernel/lapic.c  Mon Oct 22 15:50:05 2007 -0400
@@ -91,6 +91,7 @@ lapic_setup(VectorInfo *vi)
     }
 #endif
   case irq_LAPIC_IPI:
+    printf("irq_LAPIC_IPI\n");
     break;
   default:
     fatal("Cannot enable lapic IRQ 0x%x\n", vi->irq);
@@ -245,8 +246,6 @@ lapic_init()
     vector->ctrlr = &lapic;
   }

-  __asm__ __volatile__ ("sti;nop;nop");
-
   irq_Bind(irq_LAPIC_SVR, VEC_MODE_EDGE, VEC_LEVEL_ACTHIGH,
           lapic_spurious_interrupt);

@@ -256,3 +255,92 @@ lapic_init()

   lapic_eoi();
 }


On 10/22/07, Jonathan S. Shapiro <shap at eros-os.com> wrote:
> On Mon, 2007-10-22 at 21:01 +0200, Valerio Bellizzomi wrote:
>
> > Yes and no. I have checked and found something that I had completely
> > forgot: the BP-6 mainboard has the option to enable/disable the "ACPI
> > function" in the BIOS setup.
> > In my previous tests it was *disabled*. I just tested the grubdisk on BP-6
> > with ACPI *enabled*, and *two* CPUs are detected, and it triggers the
> > cpu_ncpu assert.
>
> Okay. When I get the current bug sorted out the cpu_ncpu thing should go
> away.
> --
> Jonathan S. Shapiro, Ph.D.
> Managing Director
> The EROS Group, LLC
> www.coyotos.org, www.eros-os.org
>
> _______________________________________________
> coyotos-dev mailing list
> coyotos-dev at smtp.coyotos.org
> http://www.coyotos.org/mailman/listinfo/coyotos-dev
>


More information about the coyotos-dev mailing list