* A kernel panic occured when booting a pv guest at a xen-unstable
@ 2009-11-11 2:34 Sun Shuchun
2009-11-11 14:53 ` Konrad Rzeszutek Wilk
0 siblings, 1 reply; 3+ messages in thread
From: Sun Shuchun @ 2009-11-11 2:34 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 205 bytes --]
To Xen developers,
I failed to install a pv guest on a xen-unstable.
The booting log and configration file are attached to this email.
Do I have some mistakes?
Is it a known issue?
Regards
Sun Shuchun
[-- Attachment #2: pv guest boot log.txt --]
[-- Type: text/plain, Size: 14891 bytes --]
Started domain dom-u1 (id=4)
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.31.5 (root@vmx13.sky.yk.fujitsu.co.jp) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #2 SMP Tue Nov 10 17:49:58 JST 2009
[ 0.000000] Command line: ro root=/dev/xvda1 console=xvc0
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] ACPI in unprivileged domain disabled
[ 0.000000] released 0 pages of unused memory
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] Xen: 0000000000000000 - 00000000000a0000 (usable)
[ 0.000000] Xen: 00000000000a0000 - 0000000000100000 (reserved)
[ 0.000000] Xen: 0000000000100000 - 0000000020000000 (usable)
[ 0.000000] DMI not present or invalid.
[ 0.000000] last_pfn = 0x20000 max_arch_pfn = 0x400000000
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] modified physical RAM map:
[ 0.000000] modified: 0000000000000000 - 0000000000001000 (usable)
[ 0.000000] modified: 0000000000001000 - 0000000000006000 (reserved)
[ 0.000000] modified: 0000000000006000 - 00000000000a0000 (usable)
[ 0.000000] modified: 00000000000a0000 - 0000000000100000 (reserved)
[ 0.000000] modified: 0000000000100000 - 0000000020000000 (usable)
[ 0.000000] init_memory_mapping: 0000000000000000-0000000020000000
[ 0.000000] RAMDISK: 01a9b000 - 01f50000
[ 0.000000] (7 early reservations) ==> bootmem [0000000000 - 0020000000]
[ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
[ 0.000000] #1 [0002053000 - 0002068000] XEN PAGETABLES ==> [0002053000 - 0002068000]
[ 0.000000] #2 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000]
[ 0.000000] #3 [0001000000 - 0001a7ad94] TEXT DATA BSS ==> [0001000000 - 0001a7ad94]
[ 0.000000] #4 [0001a9b000 - 0001f50000] RAMDISK ==> [0001a9b000 - 0001f50000]
[ 0.000000] #5 [0001f50000 - 0002053000] XEN START INFO ==> [0001f50000 - 0002053000]
[ 0.000000] #6 [0000100000 - 00001ea000] PGTABLE ==> [0000100000 - 00001ea000]
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000000 -> 0x00001000
[ 0.000000] DMA32 0x00001000 -> 0x00100000
[ 0.000000] Normal 0x00100000 -> 0x00100000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[3] active PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00000001
[ 0.000000] 0: 0x00000006 -> 0x000000a0
[ 0.000000] 0: 0x00000100 -> 0x00020000
[ 0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.000000] No local APIC present
[ 0.000000] APIC: disable apic facility
[ 0.000000] PM: Registered nosave memory: 0000000000001000 - 0000000000006000
[ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 0000000000100000
[ 0.000000] Allocating PCI resources starting at 20000000 (gap: 20000000:e0000000)
[ 0.000000] NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1
[ 0.000000] PERCPU: Allocated 22 4k pages, static data 88736 bytes
[ 0.000000] Xen: using vcpu_info placement
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 128942
[ 0.000000] Kernel command line: ro root=/dev/xvda1 console=xvc0
[ 0.000000] PID hash table entries: 2048 (order: 11, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[ 0.000000] Initializing CPU#0
[ 0.000000] PCI-DMA: Using Xen software bounce buffering for IO (Xen-SWIOTLB)
[ 0.000000] Placing 64MB Xen software IO TLB between ffff880002b6f000 - ffff880006b6f000
[ 0.000000] Xen software IO TLB at phys 0x2b6f000 - 0x6b6f000
[ 0.000000] Memory: 431520k/524288k available (5429k kernel code, 404k absent, 91712k reserved, 3702k data, 488k init)
[ 0.000000] SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:4352 nr_irqs:256
[ 0.000000] Detected 1000.000 MHz processor.
[ 0.000999] Console: colour dummy device 80x25
[ 0.000999] console [tty0] enabled
[ 0.000999] console [hvc0] enabled
[ 0.000999] installing Xen timer for CPU 0
[ 0.000999] Calibrating delay loop (skipped), value calculated using timer frequency.. 2000.00 BogoMIPS (lpj=1000000)
[ 0.000999] Security Framework initialized
[ 0.000999] SELinux: Initializing.
[ 0.000999] Mount-cache hash table entries: 256
[ 0.000999] Initializing cgroup subsys ns
[ 0.000999] Initializing cgroup subsys cpuacct
[ 0.000999] Initializing cgroup subsys freezer
[ 0.000999] CPU: L1 I cache: 32K, L1 D cache: 32K
[ 0.000999] CPU: L2 cache: 4096K
[ 0.000999] CPU: Unsupported number of siblings 4
[ 0.000999] Performance Counters: unsupported p6 CPU model 15 no PMU driver, software counters only.
[ 0.000999] SMP alternatives: switching to UP code
[ 0.000999] Freeing SMP alternatives: 34k freed
[ 0.001209] Brought up 1 CPUs
[ 0.001595] Booting paravirtualized kernel on Xen
[ 0.001607] Xen version: 3.5-unstable (preserve-AD)
[ 0.001752] Using V2 grant tables.
[ 0.001777] Grant table initialized
[ 0.021694] Time: 165:165:165 Date: 165/165/65
[ 0.021755] NET: Registered protocol family 16
[ 0.022153] xenbus_probe wake_waiting
[ 0.022161] xenbus_probe_init ok
[ 0.022552] PCI: setting up Xen PCI frontend stub
[ 0.036458] bio: create slab <bio-0> at 0
[ 0.036628] ACPI: Interpreter disabled.
[ 0.036708] xenbus_probe_backend_init bus registered ok
[ 0.036708] xenbus_probe_devices backend
[ 0.038060] xenbus_probe_devices failed xenbus_directory
[ 0.038067] backend_probe_and_watch devices probed ok
[ 0.038078] backend_probe_and_watch watch add ok ok
[ 0.038078] backend_probe_and_watch all done
[ 0.038093] xenbus_probe_frontend_init bus registered ok
[ 0.038100] xenbus_probe_devices device
[ 0.038111] xenbus_probe_devices 1/3 console
[ 0.038111] xenbus_probe_device_type type console
[ 0.038111] xenbus_probe_device_type 1/1 0
[ 0.038111] xenbus_probe_device_type done
[ 0.038111] xenbus_probe_devices 2/3 vbd
[ 0.038111] xenbus_probe_device_type type vbd
[ 0.038111] xenbus_probe_device_type 1/1 51712
[ 0.038111] xenbus_probe_device_type done
[ 0.038111] xenbus_probe_devices 3/3 vif
[ 0.038111] xenbus_probe_device_type type vif
[ 0.038111] xenbus_probe_device_type 1/1 0
[ 0.039068] xenbus_probe_device_type done
[ 0.039074] xenbus_probe_devices done
[ 0.039079] frontend_probe_and_watch devices probed ok
[ 0.039091] frontend_probe_and_watch watch add ok ok
[ 0.039091] frontend_probe_and_watch all done
[ 0.039091] xen_balloon: Initialising balloon driver with page order 0.
[ 0.039388] SCSI subsystem initialized
[ 0.040213] usbcore: registered new interface driver usbfs
[ 0.040289] usbcore: registered new interface driver hub
[ 0.040380] usbcore: registered new device driver usb
[ 0.040818] PCI: System does not support PCI
[ 0.040825] PCI: System does not support PCI
[ 0.041211] cfg80211: Using static regulatory domain info
[ 0.041218] cfg80211: Regulatory domain: US
[ 0.041993] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 0.041993] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
[ 0.041993] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 0.041993] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 0.041993] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 0.041993] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 0.041993] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
[ 0.042122] cfg80211: Calling CRDA for country: US
[ 0.042193] NetLabel: Initializing
[ 0.042200] NetLabel: domain hash size = 128
[ 0.042205] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.042225] NetLabel: unlabeled traffic allowed by default
[ 0.044120] pnp: PnP ACPI: disabled
[ 0.045164] NET: Registered protocol family 2
[ 0.045238] IP route cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.045490] TCP established hash table entries: 65536 (order: 8, 1048576 bytes)
[ 0.045816] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[ 0.046290] TCP: Hash tables configured (established 65536 bind 65536)
[ 0.046310] TCP reno registered
[ 0.046424] NET: Registered protocol family 1
[ 0.046497] Trying to unpack rootfs image as initramfs...
[ 0.051046] Freeing initrd memory: 4820k freed
[ 0.053130] kvm: no hardware support
[ 0.053209] has_svm: not amd
[ 0.053215] kvm: no hardware support
[ 0.053623] platform rtc_cmos: registered platform RTC device (no PNP device found)
[ 0.054353] microcode: no support for this CPU vendor
[ 0.054366] Scanning for low memory corruption every 60 seconds
[ 0.054770] audit: initializing netlink socket (disabled)
[ 0.054797] type=2000 audit(1257937990.365:1): initialized
[ 0.062660] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.066781] VFS: Disk quotas dquot_6.5.2
[ 0.066898] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.068232] msgmni has been set to 853
[ 0.068886] alg: No test for stdrng (krng)
[ 0.069199] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.069209] io scheduler noop registered
[ 0.069214] io scheduler anticipatory registered
[ 0.069220] io scheduler deadline registered
[ 0.069234] io scheduler cfq registered (default)
[ 0.069435] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 0.069756] Event-channel device installed.
[ 0.072897] registering netback
[ 0.079359] Non-volatile memory driver v1.3
[ 0.079368] Linux agpgart interface v0.103
[ 0.079509] [drm] Initialized drm 1.1.0 20060810
[ 0.079521] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.082874] brd: module loaded
[ 0.084399] loop: module loaded
[ 0.086805] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[ 0.087722] Intel(R) PRO/1000 Network Driver - version 7.3.21-k3-NAPI
[ 0.087730] Copyright (c) 1999-2006 Intel Corporation.
[ 0.087803] e1000e: Intel(R) PRO/1000 Network Driver - 1.0.2-k2
[ 0.087811] e1000e: Copyright (c) 1999-2008 Intel Corporation.
[ 0.087954] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[ 0.087961] e100: Copyright(c) 1999-2006 Intel Corporation
[ 0.088200] sky2 driver version 1.23
[ 0.088332] Initialising Xen virtual ethernet driver.
[ 0.089317] tun: Universal TUN/TAP device driver, 1.6
[ 0.089325] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 0.089582] console [netcon0] enabled
[ 0.089589] netconsole: network logging started
[ 0.089840] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.089922] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.089998] uhci_hcd: USB Universal Host Controller Interface driver
[ 0.090309] usbcore: registered new interface driver usblp
[ 0.090317] Initializing USB Mass Storage driver...
[ 0.090386] usbcore: registered new interface driver usb-storage
[ 0.091015] USB Mass Storage support registered.
[ 0.242256] usbcore: registered new interface driver libusual
[ 0.242494] PNP: No PS/2 controller found. Probing ports directly.
[ 0.243093] i8042.c: No controller found.
[ 0.243552] mice: PS/2 mouse device common for all mice
[ 0.244094] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[ 0.244736] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
[ 0.244881] cpuidle: using governor ladder
[ 0.244888] cpuidle: using governor menu
[ 0.247638] usbcore: registered new interface driver hiddev
[ 0.247710] usbcore: registered new interface driver usbhid
[ 0.247718] usbhid: v2.6:USB HID core driver
[ 0.247803] Advanced Linux Sound Architecture Driver Version 1.0.20.
[ 0.249354] ALSA device list:
[ 0.249368] No soundcards found.
[ 0.249408] Netfilter messages via NETLINK v0.30.
[ 0.249439] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[ 0.249683] ctnetlink v0.93: registering with nfnetlink.
[ 0.250197] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 0.250223] TCP cubic registered
[ 0.250229] Initializing XFRM netlink socket
[ 0.250569] NET: Registered protocol family 10
[ 0.251526] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 0.251580] IPv6 over IPv4 tunneling driver
[ 0.252205] NET: Registered protocol family 17
[ 0.252414] RPC: Registered udp transport module.
[ 0.252423] RPC: Registered tcp transport module.
[ 0.252699] registered taskstats version 1
[ 5.352057] XENBUS: Waiting for devices to initialise: 295s...290s...285s...280s...275s...270s...265s...260s...255s...250s...245s...240s...235s...230s...225s...220s...215s...210s...205s...200s...195s...190s...185s...180s...175s...170s...165s...160s...155s...150s...145s...140s...135s...130s...125s...120s...115s...110s...105s...100s...95s...90s...85s...80s...75s...70s...65s...60s...55s...50s...45s...40s...35s...30s...25s...20s...15s...10s...5s...0s...
[ 300.352066] XENBUS: Device with no driver: device/console/0
[ 300.352290] XENBUS: Timeout connecting to device: device/vbd/51712 (local state 3, remote state 1)
[ 300.352313] Magic number: 1:252:3141
[ 300.352449] Freeing unused kernel memory: 488k freed
[ 300.352602] Write protecting the kernel read-only data: 8172k
[ 300.624311] Kernel panic - not syncing: Attempted to kill init!
[ 300.624328] Pid: 1, comm: init Not tainted 2.6.31.5 #2
[ 300.624334] Call Trace:
[ 300.624345] [<ffffffff81064abd>] panic+0xa0/0x15f
[ 300.624354] [<ffffffff81094e59>] ? atomic_add_unless+0x29/0x42
[ 300.624363] [<ffffffff8108a015>] ? raw_local_irq_disable+0x19/0x1b
[ 300.624374] [<ffffffff81548cfe>] ? _write_lock_irq+0xd/0x21
[ 300.624382] [<ffffffff8106d6f9>] ? raw_local_irq_enable+0x19/0x1b
[ 300.624390] [<ffffffff8106df50>] ? exit_ptrace+0xa0/0x110
[ 300.624398] [<ffffffff8108a015>] ? raw_local_irq_disable+0x19/0x1b
[ 300.624407] [<ffffffff810678e1>] do_exit+0x79/0x629
[ 300.624414] [<ffffffff81067f32>] sys_exit_group+0x0/0x16
[ 300.624422] [<ffffffff81067f44>] sys_exit_group+0x12/0x16
[ 300.624430] [<ffffffff81031b82>] system_call_fastpath+0x16/0x1b
[-- Attachment #3: dom-u1.sxp --]
[-- Type: application/octet-stream, Size: 1780 bytes --]
(domain
(on_crash restart)
(uuid 20f8ee2a-eec9-c5fc-3948-2b21bf98ccc8)
(bootloader_args )
(vcpus 1)
(name dom-u1)
(on_poweroff destroy)
(on_reboot restart)
(bootloader /usr/bin/pygrub)
(maxmem 512)
(memory 512)
(shadow_memory 0)
(features )
(on_xend_start ignore)
(on_xend_stop ignore)
(start_time 1247534893.47)
(cpu_time 18.419689725)
(image
(linux
(kernel )
(notes
(FEATURES
'writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel'
)
(VIRT_BASE 18446744071562067968)
(GUEST_VERSION 2.6)
(PADDR_OFFSET 18446744071562067968)
(GUEST_OS linux)
(HYPERCALL_PAGE 18446744071564189696)
(LOADER generic)
(ENTRY 18446744071564165120)
(XEN_VERSION xen-3.0)
)
)
)
(status 0)
(device
(vif
(bridge eth0)
(uuid 2eb9e990-ef7d-f719-2e41-7df2c3bef73c)
(script /etc/xen/scripts/vif-bridge)
(devid 0)
(mac 00:16:36:32:33:05)
(backend 0)
)
)
(device
(console
(protocol vt100)
(location 2)
(uuid b05dd9ab-655c-6dd7-227a-daef412f84da)
)
)
(device
(tap
(protocol x86_64-abi)
(uuid f3b1f09f-d1c7-e145-4a80-84c07aadc7ed)
(bootable 1)
(dev xvda:disk)
(uname tap:aio:/root/dom-u1)
(mode w)
(backend 0)
)
)
)
[-- Attachment #4: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: A kernel panic occured when booting a pv guest at a xen-unstable
2009-11-11 2:34 A kernel panic occured when booting a pv guest at a xen-unstable Sun Shuchun
@ 2009-11-11 14:53 ` Konrad Rzeszutek Wilk
2009-11-12 8:33 ` A kernel panic occured when booting a pv guest ata xen-unstable Sun Shuchun
0 siblings, 1 reply; 3+ messages in thread
From: Konrad Rzeszutek Wilk @ 2009-11-11 14:53 UTC (permalink / raw)
To: Sun Shuchun; +Cc: xen-devel
On Wed, Nov 11, 2009 at 11:34:03AM +0900, Sun Shuchun wrote:
> To Xen developers,
>
> I failed to install a pv guest on a xen-unstable.
> The booting log and configration file are attached to this email.
You _do_ have a ramdisk defined in your .xm file, correct?
Did it work beforehand? Did you change anything except the
kernel?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: A kernel panic occured when booting a pv guest ata xen-unstable
2009-11-11 14:53 ` Konrad Rzeszutek Wilk
@ 2009-11-12 8:33 ` Sun Shuchun
0 siblings, 0 replies; 3+ messages in thread
From: Sun Shuchun @ 2009-11-12 8:33 UTC (permalink / raw)
To: xen-devel
To Konrad Rzeszutek Wilk,
My pv guest has been successfully installed,
after I changed the configration file of that pv guest as follows
~~~~~~~~~~~~~~~~~~~~
--- dom-u1.sxp.bak 2009-11-11 10:24:52.000000000 +0900
+++ dom-u1.file.sxp 2009-11-12 15:05:44.000000000 +0900
@@ -52,12 +52,12 @@
)
)
(device
- (tap
+ (vbd
(protocol x86_64-abi)
(uuid f3b1f09f-d1c7-e145-4a80-84c07aadc7ed)
(bootable 1)
(dev xvda:disk)
- (uname tap:aio:/root/dom-u1)
+ (uname file:/root/dom-u1)
(mode w)
(backend 0)
)
~~~~~~~~~~~~~~~~~~~
Regards
Sun Shuchun
----- Original Message -----
From: "Konrad Rzeszutek Wilk" <konrad.wilk@oracle.com>
To: "Sun Shuchun" <sun.shuchun@jp.fujitsu.com>
Cc: <xen-devel@lists.xensource.com>
Sent: Wednesday, November 11, 2009 11:53 PM
Subject: Re: [Xen-devel] A kernel panic occured when booting a pv guest ata
xen-unstable
> On Wed, Nov 11, 2009 at 11:34:03AM +0900, Sun Shuchun wrote:
>> To Xen developers,
>>
>> I failed to install a pv guest on a xen-unstable.
>> The booting log and configration file are attached to this email.
>
> You _do_ have a ramdisk defined in your .xm file, correct?
>
> Did it work beforehand? Did you change anything except the
> kernel?
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-11-12 8:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-11 2:34 A kernel panic occured when booting a pv guest at a xen-unstable Sun Shuchun
2009-11-11 14:53 ` Konrad Rzeszutek Wilk
2009-11-12 8:33 ` A kernel panic occured when booting a pv guest ata xen-unstable Sun Shuchun
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.