RISC-V Linux kernel not booting up with KASAN enabled

Chathura Rajapaksha chathura.abeyrathne.lk at gmail.com
Wed Mar 1 19:13:36 PST 2023


Hi All,

I observed that RISC-V Linux hangs when I enable KASAN.
Without KASAN it works fine with QEMU.
I am using the commit ae3419fbac845b4d3f3a9fae4cc80c68d82cdf6e

When KASAN is enabled, QEMU hangs after OpenSBI prints.

I noticed a similar issue was reported before in
https://lore.kernel.org/lkml/CACT4Y+ZmuOpyf_0vHTT4t3wkmJuW8Ezvcg7v6yDVd8YOViS=GA@mail.gmail.com/t/
But I believe I have the patch mentioned in that thread.

My kernel config:
https://drive.google.com/file/d/1j9nU7f9MxCc_i-UHUCTvo7o6nDrcUz0w/view?usp=sharing

Best regards,
Chath



More information about the linux-riscv mailing list