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: "Mark Williamson" <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Xen doesnt recognize my root fs, while native kernel can ???
From: "pradeep singh rautela" <rautelap@xxxxxxxxx>
Date: Thu, 14 Jun 2007 21:50:27 +0530
Cc: "Petersson, Mats" <Mats.Petersson@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir@xxxxxxxxxxxxx>, Jun Koi <junkoi2004@xxxxxxxxx>
Delivery-date: Thu, 14 Jun 2007 09:18:37 -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=re0Nkq8tOfQjZjKjoxkgcS8M3hU4RzHCPCZS6kAJmQii3J8S+xQeNP7pR0yhJua6Z8TWfyn5nQJGje32GRx1OnwMvQr/OI3ijv+oqz7LmIJy1/0KIt3qHd5CkjOsHSpqpCyxM3/DQna8N+4fv/Mx+HcLnuCm7HF4ZKDVm6InB9k=
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=ZnL/CFWA6YVa5/5A5mDbqCQpxfQJvyqAp5U5fbQ0X7huQ2CFBsHvr/ciXMMByKILdxncTJXn9miCU+v/DmEwtIgArbkMH3gnWlPMzCPTryWftS0YvwLXsvsl4BY0DaqPZVLekcjGfE+Xo2AW+b3a+mZ3Vbw+okqTCDOl5EYC2LE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200706131723.05048.mark.williamson@xxxxxxxxxxxx>
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: <C2957B26.10947%keir@xxxxxxxxxxxxx> <907625E08839C4409CE5768403633E0B02561E00@xxxxxxxxxxxxxxxxx> <fdaac4d50706130256g5591d339jf4699b5340075975@xxxxxxxxxxxxxx> <200706131723.05048.mark.williamson@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi All,

Why am i getting screenshot sent by Jun now after almost more than 24
hours late?

Something wrong somewhere ?

Any help?

thanks
--psr

On 6/13/07, Mark Williamson <mark.williamson@xxxxxxxxxxxx> wrote:
> What a shame!!! I think I should go hanging myself!!!
>
> Good bye forever! Best wishes to you and Xen project!!!!!

Don't worry, I do that sort of thing all the time.

In fact, I'd bet that anybody who does any significant amount of advanced Xen
development occasionally realises that the reason his cunning new feature
ain't working is because he was doing something basic like booting the wrong
kernel image, passing wrong args, etc.

Good luck with whatever you're planning for Xen :-)

Cheers,
Mark

>
> Jun
>
> On 6/13/07, Petersson, Mats <Mats.Petersson@xxxxxxx> wrote:
> > > -----Original Message-----
> > > From: Keir Fraser [mailto:keir@xxxxxxxxxxxxx]
> > > Sent: 13 June 2007 10:45
> > > To: Jun Koi; Petersson, Mats
> > > Cc: xen-devel
> > > Subject: Re: [Xen-devel] Xen doesnt recognize my root fs,
> > > while native kernel can ???
> > >
> > >
> > > That's fine. My conclusion is that this is user error: you
> > > are trying to
> > > mount /boot/sda2 and you actually mean /dev/sda2.
> >
> > Well spotted. I just expected it to say "/dev/" rather than "/boot/".
> >
> > --
> > Mats
> >
> > >  -- Keir
> > >
> > > On 13/6/07 10:21, "Jun Koi" <junkoi2004@xxxxxxxxx> wrote:
> > > > Here is the screenshot taken with a digital camera. I hope
> > >
> > > the screen
> > >
> > > > is clear enough for you to see.
> > > >
> > > > Thanks,
> > > > Jun
> > > >
> > > > On 6/13/07, Jun Koi <junkoi2004@xxxxxxxxx> wrote:
> > > >> 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



--
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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



--
---
pradeep singh rautela

"Genius is 1% inspiration, and 99% perspiration" - not me :)

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