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-devel

Re: [Xen-devel] xen and reiserfs

To: Jim Martin <jamesm@xxxxxxx>
Subject: Re: [Xen-devel] xen and reiserfs
From: Robin Green <greenrd@xxxxxxxxxxxxx>
Date: Mon, 21 Feb 2005 10:58:55 -0500 (EST)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 21 Feb 2005 16:03:16 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <4219FE14.20605@xxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <4219FE14.20605@xxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
On Mon, 21 Feb 2005, Jim Martin wrote:
Hi
I'm running Xen on Fedora core 3...
uname -a
Linux groucho 2.6.10-1.1148_FC4xen0 #1 SMP Sat Feb 19 15:15:24 EST 2005 i686 i686 i386 GNU/Linux

# xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0      121    0  r----    140.9

What I'm trying to do is get SuSE 9.2 to come up in it's own domain..
/dev/hda2 = root for FC-3
/dev/hdb2 = root for SuSE 9.2

My config file in /etc/xen (suse)
# cat suse
kernel ="/boot/vmlinuz-2.6.10-1.1148_FC4xenU"
memory = 64
name = "suse"
nics = 1
disk = ['phy:hdb2,hdb2,w']
root = "/dev/hdb2 ro"

My problem...
When I run 'xm create -c suse' everything seems fine right up to the point of
mounting root and I get this error:
md: ... autorun DONE.
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,66)
<0>Rebooting in 1 seconds..

This is a reiserfs /dev/hdb2 - does this xen kernel support reiserfs ?
Or is my config file wrong ?

Xen kernels have no problem with reiserfs (indeed, they should work with any filesystem). Your problem is due to the fact that you are booting with
a Fedora kernel, which unlike (IIRC) the suse kernels, has reiserfs as a
module, not compiled in.

Not to worry, all you have to do is add an initrd line. Unfortunately,
the kernel-xenU package from Fedora does not currently ship with an initrd, so I think you'll have to build one yourself. Try this command
(I haven't tested it, but it should work):

 mkinitrd /boot/initrd-2.6.10-1.1148_FC4xenU.img 2.6.10-1.1148_FC4xenU

Then add

 ramdisk=/boot/initrd-2.6.10-1.1148_FC4xenU.img

to your config file in /etc/xen.

The kernel will load the necessary module(s) automatically so it should
not be necessary to modify the initrd produced by mkinitrd.

Hope this helps,
--
Robin


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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