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

RES: [Xen-users] xen cannot find root filesystem

To: "'Rahul Agarwal'" <ra996@xxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RES: [Xen-users] xen cannot find root filesystem
From: Bruno Bertechini <bruno.bertechini@xxxxxxxxxxx>
Date: Wed, 17 Sep 2008 09:22:21 -0300
Cc:
Delivery-date: Wed, 17 Sep 2008 05:18:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <48CFE47E.1020800@xxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Acensco Tecnologia
References: <48CFE47E.1020800@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckYHMbJ0rzDKbnhQSuJBMwYJGMejwAoyF7g
You might be missing hard disk drives and/or kernel modules.

Try to update your initrd image with the drivers you need.

[]'s

Bruno

-----Mensagem original-----
De: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] Em nome de Rahul Agarwal
Enviada em: terça-feira, 16 de setembro de 2008 13:53
Para: xen-users@xxxxxxxxxxxxxxxxxxx
Assunto: [Xen-users] xen cannot find root filesystem

Hello,

I have a pre-built xen image from jailtime.org (centos.5-2.64.img). 
However, I cannot get it to boot. As per the instructions, my conf file is:

kernel = "/boot/vmlinuz-2.6.18-53.el5xen"
ramdisk = "/boot/initrd-2.6.18-53.el5xen.img"
memory = 256
name = "centos.5-2.64"
vif = [ '' ]
#dhcp= "dhcp"
disk = ['tap:aio:/xen/images/centos.5-2.64.img,xvda1,w']
root = "/dev/xvda1 ro"
extra = "fastboot"

However, the vm fails with the following (relevant) output

Loading dm-snapshot.ko module
Waiting for driver initialization.
Scanning and configuring dmraid supported devices
Scanning logical volumes
  Reading all physical volumes.  This may take a while...
  No volume groups found
Activating logical volumes
  Volume group "VolGroup00" not found
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults

Following is the relevant section from /var/log/xen/xend.log:

[2008-09-16 07:25:19 xend 4079] DEBUG (DevController:112) DevController: 
writing {'domain': 'ce
ntos.5-2.64', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 
'state': '1', 'frontend':
 '/local/domain/64/device/vif/0', 'mac': '00:16:3e:7a:ec:d6', 'online': 
'1', 'frontend-id': '64
'} to /local/domain/0/backend/vif/64/0.
[2008-09-16 07:25:19 xend 4079] DEBUG (blkif:24) exception looking up 
device number for xvda1:
[Errno 2] No such file or directory: '/dev/xvda1'
[2008-09-16 07:25:19 xend 4079] DEBUG (DevController:110) DevController: 
writing {'virtual-devi
ce': '51713', 'device-type': 'disk', 'protocol': 'x86_64-abi', 
'backend-id': '0', 'state': '1',
 'backend': '/local/domain/0/backend/tap/64/51713'} to 
/local/domain/64/device/vbd/51713.
[2008-09-16 07:25:19 xend 4079] DEBUG (DevController:112) DevController: 
writing {'domain': 'ce
ntos.5-2.64', 'frontend': '/local/domain/64/device/vbd/51713', 'dev': 
'xvda1', 'state': '1', 'p
arams': 'aio:/xen/images/vlab_vm.img', 'mode': 'w', 'online': '1', 
'frontend-id': '64', 'type':
 'tap'} to /local/domain/0/backend/tap/64/51713.


Please help!
thanks,
rahul



_______________________________________________
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

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