mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michal Marek <mmarek@suse.cz>
To: Stephen Rothwell <sfr@canb.auug.org.au>,
	Al Viro <viro@zeniv.linux.org.uk>
Cc: LKML <linux-kernel@vger.kernel.org>, lkp@01.org
Subject: Re: [lkp] [x86] 784d5699ed: kmsg.ip_tables:no_symbol_version_for_copy_from_user
Date: Tue, 11 Oct 2016 15:10:49 +0200	[thread overview]
Message-ID: <57FCE4D9.1090904@suse.cz> (raw)
In-Reply-To: <20160930092658.0da22cad@canb.auug.org.au>

Dne 30.9.2016 v 01:26 Stephen Rothwell napsal(a):
> Hi all,
> 
> On Tue, 20 Sep 2016 10:55:32 +0800 kernel test robot <xiaolong.ye@intel.com> wrote:
>>
>> FYI, we noticed the following commit:
>>
>> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
>> commit 784d5699eddc55878627da20d3fe0c8542e2f1a2 ("x86: move exports to actual definitions")
>>
>> in testcase: boot
>>
>> on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 4G
>>
>> caused below changes:
>>
>> [    4.386609] ip_tables: no symbol version for _copy_from_user
>> [    4.387902] ip_tables: Unknown symbol _copy_from_user (err -22)
>> [    4.389219] ip_tables: no symbol version for __put_user_2
>> [    4.390473] ip_tables: Unknown symbol __put_user_2 (err -22)
>> [    4.391760] ip_tables: no symbol version for __sw_hweight32
>> [    4.393031] ip_tables: Unknown symbol __sw_hweight32 (err -22)
>> [    4.394332] ip_tables: no symbol version for memcpy
>> [    4.395508] ip_tables: Unknown symbol memcpy (err -22)
>> [    4.396729] ip_tables: no symbol version for __fentry__
>> [    4.397937] ip_tables: Unknown symbol __fentry__ (err -22)
>> [    4.399234] ip_tables: no symbol version for _copy_to_user
>> [    4.400488] ip_tables: Unknown symbol _copy_to_user (err -22)
>> [    4.405835] systemd[1]: Failed to insert module 'ip_tables': Invalid argument
>>
>>
>>
>> Thanks,
>> Xiaolong
> 
> Do we have any resolution of this?

With which .config is it happening? In my testing, the undefined CRCs
show up as 0x00000000 in Module.symvers and they are also 0 in the
___kcrctab* sections in vmlinux. So the loader matches the requested and
provided symbol's CRC of 0 and is happy. But I guess I'm missing something.

Thanks,
Michal

  parent reply	other threads:[~2016-10-11 13:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-20  2:55 kernel test robot
2016-09-29 23:26 ` Stephen Rothwell
2016-10-09  9:46   ` Mathieu OTHACEHE
2016-10-11 13:10   ` Michal Marek [this message]
2016-10-11 13:14     ` Michal Marek
2016-10-14  7:27       ` Mathieu OTHACEHE
2016-10-18  8:00       ` [LKP] " Ye Xiaolong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57FCE4D9.1090904@suse.cz \
    --to=mmarek@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@01.org \
    --cc=sfr@canb.auug.org.au \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome