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

[Xen-users] Error with virtual Machine under Rhel 5



Hello guy

I'm new of this list and new with xen.

I've a problem with xen and Red Hat Enterprise Linux that i've installed on my Ibm XSeries 335.

I've two old xen virtual machine created on the same server with Fedora5 and his xen and that i must migrate under Rhel5.
The first virtual machine is based on ubuntu template and the second on fedora5 template.
When i started the ubuntu virtual machine with this file .sxp

==========================
# Automatically generated xen config file
kernel = "/boot/vmlinuz-2.6.18-8.el5xen"
initrd = "/boot/initrd-2.6.18-8.el5xen.img"
name = "colombo"
memory = "1024"
disk = [ 'file:/ext/img/colombo-ubuntu/colombo.img,hda1,w','file:/ext/img/colombo-ubuntu/colombo-swap.img,hda2,w','file:/ext/img/colombo-ubuntu/colombo-ext.img,hda3,w' ]
vif = [ 'mac=00:16:3e:02:17:08, bridge=xenbr0', ]
vfb = ["type=vnc,vncunused=1"]
#uuid = "867bc8a5-6dba-b102-b08f-e57c56c4e903"
#bootloader="/usr/bin/pygrub"
root="/dev/hda1 ro"
vcpus=1
on_rebootÂÂ = 'restart'
on_crashÂÂÂ = 'restart'
=====================================

the domain started but fails with this error:

=========================================
VFS: Cannot open root device "<NULL>" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
=========================================

I'm sure that the "root" is well specified.

When i started the second domain (fedora5 template), instead, with this .sxp file:

============================
# Automatically generated xen config file
name = "sidimar"
memory = "1024"
disk = [ 'file:/ext/img/sidimar-fedora5/sidimar.img,xvda,w','file:/ext/img/sidimar-fedora5/sidimar-disk2.img,sda1,w' ]
vif = [ '' ]
bootloader="/usr/bin/pygrub"

on_rebootÂÂ = 'restart'
on_crashÂÂÂ = 'restart

==============================

xen loads pygrub with this kernel available:

Fedora Core (2.6.18-1.2257.fc5xenU)
Fedora Core (2.6.17-1.2187.FC5xenU)

and any kernel I choose I have immediately this error:

=========================
Error: (22, 'Invalid argument')
=========================

I googled a lot but I don't find any solution. I think that there's something I don't know about xen under rhel5 and its integration.

Anyone have idea?

Thanks in advance

Daniele

--
Daniele Piaggesi
-----------------------
System Administrator
Pronetics s.p.a.
Via E. L. Cerva 127/C
Tel.ÂÂÂÂ+39.06.51530849
Mob.ÂÂ+39.328.6176226
_______________________________________________
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®.