On Fri, 2010-04-30 at 16:24 +0200, Matthias Saou wrote:
> RuoMu Hu wrote :
> 
> > Hi Jon,
> > 
> > 2010/4/27 Jon Masters <[email protected]>:
> > > On Fri, 2010-04-23 at 18:40 +0800, RuoMu Hu wrote:
> > >
> > >> I needed to build an out of tree xfs kernel module for RHEL5.4 kernel,
> > >> I did it in the RHEL style ( like in http://driverupdateprogram.com/
> > >> ).  The problems are:
> > >
> > >> 1) The built binary kmod rpm is not stripped (size xfs.ko is 13M)
> > >> 2) The built debuginfo package contains nothing
> > >
> > > Driver Updates (kmods) generally aren't stripped, but 13MB is impressive
> > > indeed. Is that a standard build of just the XFS source?
> > >
> > > Jon.
> > 
> > Yes, it is a standard build, with all features enabled.  I just don't
> > understand why output debuginfo package is empty.
> 
> This might be because the *.ko file isn't executable. Try just making
> it +x in the %install section, that should fix it.

You can do this, but generally speaking we don't use stripped kernel
modules in driver updates (harder to debug because one has to find the
debuginfo package, which might not be handy if it came from a third
party download site). I suppose I should make it consistent so either
there are debuginfo package built, or not, but not empty.

Jon.


_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to