[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] KDB in Xen 4.4



>I applied your patches to xen 4.4.0 source, It can be applied without
>errors, and built OK. I install it in ubuntu 12.04. After I reboot the
>system, it has a fatal error, and system cannot boot. I put the serial
>console log below. Do you have any ideas about what causes this problem?
>any
>suggestions will be appreciated. Thank you.
>
>
>
>[    0.000000] Booting paravirtualized kernel on Xen
>[    0.000000] Xen version: 4.4.0 (preserve-AD)
>[    0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:4
>nr_node_ids:1
>[    0.000000] PERCPU: Embedded 28 pages/cpu @ffff8800bfe9b000 s83072
>r8192
>d23424 u114688
>[    0.000000] pcpu-alloc: s83072 r8192 d23424 u114688 alloc=28*4096
>[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
>[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total
>pages: 1026323
>[    0.000000] Policy zone: Normal
>[    0.000000] Kernel command line: root=UUID=b2902faa-4872-4d3b-ae3a-
>6284cbc63f12 ro earlyprintk=xen loglevel=8 console=hvc0
>[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
>[    0.000000] invalid opcode: 0000 [#1] SMP
>[    0.000000] CPU 0
>[    0.000000] Modules linked in:
>[    0.000000]
>[    0.000000] Pid: 0, comm: swapper Not tainted 3.2.0-23-generic #36-Ubuntu
>Dell Inc. Vostro 220 Series /0JJW8N
>[    0.000000] RIP: e030:[<ffffffff8101d81c>]  [<ffffffff8101d81c>]
>xstate_enable+0x3c/0x50
>[    0.000000] RSP: e02b:ffffffff81c01e58  EFLAGS: 00010046
>[    0.000000] RAX: 0000000000000003 RBX: ffffffff81c01e94 RCX:
>0000000000000000
>[    0.000000] RDX: 0000000000000000 RSI: 0000000000000003 RDI:
>0000000000002660
>[    0.000000] RBP: ffffffff81c01e58 R08: ffffffff81c01e90 R09:
>ffffffff81c01e94
>[    0.000000] R10: 00000000ffffffff R11: 00000000ffffffff R12:
>ffffffff81c01e90
>[    0.000000] R13: ffffffff81c01e8c R14: ffffffff81c01e88 R15:
>ffff8800bfea7480
>[    0.000000] FS:  0000000000000000(0000) GS:ffff8800bfe9b000(0000)
>knlGS:0000000000000000
>[    0.000000] CS:  e033 DS: 0000 ES: 0000 CR0: 000000008005003b
>[    0.000000] CR2: 0000000000000000 CR3: 0000000001c05000 CR4:
>0000000000002660
>[    0.000000] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
>0000000000000000
>[    0.000000] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7:
>0000000000000400
>[    0.000000] Process swapper (pid: 0, threadinfo ffffffff81c00000, task
>ffffffff81c0d020)
>[    0.000000] Stack:
>[    0.000000]  ffffffff81c01ec8 ffffffff81d0474c ffff8800bfea6150
>ffff8800bfea6950
>[    0.000000]  ffff8800bfea6150 ffff8800bfea6950 0000024000000003
>0000000000000240
>[    0.000000]  0000000000000004 0000000000000008 0000000000000004
>0000000000000000
>[    0.000000] Call Trace:
>[    0.000000]  [<ffffffff81d0474c>] xstate_enable_boot_cpu+0xa9/0x174
>[    0.000000]  [<ffffffff81635a17>] xsave_init+0x26/0x28
>[    0.000000]  [<ffffffff81637cdd>] cpu_init+0x2bb/0x2d8
>[    0.000000]  [<ffffffff81d00f49>] trap_init+0x169/0x171
>[    0.000000]  [<ffffffff81cfba28>] start_kernel+0x1d5/0x3c7
>[    0.000000]  [<ffffffff81cfb388>] x86_64_start_reservations+0x132/0x136
>[    0.000000]  [<ffffffff81cfef06>] xen_start_kernel+0x5bc/0x5c3
>[    0.000000] Code: 00 04 00 ff 14 25 90 76 c1 81 48 89 c7 48 81 cf 00 00
>04 00 ff 14 25 98 76 c1 81 48 8b 05 dd 0d dc 00 31 c9 48 89 c2 48 c1 ea 20
><0f> 01 d1 5d c3 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 55
>[    0.000000] RIP  [<ffffffff8101d81c>] xstate_enable+0x3c/0x50
>[    0.000000]  RSP <ffffffff81c01e58>
>[    0.000000] ---[ end trace a7919e7f17c0a725 ]---
>[    0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
>[    0.000000] Pid: 0, comm: swapper Tainted: G      D      3.2.0-23-generic
>#36-Ubuntu
>[    0.000000] Call Trace:
>[    0.000000]  [<ffffffff81644023>] panic+0x91/0x1a4
>[    0.000000]  [<ffffffff8106bcae>] do_exit+0x41e/0x420
>[    0.000000]  [<ffffffff8165d620>] oops_end+0xb0/0xf0
>[    0.000000]  [<ffffffff810168d8>] die+0x58/0x90
>[    0.000000]  [<ffffffff8165cf94>] do_trap+0xc4/0x170
>[    0.000000]  [<ffffffff81013f65>] do_invalid_op+0x95/0xb0
>[    0.000000]  [<ffffffff8101d81c>] ? xstate_enable+0x3c/0x50
>[    0.000000]  [<ffffffff8100aa82>] ? check_events+0x12/0x20
>[    0.000000]  [<ffffffff8100b169>] ? get_phys_to_machine+0x9/0x70
>[    0.000000]  [<ffffffff81006759>] ? pte_mfn_to_pfn+0x89/0xf0
>[    0.000000]  [<ffffffff8100a29d>] ? xen_force_evtchn_callback+0xd/0x10
>[    0.000000]  [<ffffffff81666a6b>] invalid_op+0x1b/0x20
>[    0.000000]  [<ffffffff8101d81c>] ? xstate_enable+0x3c/0x50
>[    0.000000]  [<ffffffff8101d80c>] ? xstate_enable+0x2c/0x50
>[    0.000000]  [<ffffffff81d0474c>] xstate_enable_boot_cpu+0xa9/0x174
>[    0.000000]  [<ffffffff81635a17>] xsave_init+0x26/0x28
>[    0.000000]  [<ffffffff81637cdd>] cpu_init+0x2bb/0x2d8
>[    0.000000]  [<ffffffff81d00f49>] trap_init+0x169/0x171
>[    0.000000]  [<ffffffff81cfba28>] start_kernel+0x1d5/0x3c7
>[    0.000000]  [<ffffffff81cfb388>] x86_64_start_reservations+0x132/0x136
>[    0.000000]  [<ffffffff81cfef06>] xen_start_kernel+0x5bc/0x5c3
>*** kdb (Fatal Error on cpu:0 vec:1  ????? ):
>ffff82d080223a0f: kdb_trap_immed+3f              lea 0x6058e(%rip), %rdi
>[0]xkdb>

I don't think this has anything to do with the KDB patch. You might be running 
in to this issue:
http://lists.xenproject.org/archives/html/xen-devel/2012-05/msg00080.html

Please try running with the xsave=0 kernel command line option or upgrade your 
kernel.

Thanks,
Aravindh

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.