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

Re: [Xen-users] kexec crashes on DOM0




Thank you for yr reply.

I tried with xen 4.1.2 and linux 3.2.8 and it still failed.  The error is appended.  If I load linux3.2.8 with no xen, then kexec works OK.

Rajiv

=================================

/ #  kexec -l /boot/3.2.8 --append="noinitrd maxcpus=1"
BUG: unable to handle kernel paging request at ffffeba400000000
IP: [<ffffffff81006039>] xen_page_pinned+0x29/0x40
PGD 0
Oops: 0000 [#1] PREEMPT SMP
CPU 3
Modules linked in:

Pid: 133, comm: kexec Not tainted 3.2.8-ws-symbol #1 To Be Filled By O.E.M. To Be Filled By O.E.M./To be filled by O.E.M.
RIP: e030:[<ffffffff81006039>]  [<ffffffff81006039>] xen_page_pinned+0x29/0x40
RSP: e02b:ffff88002ed4de18  EFLAGS: 00010286
RAX: ffffeba400000000 RBX: ffff88002ecb8000 RCX: 0000160000000000
RDX: ffffea0000000000 RSI: 0000000105eb0063 RDI: 0000000000000001
RBP: ffff88002ed4de18 R08: 0000000000000003 R09: 000000002f327000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000105eb0063 R14: 0000008000000000 R15: ffff88002f326000
FS:  00007f1733b406f0(0000) GS:ffff880040753000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: ffffeba400000000 CR3: 000000002ecd4000 CR4: 0000000000002660
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process kexec (pid: 133, threadinfo ffff88002ed4c000, task ffff88002ed458d0)
Stack:
 ffff88002ed4de58 ffffffff81009f44 0000000000000000 ffff88002f309000
 0000000140000000 0000000140000000 0000008000000000 ffff88002f326000
 ffff88002ed4ded8 ffffffff8102e4b8 ffff88002ed4de88 ffff88002f30bc00
Call Trace:
 [<ffffffff81009f44>] xen_set_pgd+0x54/0x240
 [<ffffffff8102e4b8>] machine_kexec_prepare+0x238/0x660
 [<ffffffff8108618f>] sys_kexec_load+0x11f/0x640
 [<ffffffff810e794c>] ? do_sys_open+0x16c/0x1c0
 [<ffffffff8149df92>] system_call_fastpath+0x16/0x1b
Code: c3 90 55 48 89 e5 e8 f7 28 03 00 48 c1 e8 0c 48 8d 14 c5 00 00 00 00 48 c1 e0 06 48 29 d0 48 ba 00 00 00 00 00 ea ff ff 48 01 d0 <48> 8
RIP  [<ffffffff81006039>] xen_page_pinned+0x29/0x40
 RSP <ffff88002ed4de18>
CR2: ffffeba400000000
---[ end trace ff97a1089256a0b3 ]---




Date: Thu, 1 Mar 2012 06:43:36 +1100
Subject: Re: [Xen-users] kexec crashes on DOM0
From: joseph.glanville@xxxxxxxxxxxxxx
To: r1d@xxxxxxxxxxx
CC: xen-users@xxxxxxxxxxxxx

AFAIK kexec is not supported with dom0 on 2.6.32 kernels, to my knowledge kexec support was only achieved around 3.1 or 3.2.
I would suggest trying a mainline 3.2.1 based kernel and see if that fixes your issues.

Joseph.

On 1 March 2012 06:26, Rajiv D <r1d@xxxxxxxxxxx> wrote:

On a x86_64 platform, I am running xen 4.1.2, linux 2.6.32.24 with pvops.patch.
When doing "kexec -l .... " I get an error (appended below).   The kernel that I give
kexec is also linux 2.6.32.24 with pvops.patch (the running kernel).

Any ideas/pointers will be truly appreciated.

Thank you,

-Rajiv

====================================================



BUG: unable to handle kernel paging request at ffffeba400000000
IP: [<ffffffff8100cbb6>] xen_page_pinned+0x26/0x40
PGD 0
Oops: 0000 [#1] PREEMPT SMP
last sysfs file: /sys/bus/pci/drivers/ehci_hcd/bind
CPU 1
Modules linked in: bridge stp llc
Pid: 398, comm: kexec Not tainted 2.6.32.24-ws-symbol #1 To Be Filled By O.E.M.
RIP: e030:[<ffffffff8100cbb6>]  [<ffffffff8100cbb6>] xen_page_pinned+0x26/0x40
RSP: e02b:ffff8800b8b65e28  EFLAGS: 00010206
RAX: 000001a400000000 RBX: ffff8800b8c5a000 RCX: 0000160000000000
RDX: ffffea0000000000 RSI: 000000003792f063 RDI: 0000000000000001
RBP: ffff8800b8b65e28 R08: 0000000000000003 R09: 00000000b8f0d000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
R13: 000000003792f063 R14: 0000008000000000 R15: ffff8800b8f0c000
FS:  00007fe88975a6f0(0000) GS:ffff880001ee3000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 000000008005003b

CR2: ffffeba400000000 CR3: 00000000b8ffa000 CR4: 0000000000002660
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process kexec (pid: 398, threadinfo ffff8800b8b64000, task ffff8800b8908150)
Stack:
 ffff8800b8b65e58 ffffffff8100f2ae 00000000b8f3c063 ffff8800b8f3d000
<0> 00000000c0000000 00000000c0000000 ffff8800b8b65ed8 ffffffff81029758
<0> ffff8800b8b65e88 ffff8800b8cf1400 0000000000000000 ffff8800b8c5a000
Call Trace:
 [<ffffffff8100f2ae>] xen_set_pgd+0x3e/0xe0
 [<ffffffff81029758>] machine_kexec_prepare+0x238/0x670
 [<ffffffff8106fc8e>] sys_kexec_load+0x10e/0x640
 [<ffffffff81013e02>] system_call_fastpath+0x16/0x1b
Code: 48 89 d0 c3 90 55 48 89 e5 e8 97 75 02 00 48 c1 e8 0c 48 8d 14 c5 00 00 00 00 48 c1 e0 06 48 29 d0 48 ba 00 00 00 00 00 ea ff ff <48> 8
RIP  [<ffffffff8100cbb6>] xen_page_pinned+0x26/0x40
 RSP <ffff8800b8b65e28>
CR2: ffffeba400000000
---[ end trace 627386b65317aa94 ]---


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



--
Founder | Director | VP Research
Orion Virtualisation Solutions
 | www.orionvm.com.au | Phone: 1300 56 99 52 | Mobile: 0428 754 846

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

 


Rackspace

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