linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 1602/3190] ERROR: modpost: "iounmap" [drivers/tty/ipwireless/ipwireless.ko] undefined!
@ 2022-10-25 16:39 kernel test robot
  2022-10-25 17:22 ` Marco Elver
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2022-10-25 16:39 UTC (permalink / raw)
  To: Marco Elver
  Cc: llvm, oe-kbuild-all, Linux Memory Management List, Paul E. McKenney

[-- Attachment #1: Type: text/plain, Size: 2069 bytes --]

Hi Marco,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   89bf6e28373beef9577fa71f996a5f73a569617c
commit: 7c201739beef1a586d806463f1465429cdce34c5 [1602/3190] kcsan: Instrument memcpy/memset/memmove with newer Clang
config: s390-randconfig-r044-20221025 (attached as .config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
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
        # install s390 cross compiling tool for clang build
        # apt-get install binutils-s390x-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=7c201739beef1a586d806463f1465429cdce34c5
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 7c201739beef1a586d806463f1465429cdce34c5
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <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: "iounmap" [drivers/net/ethernet/fujitsu/fmvj18x_cs.ko] undefined!
>> ERROR: modpost: "ioremap" [drivers/net/ethernet/fujitsu/fmvj18x_cs.ko] undefined!
>> ERROR: modpost: "devm_ioremap" [drivers/net/ethernet/altera/altera_tse.ko] undefined!
ERROR: modpost: "iounmap" [drivers/pcmcia/pcmcia.ko] undefined!
ERROR: modpost: "ioremap" [drivers/pcmcia/pcmcia.ko] undefined!

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 23264 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-next:master 1602/3190] ERROR: modpost: "iounmap" [drivers/tty/ipwireless/ipwireless.ko] undefined!
  2022-10-25 16:39 [linux-next:master 1602/3190] ERROR: modpost: "iounmap" [drivers/tty/ipwireless/ipwireless.ko] undefined! kernel test robot
@ 2022-10-25 17:22 ` Marco Elver
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Elver @ 2022-10-25 17:22 UTC (permalink / raw)
  To: kernel test robot
  Cc: llvm, oe-kbuild-all, Linux Memory Management List, Paul E. McKenney

On Tue, 25 Oct 2022 at 09:40, kernel test robot <lkp@intel.com> wrote:
>
> Hi Marco,
>
> First bad commit (maybe != root cause):
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   89bf6e28373beef9577fa71f996a5f73a569617c
> commit: 7c201739beef1a586d806463f1465429cdce34c5 [1602/3190] kcsan: Instrument memcpy/memset/memmove with newer Clang

This is unlikely to be the cause.

> config: s390-randconfig-r044-20221025 (attached as .config)
> compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
> 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
>         # install s390 cross compiling tool for clang build
>         # apt-get install binutils-s390x-linux-gnu
>         # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=7c201739beef1a586d806463f1465429cdce34c5
>         git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>         git fetch --no-tags linux-next master
>         git checkout 7c201739beef1a586d806463f1465429cdce34c5
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <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: "iounmap" [drivers/net/ethernet/fujitsu/fmvj18x_cs.ko] undefined!
> >> ERROR: modpost: "ioremap" [drivers/net/ethernet/fujitsu/fmvj18x_cs.ko] undefined!
> >> ERROR: modpost: "devm_ioremap" [drivers/net/ethernet/altera/altera_tse.ko] undefined!
> ERROR: modpost: "iounmap" [drivers/pcmcia/pcmcia.ko] undefined!
> ERROR: modpost: "ioremap" [drivers/pcmcia/pcmcia.ko] undefined!

There are already similar warnings.

My guess is that testing newer (unstable!) clang + CONFIG_KCSAN=y was
broken before the KCSAN commit that fixed memcpy/etc., so from this
commit onwards things build again and thus show a bunch of other
warnings/errors due to semi-successful build.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-25 17:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-25 16:39 [linux-next:master 1602/3190] ERROR: modpost: "iounmap" [drivers/tty/ipwireless/ipwireless.ko] undefined! kernel test robot
2022-10-25 17:22 ` Marco Elver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox