From: Brian Gerst <bgerst@quark.didntduck.org>
To: Mikael Pettersson <mikpe@csd.uu.se>
Cc: kai@tp1.ruhr-uni-bochum.de, rusty@rustcorp.com.au,
linux-kernel@vger.kernel.org
Subject: Re: 2.5.59 vmlinux.lds.S change broke modules
Date: Fri, 17 Jan 2003 08:44:52 -0500 [thread overview]
Message-ID: <3E2808D4.3030200@quark.didntduck.org> (raw)
In-Reply-To: <15911.64825.624251.707026@harpo.it.uu.se>
Mikael Pettersson wrote:
> Previously today I wrote:
> > 2.5.59 with CONFIG_PACKET=m oopes when af_packet.ko is insmodded:
> >
> > Unable to handle kernel paging request at virtual address 2220c021
> > printing eip:
> > c0124011
> > *pde = 00000000
> > Oops: 0000
> > CPU: 0
> > EIP: 0060:[<c0124011>] Not tainted
> > EFLAGS: 00010097
> > EIP is at __find_symbol+0x3d/0x7c
> > eax: c020f70e ebx: 00000536 ecx: 00000000 edx: c028b600
> > esi: 2220c021 edi: e8889558 ebp: e8889558 esp: e67c5ecc
> > ds: 007b es: 007b ss: 0068
> > Process insmod (pid: 482, threadinfo=e67c4000 task=e6c80ce0)
> > Stack: e8888f34 e8889a40 00000038 e8883f50 c0124960 e8889558 e67c5ef4 00000001
> > e8888f34 e8889374 e67c5f28 c0124b2a e8883f50 00000016 e8889374 e8889558
> > e8889a40 e8883f50 0000000c 00000017 e8889a40 00000000 0000007c c01253a4
> > Call Trace:
> > [<c0124960>] resolve_symbol+0x20/0x4c
> > [<c0124b2a>] simplify_symbols+0x82/0xe4
> > [<c01253a4>] load_module+0x5c4/0x7ec
> > [<c012562b>] sys_init_module+0x5f/0x194
> > [<c0108887>] syscall_call+0x7/0xb
>
> This oops occurs for every module, not just af_packet.ko, at
> resolve_symbol()'s first call to __find_symbol().
>
> What happens is that __find_symbol() oopses because the kernel's
> symbol table is in la-la land. (Note the bogus kernel adress
> 2220c021 it tried to dereference above.)
>
> Reverting 2.5.59's patch to arch/i386/vmlinux.lds.S cured the
> problem and modules now load correctly for me.
>
> I don't know if this is a problem also for non-i386 archs.
>
> /Mikael
What version of ld are you using?
--
Brian Gerst
next prev parent reply other threads:[~2003-01-17 13:35 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-17 12:55 Mikael Pettersson
2003-01-17 13:44 ` Brian Gerst [this message]
2003-01-17 13:49 ` Mikael Pettersson
2003-01-17 14:32 ` Mike Galbraith
2003-01-17 13:56 ` Russell King
2003-01-17 16:13 ` Eric W. Biederman
2003-01-17 16:21 ` Sam Ravnborg
2003-01-18 3:08 ` Eric W. Biederman
2003-01-17 16:24 ` Kai Germaschewski
2003-01-17 16:50 ` Russell King
2003-01-17 16:19 ` Sam Ravnborg
2003-01-17 14:44 ` Kai Germaschewski
2003-01-18 0:11 ` Kai Germaschewski
2003-01-18 5:45 ` Christopher Faylor
2003-01-18 6:14 ` J Sloan
2003-01-18 8:00 ` Mike Galbraith
2003-01-18 9:23 ` Sam Ravnborg
2003-01-18 9:34 ` Mike Galbraith
[not found] ` <Pine.LNX.4.44.0301171808010.15056-100000@chaos.physics.uio wa.edu>
2003-01-18 9:07 ` Mike Galbraith
2003-01-17 13:27 Adam J. Richter
2003-01-18 14:36 Mikael Pettersson
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=3E2808D4.3030200@quark.didntduck.org \
--to=bgerst@quark.didntduck.org \
--cc=kai@tp1.ruhr-uni-bochum.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mikpe@csd.uu.se \
--cc=rusty@rustcorp.com.au \
/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
Powered by JetHome