lkml.org 
[lkml]   [2008]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: GIT head no longer boots on x86-64
Date
Could you try the debug patch below to see what address is text_poke trying
to translate?

---
mm/vmalloc.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index bba06c4..8b8d0a4 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -179,13 +179,17 @@ struct page *vmalloc_to_page(const void *vmalloc_addr)
pud_t *pud;
pmd_t *pmd;
pte_t *ptep, pte;
+ char buf[KSYM_NAME_LEN];

/*
* XXX we might need to change this if we add VIRTUAL_BUG_ON for
* architectures that do not vmalloc module space
*/
- VIRTUAL_BUG_ON(!is_vmalloc_addr(vmalloc_addr) &&
- !is_module_address(addr));
+/* VIRTUAL_BUG_ON(!is_vmalloc_addr(vmalloc_addr) &&
+ !is_module_address(addr));*/
+ sprint_symbol(buf, (unsigned long)__builtin_return_address(0));
+ if (!is_vmalloc_addr(vmalloc_addr) && !is_module_address(addr))
+ printk("BUG? %s (from %s): %p\n", __func__, buf, vmalloc_addr);

if (!pgd_none(*pgd)) {
pud = pud_offset(pgd, addr);
--
1.6.0.2


\
 
 \ /
  Last update: 2008-10-13 13:01    [W:0.085 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site