Bei Guan
2011-May-16 17:42 UTC
[Xen-devel] pvops Domain 0 Creased when boot Xen-unstable on Ubuntu10.04
Hi All, I try to install Xen-4.2-unstable with pvops dom0 kernel(2.6.32.28) on Ubuntu10.04. But the kernel panic when I reboot. The message got with the serial debugging is as the following. And the config file of dom0 kernel is also attached. Can anyone give me some advice? And what''s the problem with my installation? Many thanks, Bei Guan __ __ _ _ ____ _ _ _ \ \/ /___ _ __ | || | |___ \ _ _ _ __ ___| |_ __ _| |__ | | ___ \ // _ \ ''_ \ | || |_ __) |__| | | | ''_ \/ __| __/ _` | ''_ \| |/ _ \ / \ __/ | | | |__ _| / __/|__| |_| | | | \__ \ || (_| | |_) | | __/ /_/\_\___|_| |_| |_|(_)_____| \__,_|_| |_|___/\__\__,_|_.__/|_|\___| (XEN) Xen version 4.2-unstable (root@) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) Mon May 16 18:47:25 HKT 2011 (XEN) Latest ChangeSet: Thu May 12 16:42:54 2011 +0100 23339:f9bb0bbea7c2 (XEN) Bootloader: GRUB 1.98-1ubuntu12 (XEN) Command line: dummy=dummy dom0_mem=2048M com1=115200,8n1 console=com1 (XEN) Video information: (XEN) VGA is text mode 80x25, font 8x16 (XEN) VBE/DDC methods: none; EDID transfer time: 0 seconds (XEN) EDID info not retrieved because no DDC retrieval method detected (XEN) Disc information: (XEN) Found 1 MBR signatures (XEN) Found 1 EDD information structures (XEN) Xen-e820 RAM map: (XEN) 0000000000000000 - 000000000009dc00 (usable) (XEN) 000000000009dc00 - 00000000000a0000 (reserved) (XEN) 00000000000d2000 - 00000000000d4000 (reserved) (XEN) 00000000000e0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 00000000bfeb0000 (usable) (XEN) 00000000bfeb0000 - 00000000bfecb000 (ACPI data) (XEN) 00000000bfecb000 - 00000000bfece000 (ACPI NVS) (XEN) 00000000bfece000 - 00000000c0000000 (reserved) (XEN) 00000000e0000000 - 00000000f0000000 (reserved) (XEN) 00000000fec00000 - 00000000fec10000 (reserved) (XEN) 00000000fed1c000 - 00000000fed20000 (reserved) (XEN) 00000000fee00000 - 00000000fee01000 (reserved) (XEN) 00000000ff000000 - 0000000100000000 (reserved) (XEN) 0000000100000000 - 0000000134000000 (usable) (XEN) ACPI: RSDP 000F61B0, 0014 (r0 PTLTD ) (XEN) ACPI: RSDT BFEC103B, 0048 (r1 LENOVO TC-2J 37 LTP 0) (XEN) ACPI: FACP BFECAE2B, 0074 (r1 LENOVO TC-2J 37 PTL 1) (XEN) ACPI: DSDT BFEC42E4, 6B47 (r1 LENOVO TC-2J 37 MSFT 100000E) (XEN) ACPI: FACS BFECDFC0, 0040 (XEN) ACPI: TCPA BFECAE9F, 0032 (r2 LENOVO TC-2J 37 PTL 0) (XEN) ACPI: ASF! BFECAED1, 0063 (r16 CETP 2JETP 37 PTL 1) (XEN) ACPI: MCFG BFECAF34, 003C (r1 PTLTD M2JG 37 LTP 0) (XEN) ACPI: APIC BFECAF70, 0068 (r1 PTLTD A2JC 37 LTP 0) (XEN) ACPI: BOOT BFECAFD8, 0028 (r1 PTLTD $SB2JBL$ 37 LTP 1) (XEN) ACPI: SSDT BFEC252E, 025F (r1 PmRef Cpu0Tst 3000 INTL 20050228) (XEN) ACPI: SSDT BFEC2488, 00A6 (r1 PmRef Cpu1Tst 3000 INTL 20050228) (XEN) ACPI: SSDT BFEC1083, 1405 (r1 PmRef CpuPm 3000 INTL 20050228) (XEN) System RAM: 3902MB (3995956kB) (XEN) No NUMA configuration found (XEN) Faking a node at 0000000000000000-0000000134000000 (XEN) Domain heap initialised (XEN) found SMP MP-table at 000f6300 (XEN) DMI present. (XEN) Using APIC driver default (XEN) ACPI: PM-Timer IO Port: 0x1008 (XEN) ACPI: ACPI SLEEP INFO: pm1x_cnt[fe10,0], pm1x_evt[1000,0] (XEN) ACPI: wakeup_vec[bfecdfcc], vec_size[20] (XEN) ACPI: Local APIC address 0xfee00000 (XEN) ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) (XEN) Processor #0 6:15 APIC version 20 (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled) (XEN) Processor #1 6:15 APIC version 20 (XEN) ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1]) (XEN) ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) (XEN) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) (XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23 (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge) (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) (XEN) ACPI: IRQ0 used by override. (XEN) ACPI: IRQ2 used by override. (XEN) ACPI: IRQ9 used by override. (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs (XEN) PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 9 (XEN) PCI: MCFG area at e0000000 reserved in E820 (XEN) Table is not found! (XEN) Using ACPI (MADT) for SMP configuration information (XEN) IRQ limits: 24 GSI, 376 MSI/MSI-X (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Detected 1862.063 MHz processor. (XEN) Initing memory sharing. (XEN) mce_intel.c:1206: MCA Capability: BCAST 1 SER 0 CMCI 0 firstbank 1 extended MCE MSR 0 (XEN) CPU0: Thermal monitoring handled by SMI (XEN) Intel machine check reporting enabled (XEN) I/O virtualisation disabled (XEN) ENABLING IO-APIC IRQs (XEN) -> Using new ACK method (XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1 (XEN) Platform timer is 3.579MHz ACPI PM Timer (XEN) Allocated console ring of 16 KiB. (XEN) VMX: Supported advanced features: (XEN) - APIC TPR shadow (XEN) - MSR direct-access bitmap (XEN) HVM: ASIDs disabled. (XEN) HVM: VMX enabled (XEN) Brought up 2 CPUs (XEN) CPUIDLE: disabled due to no HPET. Force enable with ''cpuidle''. (XEN) ACPI sleep modes: S3 (XEN) mcheck_poll: Machine check polling timer started. (XEN) *** LOADING DOMAIN 0 *** (XEN) elf_parse_binary: phdr: paddr=0x1000000 memsz=0x87c000 (XEN) elf_parse_binary: phdr: paddr=0x187c000 memsz=0xcc498 (XEN) elf_parse_binary: phdr: paddr=0x1949000 memsz=0x888 (XEN) elf_parse_binary: phdr: paddr=0x194a000 memsz=0x159d8 (XEN) elf_parse_binary: phdr: paddr=0x1960000 memsz=0x28b000 (XEN) elf_parse_binary: memory: 0x1000000 -> 0x1beb000 (XEN) elf_xen_parse_note: GUEST_OS = "linux" (XEN) elf_xen_parse_note: GUEST_VERSION = "2.6" (XEN) elf_xen_parse_note: XEN_VERSION = "xen-3.0" (XEN) elf_xen_parse_note: VIRT_BASE = 0xffffffff80000000 (XEN) elf_xen_parse_note: ENTRY = 0xffffffff81960200 (XEN) elf_xen_parse_note: HYPERCALL_PAGE = 0xffffffff81009000 (XEN) elf_xen_parse_note: FEATURES "!writable_page_tables|pae_pgdir_above_4gb" (XEN) elf_xen_parse_note: PAE_MODE = "yes" (XEN) elf_xen_parse_note: LOADER = "generic" (XEN) elf_xen_parse_note: unknown xen elf note (0xd) (XEN) elf_xen_parse_note: SUSPEND_CANCEL = 0x1 (XEN) elf_xen_parse_note: HV_START_LOW = 0xffff800000000000 (XEN) elf_xen_parse_note: PADDR_OFFSET = 0x0 (XEN) elf_xen_addr_calc_check: addresses: (XEN) virt_base = 0xffffffff80000000 (XEN) elf_paddr_offset = 0x0 (XEN) virt_offset = 0xffffffff80000000 (XEN) virt_kstart = 0xffffffff81000000 (XEN) virt_kend = 0xffffffff81beb000 (XEN) virt_entry = 0xffffffff81960200 (XEN) p2m_base = 0xffffffffffffffff (XEN) Xen kernel: 64-bit, lsb, compat32 (XEN) Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x1beb000 (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Dom0 alloc.: 0000000128000000->000000012c000000 (505970 pages to be allocated) (XEN) Init. ramdisk: 0000000133872000->0000000134000000 (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: ffffffff81000000->ffffffff81beb000 (XEN) Init. ramdisk: ffffffff81beb000->ffffffff82379000 (XEN) Phys-Mach map: ffffffff82379000->ffffffff82779000 (XEN) Start info: ffffffff82779000->ffffffff827794b4 (XEN) Page tables: ffffffff8277a000->ffffffff82793000 (XEN) Boot stack: ffffffff82793000->ffffffff82794000 (XEN) TOTAL: ffffffff80000000->ffffffff82c00000 (XEN) ENTRY ADDRESS: ffffffff81960200 (XEN) Dom0 has maximum 2 VCPUs (XEN) elf_load_binary: phdr 0 at 0xffffffff81000000 -> 0xffffffff8187c000 (XEN) elf_load_binary: phdr 1 at 0xffffffff8187c000 -> 0xffffffff81948498 (XEN) elf_load_binary: phdr 2 at 0xffffffff81949000 -> 0xffffffff81949888 (XEN) elf_load_binary: phdr 3 at 0xffffffff8194a000 -> 0xffffffff8195f9d8 (XEN) elf_load_binary: phdr 4 at 0xffffffff81960000 -> 0xffffffff819eb000 (XEN) Scrubbing Free RAM: ..................done. (XEN) Std. Loglevel: All (XEN) Guest Loglevel: All (XEN) *** Serial input -> DOM0 (type ''CTRL-a'' three times to switch input to Xen) (XEN) Freed 232kB init memory. mapping kernel into physical memory Xen: setup ISA identity maps about to get started... (XEN) PCI add device 00:00.0 (XEN) PCI add device 00:01.0 (XEN) PCI add device 00:1a.0 (XEN) PCI add device 00:1a.1 (XEN) PCI add device 00:1a.7 (XEN) PCI add device 00:1b.0 (XEN) PCI add device 00:1c.0 (XEN) PCI add device 00:1c.4 (XEN) PCI add device 00:1d.0 (XEN) PCI add device 00:1d.1 (XEN) PCI add device 00:1d.2 (XEN) PCI add device 00:1d.7 (XEN) PCI add device 00:1e.0 (XEN) PCI add device 00:1f.0 (XEN) PCI add device 00:1f.2 (XEN) PCI add device 00:1f.3 (XEN) PCI add device 00:1f.5 (XEN) PCI add device 01:00.0 (XEN) PCI add device 03:00.0 (XEN) Domain 0 crashed: rebooting machine in 5 seconds. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Konrad Rzeszutek Wilk
2011-May-16 17:53 UTC
Re: [Xen-devel] pvops Domain 0 Creased when boot Xen-unstable on Ubuntu10.04
On Tue, May 17, 2011 at 01:42:15AM +0800, Bei Guan wrote:> Hi All, > > I try to install Xen-4.2-unstable with pvops dom0 kernel(2.6.32.28) onSo from Jeremy''s git tree?> Ubuntu10.04. But the kernel panic when I reboot. The message got with the > serial debugging is as the following. And the config file of dom0 kernel isTake a look at the PVOPS wiki and follow the troubleshooting section. It will explain to you how to ratchet up the debug/logging of Dom0.> also attached. Can anyone give me some advice? > And what''s the problem with my installation?No idea without more Linux kernel data. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Bei Guan
2011-May-17 14:39 UTC
Re: [Xen-devel] pvops Domain 0 Creased when boot Xen-unstable on Ubuntu10.04
Hi, I did the following steps for PVOps dom 0 kernel (2.6.32.28) on Ubuntu10.04 x64. And debug of Dom0 is attached. git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-xen make menuconfig make bzImage make modules make modules_install cp -a .config /boot/config-2.6.32.28 cp -a System.map /boot/System.map-2.6.32.28 cp -a arch/x86/boot/bzImage /boot/vmlinuz-2.6.32.28 update-initramfs -c -k 2.6.32.28 update-grub My xen entry in grub.cfg is as the following. 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, is there any error in the grub entry? What other log can I provide? Thanks, Bei Guan 2011/5/17 Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>> On Tue, May 17, 2011 at 01:42:15AM +0800, Bei Guan wrote: > > Hi All, > > > > I try to install Xen-4.2-unstable with pvops dom0 kernel(2.6.32.28) on > > So from Jeremy''s git tree?> Ubuntu10.04. But the kernel panic when I reboot. The message got with the > > serial debugging is as the following. And the config file of dom0 kernel > is > > Take a look at the PVOPS wiki and follow the troubleshooting section. It > will > explain to you how to ratchet up the debug/logging of Dom0. > > also attached. Can anyone give me some advice? > > And what''s the problem with my installation? > > No idea without more Linux kernel data. >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Konrad Rzeszutek Wilk
2011-May-17 14:44 UTC
Re: [Xen-devel] pvops Domain 0 Creased when boot Xen-unstable on Ubuntu10.04
> 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 deviceSo 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...''. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Bei Guan
2011-May-17 15:27 UTC
Re: [Xen-devel] pvops Domain 0 Creased when boot Xen-unstable on Ubuntu10.04
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 The fs in my pc. root@gavinguan-desktop:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda9 31G 14G 16G 47% / none 1.9G 288K 1.9G 1% /dev none 1.9G 24K 1.9G 1% /dev/shm none 1.9G 92K 1.9G 1% /var/run none 1.9G 0 1.9G 0% /var/lock none 1.9G 0 1.9G 0% /lib/init/rw Thanks, Bei Guan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Campbell
2011-May-17 15:34 UTC
Re: [Xen-devel] pvops Domain 0 Creased when boot Xen-unstable on Ubuntu10.04
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 deviceThis 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. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Bei Guan
2011-May-17 15:48 UTC
Re: [Xen-devel] pvops Domain 0 Creased when boot Xen-unstable on Ubuntu10.04
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.> > Ian. > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Campbell
2011-May-17 15:49 UTC
Re: [Xen-devel] pvops Domain 0 Creased when boot Xen-unstable on Ubuntu10.04
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. Ian.> > > > > Ian. > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Bei Guan
2011-May-17 16:43 UTC
Re: [Xen-devel] pvops Domain 0 Creased when boot Xen-unstable on Ubuntu10.04
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. > > > > > > > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Todd Deshane
2011-May-17 21:40 UTC
Re: [Xen-devel] pvops Domain 0 Creased when boot Xen-unstable on Ubuntu10.04
On Tue, May 17, 2011 at 12:43 PM, Bei Guan <gbtju85@gmail.com> 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. 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@lists.xensource.com > 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@lists.xensource.com http://lists.xensource.com/xen-devel
Bei Guan
2011-May-18 07:13 UTC
Re: [Xen-devel] pvops Domain 0 Creased when boot Xen-unstable on Ubuntu10.04
2011/5/18 Todd Deshane <todd.deshane@xen.org>> On Tue, May 17, 2011 at 12:43 PM, Bei Guan <gbtju85@gmail.com> 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@lists.xensource.com > > 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@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Campbell
2011-May-18 07:25 UTC
Re: [Xen-devel] pvops Domain 0 Creased when boot Xen-unstable on Ubuntu10.04
On Wed, 2011-05-18 at 08:13 +0100, Bei Guan wrote:> > 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?Do you have the appropriate filesystem support either configured statically into your kernel or configured a module which has been placed in the initramfs and is loaded as necessary? Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Bei Guan
2011-May-18 07:43 UTC
Re: [Xen-devel] pvops Domain 0 Creased when boot Xen-unstable on Ubuntu10.04
2011/5/18 Ian Campbell <Ian.Campbell@eu.citrix.com>> On Wed, 2011-05-18 at 08:13 +0100, Bei Guan wrote: > > > > 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? > > Do you have the appropriate filesystem support either configured > statically into your kernel or configured a module which has been placed > in the initramfs and is loaded as necessary? >Do you mean that the initramfs needs a configure file or module to load the filesystem? And I need to give the configure file or module? Thanks, Bei Guan> > Ian. > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Campbell
2011-May-18 08:11 UTC
Re: [Xen-devel] pvops Domain 0 Creased when boot Xen-unstable on Ubuntu10.04
On Wed, 2011-05-18 at 08:43 +0100, Bei Guan wrote:> > > 2011/5/18 Ian Campbell <Ian.Campbell@eu.citrix.com> > On Wed, 2011-05-18 at 08:13 +0100, Bei Guan wrote: > > > > 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? > > > Do you have the appropriate filesystem support either > configured > statically into your kernel or configured a module which has > been placed > in the initramfs and is loaded as necessary? > Do you mean that the initramfs needs a configure file or module to > load the filesystem? And I need to give the configure file or module?We are really getting into xen-users@ territory here since this is clearly a user level configuration/understanding issue and not a Xen, or even Linux, code problem. You need to make sure that your kernel''s .config includes support for the your root filesystem. If that support is =m then you also need to ensure the module is loaded by the initramfs, perhaps this will happen automatically once your kernel config is correct otherwise you need to consult your distro documentation. Ian.> > > > > Thanks, > Bei Guan > > > > > Ian. > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel