Skip to contentSkip to conversation

xen unstable crashes

DISCUSSION Gerd Hoffmann 2 participants 3 messages Jul 18, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

$subject says all. This is an unpatched unstable tree (10711) and an attempt to boot the suse linux 10.1 xen kernel (kernel-xen-2.6.16.13-4) with an ttylinux initrd and features=auto_translated_physmap.

Trying to boot other kernels in shadow-translated mode doesn't work either, but they at least don't take down xen, only the guest crashes.

cheers,
Gerd

Signature · 2 lines
Gerd Hoffmann <[email protected]>
http://www.suse.de/~kraxel/julika-dora.jpeg

(XEN) (file=extable.c, line=77) Pre-exception: ff105607 -> 00000000
(XEN) ----[ Xen-3.0-unstable Not tainted ]----
(XEN) CPU: 0
(XEN) EIP: e008:[<ff105607>] evtchn_set_pending+0x17/0x110
(XEN) EFLAGS: 00210096 CONTEXT: hypervisor

(XEN) eax: 00000000   ebx: ffbebd80   ecx: 0000000b   edx: ff1d8a00
(XEN) esi: 00000000   edi: 00000013   ebp: 000000b0   esp: ff19df28
(XEN) cr0: 8005003b   cr3: 3e990000
(XEN) ds: e010   es: e010   fs: 0000   gs: 0000   ss: e010   cs: e008
(XEN) Xen stack trace from esp=ff19df28:
(XEN)    ff1a5200 ffbfbd80 ffbfe280 01c9c380 ffbebd80 00000001 00000013 ff12012f
(XEN)    00000000 0000000b ff112163 f8fbe080 00000000 00000000 ff1b5800 ff19dfb4
(XEN)    ff19dfb4 ffbfe280 ffbfe280 ff11cab1 ff19df7c ff19dfb4 ffbed280 00000000
(XEN)    ff19dfb4 ffbfe280 ffbfe280 00000000 00b00000 ff119e75 0000e008 00200246
(XEN)    c05ae000 c05aff84 00000000 00000001 00000000 00000000 00000001 c05ae000
(XEN)    c05aff84 00000000 000d0000 c01013a7 00000061 00200246 c05aff74 00000069
(XEN)    0000007b 0000007b 00000000 00000000 00000000 ffbfe280
(XEN) Xen call trace:
(XEN)    [<ff105607>] evtchn_set_pending+0x17/0x110
(XEN)    [<ff12012f>] do_IRQ+0xaf/0x1d0
(XEN)    [<ff112163>] do_block+0x43/0xa0
(XEN)    [<ff11cab1>] common_interrupt+0x41/0x50
(XEN)    [<ff119e75>] idle_loop+0x15/0x50

(XEN)
(XEN) Faulting linear address: 0000000c
(XEN) Pagetable walk from 0000000c:
(XEN) L2 = 325ca067 0001bbca
(XEN) L1 = 00000000 ffffffff
(XEN) ************************************
(XEN) CPU0 FATAL TRAP 14 (page fault), ERROR_CODE 0000, IN INTERRUPT CONTEXT. (XEN) System shutting down -- need manual reset.
(XEN) ************************************

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 6 lines · Gerd Hoffmann

$subject says all. This is an unpatched unstable tree (10711) and an attempt to boot the suse linux 10.1 xen kernel (kernel-xen-2.6.16.13-4) with an ttylinux initrd and features=auto_translated_physmap.

Trying to boot other kernels in shadow-translated mode doesn't work either, but they at least don't take down xen, only the guest crashes.

A null pointer dereference in evtchn_set_pending can't be that hard to track down, if it's crashing every time in this way with suse 10.1.

-- Keir

#2 lore raw
Quoted 3 lines · Keir Fraser

A null pointer dereference in evtchn_set_pending can't be that hard to track down, if it's crashing every time in this way with suse 10.1.

It's vcpu being NULL, %esi register here:

ff1055f0 <evtchn_set_pending>:

ff1055f0:       83 ec 1c                sub    $0x1c,%esp
ff1055f3:       89 74 24 14             mov    %esi,0x14(%esp)
ff1055f7:       8b 74 24 20             mov    0x20(%esp),%esi
ff1055fb:       89 5c 24 10             mov    %ebx,0x10(%esp)
ff1055ff:       8b 4c 24 24             mov    0x24(%esp),%ecx
ff105603:       89 7c 24 18             mov    %edi,0x18(%esp)
ff105607:       8b 5e 0c                mov    0xc(%esi),%ebx  <==
ff10560a:       8b 53 04                mov    0x4(%ebx),%edx

The stack trace looks suspious to me though, none of the functions in the trace calls evtchn_set_pending() ...

cheers,

Gerd

Signature · 2 lines
Gerd Hoffmann <[email protected]>
http://www.suse.de/~kraxel/julika-dora.jpeg