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] xen SUSE 9.3 ReiserFS domU not finding root fs

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] xen SUSE 9.3 ReiserFS domU not finding root fs
From: Daniel <daniel@xxxxxxxxxxx>
Date: Sat, 14 May 2005 00:29:42 +0200
Delivery-date: Fri, 13 May 2005 22:29:21 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <6a7b2d5405051312214ee886cf@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: <4284F40C.2010506@xxxxxxxxxxxxxx> <6a7b2d5405051312214ee886cf@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
Thanks for your help!
That line "INITRD_MODULES="reiserfs" is in /etc/sysconfig/kernel the module seems to be loaded:

...
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
Loading kernel/drivers/ide/pci/piix.ko
Loading kernel/drivers/scsi/aic7xxx/aic7xxx.ko
Loading kernel/drivers/scsi/megaraid.ko
Loading kernel/drivers/ide/ide-disk.ko
Loading kernel/drivers/cdrom/cdrom.ko
Loading kernel/drivers/ide/ide-cd.ko
Loading kernel/fs/reiserfs/reiserfs.ko
Waiting for device /dev/sda1 to appear:  ok
rootfs:  major=8 minor=1 devn=2049
Mounting root /dev/sda1
mount: No such device
Kernel panic - not syncing: Attempted to kill init!
<0>Rebooting in 1 seconds..

but something still goes wrong. Anybody uses XEN from the stock suse 9.3 with reiserfs? Is it correct to specify initrd for xen in the config file like this: ramdisk = "/boot/initrd-2.6.11.4-20a-xen"?

thanks,
dan



On 5/13/05, Daniel Netzer | zeroconcept.de <daniel.netzer@xxxxxxxxxxxxxx> wrote:

Hi,

I have trouble starting my domU on a suse 9.3 box. I use the xen that
shipped with suse.

I use file backed VMs and created the root and swap images. I used
mkreiserfs to format the image file and installed suse 9.3 via the YaST
module "install into directory for XEN". finally I created /etc/fstab IN
the loop mounted image file:

/dev/sda1            /                    reiserfs   defaults
   1 1
/dev/sda2            swap                 swap       pri=42
   0 0
devpts               /dev/pts             devpts     mode=0620,gid=5
   0 0
proc                 /proc                proc       defaults
   0 0

If I boot such a domU  - it panics while booting saying something like:
"Not syncing root file system - rebooting in <1>". If I use an image
file which was formatted with ext3 (again adjusted the /etc/fstab)
everything works fine and SUSE is booting. After a closer look I noticed
that the ext3 filesystem is used in ext2 mode only.

How do I use ReiserFS for my unprivileged Domains? Do I need an initrd?
How do I configure it? I tried the /boot/initrd-xen from suse and used
the following line in my config but it doesn´t seem to work too:

ramdisk = "/boot/initrd-xen"

Can anybody help?

thanks a lot!
Daniel


Is it possible your dom0 initrd is not loading reiserfs module? First look is at the /etc/sysconfig/kernel in your dom0 root file system. Mount it
and look at that file, there should be a line like:

INITRD_MODULES="reiserfs"

Also, there was a thread in the list this week about problems with the
mkinitrd, where the mkinitrd just kept using the modules for the old non-xen kernel, instead of the xen kernel. Gerd Knorr is one of the
participants.





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

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