Re: [lkp] [x86] 784d5699ed: kmsg.ip_tables:no_symbol_version_for_copy_from_user

From: Michal Marek
Date: Tue Oct 11 2016 - 09:15:05 EST


Dne 11.10.2016 v 15:10 Michal Marek napsal(a):
> 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@xxxxxxxxx> 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?

Or maybe with which toolchain is the kernel built.

Thanks,
Michal