Subject: Re: Netbsd DomU daily-08.01.2007-crashes
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Anzi <anzi@dnainternet.net>
List: port-xen
Date: 01/11/2007 12:29:54
Manuel Bouyer wrote:

>On Wed, Jan 10, 2007 at 02:09:11PM +0200, Anzi wrote:
>  
>
>>I can, after I have downloaded kernel source. You have commited version 
>>1.20 of xencons.c and version 1.16 of xbd_xenbus.c. Are they the same 
>>version as these diffs?
>>    
>>
>
>See my other mail. ignore the diff against xencons.c, but you need to patch
>xbd_xenbus.c with the diff I sent.
>
>  
>
Downloaded kernel source from 
ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/source/sets/syssrc.tgz (not 
from current, was this ok?)
Patched file xbd_xenbus.c with "pacth < patchfile"
Issued following command

cd /usr/src/sys/arch/i386/conf; config XEN3_DOMU;
cd ../compile/XEN3_DOMU
make depends
make
Got new kernel and booted DomuU up with kernel I just created

/dmesg: NetBSD 3.1 (XEN3_DOMU) #0: Thu Jan 11 10:18:13 EET 2007 
antti@xenbsd:/usr/src/sys/arch/i386/compile/XEN3_DOMU
-bash-2.05b$ uname -a
NetBSD testbsd 3.1 NetBSD 3.1 (XEN3_DOMU) #0: Thu Jan 11 10:18:13 EET 
2007  antti@xenbsd:/usr/src/sys/arch/i386/compile/XEN3_DOMU i386

/It seems to work ok, so thanks!

Now I am wondering if my DOM0 kernel is OK. There is now config file for 
DOM0 kernel in 3.1 sources? Should I use current for the dom0? or is it 
better to stick with the version I have:
/uname -a
NetBSD xenbsd 4.99.3 NetBSD 4.99.3 (XEN3_DOM0) #0: Thu Oct 26 05:44:33 
UTC 2006  
builds@pb:/home/builds/ab/HEAD/i386/200610250000Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/XEN3_DOM0 
i386/