Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1536984

Re: unable to load modules with CONFIG_MODVERSIONS=y after commit 8ab2ae655b

From Adam Borowski <kilobyte@angband.pl>
Newsgroups linux.kernel
Subject Re: unable to load modules with CONFIG_MODVERSIONS=y after commit 8ab2ae655b
Date 2016-12-06 14:50 +0100
Message-ID <sLoi6-2FF-9@gated-at.bofh.it> (permalink)
References <sLo8q-2Cu-3@gated-at.bofh.it> <sLo8q-2Cu-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Dec 06, 2016 at 08:31:01AM -0500, Jan Stancek wrote:
> Starting with 4.9-rc8 / commit 8ab2ae655b ("default exported asm symbols to zero")
> I'm running into issue with kernel built with CONFIG_MODVERSIONS=y
> and (older) binutils (binutils-2.25.1-20.base.el7.ppc64le). 
> 
> Modules fail to load, for example:
> 
> [    3.163646] Found checksum 0 vs module 4829A47E 
> [    3.163787] dm_mod: disagrees about version of symbol memcpy 
> [    3.163862] dm_mod: Unknown symbol memcpy (err -22)
> 
> Bisect led me to 8ab2ae655b, reverting it allows boot to
> progress as before.

powerpc happens to be the only arch that actually followed the plan and
implemented asm-prototypes.h (not including Debian which applied my patch to
do so on x86, that patch is not in mainline).

Could you try reverting commits that add exports to that file?

-- 
u-boot problems can be solved with the help of your old SCSI manuals, the
parts that deal with goat termination.  You need a black-handled knife, and
an appropriate set of candles (number and color matters).  Or was it a
silver-handled knife?  Crap, need to look that up.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

unable to load modules with CONFIG_MODVERSIONS=y after commit  8ab2ae655b Jan Stancek <jstancek@redhat.com> - 2016-12-06 14:40 +0100
  Re: unable to load modules with CONFIG_MODVERSIONS=y after commit  8ab2ae655b Adam Borowski <kilobyte@angband.pl> - 2016-12-06 14:50 +0100
    Re: unable to load modules with CONFIG_MODVERSIONS=y after commit 8ab2ae655b Linus Torvalds <torvalds@linux-foundation.org> - 2016-12-06 17:50 +0100
      Re: unable to load modules with CONFIG_MODVERSIONS=y after commit 8ab2ae655b Arnd Bergmann <arnd@arndb.de> - 2016-12-08 00:20 +0100

csiph-web