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

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Error with virtual Machine under Rhel 5
From: Daniele Piaggesi <d.piaggesi@xxxxxxxxxxxx>
Date: Fri, 08 Jun 2007 18:27:46 +0200
Delivery-date: Fri, 08 Jun 2007 09:25:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.5.0.10 (X11/20070403)
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Error with virtual Machine under Rhel 5, Daniele Piaggesi <=