All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chathura Rajapaksha <chathura.abeyrathne.lk@gmail.com>
To: Alexandre Ghiti <alex@ghiti.fr>
Cc: linux-riscv@lists.infradead.org
Subject: Re: RISC-V Linux kernel not booting up with KASAN enabled
Date: Thu, 2 Mar 2023 11:25:14 -0500	[thread overview]
Message-ID: <CAD7mqrzv-jr_o2U3Kz7vTgcsOYPKgwHW-L=ARAucAPPJgs4HCw@mail.gmail.com> (raw)
In-Reply-To: <789371c4-47fd-3de5-d6c0-bb36b2864796@ghiti.fr>

Hi Alex,

Thank you very much, kernel booted up with the patches you mentioned.
Bootup was pretty slow compared to before though (on a dev board).
I guess that is kind of expected with KASAN enabled.
Thanks again.

Regards,
Chath

On Thu, Mar 2, 2023 at 2:50 AM Alexandre Ghiti <alex@ghiti.fr> wrote:
>
> 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@lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/linux-riscv

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

  reply	other threads:[~2023-03-02 16:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-02  3:13 RISC-V Linux kernel not booting up with KASAN enabled Chathura Rajapaksha
2023-03-02  7:50 ` Alexandre Ghiti
2023-03-02 16:25   ` Chathura Rajapaksha [this message]
2023-03-02 18:01     ` Chathura Rajapaksha
2023-03-02 20:11       ` Alexandre Ghiti
2023-03-03  5:44         ` Dmitry Vyukov
2023-03-03 14:16           ` Alexandre Ghiti
2023-03-07  2:57           ` Chathura Rajapaksha
2023-03-08  9:10             ` Alexandre Ghiti
2023-03-02 19:49     ` Alexandre Ghiti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAD7mqrzv-jr_o2U3Kz7vTgcsOYPKgwHW-L=ARAucAPPJgs4HCw@mail.gmail.com' \
    --to=chathura.abeyrathne.lk@gmail.com \
    --cc=alex@ghiti.fr \
    --cc=linux-riscv@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.