Subject: Re: Netbsd XEN nothing I can boot in
To: None <variia@niwa.co.nz>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 09/15/2006 22:00:58
On Sat, Sep 16, 2006 at 07:38:25AM +1200, variia@niwa.co.nz wrote:
> > Who is at 100%, dom0 or the domU ? The fast that the 512M are all used
> > may not be a problem.
> 
> DomU NetBSD is. Something must be going wrong and that is my main concern.
> A plain (minimal nx100MB) system and a login shouldn't use 100% CPU
> whatever it is (server, 486SX or VM) I reckon but I am perhaps wrong. I
> didn't have a chance to configure rc.conf at all so no service is running
> whatsoever apart from the sendmail and perhaps inetd.

Yes, something is wrong here. I suspect looping in kernel. You can try
entering ddb (+++++) and see where it is (using 'tr' at db>)

> 
> Just for a test I am gonna disable SMP and HT too. (I have set them back
> since others suggested that its ok for dom0 and my problem was the memory
> anyway) Also I will try linux domU but that is not my goal so gotta get
> BSD going :)
> 
> 
> > It would give a hint about what the dom0 or domU is doing, though. A top
> > on your desktop should show what process is becoming crasy, isn't it ?
> 
> Okay, will investigate that as well.
> 
> > I never played with this either; but I think it's with
> > xm sched-sedf <domain> -s
> > you can try
> > xm sched-sedf <domain> -s 10
> 
> Ok I will try this too but rather fix the root cause... If it's not needed
> for most cases I wouldn't be happy to use it. It would be perhaps just a
> bypass...

If it's the domU which is looping, this won't help.

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