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 06:26:34PM +0000, David Laight wrote:
> On Wed, Dec 23, 2009 at 02:23:17PM +0100, Nicolas Joly wrote:
> > 
> > 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.

Not sure what to do, here ... I checked that debug build does not
alter that section.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.


Home | Main Index | Thread Index | Old Index