Linux Module broken

Robert Garrett rg70 at sbcglobal.net
Thu Jul 17 17:29:23 PDT 2003


Matthew Dillon wrote:

> 
> :kldload: can't load linux.ko: Exec format error
> :link_elf: symbol globaldata not found
> :
> :Rob
> 
>     Hmm.  How odd.   The ELF loader is assuming that symbols with values
>     of 0 are the same as not finding the symbol, or that they are common
>     symbols when they could be absolute symbols (globaldata is an absolute
>     symbol with a value of 0).
> 
>     Please try this patch.  It's unfortunately rather involved because
>     the ELF loader is making all sorts of assumptions that it shouldn't
>     be making, and I haven't completely fixed it due to an opaque
>     structure, but it should handle absolute symbols properly now.
> 
> -Matt
> Matthew Dillon
> <dillon at xxxxxxxxxxxxx>
<patch snipped>

Thanks it now works again.







More information about the Bugs mailing list