From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753220AbcLFNpH (ORCPT ); Tue, 6 Dec 2016 08:45:07 -0500 Received: from tartarus.angband.pl ([89.206.35.136]:55394 "EHLO tartarus.angband.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751569AbcLFNpD (ORCPT ); Tue, 6 Dec 2016 08:45:03 -0500 Date: Tue, 6 Dec 2016 14:44:54 +0100 From: Adam Borowski To: Jan Stancek Cc: linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, arnd@arndb.de Subject: Re: unable to load modules with CONFIG_MODVERSIONS=y after commit 8ab2ae655b Message-ID: <20161206134454.GA13814@angband.pl> References: <2124400518.2319293.1481030523351.JavaMail.zimbra@redhat.com> <656276734.2322009.1481031061742.JavaMail.zimbra@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <656276734.2322009.1481031061742.JavaMail.zimbra@redhat.com> X-Junkbait: aaron@angband.pl, zzyx@angband.pl User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: kilobyte@angband.pl X-SA-Exim-Scanned: No (on tartarus.angband.pl); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.