dom0 kernel bug at shutdown of hvm windows server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
linux-source-2.6.22 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I have a hvm windows 2k domU with the following xen config file:
kernel = '/usr/lib/
device_model = '/usr/lib/
builder='hvm'
memory = 1024
disk = [ 'phy:/dev/
vif = [ 'type=ioemu, mac=00:
name = 'win2ks'
boot='c'
sdl=0
vnc=0
vncviewer=0
ne2000=0
The domU boot fine, it's stable and usable. When I shut down the domU (from Windows start menu), a kernel bug happens in hypervisor.c when the domain is destroyed. xend hangs (xm command does not respond) and I cannot open new login (from console or ssh). I will attach some more info about the system, and logs from xen
Dec 5 12:27:53 sigma kernel: [ 367.025191] kernel BUG at /build/ buildd/ linux-source- 2.6.22- 2.6.22/ debian/ build/custom- source- xen/arch/ i386/mm/ hypervisor. c:167! pgd_pin+ 96/112] Not tainted VLI pin+0x60/ 0x70 4191/4608] copy_process+ 0x105f/ 0x1200 user+48/ 96] copy_to_ user+0x30/ 0x60 call+0x7/ 0xb completion_ interruptible+ 304/336] wait_for_ completion_ interruptible+ 0x130/0x150 ======= ======= == pin+96/ 112] xen_pgd_ pin+0x60/ 0x70 SS:ESP 0069:ea9b3ee4
Dec 5 12:27:53 sigma kernel: [ 367.025330] invalid opcode: 0000 [#1]
Dec 5 12:27:53 sigma kernel: [ 367.025436] SMP
Dec 5 12:27:53 sigma kernel: [ 367.025712] Modules linked in: xt_physdev iptable_filter ip_tables x_tables af_packet bridge video battery container sbs button dock ac ext3 jbd mbcache loop coretemp ipmi_devintf ipmi_si ipmi_msghandler i2c_i801 i2c_core parport_pc lp parport psmouse serio_raw pcspkr serial_core shpchp pci_hotplug ipv6 evdev reiserfs ata_piix sg sd_mod ata_generic libata ehci_hcd uhci_hcd usbcore mptsas mptscsih mptbase scsi_transport_sas scsi_mod e1000 dm_mirror dm_snapshot dm_mod thermal processor fan fuse apparmor commoncap
Dec 5 12:27:53 sigma kernel: [ 367.031161] CPU: 0
Dec 5 12:27:53 sigma kernel: [ 367.031162] EIP: 0061:[xen_
Dec 5 12:27:53 sigma kernel: [ 367.031163] EFLAGS: 00010282 (2.6.22-14-xen #1)
Dec 5 12:27:53 sigma kernel: [ 367.031495] EIP is at xen_pgd_
Dec 5 12:27:53 sigma kernel: [ 367.031607] eax: ffffffea ebx: ea9b3ee4 ecx: 00000001 edx: 00000000
Dec 5 12:27:53 sigma kernel: [ 367.031721] esi: 00007ff0 edi: 00000000 ebp: c0cd39f0 esp: ea9b3ee4
Dec 5 12:27:53 sigma kernel: [ 367.031835] ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0069
Dec 5 12:27:53 sigma kernel: [ 367.031947] Process block (pid: 7856, ti=ea9b2000 task=c0cd2530 task.ti=ea9b2000)
Dec 5 12:27:53 sigma kernel: [ 367.032064] Stack: 00000002 0007e4fb 004fb000 00009f60 eac9c1b8 c0114aef c6171380 c0114b22
Dec 5 12:27:53 sigma kernel: [ 367.032969] 01200011 c01209cf eac9cd2c 00000000 ea9b3f8c c13a73b4 c61713b4 c0cd3ab0
Dec 5 12:27:53 sigma kernel: [ 367.033869] ea9b3fb8 bf8b4b3c 00000000 e9064e00 c0cd39f0 c6171380 c13a7380 eac9c1c4
Dec 5 12:27:53 sigma kernel: [ 367.034765] Call Trace:
Dec 5 12:27:53 sigma kernel: [ 367.034976] [__pgd_pin+47/64] __pgd_pin+0x2f/0x40
Dec 5 12:27:53 sigma kernel: [ 367.035174] [mm_pin+34/48] mm_pin+0x22/0x30
Dec 5 12:27:53 sigma kernel: [ 367.035373] [copy_process+
Dec 5 12:27:53 sigma kernel: [ 367.035582] [do_fork+118/560] do_fork+0x76/0x230
Dec 5 12:27:53 sigma kernel: [ 367.035782] [copy_to_
Dec 5 12:27:53 sigma kernel: [ 367.035984] [sys_clone+54/64] sys_clone+0x36/0x40
Dec 5 12:27:53 sigma kernel: [ 367.036186] [syscall_call+7/11] syscall_
Dec 5 12:27:53 sigma kernel: [ 367.036387] [wait_for_
Dec 5 12:27:53 sigma kernel: [ 367.036592] =======
Dec 5 12:27:53 sigma kernel: [ 367.036700] Code: 89 e3 b9 01 00 00 00 31 d2 be f0 7f 00 00 e8 88 83 fe ff 85 c0 78 14 83 c4 0c 5b 5e c3 39 c2 72 cd 0f 0b eb fe 8d b6 00 00 00 00 <0f> 0b eb fe 8d b6 00 00 00 00 8d bf 00 00 00 00 56 89 c2 53 83
Dec 5 12:27:53 sigma kernel: [ 367.042395] EIP: [xen_pgd_
Dec 5 12:27:54 sigma kerne...