xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Bei Guan <gbtju85@gmail.com>
To: Ian Campbell <Ian.Campbell@eu.citrix.com>
Cc: Xen Devel <xen-devel@lists.xensource.com>,
	Andrei Warkentin <andreiw@motorola.com>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Re: pvops Domain 0 Creased when boot Xen-unstable on Ubuntu10.04
Date: Wed, 18 May 2011 00:43:36 +0800	[thread overview]
Message-ID: <BANLkTinXLqpn4yOz9JAKd0Ke0dKZns1yXw@mail.gmail.com> (raw)
In-Reply-To: <1305647376.20907.69.camel@zakaz.uk.xensource.com>


[-- Attachment #1.1: Type: text/plain, Size: 3882 bytes --]

2011/5/17 Ian Campbell <Ian.Campbell@eu.citrix.com>

> On Tue, 2011-05-17 at 16:48 +0100, Bei Guan wrote:
> >
> >
> > 2011/5/17 Ian Campbell <Ian.Campbell@citrix.com>
> >
> >         On Tue, 2011-05-17 at 16:27 +0100, Bei Guan wrote:
> >         >
> >         >
> >         > 2011/5/17 Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
> >         >         > 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.
> >
> >
> >
>
>
>

[-- Attachment #1.2: Type: text/html, Size: 5424 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

  reply	other threads:[~2011-05-17 16:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-16 17:42 pvops Domain 0 Creased when boot Xen-unstable on Ubuntu10.04 Bei Guan
2011-05-16 17:53 ` Konrad Rzeszutek Wilk
2011-05-17 14:39   ` Bei Guan
2011-05-17 14:44     ` Konrad Rzeszutek Wilk
2011-05-17 15:27       ` Bei Guan
2011-05-17 15:34         ` Ian Campbell
2011-05-17 15:48           ` Bei Guan
2011-05-17 15:49             ` Ian Campbell
2011-05-17 16:43               ` Bei Guan [this message]
2011-05-17 21:40                 ` Todd Deshane
2011-05-18  7:13                   ` Bei Guan
2011-05-18  7:25                     ` Ian Campbell
2011-05-18  7:43                       ` Bei Guan
2011-05-18  8:11                         ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTinXLqpn4yOz9JAKd0Ke0dKZns1yXw@mail.gmail.com \
    --to=gbtju85@gmail.com \
    --cc=Ian.Campbell@eu.citrix.com \
    --cc=andreiw@motorola.com \
    --cc=konrad.wilk@oracle.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).