[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] Xen doesnt recognize my root fs, while native kernel can ???


  • To: "Jun Koi" <junkoi2004@xxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.