Subject: Re: Domain 0 kernel, DAC960 and SMP
To: Sarton O'Brien <bsd-xen@roguewrt.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 07/22/2006 21:43:53
On Sat, Jul 22, 2006 at 03:33:03PM +1000, Sarton O'Brien wrote:
> On Fri, Jul 21, 2006 at 11:20:46PM +0200, Manuel Bouyer wrote:
> > Xen dom0 doensn't need to support SMP to have Xen itself use multiple
> > CPUs. AFAIK, with Xen3 physical CPUs are still statically allocated
> > to virtual CPUs, but one domain can use multiple CPUs. But right now,
> > NetBSD doesn't support this. Worse, you may have to disable Xen SMP
> > do use a NetBSD dom0, because of interrupt routing issues.
> 
> Being relatively new to SMP, does diabling apic prevent the use of SMP?

I think it does not, but on my systems I've not been able to get
Xen3 working SMP at all with NetBSD/dom0 yet.

> 
> I have not defined 'vcpu' yet xentop is reporting that there are 2.
> 
> I'm finding all functions OK so long as I set noapic.
> 
> The problem exhibited when apic was enabled was with the onboard bge-driver
> based network card (watchdog timer resetting ... blah blah).

Yes, typical interrupt routing issue.

> 
> Other than that, a mknod for the missing device and installing the XML
> parser has got everything up and running.
> 
> One other question, does the DOMU_INSTALL kernel require access to the cdrom?

Do, it can do a network install too.

> and if so, can it be emulated sufficiently with a built iso-image used in
> place of a physical device?

Yes this should work.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--