[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <89ff97ff-310d-579a-63d4-84cf093482d5@infradead.org>
Date: Tue, 28 Feb 2023 23:11:57 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: Yonghong Song <yhs@...a.com>, kernel test robot <lkp@...el.com>,
Yonghong Song <yhs@...com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Alexei Starovoitov <ast@...nel.org>
Subject: Re: ERROR: modpost: "iounmap" [drivers/tty/ipwireless/ipwireless.ko]
undefined!
On 2/28/23 23:05, Yonghong Song wrote:
>
>
> On 2/28/23 3:22 PM, kernel test robot wrote:
>> Hi Yonghong,
>>
>> First bad commit (maybe != root cause):
>>
>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
>> head: e492250d5252635b6c97d52eddf2792ec26f1ec1
>> commit: dffbbdc2d9889670c30e07d05fc0dd712e8ad430 libbpf: Add enum64 parsing and new enum64 public API
>> date: 9 months ago
>> config: s390-randconfig-r021-20230227 (https://download.01.org/0day-ci/archive/20230301/202303010701.KWYce0Mt-lkp@intel.com/config )
>> compiler: s390-linux-gcc (GCC) 12.1.0
>> reproduce (this is a W=1 build):
>> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>> chmod +x ~/bin/make.cross
>> # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dffbbdc2d9889670c30e07d05fc0dd712e8ad430
>> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>> git fetch --no-tags linus master
>> git checkout dffbbdc2d9889670c30e07d05fc0dd712e8ad430
>> # save the config file
>> mkdir build_dir && cp config build_dir/.config
>> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 olddefconfig
>> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash
>
> I don't think the commit 'libbpf: Add enum64 parsing and new enum64 public API' is responsible for the test failure. That commit is purely userspace and should not be the reason for kernel module symbol undefined.
>
CONFIG_HAS_IOMEM is not set. Happens often on ARCH=s390 when CONFIG_PCI is not set.
>>
>> If you fix the issue, kindly add following tag where applicable
>> | Reported-by: kernel test robot <lkp@...el.com>
>> | Link: https://lore.kernel.org/oe-kbuild-all/202303010701.KWYce0Mt-lkp@intel.com/
>>
>> All errors (new ones prefixed by >>, old ones prefixed by <<):
>>
>>>> ERROR: modpost: "iounmap" [drivers/tty/ipwireless/ipwireless.ko] undefined!
>>>> ERROR: modpost: "ioremap" [drivers/tty/ipwireless/ipwireless.ko] undefined!
>> ERROR: modpost: "ioremap" [drivers/net/arcnet/com90xx.ko] undefined!
>> ERROR: modpost: "iounmap" [drivers/net/arcnet/com90xx.ko] undefined!
>>>> ERROR: modpost: "iounmap" [drivers/pcmcia/pcmcia.ko] undefined!
>>>> ERROR: modpost: "ioremap" [drivers/pcmcia/pcmcia.ko] undefined!
>>
--
~Randy
Powered by blists - more mailing lists