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@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] pvops Domain 0 Creased when boot Xen-unstable on Ubuntu10.04
From: Bei Guan <gbtju85@xxxxxxxxx>
Date: Wed, 18 May 2011 00:43:36 +0800
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Andrei Warkentin <andreiw@xxxxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Tue, 17 May 2011 09:44:25 -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=NkNDdjTD/Yaq3u+eomD1AENejAcajh9tr4S9wIAfBX8=; b=KiL4MUv2KsH2iT3rgoet1jbmk20vZ5to0NI8CsC+J2I0kYxsT7i96Fag22koDDzNdD wJgDjNSPVm5bws0+D+2peT2pgT7ItRpCzIQP1b65LapxoUocIz8o8h1mbKPyPVJ239EH Zy54r5mhV3ZR1TNpfFmgd4aAT1oJ2YbMcMvJo=
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=HuJQrL618AOrS1bBr3SG717it86viVktVeQvXxAIL8LqNUEP92Jc80ac0HsrgSlOOA BnIbgA/Saw2yvM5N5K7QVoA6zGtPcp1nzjJq75Mr5TMvUTzn4jCqU2Z6QZN8qKqMi0yF xVp7K/yFY/EsVtHDasIM347EsUEngtunLFNEQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1305647376.20907.69.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> <BANLkTimj+dwD0YT=qh1zHH8K+7=CgM-v-A@xxxxxxxxxxxxxx> <1305647376.20907.69.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx


2011/5/17 Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
On Tue, 2011-05-17 at 16:48 +0100, Bei Guan wrote:
>
>
> 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.

It's a minimal Linux environment, you should have e.g. "ls" and "cat".
Try and find the mount command which is failing.

I did the following command to find the failed mount command. But, it seems can't find that. So, is there any problem with my steps and what other work can I do? 

(initramfs) dmeg | grep mount
(initramfs) 

(initramfs) cat /proc/mounts
rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
none /proc proc rw,nosuid,nodev,noexec,relatime 0 0
none /dev tmpfs rw,relatime,mode=755 0 0
none /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0
(initramfs) 


Thanks,
Bei Guan
 

Ian.
>
>
>
>
>         Ian.
>
>
>



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