Messages in this thread Patch in this message | | | From | Jiri Slaby <> | Subject | Re: GIT head no longer boots on x86-64 | Date | Mon, 13 Oct 2008 12:56:54 +0200 |
| |
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
| |