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

Re: [Xen-users] Kernel panic - not syncing: VFS: Unable to mount root fs

To: Sateesh Babu <sateesh.kavuri@xxxxxxxxx>
Subject: Re: [Xen-users] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8, 1)
From: Jon Reynolds <jonr@xxxxxxxxxx>
Date: Tue, 01 Jan 2008 10:57:16 -0900
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 01 Jan 2008 11:58:17 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <8f474300801010559k5a7887cco43ce07f9a87b3cb8@xxxxxxxxxxxxxx>
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>
References: <8f474300801010559k5a7887cco43ce07f9a87b3cb8@xxxxxxxxxxxxxx>
Reply-to: jonr@xxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (X11/20071031)
Sateesh Babu wrote:
Hello,

I have seen a similar post about the "Kernel panic - not syncing: VFS:
Unable to mount root fs on unknown-block(8,1)" problem in the mailing
list, but no one has posted the solution. So, asking it agian.

I am facing problems in creating new virtual machine. I have installed
Xen3.0 using apt-get on Ubuntu (dom0) and it starts up fine.

Following is my vm config file:
------------
name="vm01"
kernel="/boot/vmlinuz-2.6.22-14-xen"
root="/dev/sda1"
memory=128
disk=['file:/vserver/images/vm01.img,sda1,w']

# network
#vif=[ '' ]
dhcp="off"
ip="192.168.0.3"
netmask="255.255.255.0"
gateway="192.168.0.1"
hostname="kavuri"

extra="3"
------------

When I try to start the virtual machine vm01, I get an error mount
error as under:

-------------
[49158.057862] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[49158.057972] io scheduler noop registered
[49158.057976] io scheduler anticipatory registered
[49158.057980] io scheduler deadline registered
[49158.057994] io scheduler cfq registered (default)
[49158.075321] Real Time Clock Driver v1.12ac
[49158.075759] RAMDISK driver initialized: 16 RAM disks of 65536K size
1024 blocksize
[49158.075918] input: Macintosh mouse button emulation as /class/input/input0
[49158.075956] xencons_init: Initializing xen vfb; pass xencons=tty to
prevent this
[49158.076010] Xen virtual console successfully installed as xvc0
[49158.076038] Event-channel device installed.
[49158.085815] netfront: Initialising virtual ethernet driver.
[49158.086075] PNP: No PS/2 controller found. Probing ports directly.
[49158.086896] i8042.c: No controller found.
[49158.086986] mice: PS/2 mouse device common for all mice
[49158.087104] TCP cubic registered
[49158.087125] NET: Registered protocol family 1
[49158.087152] Using IPI No-Shortcut mode
[49158.088922] xen-vbd: registered block device major 8
[49158.088940] blkfront: sda1: barriers enabled
[49158.184271] XENBUS: Device with no driver: device/console/0
[49158.184771] List of all partitions:
[49158.184779] 0801    1024000 sda1 driver: vbd
[49158.184783] No filesystem could mount root, tried:  cramfs
[49158.184790] Kernel panic - not syncing: VFS: Unable to mount root
fs on unknown-block(8,1)
---------------

You need to create an initramfs or initrd file and add the filesystem to it. Then add a module stanza in your menu.lst file.

Hope this helps,

Jon


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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