Qemu does not like kexec initrd

Tao Liu ltao at redhat.com
Thu Mar 17 01:33:35 PDT 2022


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 at 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 at redhat.com>:
> >
> > Hi Tobias,
> >
> > On Wed, Mar 16, 2022 at 10:10 PM Tobias Powalowski
> > <tobias.powalowski at 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 at redhat.com>:
> > > >
> > > > Hi Baoquan,
> > > >
> > > > On Wed, Mar 16, 2022 at 7:38 PM Baoquan He <bhe at 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
>




More information about the kexec mailing list