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 doesnt recognize my root fs, while native kernel can

To: "Jun Koi" <junkoi2004@xxxxxxxxx>
Subject: RE: [Xen-devel] Xen doesnt recognize my root fs, while native kernel can ???
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Wed, 13 Jun 2007 11:49:27 +0200
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 13 Jun 2007 02:48:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <fdaac4d50706130237s5d9a3417l8d3ed8f58ce55a89@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcetnoXMd0ssapCsQTCv7U67y+geEAAAFVbA
Thread-topic: [Xen-devel] Xen doesnt recognize my root fs, while native kernel can ???
 

> -----Original Message-----
> From: Jun Koi [mailto:junkoi2004@xxxxxxxxx] 
> Sent: 13 June 2007 10:37
> To: Petersson, Mats
> Cc: Keir Fraser; xen-devel
> Subject: Re: [Xen-devel] Xen doesnt recognize my root fs, 
> while native kernel can ???
> 
> On 6/13/07, Petersson, Mats <Mats.Petersson@xxxxxxx> wrote:
> >
> >
> > > -----Original Message-----
> > > From: Jun Koi [mailto:junkoi2004@xxxxxxxxx]
> > > Sent: 13 June 2007 10:22
> > > To: Petersson, Mats
> > > Cc: Keir Fraser; xen-devel
> > > Subject: Re: [Xen-devel] Xen doesnt recognize my root fs,
> > > while native kernel can ???
> > >
> > > Here is the screenshot taken with a digital camera. I 
> hope the screen
> > > is clear enough for you to see.
> >
> > It seems like it's loading the driver for that disk and 
> recognising it,
> > which leaves two possible likely options:
> 
> > 1. You don't have the filesystem driver for the fs on the /dev/sda2
> > 2. You don't have "/dev/sda2" although the driver for it is loaded
> > [maybe you need something like udev installed to create the device?]
> >
> 
> OK, but why the same kernel option with native kernel boots my machine
> well? It detects the same /dev/sda2.
> 
> Do you see my point?

I do see your point. I'm just following the evidence on your screen -
which of course may be misleading, but without further information of
some sort, that's what the current evidence shows. I just realized that
Keir has spotted the REAL problem in this case tho'. 

Note that different distributions have different add-ons (extra patches
to the kernel itself) in the kernel that they distribute. Xen uses the
standard kernel.org kernel, and there is sometimes a difference in that.

As a side not (in regards to the comments about using initrd), I have
found that there's less problems with that approach than using "kernel
builtin", simply for the reason that I don't have to figure out which
parts I need to compile in on a particular machine to make it work -
instead, I create an initrd on the machine I use Xen, and select
(almost) all different drivers and filesystems as my config. Since
unused modules only take up a bit of disk-space (and I usually have a
large enough disk that a few megabytes doesn't really matter much), I
don't have to select just the right ones.


--
Mats
> 
> Thanks,
> Jun
> 
> 
> 



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

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