2021-12-15 06:50:03

by kernel test robot

[permalink] [raw]
Subject: [linux-stable-rc:queue/5.10 6492/9999] ERROR: modpost: "raid6_2data_recov" [fs/btrfs/btrfs.ko] undefined!

Hi Nathan,

First bad commit (maybe != root cause):

tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git queue/5.10
head: a0e5648b46a984339e8c472bfe5da299dd65fc3b
commit: f7121692795c654b52b460a11107a87285bb1dcd [6492/9999] hexagon: handle {,SOFT}IRQENTRY_TEXT in linker script
config: hexagon-randconfig-r041-20211215 (https://download.01.org/0day-ci/archive/20211215/[email protected]/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project b6a2ddb6c8ac29412b1361810972e15221fa021c)
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/stable/linux-stable-rc.git/commit/?id=f7121692795c654b52b460a11107a87285bb1dcd
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc queue/5.10
git checkout f7121692795c654b52b460a11107a87285bb1dcd
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>

All errors (new ones prefixed by >>, old ones prefixed by <<):

ERROR: modpost: "__raw_writesl" [drivers/i3c/master/i3c-master-cdns.ko] undefined!
ERROR: modpost: "__raw_readsl" [drivers/i3c/master/i3c-master-cdns.ko] undefined!
>> ERROR: modpost: "raid6_2data_recov" [fs/btrfs/btrfs.ko] undefined!
>> ERROR: modpost: "raid6_datap_recov" [fs/btrfs/btrfs.ko] undefined!
>> ERROR: modpost: "raid6_call" [fs/btrfs/btrfs.ko] undefined!
>> ERROR: modpost: "xor_blocks" [fs/btrfs/btrfs.ko] undefined!
>> ERROR: modpost: "__compiletime_assert_963" [fs/btrfs/btrfs.ko] undefined!

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for BTRFS_FS
Depends on BLOCK && !PPC_256K_PAGES && !PAGE_SIZE_256KB
Selected by
- TEST_KMOD && RUNTIME_TESTING_MENU && m && MODULES && NETDEVICES && NET_CORE && INET && BLOCK

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]


2021-12-15 17:21:54

by Nathan Chancellor

[permalink] [raw]
Subject: Re: [linux-stable-rc:queue/5.10 6492/9999] ERROR: modpost: "raid6_2data_recov" [fs/btrfs/btrfs.ko] undefined!

On Wed, Dec 15, 2021 at 02:49:44PM +0800, kernel test robot wrote:
> Hi Nathan,
>
> First bad commit (maybe != root cause):

Indeed, pre-existing issue :)

> tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git queue/5.10
> head: a0e5648b46a984339e8c472bfe5da299dd65fc3b
> commit: f7121692795c654b52b460a11107a87285bb1dcd [6492/9999] hexagon: handle {,SOFT}IRQENTRY_TEXT in linker script
> config: hexagon-randconfig-r041-20211215 (https://download.01.org/0day-ci/archive/20211215/[email protected]/config)
> compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project b6a2ddb6c8ac29412b1361810972e15221fa021c)
> 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/stable/linux-stable-rc.git/commit/?id=f7121692795c654b52b460a11107a87285bb1dcd
> git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
> git fetch --no-tags linux-stable-rc queue/5.10
> git checkout f7121692795c654b52b460a11107a87285bb1dcd
> # save the config file to linux build tree
> mkdir build_dir
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <[email protected]>
>
> All errors (new ones prefixed by >>, old ones prefixed by <<):
>
> ERROR: modpost: "__raw_writesl" [drivers/i3c/master/i3c-master-cdns.ko] undefined!
> ERROR: modpost: "__raw_readsl" [drivers/i3c/master/i3c-master-cdns.ko] undefined!

This is fixed in linux-5.10.y head, commit 0854c9ff2151 ("hexagon:
export raw I/O routines for modules").

> >> ERROR: modpost: "raid6_2data_recov" [fs/btrfs/btrfs.ko] undefined!
> >> ERROR: modpost: "raid6_datap_recov" [fs/btrfs/btrfs.ko] undefined!
> >> ERROR: modpost: "raid6_call" [fs/btrfs/btrfs.ko] undefined!
> >> ERROR: modpost: "xor_blocks" [fs/btrfs/btrfs.ko] undefined!
> >> ERROR: modpost: "__compiletime_assert_963" [fs/btrfs/btrfs.ko] undefined!
>
> Kconfig warnings: (for reference only)
> WARNING: unmet direct dependencies detected for BTRFS_FS
> Depends on BLOCK && !PPC_256K_PAGES && !PAGE_SIZE_256KB
> Selected by
> - TEST_KMOD && RUNTIME_TESTING_MENU && m && MODULES && NETDEVICES && NET_CORE && INET && BLOCK

The rest of the errors should be fixed by my series here, which is
currently in -mm:

https://lore.kernel.org/r/[email protected]/

I can backport it once it lands in mainline.

Cheers,
Nathan