Mailing List Archive

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


_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: xen SUSE 9.3 ReiserFS domU not finding root fs [ In reply to ]
On 5/13/05, Daniel Netzer | zeroconcept.de <daniel.netzer@zeroconcept.de> 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.

--
Bye,
Fernando Maior
LPIC/1 31908

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: xen SUSE 9.3 ReiserFS domU not finding root fs [ In reply to ]
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@zeroconcept.de> 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@lists.xensource.com
http://lists.xensource.com/xen-users
Re: xen SUSE 9.3 ReiserFS domU not finding root fs [ In reply to ]
On 5/13/05, Daniel <daniel@kerozene.de> wrote:
> 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@zeroconcept.de> 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.

Hmm,

I do not use Xen from stock SUSE 9.3, I am using SuSE 9.2 Professional
with Xen compiled from source. And do not have any problems. Far, far
away from what people are saying in this list. The only thing I did different
was to include iptables modules into the domU kernels.

--
Bye,
Fernando Maior
LPIC/1 31908

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: xen SUSE 9.3 ReiserFS domU not finding root fs [ In reply to ]
On 7/3/05, 田冠华 <tianguanhua@ncic.ac.cn> wrote:
> Hi
> I want to ask a question, You are setuping SuSE on Xen, does SuSE need any special hardware request to run under Xen ?
> I have some PCs ,just common PC ,can I try to run SuSE with Xen on common PSs,? Do I have some special hardware to do it ? On what hardware do you did it ?
>
> I am looking forward to your guide.
>
> ----- Original Message -----
> From: "Fernando Maior" <fernando.souto.maior@gmail.com>
> To: <xen-users@lists.xensource.com>
> Sent: Saturday, May 14, 2005 3:21 AM
> Subject: Re: [Xen-users] xen SUSE 9.3 ReiserFS domU not finding root fs
>
>
> On 5/13/05, Daniel Netzer | zeroconcept.de <daniel.netzer@zeroconcept.de> 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.
>
> --
> Bye,
> Fernando Maior
> LPIC/1 31908
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
>

Hi,

I am not using any special hardware to run Xen on SuSE 9.2
Professional. I just installed SuSE 9.2 into the Intel P4 2.4Ghz
with 1GB RAM and about 40GB disk. The amount of RAM is
what limits the number of xen domains running in the hardware.

And I am not using Xen from SuSE, instead I downloaded the
tar gz package and installed from source. Far better, IMO.

--
Bye,
Fernando Maior
LPIC/1 31908
Re: xen SUSE 9.3 ReiserFS domU not finding root fs [ In reply to ]
Everything is fine with my Suse93/XEN now. I used the rpms on the DVD and used
file-backed (lopp-mounted) domU. That was a mistake. Lots of trouble with yast
"installing into a directory for XEN" module.

Now I use LVM and everything works. BUT after using yast for installing into a
directory for XEN I had to MANUALLY COPY initrd-xen and kernel-xen to the newly
created domU filesystem (have a look for the links in /boot - mine pointed to
"nowhere"). After inserting "initrd-xen" everything is ok now.

Hope that helps
Dan



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