linux-2.6.22-13-xen won't boot as domU

Bug #150731 reported by Cristian Klein
4
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Medium
Colin Ian King
linux-source-2.6.22 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

I was using today's Gutsy to install Xen on a server, by using ubuntu-xen-server, which installs linux-2.6.22-13-xen as a dom0 / domU kernel. dom0 boots fine, so I used xen-create-image to generate the new image. Unfortunately, it hangs with 100% cpu usage after displaying some console output.

Revision history for this message
Cristian Klein (cristiklein) wrote :
Download full text (6.2 KiB)

Console output:

cristi@xxx:~$ sudo xm create -c /etc/xen/xen0.cfg
Using config file "/etc/xen/xen0.cfg".
Started domain xen0
                      [ 0.000000] Linux version 2.6.22-13-xen (buildd@palmer) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Thu Oct 4 18:48:41 GMT 2007 (Unofficial)
[ 0.000000] Reserving virtual address space above 0xf5800000
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] Xen: 0000000000000000 - 0000000008800000 (usable)
[ 0.000000] 0MB HIGHMEM available.
[ 0.000000] 136MB LOWMEM available.
[35231.495597] Zone PFN ranges:
[35231.495599] DMA 0 -> 34816
[35231.495602] Normal 34816 -> 34816
[35231.495604] HighMem 34816 -> 34816
[35231.495606] early_node_map[1] active PFN ranges
[35231.495608] 0: 0 -> 34816
[35231.497841] ACPI in unprivileged domain disabled
[35231.499146] Allocating PCI resources starting at 10000000 (gap: 08800000:f7800000)
[35231.499191] Built 1 zonelists. Total pages: 34544
[35231.499196] Kernel command line: root=/dev/sda1 ro
[35231.499447] Enabling fast FPU save and restore... done.
[35231.499452] Enabling unmasked SIMD FPU exception support... done.
[35231.499456] Initializing CPU#0
[35231.499628] PID hash table entries: 1024 (order: 10, 4096 bytes)
[35231.499663] Xen reported: 3000.100 MHz processor.
[35231.499693] Console: colour dummy device 80x25
[35231.499913] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[35231.500095] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[35231.500166] Software IO TLB disabled
[35231.500177] vmalloc area: c9000000-f53fe000, maxmem 2d800000
[35231.501658] Memory: 108060k/139264k available (2071k kernel code, 22848k reserved, 926k data, 200k init, 0k highmem)
[35231.501676] virtual kernel memory layout:
[35231.501678] fixmap : 0xf568f000 - 0xf57ff000 (1472 kB)
[35231.501680] pkmap : 0xf5400000 - 0xf5600000 (2048 kB)
[35231.501682] vmalloc : 0xc9000000 - 0xf53fe000 ( 707 MB)
[35231.501684] lowmem : 0xc0000000 - 0xc8800000 ( 136 MB)
[35231.501686] .init : 0xc03f3000 - 0xc0425000 ( 200 kB)
[35231.501687] .data : 0xc0305cfe - 0xc03ed544 ( 926 kB)
[35231.501689] .text : 0xc0100000 - 0xc0305cfe (2071 kB)
[35231.501728] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[35231.501802] SLUB: Genslabs=22, HWalign=64, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
[35231.569682] Calibrating delay using timer specific routine.. 6005.98 BogoMIPS (lpj=12011960)
[35231.569718] Security Framework v1.0.0 initialized
[35231.569729] SELinux: Disabled at boot.
[35231.569754] Mount-cache hash table entries: 512
[35231.569972] CPU: Trace cache: 12K uops, L1 D cache: 16K
[35231.569982] CPU: L2 cache: 2048K
[35231.570000] Compat vDSO mapped to f57fe000.
[35231.570010] Checking 'hlt' instruction... OK.
[35231.570376] SMP alternatives: switching to UP code
[35231.570718] Freeing SMP alternatives: 11k freed
[35231.570853] Early unpacking initramfs... done
[35231.591741] Brought up 1 CPUs
[35231.592419] NET: Registered protocol family 16
[35231.593715] Brought up 1 CPUs
[35231.593734...

Read more...

Revision history for this message
Cristian Klein (cristiklein) wrote :

xen-tools.conf I used:

# Use the following volume group
lvm = all

# Installation method.
install-method = debootstrap

# Disk and Sizing options.
size = 4Gb # Disk image size.
memory = 128Mb # Memory size
swap = 128Mb # Swap size
fs = ext3 # use the EXT3 filesystem for the disk image.
image = sparse # Specify sparse vs. full disk images.

# If you'd like all accounts on your host system which are not present
# on the guest system to be copied over then uncomment the following line.
accounts = 1

#
# Default kernel and ramdisk to use for the virtual servers
#
kernel = /boot/vmlinuz-`uname -r`
initrd = /boot/initrd.img-`uname -r`

# A mirror suitable for use when installing the Dapper release of Ubuntu.
mirror = http://ro.archive.ubuntu.com/ubuntu/
dist = gutsy # Default distribution to install.

Revision history for this message
Cristian Klein (cristiklein) wrote :

Note that xen-image-2.6.19-4-server boots fine as a domU.

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this bug to the new "linux" package. However, development has already began for the upcoming Intrepid Ibex 8.10 release. It would be helpful if you could test the upcoming release and verify if this is still an issue - http://www.ubuntu.com/testing . If the issue still exists, please update this report by changing the Status of the "linux" task from "Incomplete" to "New". We appreciate your patience and understanding as we make this transition. Thanks!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Cristian Klein (cristiklein) wrote :

Just wanted to test whether this bug has been in fixed in Intrepid, but it seems that there is no dom0 kernel in Intrepid. This has also been pointed out on https://answers.edge.launchpad.net/ubuntu/+source/linux/+question/42448. Is Ubuntu going to abandon Xen support? If yes, this bug should go as Won't Fix.

Revision history for this message
Colin Ian King (colin-king) wrote :

It is true that Intrepid does not include a dom0 linux kernel, but it does still include a Xen 3.3 hypervisor and userland tools. Intrepid runs a linux kernel version which Xen doesn't explictly support, and so the Ubuntu kernel team would have had to forward-port the Xen patches from 2.6.18.

It's also worth noting that the Xen 3.3 hypervisor is also included in jaunty.

Unfortunately it seems this bug is still an issue. Can you confirm this issue exists with the most recent Jaunty Jackalope 9.04 release - http://www.ubuntu.com/news/ubuntu-9.04-desktop . Please let us know your results. Thanks

Changed in linux (Ubuntu):
importance: Undecided → Medium
Changed in linux (Ubuntu):
assignee: nobody → Colin King (colin-king)
Revision history for this message
Colin Ian King (colin-king) wrote :

This bug report was marked as Incomplete a while ago and has not had any feedback to provide the requested information. As a result this bug is being closed. Please reopen if this is still an issue in the latest Karmic 9.10 Alpha release http://cdimage.ubuntu.com/releases/karmic/ . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

Changed in linux (Ubuntu):
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.