lkml.org 
[lkml]   [2003]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.5.59 vmlinux.lds.S change broke modules
On Fri, 17 Jan 2003, Mikael Pettersson wrote:

> 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.

That's interesting. It doesn't happen for me, but I'm using older
binutils. The patch really only changes two things (except for ARM):
o whitespace
o It adds AT(ADDR(section) - 0)

Both of these should be NOPs, but apparently not. Could you try removing
the AT(...) from include/asm-generic/vmlinux.lds.h?

Also, what does
objdump -h vmlinux
and
grep __start_ System.map
say?

--Kai


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.115 / U:2.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site