Kernel panic when installing with Ventoy

  • Done
  • quality assurance status badge
Details
3 participants
  • Josselin Poiret
  • Tobias Geerinckx-Rice
  • Panos Alevropoulos
Owner
unassigned
Submitted by
Panos Alevropoulos
Severity
normal
P
P
Panos Alevropoulos wrote on 21 Nov 2022 23:48
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
Zl_XiLL2Ah-CzjdjLPXMPKZVxkWYWVn6mFMB9pYITsDlpe46-Nor4pKCjWmWsnJF6lOsgP0wqT_JcKMy26CGkBljSJmKkv1Amu6z07Rsxag=@proton.me
Hello,

It seems that I can't install Guix 1.3.0 with Ventoy. After starting installation from Guix GRUB, I get kernel panic. Ventoy works well otherwise with other distros.
Image checksum is good.

You can see the error in the attached image.

Thanks for your work,
Panos
Attachment: file
J
J
Josselin Poiret wrote on 4 Dec 2022 11:30
874jub1mwp.fsf@jpoiret.xyz
Hi Panos,

Panos Alevropoulos via Bug reports for GNU Guix <bug-guix@gnu.org>
writes:

Toggle quote (5 lines)
> Hello,
>
> It seems that I can't install Guix 1.3.0 with Ventoy. After starting installation from Guix GRUB, I get kernel panic. Ventoy works well otherwise with other distros.
> Image checksum is good.

Ventoy is not supported currently. It is up to them to add support for
Guix, not the other way around: we have some peculiarities with the boot
process that Ventoy completely ignores. By the way, you should try
using the latest installer image instead of 1.3.0, as a lot of bugs have
been fixed since then.

Best,
--
Josselin Poiret
T
T
Tobias Geerinckx-Rice wrote on 4 Dec 2022 13:55
(name . Panos Alevropoulos)(address . panosalevropoulos@proton.me)
87fsdvwcdz.fsf@nckx
Hi Panos,

Guix and Ventoy should work out of the box.

Panos Alevropoulos via Bug reports for GNU Guix 写道:
Toggle quote (3 lines)
> It seems that I can't install Guix 1.3.0 with Ventoy. After
> starting installation from Guix GRUB, I get kernel panic.

Thanks for including the exact panic message. That's very
helpful.

It's odd: Guix is trying to compile /ventoy/init as a SCM file.

- What is the sha256sum of the 1.3.0 ISO image you used?
- Could you try the ‘latest’[0] ISO and report the result?

Kind regards,

T G-R

-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCY4yaSA0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15VMUA/isAeYU/PSjpcyl9fusjGOVZMxyyUJG3T+n3+pC0
JVdtAP9/mQTzvTqAaamPOoqHN20Nn33itLQiTpMdFYIIIRUmDA==
=Pbmh
-----END PGP SIGNATURE-----

T
T
Tobias Geerinckx-Rice wrote on 4 Dec 2022 14:02
(name . Josselin Poiret)(address . dev@jpoiret.xyz)
87bkojwasb.fsf@nckx
Hi Josselin,

Josselin Poiret via Bug reports for GNU Guix 写道:
Toggle quote (6 lines)
> Ventoy is not supported currently. It is up to them to add
> support for
> Guix, not the other way around: we have some peculiarities with
> the boot
> process that Ventoy completely ignores.

Ah. This is true of most dime-a-dozen ‘universal’ ISO booters,
which merely source a GRUB .cfg and expect distributions to do all
the work. I'd shame them by name if they were memorable. Guix
indeed doesn't ‘support’ that!

Ventoy actually put some thought & effort into the process. Like
all clever hacks, there's some dependence on moon phase and luck,
but it's not snake oil.

It injects some code into the boot process to expose the ISO file
as a block device through Linux's device mapper. Any distribution
with dm-mod support, including Guix[0] (through dm-crypt), will
see a ‘real’ block device straight from the kernel. No distro
cooperation is required beyond ‘please don't be too clever and
peek behind the curtain’. IME, Guix does not do so, and just
works.

(So why does it fail here…?)

Kind regards,

T G-R

note who submitted it ;-)
-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCY4yiZA0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW155A0BAK8+lVtg/pUc1XQmGMoVPyAFO7XCqEblqeaoV+y7
2XyVAQC18hlyDz1kXPEmq0K6WkCn9/V+wsmh0q+7obNUU/SyAg==
=GhLw
-----END PGP SIGNATURE-----

T
T
Tobias Geerinckx-Rice wrote on 18 Dec 2022 14:19
(name . Panos Alevropoulos)(address . panosalevropoulos@proton.me)(address . 59466@debbugs.gnu.org)
877cyoalsi.fsf@nckx
Tobias Geerinckx-Rice 写道:
Toggle quote (3 lines)
> - What is the sha256sum of the 1.3.0 ISO image you used?
> - Could you try the ‘latest’[0] ISO and report the result?

Poing! If there's still some latent bug with Ventoy on your
hardware, now's our last chance to debug it before the release.

[0]: But now with the 1.4.0rc2 image[1] and signature[2].

Kind regards,

T G-R

[1]:
[2]:
-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCY58ULg0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW1511wA/3dxwRh7KwBlADfvLm7gLGHr9Jn/8S62SCWSNDOT
Mvp9AQDuxzLttKhE9X2skXIIjXTR0chr1i4vwSTAlmkz3dp6DQ==
=F2zM
-----END PGP SIGNATURE-----

P
P
Panos Alevropoulos wrote on 18 Dec 2022 14:31
(address . me@tobias.gr)(address . 59466@debbugs.gnu.org)
Idi-S5Amh3hDktglhHYQGkwouFhnPZ3suPRAYgNhtCdmwjdab1_mMj-pBnbmLWht-a--GIH2Zyc-b22oIhIhkk2kaTjMGLF3cbRq24CBVzY=@proton.me
Hi,

Please close this issue, it was fixed when I tried Ventoy with the latest image! Sorry for not letting you know earlier and thank you all for your work.

In freedom,

Panos
-------- Original Message --------
On Dec 18, 2022, 3:19 PM, Tobias Geerinckx-Rice wrote:

Toggle quote (1 lines)
> Tobias Geerinckx-Rice 写道: > - What is the sha256sum of the 1.3.0 ISO image you used? > - Could you try the ‘latest’[0] ISO and report the result? Poing! If there's still some latent bug with Ventoy on your hardware, now's our last chance to debug it before the release. [0]: But now with the 1.4.0rc2 image[1] and signature[2]. Kind regards, T G-R [1]: https://alpha.gnu.org/gnu/guix/guix-system-install-1.4.0rc2.x86_64-linux.iso[2]: https://alpha.gnu.org/gnu/guix/guix-system-install-1.4.0rc2.x86_64-linux.iso.sig
Attachment: file
T
T
Tobias Geerinckx-Rice wrote on 18 Dec 2022 14:54
(name . Panos Alevropoulos)(address . panosalevropoulos@proton.me)(address . 59466-done@debbugs.gnu.org)
87359cakb0.fsf@nckx
Hi Panos,

Panos Alevropoulos 写道:
Toggle quote (2 lines)
> Please close this issue,

Done!

Toggle quote (2 lines)
> it was fixed when I tried Ventoy with the latest image!

Very glad to hear that. Thanks for the prompt response!

Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCY58btA0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15uKQA/2QBwTrr8tRadmB/jIZ/bBy4MFobkEPiMd50EH5B
IyUNAQCzFTAf/jD9mvdUAZ4jzm+pEJRkGhmsbor4Fc94mKWWCg==
=rwf8
-----END PGP SIGNATURE-----

Closed
?