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

Re: [Xen-devel] Booting Failures when using linux-2.6.33.2 as DomUwith paravirt-ops support



Hello, Konrad!
 
   Thank you very much for your reply.
 
   Firstly, I select following config options as "y" when compling linux-2.6.33.2:
   CONFIG_PARAVIRT_GUEST=y
   CONFIG_XEN=y
   CONFIG_HVC_DRIVER=y
   CONFIG_HVC_XEN=y
   CONFIG_XEN_BLKDEV_FRONTEND=y
   CONFIG_XEN_NETDEV_FRONTEND=y
 
   Secondly, I also select CONFIG_XEN_FBDEV_FRONTEND and CONFIG_XEN_KBDDEV_FRONTEND as "y",
and it also core-dumps when booting.
 
   Finally, the whole output is list as follows:
 
[root@node18 sda3]# xm cre -c zxxmtmp 
Using config file "./zxxmtmp".
Started domain zxxmtmp (id=3)
Linux version 2.6.33.2 (root@node18) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)) #14 SMP Mon Apr 19 22:22:52 CST 2010
Command line: root=/dev/xvda rw ip=10.10.135.182:127.0.255.255::255.255.0.0::eth0:off xencons=hvc0
ACPI in unprivileged domain disabled
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 00000000000a0000 (usable)
 Xen: 00000000000a0000 - 0000000000100000 (reserved)
 Xen: 0000000000100000 - 0000000020000000 (usable)
NX (Execute Disable) protection: active
DMI not present or invalid.
No AGP bridge found
last_pfn = 0x20000 max_arch_pfn = 0x400000000
init_memory_mapping: 0000000000000000-0000000020000000
RAMDISK: 017f0000 - 01b22000
(8 early reservations) ==> bootmem [0000000000 - 0020000000]
  #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 - 0000001000]
  #1 [0001c25000 - 0001c38000]   XEN PAGETABLES ==> [0001c25000 - 0001c38000]
  #2 [0001000000 - 00017cfed4]    TEXT DATA BSS ==> [0001000000 - 00017cfed4]
  #3 [00017f0000 - 0001b22000]          RAMDISK ==> [00017f0000 - 0001b22000]
  #4 [0001b22000 - 0001c25000]   XEN START INFO ==> [0001b22000 - 0001c25000]
  #5 [0000001000 - 0000003000]       TRAMPOLINE ==> [0000001000 - 0000003000]
  #6 [0000003000 - 0000007000]      ACPI WAKEUP ==> [0000003000 - 0000007000]
  #7 [0000100000 - 00001ec000]          PGTABLE ==> [0000100000 - 00001ec000]
Zone PFN ranges:
  DMA      0x00000000 -> 0x00001000
  DMA32    0x00001000 -> 0x00100000
  Normal   0x00100000 -> 0x00100000
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
    0: 0x00000000 -> 0x000000a0
    0: 0x00000100 -> 0x00020000
SMP: Allowing 2 CPUs, 0 hotplug CPUs
No local APIC present
APIC: disable apic facility
APIC: switched to apic NOOP
Allocating PCI resources starting at 20000000 (gap: 20000000:e0000000)
Booting paravirtualized kernel on Xen
Xen version: 3.4.2 (preserve-AD)
setup_percpu: NR_CPUS:4 nr_cpumask_bits:4 nr_cpu_ids:2 nr_node_ids:1
PERCPU: Embedded 27 pages/cpu @ffff880001c42000 s77912 r8192 d24488 u110592
pcpu-alloc: s77912 r8192 d24488 u110592 alloc=27*4096
pcpu-alloc: [0] 0 [0] 1 
Xen: using vcpu_info placement
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 128941
Kernel command line: root=/dev/xvda rw ip=10.10.135.182:127.0.255.255::255.255.0.0::eth0:off xencons=hvc0
PID hash table entries: 2048 (order: 2, 16384 bytes)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Checking aperture...
No AGP bridge found
Memory: 501684k/524288k available (4488k kernel code, 384k absent, 21600k reserved, 2459k data, 552k init)
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is enabled.
NR_IRQS:384
Console: colour dummy device 80x25
console [tty0] enabled
console [hvc0] enabled
installing Xen timer for CPU 0
Detected 2412.360 MHz processor.
Calibrating delay loop (skipped), value calculated using timer frequency.. 4824.72 BogoMIPS (lpj=24123600)
Mount-cache hash table entries: 256
CPU: Physical Processor ID: 1
CPU: Processor Core ID: 0
Performance Events:
no APIC, boot with the "lapic" boot parameter to force-enable it.
no hardware sampling interrupt available.
AMD PMU driver.
... version:                0
... bit width:              48
... generic registers:      4
... value mask:             0000ffffffffffff
... max period:             00007fffffffffff
... fixed-purpose events:   0
... event mask:             000000000000000f
SMP alternatives: switching to UP code
cpu 0 spinlock event irq 1
installing Xen timer for CPU 1
cpu 1 spinlock event irq 7
SMP alternatives: switching to SMP code
Brought up 2 CPUs
Grant table initialized
NET: Registered protocol family 16
PCI: Fatal: No config space access function found
bio: create slab <bio-0> at 0
ACPI: Interpreter disabled.
xen_balloon: Initialising balloon driver.
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: System does not support PCI
PCI: System does not support PCI
Switching to clocksource xen
pnp: PnP ACPI: disabled
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
TCP established hash table entries: 16384 (order: 6, 262144 bytes)
TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 3272k freed
platform rtc_cmos: registered platform RTC device (no PNP device found)
microcode: no support for this CPU vendor
msgmni has been set to 987
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Event-channel device installed.
Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 (usb?)
floppy0: Unable to grab IRQ6 for the floppy driver
brd: module loaded
loop: module loaded
Compaq SMART2 Driver (v 2.6.0)
HP CISS Driver (v 3.6.20)
Uniform Multi-Platform E-IDE driver
ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
ide_generic: I/O resource 0x1F0-0x1F7 not free.
ide_generic: I/O resource 0x170-0x177 not free.
blkfront: xvda: barriers enabled
ide-gd driver 1.18
 xvda:
ide-cd driver 5.00
Adaptec aacraid driver 1.1-5[24702]-ms
3ware Storage Controller device driver for Linux v1.26.02.002.
Intel(R) PRO/1000 Network Driver - version 7.3.21-k5-NAPI
Copyright (c) 1999-2006 Intel Corporation.
e1000e: Intel(R) PRO/1000 Network Driver - 1.0.2-k2
e1000e: Copyright (c) 1999 - 2009 Intel Corporation.
Intel(R) Gigabit Ethernet Network Driver - version 2.1.0-k2
Copyright (c) 2007-2009 Intel Corporation.
Intel(R) Virtual Function Network Driver - version 1.0.0-k0
Copyright (c) 2009 Intel Corporation.
pcnet32.c:v1.35 21.Apr.2008 tsbogend@xxxxxxxxxxxxxxxx
Initialising Xen virtual ethernet driver.
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@xxxxxxxxxxxx>
Fusion MPT base driver 3.04.13
Copyright (c) 1999-2008 LSI Corporation
Fusion MPT SPI Host driver 3.04.13
Fusion MPT FC Host driver 3.04.13
Fusion MPT SAS Host driver 3.04.13
Fusion MPT misc device (ioctl) driver 3.04.13
mptctl: Registered with Fusion MPT base driver
mptctl: /dev/mptctl @ (major,minor=10,220)
usbmon: debugfs is not available
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
device-mapper: ioctl: 4.16.0-ioctl (2009-11-05) initialised: dm-devel@xxxxxxxxxx
cpuidle: using governor ladder
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
 unknown partition table
XENBUS: Device with no driver: device/console/0
BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
EDD information not available.
IP-Config: Complete:
     device=eth0, addr=10.10.135.182, mask=255.255.0.0, gw=255.255.255.255,
     host=10.10.135.182, domain=, nis-domain=(none),
     bootserver=127.0.255.255, rootserver=127.0.255.255, rootpath=
Freeing unused kernel memory: 552k freed
Red Hat nash version 5.1.19.6 starting
Mounting proc filesystem
Mounting sysfs filesystem
Creating /dev
Creating initial device nodes
Setting up hotplug.
Creating block device nodes.
Loading ehci-hcd.ko module
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Loading ohci-hcd.ko module
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Loading uhci-hcd.ko module
uhci_hcd: USB Universal Host Controller Interface driver
mount: could not find filesystem '/proc/bus/usb'
Loading aic79xx.ko module
Loading sata_nv.ko module
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: init Not tainted 2.6.33.2 #14
Call Trace:
 [<ffffffff81042d00>] panic+0xa0/0x1a0
 [<ffffffff810075df>] ? xen_restore_fl_direct_end+0x0/0x1
 [<ffffffff81078e40>] ? call_rcu_sched+0x10/0x20
 [<ffffffff81078e59>] ? call_rcu+0x9/0x10
 [<ffffffff8104521e>] ? put_files_struct+0x7e/0xd0
 [<ffffffff8145f365>] ? _raw_write_lock_irq+0x15/0x30
 [<ffffffff8104d4b7>] ? exit_ptrace+0xb7/0x140
 [<ffffffff81046a8f>] do_exit+0x6df/0x7a0
 [<ffffffff8102c7af>] ? do_page_fault+0x14f/0x310
 [<ffffffff81046b90>] do_group_exit+0x40/0xd0
 [<ffffffff81046c32>] sys_exit_group+0x12/0x20
 [<ffffffff8100af02>] system_call_fastpath+0x16/0x1b
 
It really troubles me a lot. Thank you again for your help!
 
Xiang Zhang
Apr 19th, 2010
 
 
 
 
 

zhangxiang
2010-04-19

发件人: Konrad Rzeszutek Wilk
发送时间: 2010-04-19 21:59:00
收件人: zhangxiang
抄送: xen-devel
主题: Re: [Xen-devel] Booting Failures when using linux-2.6.33.2 as DomUwith paravirt-ops support
 
On Mon, Apr 19, 2010 at 04:58:46PM +0800, zhangxiang wrote:
> Hello, everyone!
>    I am trying to boot linux-2.6.33.2 as DomU' kernel in my virtualization platform 
> (Xen-3.4.2, linux-2.6.18.8 as Dom0, paravirtualization, AMD Opteron 2216, 
> CentOS 5.3 without virtualization support). But it is always core-dump when 
> booting. The messages are as follows:
You need to attach the whole output to help you along.
> Loading aic79xx.ko module
> Loading sata_nv.ko module
> Creating root device.
> Mounting root filesystem.
> mount: could not find filesystem '/dev/root'
> Setting up other filesystems.
> Setting up new root fs
> setuproot: moving /dev failed: No such file or directory
> no fstab.sys, mounting internal defaults
> setuproot: error mounting /proc: No such file or directory
> setuproot: error mounting /sys: No such file or directory
> Switching to new root and running init.
> unmounting old /dev
> unmounting old /proc
> unmounting old /sys
> switchroot: mount failed: No such file or directory
> Kernel panic - not syncing: Attempted to kill init!
> Pid: 1, comm: init Not tainted 2.6.33.2 #13
> Call Trace:
>  [<ffffffff81042d00>] panic+0xa0/0x1a0
>  [<ffffffff810075df>] ? xen_restore_fl_direct_end+0x0/0x1
>  [<ffffffff81078e40>] ? call_rcu_sched+0x10/0x20
>  [<ffffffff81078e59>] ? call_rcu+0x9/0x10
>  [<ffffffff8104521e>] ? put_files_struct+0x7e/0xd0
>  [<ffffffff81457955>] ? _raw_write_lock_irq+0x15/0x30
>  [<ffffffff8104d4b7>] ? exit_ptrace+0xb7/0x140
>  [<ffffffff81046a8f>] do_exit+0x6df/0x7a0
>  [<ffffffff8102c7af>] ? do_page_fault+0x14f/0x310
>  [<ffffffff81046b90>] do_group_exit+0x40/0xd0
>  [<ffffffff81046c32>] sys_exit_group+0x12/0x20
>  [<ffffffff8100af02>] system_call_fastpath+0x16/0x1b
> The DomU's configuration file is as follows:
> kernel = "/boot/vmlinuz-2.6.33.2" 
> ramdisk = "/boot/initrd-2.6.33.2.img" 
> memory = 512 
> name = "vmtmp" 
> vcpus = 2 
> vif = [ '' ] 
> ip = "10.10.135.182" 
> netmask = "255.255.0.0" 
> disk = [ 'file:/sda3/vmdisk2,xvda,w'] 
> root = "/dev/xvda rw" 
> extra = "4" 
> extra='xencons=hvc0' 
> I do this experiment depend on the link:
> http://wiki.xensource.com/xenwiki/XenParavirtOps 
> I download linux-2.6.33.2 from www.kernel.org, and make sure that all the following 
> config options are selected when compling:
By selected you mean 'y', correct?
> CONFIG_PARAVIRT_GUEST 
> CONFIG_XEN 
> CONFIG_HVC_DRIVER and CONFIG_HVC_XEN 
> CONFIG_XEN_BLKDEV_FRONTEND 
> CONFIG_XEN_NETDEV_FRONTEND
I thought there was also a FBDEV and KBDDEV, but I could be wrong.
> I also use /dev/xvdX instead of /dev/sda1 in both DomU's configurion file and /etc/fstab.
> So I really do not know why the experiment always fails.
> Could somebody help me with this?
> Thank you very much for your help!
> Xiang Zhang
> Apr 19th, 2010
> ---------------------------------------------------------------------
>  National Research Center for Intelligent Computing System
>  Institute of Computing Technology
>  Chinese Academy of Sciences
>  P.O. Box 2704, Beijing 100190, P. R. China
>  Tel: +86-10-6260 1009
> ---------------------------------------------------------------------
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
_______________________________________________
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®.