From: Jiri Slaby <jirislaby@gmail.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: torvalds@linux-foundation.org, linux-kernel@vger.kernel.org,
Jiri Slaby <jirislaby@gmail.com>
Subject: Re: GIT head no longer boots on x86-64
Date: Mon, 13 Oct 2008 12:56:54 +0200 [thread overview]
Message-ID: <1223895414-19793-1-git-send-email-jirislaby@gmail.com> (raw)
In-Reply-To: <20081013112024.0183f982@lxorguk.ukuu.org.uk>
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
next prev parent reply other threads:[~2008-10-13 10:58 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-13 9:23 GIT head no longer boots on x86-64 Alan Cox
2008-10-13 10:13 ` Jiri Slaby
2008-10-13 10:20 ` Alan Cox
2008-10-13 10:56 ` Jiri Slaby [this message]
2008-10-13 13:35 ` Alan Cox
2008-10-13 15:03 ` Linus Torvalds
2008-10-13 15:11 ` Jiri Slaby
2008-10-13 15:11 ` Jiri Slaby
2008-10-13 15:47 ` Alan Cox
2008-10-13 15:47 ` Alan Cox
2008-10-15 11:51 ` Ingo Molnar
2008-10-15 11:51 ` Ingo Molnar
2008-10-15 13:19 ` Jiri Slaby
2008-10-15 13:19 ` Jiri Slaby
2008-10-15 15:06 ` Linus Torvalds
2008-10-15 15:06 ` Linus Torvalds
2008-10-15 15:33 ` Jiri Slaby
2008-10-15 15:33 ` Jiri Slaby
2008-10-15 16:01 ` Linus Torvalds
2008-10-15 16:01 ` Linus Torvalds
2008-10-15 20:31 ` Arjan van de Ven
2008-10-15 20:31 ` Arjan van de Ven
2008-10-15 15:35 ` Linus Torvalds
2008-10-15 15:35 ` Linus Torvalds
2008-10-16 10:31 ` H. Peter Anvin
2008-10-16 10:31 ` H. Peter Anvin
2008-10-13 14:45 ` Linus Torvalds
2008-10-13 14:50 ` Jiri Slaby
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1223895414-19793-1-git-send-email-jirislaby@gmail.com \
--to=jirislaby@gmail.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.