[ofa-general] Re: [PATCH] installer: update kernel symbol versions

Michael S. Tsirkin mst at dev.mellanox.co.il
Thu Apr 19 04:18:17 PDT 2007


> Quoting Yosef Etigin <yosefe at voltaire.com>:
> Subject: Re: [PATCH] installer: update kernel symbol versions
> > Because, these are part of another package, touching them is wrong.
> > External modules will have to solve it in some other way.  It should be possible
> > - it's all just scripts, for the most part.  For example, for all I care, build
> > script for external module can catenate ofed and kernel symvers, build and then
> > split them back. Already better than OFED doing permanent changes.
> > 
> 
> The problem is that this is not applicable for old kernels.

Why not?
This should be applicable to all kernels with a bit of work.

> Anyone using rhas4 must change his version anyway.

version of what?

> Another method:
> The kernel-ib-devel will provide a patch that a user can apply to his
> Module.symvers, to update it with the new versions.

No, I don't think we can call that a solution.
Anyway, I just looked at kernel 2.6.9, and I see there:
scripts/Makefile.modpost:symverfile := $(objtree)/Module.symvers
So it seems that just by setting
symverfile=mysymverfile
on makefile command line you should be able to force it to pick
a symbol version file from an alternate location.

In any case, this is something that *the external module*
should do, not OFED itself.

-- 
MST



More information about the general mailing list