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] pvops Domain 0 Creased when boot Xen-unstable on Ubuntu1

To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] pvops Domain 0 Creased when boot Xen-unstable on Ubuntu10.04
From: Bei Guan <gbtju85@xxxxxxxxx>
Date: Tue, 17 May 2011 23:48:07 +0800
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Andrei Warkentin <andreiw@xxxxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Tue, 17 May 2011 08:49:02 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=j09OhL5F/dWfIetDGMlnY3Io4JqjPA9tFct2EJuVNyc=; b=x/wTMSlMCj6GlODIuEsFUmoW1Xg2oa98eYO9MU4YaNIvfsXDizeE7lwbJmOtdykSXO +xeIbdJw6ErPBVq+6B8GUUNRRDCfPz0Cs6XfMXliDuWxRkInkpPZkzJEx4Y3FttIla1T hrYWPHPlED/IiTaefZnyVpNPtwrxL6Bc3UqBc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=MUbSZod5/q4EMSuhdWAiq9k+9+I15WwwIEOz73jL5pFif4QmnUAmOmv1uxWlAlbYQ8 VADQg/5mAJK2AVmPAZBfVmkjdbKrYfNY50tFoabOCZnPtwL5RnkEWZY5vfhZkIVQMJ2K nIWhwF7/1D6W8eAGxXKZoIT5wG9I7JoqP5E2c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1305646477.20907.63.camel@xxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <BANLkTimALuDSgaw_UeuC4vf+Vyfd7+Sufg@xxxxxxxxxxxxxx> <20110516175320.GA5722@xxxxxxxxxxxx> <BANLkTi=sQ0TCSG7ky2pj3QB=Heq-biuERw@xxxxxxxxxxxxxx> <20110517144421.GA7597@xxxxxxxxxxxx> <BANLkTim4AB7uwSVBaLXdNa80Oj_VWuVC_A@xxxxxxxxxxxxxx> <1305646477.20907.63.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx


2011/5/17 Ian Campbell <Ian.Campbell@xxxxxxxxxx>
On Tue, 2011-05-17 at 16:27 +0100, Bei Guan wrote:
>
>
> 2011/5/17 Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
>         > menuentry "Ubuntu_Xen 4.2 (2.6.32.28)" {
>         > recordfail
>         > insmod ext2
>         > set root='(hd0,9)'
>         > search --no-floppy --fs-uuid --set
>         59c64afa-47a8-4a5f-a4cf-dbe3be20cc15
>         >         multiboot /boot/xen.gz dom0_mem=1024M loglvl=all
>         guest_loglvl=all
>         > sync_console console_to_ring com1=115200,8n1 console=com1
>         lapic=debug
>         > apic_verbosity=debug apic=debug iommu=off
>         > module /boot/vmlinuz-2.6.32.28 nopat
>         > root=UUID=59c64afa-47a8-4a5f-a4cf-dbe3be20cc15 ro
>         console=tty0
>         > console=ttyS0,115200n8 console=hvc0 earlyprintk=xen
>         nomodeset initcall_debug
>         > debug loglevel=10
>         > module /boot/initrd.img-2.6.32.28
>         > }
>         >
>         > In the debug, there is message like this:
>         >
>         > Loading, please wait...
>         > mount: mounting none on /dev failed: No such device
>
>
>
>         So your /dev/sda is being seen. Not sure why the UUID hasn't
>         been read, but
>         you could do 'root=/dev/sdaX' where X is the correct root
>         partition.
>
>         This would replace the 'UUID=59...'.
>
> I just tried this. Because the /dev/sda9 is the root fs, so I used
> 'root=/dev/sda9' to replace the original one. But it also the same
> error as the following. Detailed is also attached.
>
>
> Loading, please wait...
> mount: mounting none on /dev failed: No such device

This is trying to mount something on /dev, presumably a TMPFS or
DEVTMPFS or similar, this fails which apparently cascades into not
finding the disk.

I suggest you have a dig into your initramfs and try and figure out what
specifically it is trying to do and what requirements your distro has
put on the kernel configuration.

You appear to be getting dumped into a debug shell within the initramfs
so you can quite easily have a poke around and see what's going on I
think.

Sorry, can you give me more detail about how to do this? What command or what others? Many thanks.

 

Ian.



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