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/
Home Products Support Community News


Re: [Xen-users] Boot Problem with XEN 3.1.

Subject: Re: [Xen-users] Boot Problem with XEN 3.1.
From: Paradox <paradox@xxxxxxxxxxx>
Date: Mon, 17 Sep 2007 00:59:10 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 16 Sep 2007 15:59:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1189909454.7100.11.camel@xxxxxxxxxxxxxxxxxxxxx>
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: <46EC4ACA.6000201@xxxxxxxxxxx> <1189909454.7100.11.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060427 Debian/1.7.13-0ubuntu04.10
TNX Tim!

I try to create a initrd like this command:

mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod -o initrd-2.6.18-xen.img -m 2.6.18-xen

Now seems to be XEN start but after memory message and little count down I received another error about "/etc/fstab file not found" and "no /sbin/init found on rootdev (or not mouted!)".

I can't past precise error because xen reboot system...argh...I think that initrd is bad builded!! Any modules is present in lib under initrd-tree and kernel dir in /initrd-tree/lib is relative to kernel....it would not have to be relative to xen kernel?

You have any idea? initrd bad sure....

TNX again for you help!

Best Regards

Tim Post wrote:

On Sat, 2007-09-15 at 23:12 +0200, Paradox wrote:
Hi to all.

I'm installed XEN3.1 correctly but I'm some problem to start it. XEN start but I received this message:

VFS: Cannot open root device "hda5" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

This is strange because my grub is configured like this:

 title XEN3.1-2.6.18
 #root (hd0,4)
 kernel (hd0,4)/boot/xen-3.1.gz dom0_mem=262144
 module (hd0,4)/boot/vmlinuz-2.6-xen root=/dev/hda5 ro console=tty0

Do you need an initrd? It looks like your kernel is not able to access
whatever type of disk /dev/hda5 is.

I use the following modules on my machine when making the initrd,
booting to IDE drives as well:


This lets me access all of the partitions that I need to continue
booting, at which point I pick up device mapper modules and LVM. Likely,
you don't need jfs.
I say "strange" because I have a slack partition (is logical partition) that start well and is configured like this:

 title Slack-
 root (hd0,4)
 kernel (hd0,4)/boot/vmlinuz-huge- root=/dev/hda5 ro vga=773

Yes, this is strange. The only explanation is the kernels being built a
little differently. Likely, your kernel has the modules listed
above (or whatever modules are needed to boot) built in, not needing the
modules or initrd any longer.

XEN kernel is installed under this slack partition, so root option is correctly.

You can help me?

Hope so :) You can try a menuconfig on your Xen kernel and build the
generic IDE stuff without modular support, or try an initrd.

I'm quite happy with the performance of the generic IDE drivers. If you
have a special chip set or controller, you might want to find better
drivers. The above should get you booting at least.

Hope this helps :)


Xen-users mailing list