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

Re: [Xen-devel] pvops Domain 0 Creased when boot Xen-unstable on Ubuntu10.04


  • To: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>



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

 


Rackspace

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