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