From: Paulo Marques <pmarques@grupopie.com>
To: William Lee Irwin III <wli@holomorphy.com>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.9-rc1-mm3
Date: Sun, 05 Sep 2004 23:33:37 +0100 [thread overview]
Message-ID: <413B9441.9060404@grupopie.com> (raw)
In-Reply-To: <20040903180200.GS3106@holomorphy.com>
William Lee Irwin III wrote:
> On Fri, Sep 03, 2004 at 06:51:08PM +0100, Paulo Marques wrote:
>
>>Could you send me the .tmp_kallsyms2.S and System.map files from
>>this kernel build, please, please, please?
>>I really want to address this problem, but without hardware and
>>without more information I'm a little in the dark (although
>>looking at the resulting names already gives some clues).
>>Also, doing a "cat /proc/kallsyms" shows the same kind of behavior,
>>doesn't it? (just to be sure)
>
>
> cat /proc/kallsyms also exhibits this problem.
>
> The data will appear shortly at:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/wli/misc/kallsyms2.S-sparc64.gz
> ftp://ftp.kernel.org/pub/linux/kernel/people/wli/misc/System.map-2.6.9-rc1-mm3-sparc64.gz
Thank for all the information!
Looking at the data I found out that the "_up_up_up" is in fact the
token with code "0", which means that the token "0" was being used a
lot more than the others.
This pointed me in the direction of the bug.
My error was to assume the .word assembler directive meant a 16-bit
unsigned integer, when in fact it depends on the architecture and is
32 bits on sparc :(
This one liner should solve the problem.
Please verify that in fact it does solve it, and I'll send a proper
"[PATCH]" message to be included in the next version.
--
Paulo Marques - www.grupopie.com
To err is human, but to really foul things up requires a computer.
Farmers' Almanac, 1978
--- linux-2.6.9-rc1-mm3/scripts/kallsyms.c 2004-09-05 21:51:14.000000000 +0100
+++ linux-2.6.9-rc1-kall/scripts/kallsyms.c 2004-09-05 21:52:38.000000000 +0100
@@ -303,7 +303,7 @@ write_src(void)
output_label("kallsyms_token_index");
for (i = 0; i < 256; i++)
- printf("\t.word\t%d\n", best_idx[i]);
+ printf("\t.short\t%d\n", best_idx[i]);
printf("\n");
}
next prev parent reply other threads:[~2004-09-05 22:34 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-03 8:48 2.6.9-rc1-mm3 Andrew Morton
2004-09-03 7:43 ` [PATCH] 2.6.9-rc1-mm3 i8042 compilation Bernhard Rosenkraenzer
2004-09-03 9:47 ` Andrew Morton
2004-09-03 9:20 ` 2.6.9-rc1-mm3 Russell King
2004-09-03 9:42 ` 2.6.9-rc1-mm3 Christoph Hellwig
2004-09-03 12:15 ` 2.6.9-rc1-mm3 Zwane Mwaikambo
2004-09-03 12:25 ` 2.6.9-rc1-mm3 Christoph Hellwig
2004-09-03 12:48 ` 2.6.9-rc1-mm3 Zwane Mwaikambo
2004-09-06 12:55 ` [PATCH 2.6.9-rc1-mm3] [m32r] Change from EXPORT_SYMBOL_NOVERS to EXPORT_SYMBOL Hirokazu Takata
2004-09-06 13:11 ` Sam Ravnborg
2004-09-06 13:55 ` Russell King
2004-09-06 13:52 ` EXPORT_SYMBOL_NOVERS (was: Re: 2.6.9-rc1-mm3) Geert Uytterhoeven
2004-09-06 15:30 ` Zwane Mwaikambo
2004-09-06 19:09 ` [PATCH 0/4] " Geert Uytterhoeven
2004-09-08 14:18 ` Zwane Mwaikambo
2004-09-06 19:09 ` [PATCH 1/4] " Geert Uytterhoeven
2004-09-06 19:09 ` [PATCH 2/4] " Geert Uytterhoeven
2004-09-06 19:10 ` [PATCH 3/4] " Geert Uytterhoeven
2004-09-06 19:10 ` [PATCH 4/4] " Geert Uytterhoeven
2004-09-03 9:54 ` 2.6.9-rc1-mm3 Christoph Hellwig
2004-09-06 12:40 ` [PATCH 2.6.9-rc1-mm3] [m32r] Modify sys_ipc() to remove useless iBCS2 support code Hirokazu Takata
2004-09-06 17:03 ` Christoph Hellwig
2004-09-06 21:02 ` Andrew Morton
2004-09-06 21:08 ` Christoph Hellwig
2004-09-07 8:02 ` Arnd Bergmann
2004-09-03 9:57 ` 2.6.9-rc1-mm3 Christoph Hellwig
2004-09-03 11:08 ` 2.6.9-rc1-mm3 Hirokazu Takata
2004-09-03 12:08 ` 2.6.9-rc1-mm3 Zwane Mwaikambo
2004-09-03 15:15 ` 2.6.9-rc1-mm3 Norberto Bensa
2004-09-03 16:27 ` 2.6.9-rc1-mm3 Andrew Morton
2004-09-03 17:20 ` 2.6.9-rc1-mm3 Norberto Bensa
2004-09-05 19:59 ` 2.6.9-rc1-mm3 Norberto Bensa
2004-09-05 22:32 ` 2.6.9-rc1-mm3 Andrew Morton
2004-09-05 22:42 ` 2.6.9-rc1-mm3 Nathan Scott
2004-09-03 15:59 ` 2.6.9-rc1-mm3 Peter Osterlund
2004-09-03 16:37 ` 2.6.9-rc1-mm3 Andrew Morton
2004-09-05 8:59 ` 2.6.9-rc1-mm3 Peter Osterlund
2004-09-03 17:23 ` 2.6.9-rc1-mm3 William Lee Irwin III
2004-09-03 17:51 ` 2.6.9-rc1-mm3 Paulo Marques
2004-09-03 18:02 ` 2.6.9-rc1-mm3 William Lee Irwin III
2004-09-05 22:33 ` Paulo Marques [this message]
2004-09-07 10:54 ` 2.6.9-rc1-mm3 Paulo Marques
2004-09-03 17:56 ` 2.6.9-rc1-mm3 Andre Eisenbach
2004-09-03 18:12 ` 2.6.9-rc1-mm3 William Lee Irwin III
2004-09-03 18:19 ` 2.6.9-rc1-mm3 Andre Eisenbach
2004-09-03 20:33 ` 2.6.9-rc1-mm3 Andrew Morton
2004-09-03 21:15 ` 2.6.9-rc1-mm3 Andre Eisenbach
2004-09-03 17:57 ` 2.6.9-rc1-mm3 (compile stats) John Cherry
2004-09-03 21:53 ` 2.6.9-rc1-mm3 William Lee Irwin III
2004-09-03 22:25 ` 2.6.9-rc1-mm3 William Lee Irwin III
2004-09-04 10:21 ` [patch] 2.6.9-rc1-mm3: char/riscom8.c doesn't compile Adrian Bunk
2004-09-04 17:52 ` [patch] 2.6.9-rc1-mm3: cdrom/cdu31a.c " Adrian Bunk
2004-09-08 22:29 ` 2.6.9-rc1-mm3 Dominik Karall
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=413B9441.9060404@grupopie.com \
--to=pmarques@grupopie.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=wli@holomorphy.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox