All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tao Liu <ltao@redhat.com>
To: kexec@lists.infradead.org
Subject: Qemu does not like kexec initrd
Date: Thu, 17 Mar 2022 16:33:35 +0800	[thread overview]
Message-ID: <CAO7dBbVC9qKp0BHicpU_AVh7for9c0YWpucDyC3wN9YP_hwB5Q@mail.gmail.com> (raw)
In-Reply-To: <CAHfPjO8ayenR7Q0JX00if1yHwq_Uy1N27=KtRAizqja-94D-kQ@mail.gmail.com>

Hi Tobias,

The kernel you provided is not an upstream kernel, which contains
distribution specific modification, as well as the kexec. Since you
are reporting an issue to the upstream, I suggest you:

1) re-run your tests against the upstream code, instead of
distribution specific code.
2) if the issue still persists, you can report the issue to upstream,
as well as the detailed log information, such as:
    what is the log message?
    who prints the log message, qemu? kernel? kexec?
    what is the behaviour when the error occurs? kernel panic? error
logs? qemu crash?
For your case, Loading zstd initrd will cause an error(what error? who
prints the error?) ZSTD-data is corrupt error on qemu(how do you know
the data is corrupt? what attempts did you make?).

Please note upstream is not responsible for the distribution specific issues.

Thanks,
Tao Liu


On Wed, Mar 16, 2022 at 10:33 PM Tobias Powalowski
<tobias.powalowski@googlemail.com> wrote:
>
> Kernel and zstd initrds are located here:
> https://pkgbuild.com/~tpowa/archboot-images/x86_64/latest/boot/
> kexec -l kernel --initrd=initrd --reuse-cmdline
> systemctl kexec
>
> Am Mi., 16. M?rz 2022 um 15:19 Uhr schrieb Tao Liu <ltao@redhat.com>:
> >
> > Hi Tobias,
> >
> > On Wed, Mar 16, 2022 at 10:10 PM Tobias Powalowski
> > <tobias.powalowski@googlemail.com> wrote:
> > >
> > > Hi,
> > > Do you need anything from my side?
> > > Test files?
> > > Test system is latest Arch Linux with qemu 6.2.0
> > > greetings
> > > tpowa
> > >
> >
> > Could you briefly introduce your test steps please? I will try to reproduce it.
> >
> > Thanks,
> > Tao Liu
> >
> > > Am Mi., 16. M?rz 2022 um 14:58 Uhr schrieb Tao Liu <ltao@redhat.com>:
> > > >
> > > > Hi Baoquan,
> > > >
> > > > On Wed, Mar 16, 2022 at 7:38 PM Baoquan He <bhe@redhat.com> wrote:
> > > > >
> > > > > Cc Tao,
> > > > >
> > > > > On 03/16/22 at 11:57am, Tobias Powalowski wrote:
> > > > > > Hi
> > > > > > I just discovered this:
> > > > > > https://githubhot.com/repo/talos-systems/talos/issues/4947
> > > > > > I also suffer from this in my project:
> > > > > > Loading zstd initrd will cause an error:
> > > > > > ZSTD-data is corrupt error on qemu.
> > > > > > Is there a fix or workaround for this issue?
> > > > >
> > > > > Hi Tao,
> > > > >
> > > > > Did you ever met this when you introduce zstd to kexec/kdump?
> > > > >
> > > > No, I haven't encountered this issue before.
> > > >
> > > > Thanks,
> > > > Tao Liu
> > > >
> > > > > Thanks
> > > > > Baoquan
> > > > >
> > > > > >
> > > > > > --
> > > > > > Tobias Powalowski
> > > > > > Arch Linux Developer & Package Maintainer (tpowa)
> > > > > > https://www.archlinux.org
> > > > > > tpowa at archlinux.org
> > > > > >
> > > > > > St. Martin-Apotheke
> > > > > > Herzog-Georg-Str. 25
> > > > > > 89415 Lauingen
> > > > > > https://www.st-martin-apo.de
> > > > > > info at st-martin-apo.de
> > > > > >
> > > > > > _______________________________________________
> > > > > > kexec mailing list
> > > > > > kexec at lists.infradead.org
> > > > > > http://lists.infradead.org/mailman/listinfo/kexec
> > > > > >
> > > > >
> > > >
> > >
> > >
> > > --
> > > Tobias Powalowski
> > > Arch Linux Developer & Package Maintainer (tpowa)
> > > https://www.archlinux.org
> > > tpowa at archlinux.org
> > >
> > > St. Martin-Apotheke
> > > Herzog-Georg-Str. 25
> > > 89415 Lauingen
> > > https://www.st-martin-apo.de
> > > info at st-martin-apo.de
> > >
> >
>
>
> --
> Tobias Powalowski
> Arch Linux Developer & Package Maintainer (tpowa)
> https://www.archlinux.org
> tpowa at archlinux.org
>
> St. Martin-Apotheke
> Herzog-Georg-Str. 25
> 89415 Lauingen
> https://www.st-martin-apo.de
> info at st-martin-apo.de
>



  parent reply	other threads:[~2022-03-17  8:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-16 10:57 Qemu does not like kexec initrd Tobias Powalowski
2022-03-16 11:37 ` Baoquan He
2022-03-16 12:55   ` Tobias Powalowski
2022-03-16 13:45   ` Tobias Powalowski
2022-03-16 13:57   ` Tao Liu
2022-03-16 14:10     ` Tobias Powalowski
2022-03-16 14:18       ` Tao Liu
     [not found]         ` <CAHfPjO8ayenR7Q0JX00if1yHwq_Uy1N27=KtRAizqja-94D-kQ@mail.gmail.com>
2022-03-17  8:33           ` Tao Liu [this message]
2022-03-17  8:45             ` Tobias Powalowski
2022-03-17 10:04               ` Tobias Powalowski

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=CAO7dBbVC9qKp0BHicpU_AVh7for9c0YWpucDyC3wN9YP_hwB5Q@mail.gmail.com \
    --to=ltao@redhat.com \
    --cc=kexec@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.