LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* ERROR: modpost: "__divsi3_table" [lib/lz4/lz4_compress.ko] undefined!
@ 2021-08-04 20:52 kernel test robot
0 siblings, 0 replies; 7+ messages in thread
From: kernel test robot @ 2021-08-04 20:52 UTC (permalink / raw)
To: Noralf Trønnes; +Cc: kbuild-all, linux-kernel, Peter Stuge
[-- Attachment #1: Type: text/plain, Size: 1511 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d5ad8ec3cfb56a017de6a784835666475b4be349
commit: 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 drm: Add GUD USB Display driver
date: 5 months ago
config: nios2-randconfig-r035-20210804 (attached as .config)
compiler: nios2-linux-gcc (GCC) 10.3.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=40e1a70b4aedf2859a1829991b48ef0ebe650bf2
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 40e1a70b4aedf2859a1829991b48ef0ebe650bf2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=nios2
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> ERROR: modpost: "__divsi3_table" [lib/lz4/lz4_compress.ko] undefined!
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SERIAL_CORE_CONSOLE
Depends on TTY && HAS_IOMEM
Selected by
- EARLY_PRINTK
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 26579 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* ERROR: modpost: "__divsi3_table" [lib/lz4/lz4_compress.ko] undefined!
@ 2022-03-13 4:23 kernel test robot
0 siblings, 0 replies; 7+ messages in thread
From: kernel test robot @ 2022-03-13 4:23 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: kbuild-all, linux-kernel, Daniel Vetter, Kees Cook
Hi Arnd,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: aad611a868d16cdc16a7d4a764cef955293e47e3
commit: 606b102876e3741851dfb09d53f3ee57f650a52c drm: fb_helper: fix CONFIG_FB dependency
date: 5 months ago
config: nios2-randconfig-r014-20220313 (https://download.01.org/0day-ci/archive/20220313/202203131256.9dyj6eO2-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.2.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=606b102876e3741851dfb09d53f3ee57f650a52c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 606b102876e3741851dfb09d53f3ee57f650a52c
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nios2 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> ERROR: modpost: "__divsi3_table" [lib/lz4/lz4_compress.ko] undefined!
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SERIAL_CORE_CONSOLE
Depends on TTY && HAS_IOMEM
Selected by
- EARLY_PRINTK
---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] 7+ messages in thread
* ERROR: modpost: "__divsi3_table" [lib/lz4/lz4_compress.ko] undefined!
@ 2022-01-13 6:22 kernel test robot
0 siblings, 0 replies; 7+ messages in thread
From: kernel test robot @ 2022-01-13 6:22 UTC (permalink / raw)
To: Randy Dunlap
Cc: kbuild-all, linux-kernel, Mark Brown, Matti Vaittinen, Matti Vaittinen
Hi Randy,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 455e73a07f6e288b0061dfcf4fcf54fa9fe06458
commit: 5ba3747dbc9ade2d22a8f5bff3c928cb41d35030 regulator: bd71815: add select to fix build
date: 8 months ago
config: nios2-randconfig-m031-20220113 (https://download.01.org/0day-ci/archive/20220113/202201131441.gBtxgYek-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.2.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=5ba3747dbc9ade2d22a8f5bff3c928cb41d35030
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 5ba3747dbc9ade2d22a8f5bff3c928cb41d35030
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nios2 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> ERROR: modpost: "__divsi3_table" [lib/lz4/lz4_compress.ko] undefined!
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] 7+ messages in thread
* ERROR: modpost: "__divsi3_table" [lib/lz4/lz4_compress.ko] undefined!
@ 2022-01-12 18:11 kernel test robot
0 siblings, 0 replies; 7+ messages in thread
From: kernel test robot @ 2022-01-12 18:11 UTC (permalink / raw)
To: Noralf Trønnes; +Cc: kbuild-all, linux-kernel, Peter Stuge
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: daadb3bd0e8d3e317e36bc2c1542e86c528665e5
commit: 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 drm: Add GUD USB Display driver
date: 10 months ago
config: nios2-randconfig-r031-20220112 (https://download.01.org/0day-ci/archive/20220113/202201130256.3TGIbq70-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.2.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=40e1a70b4aedf2859a1829991b48ef0ebe650bf2
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 40e1a70b4aedf2859a1829991b48ef0ebe650bf2
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nios2 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> ERROR: modpost: "__divsi3_table" [lib/lz4/lz4_compress.ko] undefined!
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SERIAL_CORE_CONSOLE
Depends on TTY && HAS_IOMEM
Selected by
- EARLY_PRINTK
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ERROR: modpost: "__divsi3_table" [lib/lz4/lz4_compress.ko] undefined!
2021-12-06 11:01 ` Arnd Bergmann
@ 2021-12-24 12:09 ` Max Filippov
0 siblings, 0 replies; 7+ messages in thread
From: Max Filippov @ 2021-12-24 12:09 UTC (permalink / raw)
To: Arnd Bergmann
Cc: kernel test robot, kbuild-all, Linux Kernel Mailing List,
Mauro Carvalho Chehab, Linux Media Mailing List, Hans Verkuil,
open list:TENSILICA XTENSA PORT (xtensa),
Chris Zankel
Hi Arnd,
On Mon, Dec 6, 2021 at 3:02 AM Arnd Bergmann <arnd@arndb.de> wrote:
>
> On Mon, Dec 6, 2021 at 11:30 AM kernel test robot <lkp@intel.com> wrote:
> > First bad commit (maybe != root cause):
> > commit: 570a82b9c36f76a5959b5e47900629b0d413931d media: i2c: select V4L2_ASYNC where needed
>
> Right, that is clearly unrelated.
>
> > If you fix the issue, kindly add following tag as appropriate
> > Reported-by: kernel test robot <lkp@intel.com>
> >
> > All errors (new ones prefixed by >>, old ones prefixed by <<):
> >
> > >> ERROR: modpost: "__divsi3_table" [lib/lz4/lz4_compress.ko] undefined!
>
> lz4 was recently updated, and apparently now does a 32-bit division. I
> assume this
> is the decompressor, as arch/mips had similar problems.
>
> The possible fixes are:
>
> - disable lz4 compressed kernels on xtensa
> - change lz4 to not perform any division
> - change the xtensa decompressor to include the divsi3 helper code from the
> main kernel, see fbf3bce45821 ("MIPS: boot/compressed/: add __ashldi3 to
> target for ZSTD compression")
I couldn't reproduce this on xtensa with 5.16-rc6 and I don't think there
is such issue with xtensa because it has config-specific assembly
implementation of __divsi3 that doesn't use __divsi3_table.
Also the report is against nios2.
--
Thanks.
-- Max
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ERROR: modpost: "__divsi3_table" [lib/lz4/lz4_compress.ko] undefined!
2021-12-06 10:30 kernel test robot
@ 2021-12-06 11:01 ` Arnd Bergmann
2021-12-24 12:09 ` Max Filippov
0 siblings, 1 reply; 7+ messages in thread
From: Arnd Bergmann @ 2021-12-06 11:01 UTC (permalink / raw)
To: kernel test robot
Cc: Arnd Bergmann, kbuild-all, Linux Kernel Mailing List,
Mauro Carvalho Chehab, Linux Media Mailing List, Hans Verkuil,
open list:TENSILICA XTENSA PORT (xtensa),
Chris Zankel, Max Filippov
On Mon, Dec 6, 2021 at 11:30 AM kernel test robot <lkp@intel.com> wrote:
> First bad commit (maybe != root cause):
> commit: 570a82b9c36f76a5959b5e47900629b0d413931d media: i2c: select V4L2_ASYNC where needed
Right, that is clearly unrelated.
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>, old ones prefixed by <<):
>
> >> ERROR: modpost: "__divsi3_table" [lib/lz4/lz4_compress.ko] undefined!
lz4 was recently updated, and apparently now does a 32-bit division. I
assume this
is the decompressor, as arch/mips had similar problems.
The possible fixes are:
- disable lz4 compressed kernels on xtensa
- change lz4 to not perform any division
- change the xtensa decompressor to include the divsi3 helper code from the
main kernel, see fbf3bce45821 ("MIPS: boot/compressed/: add __ashldi3 to
target for ZSTD compression")
Arnd
^ permalink raw reply [flat|nested] 7+ messages in thread
* ERROR: modpost: "__divsi3_table" [lib/lz4/lz4_compress.ko] undefined!
@ 2021-12-06 10:30 kernel test robot
2021-12-06 11:01 ` Arnd Bergmann
0 siblings, 1 reply; 7+ messages in thread
From: kernel test robot @ 2021-12-06 10:30 UTC (permalink / raw)
To: Arnd Bergmann
Cc: kbuild-all, linux-kernel, Mauro Carvalho Chehab, linux-media,
Hans Verkuil
Hi Arnd,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0fcfb00b28c0b7884635dacf38e46d60bf3d4eb1
commit: 570a82b9c36f76a5959b5e47900629b0d413931d media: i2c: select V4L2_ASYNC where needed
date: 7 weeks ago
config: nios2-randconfig-r021-20211206 (https://download.01.org/0day-ci/archive/20211206/202112061844.RuSQXzxk-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.2.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=570a82b9c36f76a5959b5e47900629b0d413931d
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 570a82b9c36f76a5959b5e47900629b0d413931d
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nios2 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> ERROR: modpost: "__divsi3_table" [lib/lz4/lz4_compress.ko] undefined!
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-03-13 4:26 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-04 20:52 ERROR: modpost: "__divsi3_table" [lib/lz4/lz4_compress.ko] undefined! kernel test robot
2021-12-06 10:30 kernel test robot
2021-12-06 11:01 ` Arnd Bergmann
2021-12-24 12:09 ` Max Filippov
2022-01-12 18:11 kernel test robot
2022-01-13 6:22 kernel test robot
2022-03-13 4:23 kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).