search for: pin_pagetable_pfn

Displaying 14 results from an estimated 14 matches for "pin_pagetable_pfn".

2013 Jun 17
1
Kernel panic in pin_pagetable_pfn
.... We are porting our virtual appliance to Amazon''s AWS. Our kernel is 2.6.27.57. We know it is old but we have to stay with it for now. The problem is when the kernel (64-bit) boots up in EC2 ( a large instance with 7.5 GB memory), the kernel crashes when hitting the BUG in enlighten.c:pin_pagetable_pfn(): static void pin_pagetable_pfn(unsigned cmd, unsigned long pfn) { struct mmuext_op op; op.cmd = cmd; op.arg1.mfn = pfn_to_mfn(pfn); if (HYPERVISOR_mmuext_op(&op, 1, NULL, DOMID_SELF)) BUG(); } The complete kernel log is attached below. We not...
2012 Nov 16
1
[PATCH v4] x86/xen: Use __pa_symbol instead of __pa on C visible symbols
...e)); - BUG_ON(cr3 != __pa(swapper_pg_dir)); + BUG_ON(read_cr3() != __pa_symbol(initial_page_table)); + BUG_ON(cr3 != __pa_symbol(swapper_pg_dir)); /* * We are switching to swapper_pg_dir for the first time (from @@ -2011,7 +2012,7 @@ static void __init xen_write_cr3_init(unsigned long cr3) pin_pagetable_pfn(MMUEXT_PIN_L3_TABLE, pfn); pin_pagetable_pfn(MMUEXT_UNPIN_TABLE, - PFN_DOWN(__pa(initial_page_table))); + PFN_DOWN(__pa_symbol(initial_page_table))); set_page_prot(initial_page_table, PAGE_KERNEL); set_page_prot(initial_kernel_pmd, PAGE_KERNEL); @@ -2036,7 +2037,7 @@ void __init x...
2012 Nov 16
1
[PATCH v4] x86/xen: Use __pa_symbol instead of __pa on C visible symbols
...e)); - BUG_ON(cr3 != __pa(swapper_pg_dir)); + BUG_ON(read_cr3() != __pa_symbol(initial_page_table)); + BUG_ON(cr3 != __pa_symbol(swapper_pg_dir)); /* * We are switching to swapper_pg_dir for the first time (from @@ -2011,7 +2012,7 @@ static void __init xen_write_cr3_init(unsigned long cr3) pin_pagetable_pfn(MMUEXT_PIN_L3_TABLE, pfn); pin_pagetable_pfn(MMUEXT_UNPIN_TABLE, - PFN_DOWN(__pa(initial_page_table))); + PFN_DOWN(__pa_symbol(initial_page_table))); set_page_prot(initial_page_table, PAGE_KERNEL); set_page_prot(initial_kernel_pmd, PAGE_KERNEL); @@ -2036,7 +2037,7 @@ void __init x...
2010 Oct 24
0
BUG: soft lockup - CPU#7 stuck for 61s! [udisks-dm-expor:11772]
...4f2a5>] ? release_console_sem+0x17e/0x1af [22077.214105]  [<ffffffff8130beda>] ? _spin_unlock_irqrestore+0xd/0xe [22077.214164]  [<ffffffff8130cd7d>] ? oops_end+0xaf/0xb4 [22077.214222]  [<ffffffff810135f0>] ? do_invalid_op+0x8b/0x95 [22077.214279]  [<ffffffff8100c60c>] ? pin_pagetable_pfn+0x2d/0x36 [22077.214338]  [<ffffffff810bacff>] ? __alloc_pages_nodemask+0x11c/0x5f5 [22077.214397]  [<ffffffff8101293b>] ? invalid_op+0x1b/0x20 [22077.214454]  [<ffffffff8100c60c>] ? pin_pagetable_pfn+0x2d/0x36 [22077.214513]  [<ffffffff8100c608>] ? pin_pagetable_pfn+0x29/0x...
2008 Oct 27
5
xen 3.3.0 + intrepid domU (2.6.27-7-server) + >4gb ram problem
...d/buildd/linux-2.6.27/arch/x86/xen/enlighten.c:836! [ 0.010000] invalid opcode: 0000 [1] SMP [ 0.010000] CPU 0 [ 0.010000] Modules linked in: [ 0.010000] Pid: 0, comm: swapper Not tainted 2.6.27-7-server #1 [ 0.010000] RIP: e030:[<ffffffff8020b182>] [<ffffffff8020b182>] pin_pagetable_pfn+0x52/0x70 [ 0.010000] RSP: e02b:ffffffff806f5c88 EFLAGS: 00010282 [ 0.010000] RAX: 00000000ffffffea RBX: 000000000000f000 RCX: 0000000000000000 [ 0.010000] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff806f5c88 [ 0.010000] RBP: ffffffff806f5ca8 R08: ffff880100002100 R09:...
2010 Dec 13
0
Any ideas why this lvcreate kernel BUG happens?
...95.580858] CPU 4 [229995.580966] Modules linked in: iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi nfsd [last unloaded: scsi_wait_scan] [229995.581320] Pid: 22551, comm: lvcreate Not tainted 2.6.32.25 #6 S5520HC [229995.581442] RIP: e030:[<ffffffff81041f65>] [<ffffffff81041f65>] pin_pagetable_pfn+0x35/0x70 [229995.581657] RSP: e02b:ffff8808d7093c18 EFLAGS: 00010282 [229995.581767] RAX: 00000000ffffffea RBX: 00000000005fcf6e RCX: 00000000000001e7 [229995.581956] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8808d7093c18 [229995.582162] RBP: ffff8808d7093c38 R08: 0000000000000b70 R09:...
2010 Dec 13
0
100% usage in udev kernel BUG at /root/xen-4.0.1/linux-2.6-pvops.git/arch/x86/xen/mmu.c:1885
...ile: /sys/devices/virtual/block/dm-49/removable[229995.580858] CPU 4 [229995.580966] Modules linked in: iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi nfsd [last unloaded: scsi_wait_scan][229995.581320] Pid: 22551, comm: lvcreate Not tainted 2.6.32.25 #6 S5520HC[229995.581442] RIP: e030:[] [] pin_pagetable_pfn+0x35/0x70[229995.581657] RSP: e02b:ffff8808d7093c18 EFLAGS: 00010282[229995.581767] RAX: 00000000ffffffea RBX: 00000000005fcf6e RCX: 00000000000001e7[229995.581956] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8808d7093c18[229995.582162] RBP: ffff8808d7093c38 R08: 0000000000000b70 R09: 0000...
2007 Oct 12
10
[PATCH 00/10] REVIEW: Xen patches for 2.6.24
This is my current set of updates to Xen for 2.6.24. This is largely a bugfix set, and a couple of them are also relevent to 2.6.23. These are in the pre-x86 merge form; I'll update them once the merge goes into git. Quick overview: - remove some dead code in arch/i386/mm/init.c - clean up some duplicate includes - when sending an IPI, yield the vcpu if the destination doesn't have
2007 Oct 12
10
[PATCH 00/10] REVIEW: Xen patches for 2.6.24
This is my current set of updates to Xen for 2.6.24. This is largely a bugfix set, and a couple of them are also relevent to 2.6.23. These are in the pre-x86 merge form; I'll update them once the merge goes into git. Quick overview: - remove some dead code in arch/i386/mm/init.c - clean up some duplicate includes - when sending an IPI, yield the vcpu if the destination doesn't have
2007 Oct 12
10
[PATCH 00/10] REVIEW: Xen patches for 2.6.24
This is my current set of updates to Xen for 2.6.24. This is largely a bugfix set, and a couple of them are also relevent to 2.6.23. These are in the pre-x86 merge form; I'll update them once the merge goes into git. Quick overview: - remove some dead code in arch/i386/mm/init.c - clean up some duplicate includes - when sending an IPI, yield the vcpu if the destination doesn't have
2008 May 31
1
[PATCH] xen: avoid hypercalls when updating unpinned pud/pmd
...| 39 +++++++++++++++++++++++++++++++++++---- arch/x86/xen/mmu.h | 8 ++++---- 3 files changed, 50 insertions(+), 11 deletions(-) =================================================================== --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c @@ -903,6 +903,14 @@ pin_pagetable_pfn(MMUEXT_PIN_L3_TABLE, PFN_DOWN(__pa(base))); } +static __init void xen_post_allocator_init(void) +{ + pv_mmu_ops.set_pmd = xen_set_pmd; + pv_mmu_ops.set_pud = xen_set_pud; + + xen_mark_init_mm_pinned(); +} + /* This is called once we have the cpu_possible_map */ void xen_setup_vcpu_info_placeme...
2007 Oct 15
13
[PATCH 00/12] xen/paravirt_ops patches for 2.6.24
Hi Linus, Here's a set of patches to update paravirt_ops and Xen for 2.6.24 A quick overview of the patchset: paravirt_ops: Remove the monolithic paravirt_ops structure, and replace it with smaller structures of related functions. Also, clean up the handling of lazy mode to make it easier to implement. x86/mm/init.c: remove a chunk of dead code Xen: - remove duplicate includes -
2007 Oct 15
13
[PATCH 00/12] xen/paravirt_ops patches for 2.6.24
Hi Linus, Here's a set of patches to update paravirt_ops and Xen for 2.6.24 A quick overview of the patchset: paravirt_ops: Remove the monolithic paravirt_ops structure, and replace it with smaller structures of related functions. Also, clean up the handling of lazy mode to make it easier to implement. x86/mm/init.c: remove a chunk of dead code Xen: - remove duplicate includes -
2007 Oct 15
13
[PATCH 00/12] xen/paravirt_ops patches for 2.6.24
Hi Linus, Here's a set of patches to update paravirt_ops and Xen for 2.6.24 A quick overview of the patchset: paravirt_ops: Remove the monolithic paravirt_ops structure, and replace it with smaller structures of related functions. Also, clean up the handling of lazy mode to make it easier to implement. x86/mm/init.c: remove a chunk of dead code Xen: - remove duplicate includes -