WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Problems with debianbase.de xen-packages for sarge. Ralp

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Problems with debianbase.de xen-packages for sarge. Ralph ?
From: Ralph Passgang <ralph@xxxxxxxxxxxxx>
Date: Wed, 25 Jan 2006 12:01:38 +0100
Delivery-date: Wed, 25 Jan 2006 11:10:56 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <EFFFA99C-EF32-4547-A2DA-7E77FC12AFF7@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <200601161446.29808.ralph@xxxxxxxxxxxxx> <EFFFA99C-EF32-4547-A2DA-7E77FC12AFF7@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
Am Mittwoch, 25. Januar 2006 10:45 schrieb Anders Johansson:
> 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"

here is your error... /boot/xen-3.gz is not the kernel image, it's the xen 
hypervisor itself. 

If you have installed the "linux-xen0-2.6" package correctly, you should have 
a /boot/xen-linux-2.6.12.6-xen file, which is a xen kernel for dom0 and/or 
any domU. So using "kernel = /boot/xen-linux-2.6.12.6-xen" would be correct.

You additionally need an initrd, which normaly exists 
in /boot/xen-modules-2.6.12.6-xen. If it's not existing, you have not created 
it with mkinitrd... In your domU config you have to include the inird with: 
"initrd = /boot/xen-modules-2.6.12.6-xen"

I guess there is also some network settings missing, but maybe it also works 
without them, never tested that really... 

For example configuration files you can take a look 
at /usr/share/doc/xen/examples.

> 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 !

the rest of your setup looks quite well, so if you fixed your domU config, you 
should be able to start the new domU. If not let me know...

--Ralph

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

<Prev in Thread] Current Thread [Next in Thread>