* backtrace symbols are bolixed...
@ 2009-06-19 7:21 David Miller
2009-06-19 7:30 ` Stephen Rothwell
2009-06-19 7:30 ` Ingo Molnar
0 siblings, 2 replies; 5+ messages in thread
From: David Miller @ 2009-06-19 7:21 UTC (permalink / raw)
To: linux-kernel
Sometime in the last day or so backtrace symbol printouts
have become useless:
[ 0.000000] WARNING: at mm/bootmem.c:535 __stop_notes+0xbb10/0x1d660()
[ 0.000000] Modules linked in:
[ 0.000000] Call Trace:
[ 0.000000] [00000000008611b4] __stop_notes+0xbb10/0x1d660
[ 0.000000] [000000000086195c] __stop_notes+0xc2b8/0x1d660
[ 0.000000] [0000000000861a28] __stop_notes+0xc384/0x1d660
[ 0.000000] [0000000000858678] __stop_notes+0x2fd4/0x1d660
[ 0.000000] [000000000085684c] __stop_notes+0x11a8/0x1d660
[ 0.000000] [00000000006e8bdc] _etext+0xfffffffffffe59f4/0xe18
[ 0.000000] [0000000000000000] (null)
I'll try to bisect but maybe someone can figure it out quickly
meanwhile.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: backtrace symbols are bolixed...
2009-06-19 7:21 backtrace symbols are bolixed David Miller
@ 2009-06-19 7:30 ` Stephen Rothwell
2009-06-19 8:01 ` David Miller
2009-06-19 7:30 ` Ingo Molnar
1 sibling, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2009-06-19 7:30 UTC (permalink / raw)
To: David Miller; +Cc: linux-kernel
Hi Dave,
On Fri, 19 Jun 2009 00:21:01 -0700 (PDT) David Miller <davem@davemloft.net> wrote:
>
> Sometime in the last day or so backtrace symbol printouts
> have become useless:
>
> [ 0.000000] WARNING: at mm/bootmem.c:535 __stop_notes+0xbb10/0x1d660()
> [ 0.000000] Modules linked in:
> [ 0.000000] Call Trace:
> [ 0.000000] [00000000008611b4] __stop_notes+0xbb10/0x1d660
> [ 0.000000] [000000000086195c] __stop_notes+0xc2b8/0x1d660
> [ 0.000000] [0000000000861a28] __stop_notes+0xc384/0x1d660
> [ 0.000000] [0000000000858678] __stop_notes+0x2fd4/0x1d660
> [ 0.000000] [000000000085684c] __stop_notes+0x11a8/0x1d660
> [ 0.000000] [00000000006e8bdc] _etext+0xfffffffffffe59f4/0xe18
> [ 0.000000] [0000000000000000] (null)
>
> I'll try to bisect but maybe someone can figure it out quickly
> meanwhile.
Try the following patch:
From: Mike Frysinger <vapier@gentoo.org>
Date: Mon, 15 Jun 2009 07:52:48 -0400
Subject: [PATCH] kallsyms: fix inverted valid symbol checking
The previous commit (17b1f0de) introduced a slightly broken consolidation
of the memory text range checking.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
scripts/kallsyms.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c
index 3cb5789..64343cc 100644
--- a/scripts/kallsyms.c
+++ b/scripts/kallsyms.c
@@ -167,11 +167,11 @@ static int symbol_valid_tr(struct sym_entry *s)
for (i = 0; i < ARRAY_SIZE(text_ranges); ++i) {
tr = &text_ranges[i];
- if (s->addr >= tr->start && s->addr < tr->end)
- return 0;
+ if (s->addr >= tr->start && s->addr <= tr->end)
+ return 1;
}
- return 1;
+ return 0;
}
static int symbol_valid(struct sym_entry *s)
--
1.6.3.1
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: backtrace symbols are bolixed...
2009-06-19 7:21 backtrace symbols are bolixed David Miller
2009-06-19 7:30 ` Stephen Rothwell
@ 2009-06-19 7:30 ` Ingo Molnar
2009-06-19 8:01 ` David Miller
1 sibling, 1 reply; 5+ messages in thread
From: Ingo Molnar @ 2009-06-19 7:30 UTC (permalink / raw)
To: David Miller, Sam Ravnborg, Andrew Morton; +Cc: linux-kernel
* David Miller <davem@davemloft.net> wrote:
> Sometime in the last day or so backtrace symbol printouts
> have become useless:
>
> [ 0.000000] WARNING: at mm/bootmem.c:535 __stop_notes+0xbb10/0x1d660()
> [ 0.000000] Modules linked in:
> [ 0.000000] Call Trace:
> [ 0.000000] [00000000008611b4] __stop_notes+0xbb10/0x1d660
> [ 0.000000] [000000000086195c] __stop_notes+0xc2b8/0x1d660
> [ 0.000000] [0000000000861a28] __stop_notes+0xc384/0x1d660
> [ 0.000000] [0000000000858678] __stop_notes+0x2fd4/0x1d660
> [ 0.000000] [000000000085684c] __stop_notes+0x11a8/0x1d660
> [ 0.000000] [00000000006e8bdc] _etext+0xfffffffffffe59f4/0xe18
> [ 0.000000] [0000000000000000] (null)
>
> I'll try to bisect but maybe someone can figure it out quickly
> meanwhile.
I saw this too. One change that went upstream when i started seeing
these weird backtraces is:
ad6ccfa: kernel/kallsyms.c: replace deprecated __initcall with device_initcall and fix
Sam and Andrew Cc:-ed.
Ingo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: backtrace symbols are bolixed...
2009-06-19 7:30 ` Stephen Rothwell
@ 2009-06-19 8:01 ` David Miller
0 siblings, 0 replies; 5+ messages in thread
From: David Miller @ 2009-06-19 8:01 UTC (permalink / raw)
To: sfr; +Cc: linux-kernel
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 19 Jun 2009 17:30:52 +1000
> Try the following patch:
>
> From: Mike Frysinger <vapier@gentoo.org>
> Date: Mon, 15 Jun 2009 07:52:48 -0400
> Subject: [PATCH] kallsyms: fix inverted valid symbol checking
>
> The previous commit (17b1f0de) introduced a slightly broken consolidation
> of the memory text range checking.
>
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
That fixed it, thanks!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: backtrace symbols are bolixed...
2009-06-19 7:30 ` Ingo Molnar
@ 2009-06-19 8:01 ` David Miller
0 siblings, 0 replies; 5+ messages in thread
From: David Miller @ 2009-06-19 8:01 UTC (permalink / raw)
To: mingo; +Cc: sam, akpm, linux-kernel
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 19 Jun 2009 09:30:53 +0200
> * David Miller <davem@davemloft.net> wrote:
>
>> Sometime in the last day or so backtrace symbol printouts
>> have become useless:
>>
>> [ 0.000000] WARNING: at mm/bootmem.c:535 __stop_notes+0xbb10/0x1d660()
>> [ 0.000000] Modules linked in:
>> [ 0.000000] Call Trace:
>> [ 0.000000] [00000000008611b4] __stop_notes+0xbb10/0x1d660
>> [ 0.000000] [000000000086195c] __stop_notes+0xc2b8/0x1d660
>> [ 0.000000] [0000000000861a28] __stop_notes+0xc384/0x1d660
>> [ 0.000000] [0000000000858678] __stop_notes+0x2fd4/0x1d660
>> [ 0.000000] [000000000085684c] __stop_notes+0x11a8/0x1d660
>> [ 0.000000] [00000000006e8bdc] _etext+0xfffffffffffe59f4/0xe18
>> [ 0.000000] [0000000000000000] (null)
>>
>> I'll try to bisect but maybe someone can figure it out quickly
>> meanwhile.
>
> I saw this too. One change that went upstream when i started seeing
> these weird backtraces is:
The patch from Mike Frysinger posted by Stephen Rothwell fixes
it for me.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-06-19 8:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-19 7:21 backtrace symbols are bolixed David Miller
2009-06-19 7:30 ` Stephen Rothwell
2009-06-19 8:01 ` David Miller
2009-06-19 7:30 ` Ingo Molnar
2009-06-19 8:01 ` David Miller
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.