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] /dev/sda2 does not exist. Dropping to a shell! (Dom0: Ubuntu

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] /dev/sda2 does not exist. Dropping to a shell! (Dom0: Ubuntu 10.10, DomU: Ubuntu 10.10)
From: Hitesh Khandelwal <hitesh.iitk@xxxxxxxxx>
Date: Wed, 9 Mar 2011 19:34:37 -0500
Delivery-date: Wed, 09 Mar 2011 16:36:10 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=j5Rqp3t1dIIsMqwGb8pwwZzTcYtEHrfHlD+s8f6brC8=; b=LHG/m1OQXmZ36LXew7N0y9kxqfvhRtLd4jfx1NS8YDzh7xWNtIDeDTp84NgYHTSnWP TtIxpCUN3Q7PAPdAsaig/shi3LjJvjztS5VT/KhQ6YFyzPZZpc+bt9kL1au25CL6EiOn vz3WlkH4iBVXvUn3SQnJwreXcM27SMy6aSdgM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=pei13QKWuHrTE91Uv0L6rdHqi4lC1k85PrVzYqsyTJmVVK8gVEZEpS0DrNWe+3mZQk i4qc98z9bCHtHhdy0jxJBFY6SeoNpBHKoDtuSM1QV64XaDs0qEl/9PJ+H9j3EHc9eKyR 5gK4pt6cJumCGWo15qzHiDYuZ1JSRMjWE2t+s=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Running DomU image(Ubuntu 10.10) on Dom0(Ubuntu 10.10) shows the following error:

mount: mounting none on /dev failed: No such device
W: devtmpfs not available, falling back to tmpfs for /dev
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/sda2 does not exist.  Dropping to a shell!

BusyBox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) 


ls /dev, shows no sda module loaded. I tried with xvda as well but it also shows the same error. Here is my configuration file for DomU:

kernel = '/boot/vmlinuz-2.6.32.27'
ramdisk = '/boot/initrd-2.6.32.27.img'
vcpus       = '1'
memory      = '512'
root        = '/dev/sda2 ro'
disk        = [
                  'file:/home/hkhande/xen-image/domains/cloud-vm06/disk.img,sda2,w',
                  'file:/home/hkhande/xen-image/domains/cloud-vm06/swap.img,sda1,w',
              ]
name        = 'cloud-vm06'
vif         = [ 'ip=128.10.130.191,mac=00:16:3E:FC:B1:FD,bridge=eth2' ]
>
on_reboot   = 'restart'
on_crash    = 'restart'
extra = 'xencons=hvc'

Everything works fine with pygrub, but I need to use Dom0 xenified kernel only. I also modified /etc/initramfs-tools/modules in Dom0 to include scsi_mod, sd_mod, blkbk modules, followed by update-initramfs.


Thanks,
Hitesh

Hitesh Khandelwal | Graduate Student | Purdue University | http://www.hiteshkhandelwal.com
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users