* 2.6.17-rc6-mm2, modpost segfaults
@ 2006-06-14 0:07 Norbert Preining
2006-06-14 0:25 ` Randy.Dunlap
0 siblings, 1 reply; 3+ messages in thread
From: Norbert Preining @ 2006-06-14 0:07 UTC (permalink / raw)
To: Andrew Morton, linux-kernel
Hi all!
[please Cc]
When building an external modules (pwc) I always get segfaults of
modpost:
/bin/sh: line 1: 6586 Segmentation fault (core dumped) scripts/mod/modpost -i /usr/src/linux-2.6.17-rc6-mm2/Module.symvers -I /src/kernel/pwc/pwc-10.0.12-rc1/Modules.symvers -o /src/kernel/pwc/pwc-10.0.12-rc1/Modules.symvers vmlinux /src/kernel/pwc/pwc-10.0.12-rc1/pwc.o
make[2]: *** [__modpost] Error 139
the gdb modpost core backtrace gives:
warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Failed to read a valid object file image from memory.
Core was generated by `scripts/mod/modpost -i /usr/src/linux-2.6.17-rc6-mm2/Module.symvers -I /src/ker'.
Program terminated with signal 11, Segmentation fault.
#0 0xb7e471db in strlen () from /lib/tls/libc.so.6
(gdb) bt
#0 0xb7e471db in strlen () from /lib/tls/libc.so.6
#1 0xb7e19b00 in vfprintf () from /lib/tls/libc.so.6
#2 0xb7e38671 in vsnprintf () from /lib/tls/libc.so.6
#3 0x08049229 in buf_printf ()
#4 0x000001f4 in ?? ()
#5 0x0804e6ad in _IO_stdin_used ()
#6 0xbf815e88 in ?? ()
#7 0xb7de9b6e in ?? () from /lib/tls/libc.so.6
#8 0x00000027 in ?? ()
#9 0x00000000 in ?? ()
(gdb)
Do I do something wrong?
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at> Università di Siena
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
GREAT WAKERING (participial vb.)
Panic which sets in when you badly need to go to the lavatory and
cannot make up your mind about what book or magazine to take with you.
--- Douglas Adams, The Meaning of Liff
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6.17-rc6-mm2, modpost segfaults
2006-06-14 0:07 2.6.17-rc6-mm2, modpost segfaults Norbert Preining
@ 2006-06-14 0:25 ` Randy.Dunlap
2006-06-14 0:34 ` Norbert Preining
0 siblings, 1 reply; 3+ messages in thread
From: Randy.Dunlap @ 2006-06-14 0:25 UTC (permalink / raw)
To: Norbert Preining; +Cc: akpm, linux-kernel
On Wed, 14 Jun 2006 02:07:49 +0200 Norbert Preining wrote:
> Hi all!
>
> [please Cc]
>
> When building an external modules (pwc) I always get segfaults of
> modpost:
> /bin/sh: line 1: 6586 Segmentation fault (core dumped) scripts/mod/modpost -i /usr/src/linux-2.6.17-rc6-mm2/Module.symvers -I /src/kernel/pwc/pwc-10.0.12-rc1/Modules.symvers -o /src/kernel/pwc/pwc-10.0.12-rc1/Modules.symvers vmlinux /src/kernel/pwc/pwc-10.0.12-rc1/pwc.o
> make[2]: *** [__modpost] Error 139
>
> the gdb modpost core backtrace gives:
>
> warning: Can't read pathname for load map: Input/output error.
> Reading symbols from /lib/tls/libc.so.6...done.
> Loaded symbols for /lib/tls/libc.so.6
> Reading symbols from /lib/ld-linux.so.2...done.
> Loaded symbols for /lib/ld-linux.so.2
> Failed to read a valid object file image from memory.
> Core was generated by `scripts/mod/modpost -i /usr/src/linux-2.6.17-rc6-mm2/Module.symvers -I /src/ker'.
> Program terminated with signal 11, Segmentation fault.
> #0 0xb7e471db in strlen () from /lib/tls/libc.so.6
> (gdb) bt
> #0 0xb7e471db in strlen () from /lib/tls/libc.so.6
> #1 0xb7e19b00 in vfprintf () from /lib/tls/libc.so.6
> #2 0xb7e38671 in vsnprintf () from /lib/tls/libc.so.6
> #3 0x08049229 in buf_printf ()
> #4 0x000001f4 in ?? ()
> #5 0x0804e6ad in _IO_stdin_used ()
> #6 0xbf815e88 in ?? ()
> #7 0xb7de9b6e in ?? () from /lib/tls/libc.so.6
> #8 0x00000027 in ?? ()
> #9 0x00000000 in ?? ()
> (gdb)
>
>
> Do I do something wrong?
Please try this patch and tell us if it works/helps.
http://lkml.org/lkml/2006/6/12/186
---
~Randy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6.17-rc6-mm2, modpost segfaults
2006-06-14 0:25 ` Randy.Dunlap
@ 2006-06-14 0:34 ` Norbert Preining
0 siblings, 0 replies; 3+ messages in thread
From: Norbert Preining @ 2006-06-14 0:34 UTC (permalink / raw)
To: Randy.Dunlap; +Cc: akpm, linux-kernel
On Die, 13 Jun 2006, Randy.Dunlap wrote:
> Please try this patch and tell us if it works/helps.
> http://lkml.org/lkml/2006/6/12/186
Thanks, did work. I must have missed it yesterday ...
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at> Università di Siena
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
OSSETT (n.)
A frilly spare-toilet-roll-cosy.
--- Douglas Adams, The Meaning of Liff
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-06-14 0:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-14 0:07 2.6.17-rc6-mm2, modpost segfaults Norbert Preining
2006-06-14 0:25 ` Randy.Dunlap
2006-06-14 0:34 ` Norbert Preining
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®