RISC-V Linux kernel not booting up with KASAN enabled

Alexandre Ghiti alex at ghiti.fr
Wed Mar 1 23:50:56 PST 2023


Hi Chatura,

On 3/2/23 04:13, Chathura Rajapaksha wrote:
> 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.


I proposed a series that will be included in 6.3 regarding KASAN issues 
here: https://patchwork.kernel.org/project/linux-riscv/list/?series=718458

Can you give it a try and tell me if it works better?

Thanks,

Alex


>
> My kernel config:
> https://drive.google.com/file/d/1j9nU7f9MxCc_i-UHUCTvo7o6nDrcUz0w/view?usp=sharing
>
> Best regards,
> Chath
>
> _______________________________________________
> linux-riscv mailing list
> linux-riscv at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv



More information about the linux-riscv mailing list