Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Removing debugging symbols from kernel modules



On Wed, Dec 23, 2009 at 02:23:17PM +0100, Nicolas Joly wrote:
> 
> Hi,
> 
> I recently started to use kernel modules to ease developpement on my
> amd64 machine. For now i only used compat linux and linux32 ones,
> which worked flawlessly (since recent build fixes). Now, i'm trying to
> use all the remaining compat modules. But ...
> 
> I can load a few modules (mostly 3 or 4), but then all other fail with
> ENOMEM. The problem is that kernel modules are build, in my case, with
> debugging support just like the whole userland; and quickly eat all
> the reserved kernel space for module loading.

You need to disable the eh_frame section as well.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index