[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1223895414-19793-1-git-send-email-jirislaby@gmail.com>
Date: Mon, 13 Oct 2008 12:56:54 +0200
From: Jiri Slaby <jirislaby@...il.com>
To: Alan Cox <alan@...rguk.ukuu.org.uk>
Cc: torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org,
Jiri Slaby <jirislaby@...il.com>
Subject: Re: GIT head no longer boots on x86-64
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists