Subject: Re: Xen, PAE, and NetBSD
To: None <port-xen@NetBSD.org>
From: Karsten Kruse <tecneeq@gmx.net>
List: port-xen
Date: 02/09/2007 22:56:36
Chris Dukes schrieb:
> On Thu, Feb 08, 2007 at 04:36:08PM +0100, Karsten Kruse wrote:
>> Chris Dukes schrieb:
>>
>>> Debian has recently stopped shipping non-PAE kernels suitable for
>>> Xen 3's Dom0.  Unfortunately this makes the use "stock" netbsd
>>> kernels somewhat difficult.
>> I use Debian-4 as Dom0 and NetBSD-4 as DomU, and it works fine. What i did
>> on Debian:
>>
>> apt-get install xen-linux-system-2.6.18-3-xen-686 libc6-xen xen-tools
>>
>> NetBSD uses the kernel from a daily snapshot.
> 
> That's what I do now.
> but the 2.6.18-3 kernels have disappeared from the debian repositories...

Do we talk about the same release?

# uname -sr ; cat /etc/debian_version
Linux 2.6.18-3-xen-686
4.0

The kernels are there (even after apt-get update):

# apt-cache search linux-image-2.6.18-3-xen-686 | awk '{print $1}'
linux-headers-2.6.18-3-xen-686
linux-image-2.6.18-3-xen-686

And this is my sources.list, just in case:

deb http://security.debian.org/ etch/updates main contrib non-free
deb http://ftp.de.debian.org/debian/ etch main contrib non-free

Those are the packages i have installed that have xen in their names:

# dpkg -l | grep xen | awk '{print $2, $3}'
libc6-xen 2.3.6.ds1-10
libdivxencore0 5.0.1-1
linux-headers-2.6.18-3-xen 2.6.18-7
linux-image-2.6.18-3-xen-686 2.6.18-7
linux-modules-2.6.18-3-xen-686 2.6.18-7
xen-hypervisor-3.0.3-1-i386 3.0.3-0-2
xen-linux-system-2.6.18-3-xen-686 2.6.18-7
xen-tools 2.8-2
xen-utils-3.0.3-1 3.0.3-0-2
xen-utils-common 3.0.3-0-2

I believe it's all a question of the right hypervisor:

# apt-cache search xen-hypervisor | awk '{print $1}'
xen-hypervisor-3.0.3-1-i386
xen-hypervisor-3.0.3-1-i386-pae

Good luck :).

Karsten Kruse

-- 
        www.tecneeq.de    www.newbie-net.de    blog.onetbsd.de
  ()
 <\/>           GPL-guy: "Argh, they used my code! :-/"
 _/\_           BSD-guy: "Cool, they used my code! :-)"