modversions on ppc64 will taint kernel

Olaf Hering olh at suse.de
Mon May 10 21:55:51 EST 2004


 On Mon, May 10, Rusty Russell wrote:

> On Mon, 2004-05-10 at 05:42, Olaf Hering wrote:
> > Rusty,
> >
> > the function check_version() looks for '__down', but there is '.__down'
> > in the module.
> > This happens with every recent 2.6 kernel. How can this be fixed?
>
> Sorry for the delay, finally got around to looking at this.
>
> Name: Fix __down Tainting Kernel with CONFIG_MODVERSIONS=y
> Status: Tested on ppc tree 10-May-2004
> Version: ppc64
>
> PowerPC64 ABI has ".funcname" (the actual function) and "funcname"
> (the function descriptor) and we strip off the dots in "dedotify"
> called from module_frob_arch_sections().  We need to also de-dotify
> the corresponding names in the __version section.
>
> Actually has nothing to do with __down, it's just that we only print
> the first symbol whose version is missing.

This works for me. thanks.

--
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list