Re: [discuss] [PATCH] fix module loading with 32-bit modutils
On Thu, Sep 18, 2003 at 01:21:30AM +0200, Arnd Bergmann wrote:
> Hi,
>
> As noticed by various people before, it is currently not possible to
> load kernel modules when using a 32 bit distribution with an amd64
> (2.4.x) kernel, nor is it possible to install 64 bit modutils if you
> want to be able to fall back to a 32 bit kernel.
>
> The problem is fixed on all other 64 bit architectures, so it is
> relatively straightforward to port this. The kernel changes
> are simply copied from sparc64 and work fine.
>
> For the modutils, I had to adapt the module_base() that was previously
> defined only for ppc64. That hack is not really nice but it works
> as long as kernel symbols never appear below 0xffffffff00000000
> (i.e. outside of the top 4GB).
Thanks. I comitted the kernel patch now to x86-64.org CVS.
As for the modutils patch you have to talk to Keith Owens.
-Andi
Reply to: