Nicholas Lee
2005-Nov-18 05:59 UTC
[Xen-devel] preempt causes x64 domU (Xen 3.0) to crash.
Xen version 3.0-devel (nic@localdomain) (gcc version 3.3.5 (Debian 1:3.3.5-13)) Fri Nov 18 17:51:36 NZDT 2005 Latest ChangeSet: Fri Nov 18 02:56:50 2005 +0100 7870:f6fdb6e0d3c9 nic@wuwei:/usr/src/xen/xen-unstable.hg/linux-2.6.12-xenU$ diff -ru /boot/config-2.6.12.6-xenU /usr/src/xen/config-2.6.12-xenU --- /boot/config-2.6.12.6-xenU 2005-11-18 18:39:39.000000000 +1300 +++ /usr/src/xen/config-2.6.12-xenU 2005-11-18 13:48:40.131095426 +1300 @@ -1,7 +1,7 @@ # # Automatically generated make config: don''t edit # Linux kernel version: 2.6.12.6-xenU -# Fri Nov 18 18:26:19 2005 +# Sun Nov 13 20:02:46 2005 # CONFIG_XEN=y CONFIG_ARCH_XEN=y @@ -92,7 +92,7 @@ CONFIG_SMP=y CONFIG_NR_CPUS=8 # CONFIG_SCHED_SMT is not set -# CONFIG_PREEMPT is not set +CONFIG_PREEMPT=y # CONFIG_MICROCODE is not set CONFIG_X86_CPUID=y # CONFIG_NUMA is not set @@ -766,6 +766,7 @@ CONFIG_LOG_BUF_SHIFT=15 # CONFIG_SCHEDSTATS is not set # CONFIG_DEBUG_SLAB is not set +CONFIG_DEBUG_PREEMPT=y # CONFIG_DEBUG_SPINLOCK is not set # CONFIG_DEBUG_SPINLOCK_SLEEP is not set # CONFIG_DEBUG_KOBJECT is not set (XEN) Domain 3 (vcpu#1) crashed on cpu#0: (XEN) CPU: 0 (XEN) RIP: e030:[<ffffffff8011c8c0>] ??? (XEN) RFLAGS: 0000000000010246 CONTEXT: hypervisor (XEN) rax: 0000000000000000 rbx: ffffffffff5fd000 rcx: 0000000000000000 (XEN) rdx: 0000000000000000 rsi: 0000000000000004 rdi: ffff8800013a1098 (XEN) rbp: 0000000000000000 rsp: ffff8800013a0f98 r8: 0000000000000000 (XEN) r9: 0000000000000000 r10: 0000000000000000 r11: 0000000000000000 (XEN) r12: 0000000000000000 r13: 0000000000000000 r14: 0000000000000000 (XEN) r15: ffff8800013a1098 cr0: 000000008005003b cr3: 00000000fbf04000 (XEN) Xen stack trace from rsp=ffff8800013a0f98: (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000000 (XEN) 0000000000000000 0000000000000000 0000000000000000 00000000fa124066 (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000000 (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000000 (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000000 (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000000 (XEN) 0000000000000000 ffffffffff5fd000 0000000000000000 0000000000000000 (XEN) 0000000000000000 0000000000000000 ffff8800013a1268 ffffffff8011306b (XEN) ffff8800013a1268 0000000000000000 0000000000000000 0000000000000000 (XEN) 0000000000000000 ffffffffff5fd000 0000000000000000 0000000000000000 (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000000 (XEN) 0000000000000000 0000000000000004 ffff8800013a1268 ffffffffffffffff (XEN) ffffffff80258ff7 000000010000e030 0000000000010096 ffff8800013a1148 (XEN) 000000000000e02b 0000000000000000 0000000000000000 ffffffffff5fd000 (XEN) 0000000000000000 ffffffff8011c8c5 0000000000000000 0000000000000000 (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000000 (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000000 (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000000 (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000000 (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000000 (XEN) Xen call trace: (XEN) [<ffffffff8011c8c0>] ??? (XEN) (XEN) Domain 3 reported crashed by domain 32767 on cpu#0: This same config worked previously. -- Nicholas Lee http://stateless.geek.nz gpg 8072 4F86 EDCD 4FC1 18EF 5BDD 07B0 9597 6D58 D70C _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Nakajima, Jun
2005-Nov-18 06:31 UTC
RE: [Xen-devel] preempt causes x64 domU (Xen 3.0) to crash.
Nicholas Lee wrote:> Xen version 3.0-devel (nic@localdomain) (gcc version 3.3.5 (Debian > 1:3.3.5-13)) Fri Nov 18 17:51:36 NZDT 2005 > Latest ChangeSet: Fri Nov 18 02:56:50 2005 +0100 7870:f6fdb6e0d3c9 > > > > This same config worked previously.I guess this is a known issue. This hasn''t been high priority to me, as the value of preemption in virtualization was not clear to me. I''m aware that some distros have preemption by default. So eventually we need to fix; probably it should not be a big deal because 32-bit xenlinux works fine with preemption enabled. Of course, fixes are welcome ;-). Jun --- Intel Open Source Technology Center _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel