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

RE: [Xen-users] Still having problems with xen guest boot


  • To: "Octavian Teodorescu" <octav@xxxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • Date: Wed, 30 May 2007 15:40:45 +0200
  • Delivery-date: Wed, 30 May 2007 06:39:40 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: Aceiv4d1M1t9RhXTTNun4XO83iqocAAACwvg
  • Thread-topic: [Xen-users] Still having problems with xen guest boot

 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Octavian Teodorescu
> Sent: 30 May 2007 14:37
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] Still having problems with xen guest boot
> 
> I don't know what has happened because know I can't even get 
> this guest
> booting. The guest conf I think is correct:
> kernel = "/boot/vmlinuz-2.6.18-8.1.4.el5xen"
> builder='linux'
> 
> 
> memory = 384
> name = "ns1"
> vcpus = 1
> 
> 
> #vif = [ 'mac=FE:FF:FF:FF:FF:FF , ip=139.185.48.214, 'bridge=xenbr1' ]
> vif = [ '', 'bridge=xenbr1' ]
> disk = [ 'phy:/dev/VGvhosts/root.test.ns1,sda1,w',
>          'phy:/dev/VGvhosts/swap.ns1,sda2,w' ]
> 
> #dhcp="dhcp"
> 
> # Set root device.
> root = "/dev/sda1 ro"
> #bootloader="/usr/bin/pygrub"
> 
> And I always get:
> [root@santos xen]# xm create ns1 -c
> Using config file "./ns1".
> Error: destroyDevice() takes exactly 3 arguments (2 given)

This indicates to me that you've got some sort of mixup. Which of the
three or four "destroyDevice()" functions is it? There should be a
calltrace in /var/log/xen/xend.log... Not that it will really help much
to know that, but at least it's some help. [And it's really a
consequence of the guest dying anyways, so it's not particuarly helpful
to fix it]. 

> 
> I run out of ideas. Tried with to use the ramdisk I allready had:
> initrd-2.6.18-8.1.4.el5xen.img, and the same. Can't make 
> another one since
> I tried to find a kernel src, and the only thing I get is kernel rpm.

You don't need kernel SOURCES to build the initrd, just kernel
installation files (in particular the modules from the kernel). 

If you search for "mkinitrd xen guest" or some such in google, you
should be able to find the right command to add the necessary modules
for the guest setup. 

--
Mats
> 
> Anyone any idea ??? :( ???
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 
> 



_______________________________________________
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®.