[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Problems with debianbase.de xen-packages for sarge. Ralph ?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi !

I just installed debian sarge and the debianbase xen3 packages.

My hardware
HP Proliant 330
2.5GB ram
raid5 Smart Array 641 (4 disks)


xen:~# cat /etc/apt/sources.list
deb http://packages.debianbase.de/sarge/i386/xen3 ./
deb-src http://packages.debianbase.de/sources/xen3 ./
deb http://ftp.se.debian.org/debian/ stable main
deb-src http://ftp.se.debian.org/debian/ stable main
deb http://security.debian.org/ stable/updates main


xen:~# cat /etc/xen/sarge1.cfg
kernel = "/boot/xen-3.gz"
memory = 128
name   = "sarge1"
disk = [ 'file:/home/xen/domains/sarge1/disk.img,sda1,w','file:/ home/xen/domains/sarge1/swap.img,sda2,w' ]
root   = "/dev/sda1 ro"
dhcp="dhcp"

xen:~# cat /var/log/xend-debug.log
ERROR: Not a Xen-ELF image: '__xen_guest' section not found.
ERROR: Error constructing guest OS
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/xen/xend/server/ SrvDomainDir.py", line 77, in op_create
    dominfo = self.xd.domain_create(config)
File "/usr/lib/python2.3/site-packages/xen/xend/XendDomain.py", line 226, in domain_create
    dominfo = XendDomainInfo.create(config)
File "/usr/lib/python2.3/site-packages/xen/xend/ XendDomainInfo.py", line 182, in create
    vm.initDomain()
File "/usr/lib/python2.3/site-packages/xen/xend/ XendDomainInfo.py", line 1190, in initDomain
    channel_details = self.image.createImage()
File "/usr/lib/python2.3/site-packages/xen/xend/image.py", line 115, in createImage
    return self.createDomain()
File "/usr/lib/python2.3/site-packages/xen/xend/image.py", line 134, in createDomain
    result = self.buildDomain()
File "/usr/lib/python2.3/site-packages/xen/xend/image.py", line 183, in buildDomain
    ramdisk        = self.ramdisk)
error: (0, 'Error')


xen:~# cat /boot/grub/menu.lst
default         0
timeout         5
color cyan/blue white/blue

title        Xen 3.0.0 - Linux 2.6.12.6-xen
kernel /boot/xen-3.0.0.gz dom0_mem=262144 console=tty0 module /boot/xen-linux-2.6.12.6-xen root=/dev/ cciss/c0d0p1 ro
             module      /boot/xen-modules-2.6.12.6-xen nousb
- -----

the Guest is installed with xen-tools.

could it be the guest-kernel ? its the kernel from the debianbase.de package.

Any suggestions would be great !



- --
Anders Johansson
Anykey Solutions
Security/Network/Computer/Administration
E-Mail: anders@xxxxxxxxx
Cellphone: +46 (0)708494996
Office: +46 (0)13 73244
Fax: +46 (0)13 73190

Snailmail:
Vistlöt kvarn
59062 Linghem


Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html



On Jan 16, 2006, at 2:46 PM, Ralph Passgang wrote:

Hi,

I just wanted to let all interessted debian users know, that on my xen3
repository are now kernel images available for dom0/U.

My Xen3 packages are using the latest xen3-testing (changeset 8269) and are available for sid, sarge & etch as well as for 32bit, 32bit-pae and 64bit.
The kernel image is 2.6.12.6-xen with a std. xen config.

So there is no reason for compiling your own kernel on a debian system
anymore, unless you need something very special. For such a case there is a "linux-patch-xen" package which applies to a vanilla 2.6.12 source tree (and
converts it to a 2.6.12.6-xen).

If someone wants to use the new packages, please add the following two lines
to /etc/apt/sources.list:

 deb http://packages.debianbase.de/<DISTRO>/<ARCH>/xen3 ./
 deb-src http://packages.debianbase.de/sources/xen3 ./

If you need 32bit + PAE instead, use the following two lines:

 deb http://packages.debianbase.de/<DISTRO>/<ARCH>/xen3-pae ./
 deb-src http://packages.debianbase.de/sources/xen3-pae ./

(Please always repleace <DISTRO> with either sid, sarge or etch and <ARCH>
with i386 or amd64.)

After adding the lines to sources.list xen3 + kernel is installable with the
following commands:

 apt-get update
 apt-get install xen linux-xen0-2.6

After that is completed only the initrd needs to be created and the grub's
menu.lst needs an entry for booting the new kernel.

the "linux-xen0-2.6" package will give instructions upon installation on how
to build a initrd and how to change the grub config.

If there is something not working as expected, please let me know... Feedback
is always appreciated.

Some instructions on how to compile your own xen kernel with debian is
available here: http://www.debian-administration.org/articles/320
(thanks to Steve Kemp)

--Ralph

P.s.:
My Version "tha11" now uses the Xen 3.0-testing upstream, all versions before
used xen 3.0.0.

If someone upgrades from <= tha11 to the recent package there is a mismatch
between the old self compiled xen kernel and the hypervisor (now using
xen3-testing). In this case, please compile a new kernel with an updated "linux-patch-xen" package (>= tha11) or simply switch to use linux- xen0-2.6
as kernel (which will always matches the hypervisor).

For more information what changed in each xen3 package, see the packages
changelog.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFD10inAQ7rAwCL1U8RAiZSAKCSnp2s1xddu+pEpoWPMmwAFOtbXwCaA247
XA9hEL4sZbrPZMrSvWye3Sk=
=yD/v
-----END PGP SIGNATURE-----

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.