port-xen: Re: First boot in domain0.

Subject: Re: First boot in domain0.
To: Christian Limpach <chris@pin.lu>
From: Juan RP <juan@xtraeme.unixbsd.org>
List: port-xen
Date: 04/27/2004 15:34:57
--Signature=_Tue__27_Apr_2004_15_34_57_+0200_x5g==.XASi7XnbLI
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
On 2004年4月27日 14:14:21 +0200
"Christian Limpach" <chris@pin.lu> wrote:
> > To load the NetBSD/Xen, enter the following in the grub shell:
> > 
> > grub> configfile /grub/menu.lst
> 
> Can't you make it load this by default? Grub seems to do so when installed
> on a disk!?
Doesn't work! I don't know why, I think you have to install grub to see the
menu directly, but as it's a cdrom no idea if we could make this.
> You're missing "options DOM0OPS" in your kernel config file (at least
> according
> to the one which is embedded in the kernel). You probably missed it because
> my
> patch only adds it to the XEN kernel config file and not to the GENERIC one.
You are really right! I was missing that option, because the kernel was copied
before applying your patch.
> In case you wanted to make a pkgsrc package for building Xen (hint! ;-)),
> below
> is a patch to fix the problem where you have to pad the netbsd kernel so that
> it's size is a multiple of 4. I don't know how easy/hard it will be to make
> Xen build on NetBSD and havent' tried yet.
> 
> --- ../../xeno-1.2.bk/xen/arch/i386/boot/boot.S	2004年03月11日 23:16:13.000000000 +0100
> +++ arch/i386/boot/boot.S	2004年04月21日 00:08:16.000000000 +0200
> @@ -103,6 +103,7 @@
> sub %ebx,%ecx /* %ecx = byte len of all mods
> */
> mov $(MAX_DIRECTMAP_ADDRESS), %edi
> add %ecx, %edi /* %edi = src + length */ 
> 
> + add 	3,ドル%ecx
> shr 2,ドル%ecx /* %ecx = length/4 */
> 1: sub 4,ドル%eax /* %eax = src, %edi = dst */
> sub 4,ドル%edi
Cool :-), sure I'll try to create the package in this week.
 
> That's normal... Xen uses quite a bit of code from Linux which is why its
> startup looks a lot like Linux. Just close your eyes until you (think
> you'll) see green text ;-)
Ok, I wasn't sure about that :P
I have another question... do I have to mount /kern with kernfs for the
xentools12?
--	Juan RP <juan@xtraeme.unixbsd.org>
--Signature=_Tue__27_Apr_2004_15_34_57_+0200_x5g==.XASi7XnbLI
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFAjmGEypkLYVDran0RAmCvAJ9zj7pciN6LT8sjPZ1jOf1WVetrWQCfS2Fy
ETySy41GH7TPkQrJGsD8nZw=
=I9my
-----END PGP SIGNATURE-----
--Signature=_Tue__27_Apr_2004_15_34_57_+0200_x5g==.XASi7XnbLI--

AltStyle によって変換されたページ (->オリジナル) /