Hi Chuck, On Mon, Feb 27, 2023 at 4:06 PM Chuck Lever III <chuck.lever@xxxxxxxxxx> wrote: > > On Feb 27, 2023, at 4:51 AM, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote: > > On Thu, Feb 23, 2023 at 5:52 PM Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote: > >> On Thu, Feb 23, 2023 at 5:19 PM Chuck Lever III <chuck.lever@xxxxxxxxxx> wrote: > >>>> On Feb 23, 2023, at 10:16 AM, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote: > >>> Unable to handle kernel access at virtual address af06da84 > >> > >>>> I.e. a slightly different crash. > >>>> As the difference between the two crashes is modular vs. builtin, > >>>> this looks like an out-of-bound access in the test. > > > > Just ran it on physical arm32 and arm64 (Renesas APE6EVM and > > Salvator-XS), and the test crashes there, too. > > > >>> Why not run the test suite just as I suggested? > > > > kunit_kernel.ConfigError: m68k is not a valid arch, options are > > ['alpha', 'arm', 'arm64', 'i386', 'powerpc', 'riscv', 's390', 'sparc', > > 'x86_64'] > > > > Will look into adding m68k support ;-) > > > > But the issue can easily be reproduced using > > ".../tools/testing/kunit/kunit.py run --arch=arm > > --cross_compile=arm-linux-gnueabihf- --raw_output=all --kunitconfig > > ./net/sunrpc/.kunitconfig" on current upstream[1]: > I'm still not able to reproduce: > > [cel@bazille odd-releases]$ tools/testing/kunit/kunit.py run --arch=arm > --cross_compile=arm-linux-gnueabihf- --raw_output=all --kunitconfig > ./net/sunrpc/.kunitconfig > [10:04:14] Configuring KUnit Kernel ... > Generating .config ... > Populating config with: > $ make ARCH=arm O=.kunit olddefconfig > [10:04:18] Building KUnit Kernel ... > Populating config with: > $ make ARCH=arm O=.kunit olddefconfig > Building with: > $ make ARCH=arm O=.kunit --jobs=4 > ERROR:root:gcc: error: unrecognized argument in option ‘-mabi=aapcs-linux’ > gcc: note: valid arguments to ‘-mabi=’ are: ms sysv > gcc: error: unrecognized argument in option ‘-mabi=aapcs-linux’ > gcc: note: valid arguments to ‘-mabi=’ are: ms sysv > gcc: error: unrecognized command-line option ‘-mlittle-endian’ > gcc: error: unrecognized command-line option ‘-mlittle-endian’ > gcc: error: unrecognized command-line option ‘-mtp=cp15’ > gcc: error: unrecognized command-line option ‘-mtp=cp15’ > gcc: error: unrecognized command-line option ‘-mfpu=vfp’ > make[2]: *** [../scripts/Makefile.build:252: scripts/mod/empty.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > gcc: error: unrecognized command-line option ‘-mfpu=vfp’ > make[2]: *** [../scripts/Makefile.build:114: scripts/mod/devicetable-offsets.s] Error 1 > make[1]: *** [/home/cel/src/linux/odd-releases/Makefile:1297: prepare0] Error 2 > make: *** [Makefile:242: __sub-make] Error 2 > > -bash: --cross_compile=arm-linux-gnueabihf-: command not found > -bash: ./net/sunrpc/.kunitconfig: Permission denied > [cel@bazille odd-releases]$ gcc --version > gcc (GCC) 12.2.1 20221121 (Red Hat 12.2.1-4) > Copyright (C) 2022 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > [cel@bazille odd-releases]$ > > What am I missing? Please run that as a single command, not split across 3 lines. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds