Skip to content

multi_v7_defconfig + CONFIG_KASAN=y boot failure #1211

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nathanchance opened this issue Dec 8, 2020 · 1 comment
Closed

multi_v7_defconfig + CONFIG_KASAN=y boot failure #1211

nathanchance opened this issue Dec 8, 2020 · 1 comment
Labels
[ARCH] arm32 This bug impacts ARCH=arm [BUG] linux A bug that should be fixed in the mainline kernel.

Comments

@nathanchance
Copy link
Member

This is mainly for tracking/visibility. Beginning of the upstream report and discussion: https://lore.kernel.org/linux-arm-kernel/20201030013228.GA2519055@ubuntu-m3-large-x86/

TL;DR: Something is going wrong with futex_init, which appears related to #325, as @arndb 's noinline patch fixes it.

$ git fetch git://git.armlinux.org.uk/~rmk/linux-arm.git for-next && git checkout FETCH_HEAD

$ make -skj"$(nproc)" ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- LLVM=1 O=out distclean defconfig

$ scripts/config --file out/.config -e KASAN

$ make -skj"$(nproc)" ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- LLVM=1 O=out olddefconfig zImage

$ ~/cbl/github/boot-utils/boot-qemu.sh -a arm32_v7 -k out -t 15s
...
+ timeout --foreground 30s unbuffer qemu-system-arm ...
+ RET=124
...
@nathanchance nathanchance added [ARCH] arm32 This bug impacts ARCH=arm [BUG] linux-next This is an issue only seen in linux-next labels Dec 8, 2020
@nathanchance nathanchance added this to the 5.11 milestone Jan 4, 2021
@nathanchance nathanchance added [BUG] linux A bug that should be fixed in the mainline kernel. and removed [BUG] linux-next This is an issue only seen in linux-next labels Feb 9, 2021
@nathanchance
Copy link
Member Author

This appears to be resolved now that #325 is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[ARCH] arm32 This bug impacts ARCH=arm [BUG] linux A bug that should be fixed in the mainline kernel.
Projects
None yet
Development

No branches or pull requests

1 participant