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] supported distributions

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] supported distributions
From: Arijit Ganguly <aganguly@xxxxxxxxx>
Date: Tue, 7 Jun 2005 17:42:09 -0700
Delivery-date: Wed, 08 Jun 2005 00:41:24 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=p0ylvRQV1mGiAAwCEbUB1zfAc+xATNpEsNirQIRJxYeIFjNv0p2QXJ+jxi7tgStaKa6DzqBaqYBEBAokJC/6ePs2uXaCw/Ka2Lr+A52S+5XuekXEI+Rd+WCsiDx9X4eKc57QAXL8kj0ceh5Jb1EVxjqjFTfjimYTwRn/0nnvgeM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42A60EEA.7030005@xxxxxxxxxxxxxxxx>
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: <3e8ac0bf0506071341712ae1bb@xxxxxxxxxxxxxx> <42A60EEA.7030005@xxxxxxxxxxxxxxxx>
Reply-to: Arijit Ganguly <aganguly@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I rebuilt my custom kernel, with extensive support for RAID.
I am still not able to boot XenLinux.

These are the last few lines that I see before the system reboots.

md: autodetecting RAID arrays
md: autorun DONE
Root-NFS: No NFS server available
VFS: unable to mount rootsfs via NFS, trying floppy
VFS: insert root floppy and press enter
Cannot open root=sda5 or unknown block(2,0)

One another note my boot device is /dev/sda5, just to make sure that Xen may have issues with extended and primary partitions.

any clues.



On 6/7/05, Mark Porter <mark@xxxxxxxxxxxxxxxx> wrote:
If  you used the xen installer, it installed a kernel with very limited
support for block devices. It looks like you are using at least a SCSI
HBA or maybe even a RAID controller. The driver for this interface is
probably not in the default kernel. Most distributions either install a
kernel with the driver for your hardware built-in or  an initial ram
disk image with the driver.

The easiest solution is to
    download the source, and expand the xen-2.0 directory
    cd to the xen-2.0 directory and run "make world"
    cd into the linux-2.6.11-xen0 directory and run "make ARCH=xen
xconfig" (or menuconfig if you don't have X)
    build whatever drivers you need  for the hard drives into the
kernel, make modules for everything else (usb support, other
filesystems, network cards, etc)
    cd ../ to the xen-2.0 directory
    run "make install"

That should build and install your custom kernel.

Good luck,

Arijit Ganguly wrote:

>I was wondering what distributions of linux are supported inside Xen. I
>built the Xen kernel image on my Red Hat Enterprise 3 machine, and then
>specify the menu.conf entry as:
>title Xen
>kernel xen.gz dom0_mem=128000
>module vmlinuz-2.6.10-xen0 root=/dev/sda6 ro console=tty0
>When I boot this image, I get an error like
>unable to mount root sda6
>Ithe Red Hat Enterprise3 image however mounts it perfectly fine.
>My machine is dell pe1800 dual processor (server class). i hope Xen is not
>just confined to desktops, because it wrked fine on a debian desktop.
>Xen-users mailing list

Xen-users mailing list