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: Todd Deshane <todd.deshane@xxxxxxx>
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 15:13:55 +0800
Cc: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Andrei Warkentin <andreiw@xxxxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Wed, 18 May 2011 00:14:40 -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=jf1Vq+d8JJDN8EzsVjS67Eq9FvHW5KH7e7lOc+OW+30=; b=THMl/tXswAsNucuz5b7sm71XjPzjx9GQTQcwcK8GV3lFAzjcEde7HlLLivTaIfl2L8 jLYVv8ts0eNUTZaQePqVEqEFz5ATNyu/GyjSeTTicAXOPd8s/Xq49N3z4/oCD14HWbwS ez6yfQDdTWNDuuC3FkaDeoxDOHakRn4tHGGSU=
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=hFFozr956r/UGpQKiSsZMBUZXJ5dsPmD7HVWugd85OUTjfaC5ZqZivSOL+QbYEHP6i YFJBBJE3/kmR3QdbSuUzfKI+tD7Y8wLIYwRd1klhxIZZoAvF5YtpO0NpGherJZSnLxy1 AWNs68ykG6vTgzRwt4Jhd8fU3+VqscygH6apY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTi=4tWusEnOWChDbm-i0y4tMmeO6hw@xxxxxxxxxxxxxx>
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> <BANLkTinXLqpn4yOz9JAKd0Ke0dKZns1yXw@xxxxxxxxxxxxxx> <BANLkTi=4tWusEnOWChDbm-i0y4tMmeO6hw@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx


2011/5/18 Todd Deshane <todd.deshane@xxxxxxx>
On Tue, May 17, 2011 at 12:43 PM, Bei Guan <gbtju85@xxxxxxxxx> wrote:
>
>> >         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?

When you get dropped into the minimal (initramfs) prompt it gives you
some good suggestions.

For example. You can do  "ls /dev" and "cat /proc/modules" and you can
probably even try to run a mount command maybe. You can also
double-check things like "cat /proc/cmdline", etc.

See if you can determine what devices in /dev are actually available,
such as your sda, hda, or xvda devices.

Some boot information got from initramfs is list below. It seems that the /dev/sda9 is available, but there no drivers module in /proc/modules. I also can't mount /dev/sda9 to other directory. So, what's the problem with it? And if a device that need to be mount can't be found in the /dev, what should I do to make it available?


(initramfs) cat /proc/cmdline
nopat root=/dev/sda9 ro console=tty0 console=ttyS0,115200n8 console=hvc0 earlyprintk=xen nomodeset initcall_debug debug loglevel=10

(initramfs) ls /dev
console              ttyS1               hvc6                tty41
null                    ttyS2               hvc7                tty44
pts                    ttyS3               ptmx                tty43
loop0                 rtc0                 tty                 bsg
block                 rtc                   tty0                sg1
loop1                 hidraw0           tty1                tty46
loop3                 ttyS0               tty10               tty45
loop4                 cpu                 tty11               tty47
loop5                 sda                 tty12               tty48
loop2                 disk                tty13               tty49
loop7                 full                  tty14               tty5
ram10                kmem             tty15               tty50
ram7                  kmsg              tty16               tty51
loop6                  mem              tty17               tty52
ram1                  oldmem           tty18               tty53
ram0                   port                tty19               tty54
ram13                 random           tty2                tty55
ram11                 urandom         tty20               tty56
ram3                   zero               tty21               tty57
ram12                 autofs             tty22               tty58
ram15                 blktap-control  tty23               tty59
ram14                 cpu_dma_latency     tty24       tty6
ram9                  mapper            tty26               tty60
ram2                  mcelog             tty27               tty62
ram5                  hpet                 tty28               tty61
ram4                  network_latency        tty29       tty7
ram8                  network_throughput   tty3         tty63
ram6                  rfkill                  tty30               tty9
input                  snapshot           tty32               tty8
char                   net                    tty31               vcs
usbmon3            vga_arbiter         tty25               usbmon0
bus                    watchdog           sr0                 vcsa
adsp                  nvram                scd0                vcs1
audio                  xen                   tty35               vcsa1
dsp                    sequencer          tty36               sda8
snd                     sequencer2       tty34               sda2
mixer                  hvc0                  tty37               sda7
usbmon1             hvc1                  tty33               sda5
usbmon4             hvc2                  tty39               sda6
usbmon5             hidraw1              tty38               sda9
usbmon6             hvc3                  tty4                 sda1
usbmon7             hvc4                  tty42
usbmon2             hvc5                  tty40
(initramfs) cat /proc/modules
(initramfs) 

(initramfs) mount -o /dev/sda9 /root
mount: cannot read /etc/fstab: No such file or directory
(initramfs) ls /etc
modprobe.d     default        lvm            console-setup  udev
(initramfs) fstype /dev/sda9
FSTYPE=ext4dev
FSSIZE=33738981376

(initramfs) ls /
dev      lib64    var      init     conf     scripts  proc
root     lib      bin      etc      sbin     sys      tmp


Thanks
Bei Guan
 

Hope that helps.

Thanks,
Todd

> (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
>
>



--
Todd Deshane
http://www.linkedin.com/in/deshantm
http://www.xen.org/products/cloudxen.html
http://runningxen.com/

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