[Pkg-xen-devel] DomU with PCI crashes when restored
Sebastian Raring
sebastian at raring.de
Tue Oct 31 10:26:57 CET 2006
Kernel 2.6.18-1-xen-k7 (unstable)
Xen 3.0.3-1 (unstable)
OS: Debian Etch
Guest: Debian Etch/Ubuntu Edgy
This combination is the only one where I can create a domU with
PCI-export (network card) and a normal one without to crash at the
create of the domUs.
But when I save the domU to file and restore it, it crashes with the
following error:
-- Start Log --
dom0:~# xm save dsletch test2
dom0:~# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 229 1 r----- 189.1
dns 1 128 1 -b---- 0.1
dom0:~# ls -lsh
insgesamt 192M
64M -rwxr-xr-x 1 root root 64M 2006-10-31 09:03 test1
129M -rwxr-xr-x 1 root root 128M 2006-10-31 09:17 test2
dom0:~# xm restore test2
dom0:~# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 229 1 r----- 190.8
dns 1 128 1 -b---- 0.2
dsletch 7 128 1 -b---- 0.0
dom0:~# xm console dsletch
------------[ cut here ]------------
kernel BUG at drivers/xen/core/evtchn.c:765!
invalid opcode: 0000 [#1]
SMP
Modules linked in: ipv6 8250 serial_core ext3 jbd mbcache dm_mirror
dm_snapshot dm_mod raid1 md_mod 3c59x mii processor
CPU: 0
EIP: 0061:[<c0208f96>] Not tainted VLI
EFLAGS: 00010006 (2.6.18-1-xen-k7 #1)
EIP is at irq_resume+0x30/0x28e
eax: 00000010 ebx: 00000000 ecx: 00000000 edx: 00000400
esi: 00000022 edi: 00000000 ebp: 00022000 esp: c7b51ef8
ds: 007b es: 007b ss: 0069
Process suspend (pid: 1248, ti=c7b50000 task=c0f41550 task.ti=c7b50000)
Stack: c0f41550 c012a161 c7b51f00 c7b51f00 00000000 00000002 c7b51f48
c02097f2
c1007280 c039400c c9003000 c0fa8c90 c01473fa c7b51f80 c02cc4c0
c9004000
c9004000 c0fafea0 c1000000 00000002 00000022 00000000 00022000
c0209575
Call Trace:
[<c012a161>] autoremove_wake_function+0x0/0x2d
[<c02097f2>] map_pte_fn+0x22/0x40
[<c01473fa>] apply_to_page_range+0x272/0x2bf
[<c0209575>] gnttab_resume+0x96/0xad
[<c02097d0>] map_pte_fn+0x0/0x40
[<c0117ff0>] copy_process+0x6cd/0x10ac
[<c020a5b5>] __do_suspend+0x286/0x3c5
[<c0113316>] complete+0x2b/0x3d
[<c020a32f>] __do_suspend+0x0/0x3c5
[<c012a093>] kthread+0xc2/0xef
[<c0129fd1>] kthread+0x0/0xef
[<c0102969>] kernel_thread_helper+0x5/0xb
Code: c4 80 e8 8e f5 ff ff 31 d2 a1 e4 d9 2c c0 f0 0f ab 90 80 08 00 00
42 81 fa 00 04 00 00 75 ea 31 c0 83 3c 85 00 65 37 c0 00 74 08 <0f> 0b
fd 02 13 e8 2a c0 40 3d 00 01 00 00 75 e6 b8 00 9f 37 c0
EIP: [<c0208f96>] irq_resume+0x30/0x28e SS:ESP 0069:c7b51ef8
Message from syslogd at dsletch at Tue Oct 31 08:18:02 2006 ...
dsletch kernel: ------------[ cut here ]------------
Message from syslogd at dsletch at Tue Oct 31 08:18:02 2006 ...
dsletch kernel: kernel BUG at drivers/xen/core/evtchn.c:765!
Message from syslogd at dsletch at Tue Oct 31 08:18:02 2006 ...
dsletch kernel: invalid opcode: 0000 [#1]
Message from syslogd at dsletch at Tue Oct 31 08:18:02 2006 ...
dsletch kernel: SMP
M
-- End Log --
Is there a bugfix or a workaround?
I dont need this save/restore directly, but when the dom0 restarts, it
is very bad when the domU crashes.
Thanks for your help
Sebastian
More information about the Pkg-xen-devel
mailing list