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: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Subject: Re: [Xen-devel] Xen doesnt recognize my root fs, while native kernel can ???
From: "Jun Koi" <junkoi2004@xxxxxxxxx>
Date: Wed, 13 Jun 2007 18:14:37 +0900
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 13 Jun 2007 02:12:36 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bc6ZxtlhVqbHRXGCYUK6YKSLhmlA4T6cTKEV9n+JNu7Et2mn+T353lgGzvom8hVMDa9tN5SVbN6CEHVMcf9zj6yt8s+oDgHoei324xF8HgMaIqIypKKcuIiI1zVmmsBJ2cPHoS3dyxN0UUPeXHXbVvRP7lgN9Kw2tYypX6VVijE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=d1AUFnTuV0j4sFUD8IA2mBWba6J8zSnTKwXfZ3ecA/v6Hu8q8mC4MIknJa8OWWbl6kJ+r2pKz/Ux58CxJr0CJomXplplcDtCKl5pSAWzbhXKQ7JapJoO10Yq7IRDQ5RQHKqeurdtN97vjOhe4u3VKm3e7CCUsD0KFHznms2rOSk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B02561DFD@xxxxxxxxxxxxxxxxx>
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>
References: <fdaac4d50706130154x26588d4dv3a21f8bef43641ad@xxxxxxxxxxxxxx> <907625E08839C4409CE5768403633E0B02561DFD@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Mats,

On 6/13/07, Petersson, Mats <Mats.Petersson@xxxxxxx> wrote:


> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Jun Koi
> Sent: 13 June 2007 09:54
> To: Keir Fraser
> Cc: xen-devel
> Subject: Re: [Xen-devel] Xen doesnt recognize my root fs,
> while native kernel can ???
>
> On 6/13/07, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:
> > On 13/6/07 08:49, "Jun Koi" <junkoi2004@xxxxxxxxx> wrote:
> >
> > >>> The point is that Xen doesnt boot in the first place,
> so I cannot
> > >>> provide xm dmesg!
> > >>>
> > >>> Below is the output from dmesg (native kernel) and
> Dom0's .config.
> > >>> Anything else do you need?
> > >>
> > >> Can you get a serial line on the machine?
> > >
> > > Opps, that is compicated, as I dont have a cable to do that.
> > >
> > > So if you have no suggestion, perhaps I must try this
> way. But perhaps
> > > it take more than a week, as I am away in few days.
> >
> > There's a decent chance that comparing the two dmesg
> outputs will show some
> > important deviation in the case of running on Xen that is
> causing the boot
> > failure. Without the failing output it's hard to know where to start
> > looking.
> >
>
> I see, but can you imagine some reasons why that happens?  It makes
> absolute no sense to me.

There are lots of possible reasons. The most likely is that your kernel
in the native has drivers that are not part of the Xen default
configuration.

The other very common problem is that you don't have those necessary
drivers in the "initrd" for your Xen. This is a problem that is posted
about three times a week (at least) on the Xen Users mailing list [where
this problem probably should be discussed - but I think since it's
started here, we'll keep it here].


No, that is not a reason in my case. I did it this way:
- Native kernel (2.6.18) is compiled with all the necessary drivers
built-in. That means I dont need initrd to boot my machine with this
kernel. And it boots well.
- I copied the .config of native kernel above to Dom0, and compile
Dom0 with this option. (Of course before compiling, I enabled Xen
option, as you can see in the .config of Dom0 I sent in the last
mail). Again this time I dont need initrd.

So it is logical that Dom0 must boot, but it fails actually. That is
why I find the situation very strange.


> I have found that my machine has no serial port, so perhaps I must buy
> a serial card to debug this problem. Wonder if there is another way to
> avoid that (?)
If you have a digital camera and you add "noreboot" to the commandline
of "xen.gz" in your grub configuration, maybe you can upload (to some
photo-web-site or such) a screen-shot of the final few lines of the boot
and send a link to the list - that may not give all clues, but at least
it will indicate what's going on.

OK, I will do that, as it is not desired to buy a serial card :-)

Thanks,
Jun

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

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