All of lore.kernel.org
 help / color / mirror / Atom feed
From: mavrix#kernel@simplelogin.com
To: Ard Biesheuvel <ardb@kernel.org>
Cc: Radek Podgorny
	<radek@podgorny.cz>,regressions@lists.linux.dev,regressions@leemhuis.info,Christian
	Heusel <christian@heusel.eu>
Subject: Re: [REGRESSION] linux 6.6.18 and later fails to boot with "initramfs unpacking failed: invalid magic at start of compressed archive"
Date: Wed, 17 Jul 2024 21:59:24 +0000	[thread overview]
Message-ID: <172125357072.7.13007674265724826216.382402450@simplelogin.com> (raw)
In-Reply-To: <CAMj1kXG9AjvChj9O6LR+2bFVUoa225phaXndYvQ_f4X4bKioaw@mail.gmail.com>

On 7/17/24 5:55 PM, Ard Biesheuvel - ardb at kernel.org wrote:
> Does it make any difference if you boot with 'nokaslr' on the command line?
>
> Another thing you might try is applying the hunk below, to try and see
> whether the placement of boot_params in the binary is causing the
> issue.
>
> I can also provide a partial backport of the offending patch, to
> figure out whether it is the allocation that triggers the issue, or
> the way the boot_params data structure is populated.
>
>
>
> --- a/arch/x86/boot/compressed/vmlinux.lds.S
> +++ b/arch/x86/boot/compressed/vmlinux.lds.S
> @@ -55,8 +55,7 @@ SECTIONS
>          . = ALIGN(L1_CACHE_BYTES);
>          .bss : {
>                  _bss = . ;
> -               *(.bss)
> -               *(.bss.*)
> +               *(SORT_BY_ALIGNMENT(.bss*))
>                  *(COMMON)
>                  . = ALIGN(8);   /* For convenience during zeroing */
>                  _ebss = .;
>

On 7/17/24 7:16 PM, Ard Biesheuvel - ardb at kernel.org wrote:
> Please also share your kernel build config and the output of
>
> hexdump -C /sys/firmware/efi/efivars/MemoryOverwriteRequestControl-e20939be-32d4-41be-a150-897f85d49829

- nokaslr does not make a difference; it will still not boot
- linux 6.10 with the partial revert applied, as provided by*@loqs on the Arch forum thread, does not work either - the requested 
hexdump is: *00000000  07 00 00 00 00                                    |.....| 
00000005




  parent reply	other threads:[~2024-07-17 21:59 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <172096653882.8.16813493378478071178.379356753@simplelogin.com>
     [not found] ` <32bd7226-5d26-46fd-a3bb-5b14344bc0b5@pm.me>
2024-07-14 14:40   ` [REGRESSION] linux 6.6.18 and later fails to boot with "initramfs unpacking failed: invalid magic at start of compressed archive" mavrix#kernel
2024-07-17 15:55 ` Ard Biesheuvel
2024-07-17 17:16   ` Ard Biesheuvel
2024-07-17 21:44     ` Christian Heusel
2024-07-17 21:59   ` mavrix#kernel [this message]
2024-07-17 22:15     ` Ard Biesheuvel
2024-07-18 20:28       ` mavrix#kernel
2024-07-22  8:35         ` Ard Biesheuvel
2024-03-14 18:31 Radek Podgorny
2024-03-14 19:35 ` Ard Biesheuvel
2024-03-14 21:53   ` Ard Biesheuvel
2024-03-15  7:42     ` Ard Biesheuvel
2024-03-15 14:11       ` Radek Podgorny
2024-03-15 14:25         ` Ard Biesheuvel
2024-03-15 14:51           ` Radek Podgorny
2024-03-15 15:33         ` Ard Biesheuvel
2024-03-15 16:08           ` Ard Biesheuvel
2024-03-15 16:24             ` Radek Podgorny
2024-03-15 17:48               ` Ard Biesheuvel
2024-03-15 18:11                 ` Radek Podgorny
2024-03-15 18:25                   ` Ard Biesheuvel
2024-03-18 13:14                     ` Radek Podgorny
2024-03-18 13:19                       ` Ard Biesheuvel
2024-03-22 16:28                         ` Radek Podgorny
2024-03-22 17:23                           ` Ard Biesheuvel
2024-03-25 14:56                             ` Radek Podgorny
2024-03-25 16:24                               ` Ard Biesheuvel
2024-03-28  9:17                                 ` Radek Podgorny
2024-03-28  9:41                                   ` Ard Biesheuvel
2024-03-28 14:49                                     ` Ard Biesheuvel
2024-03-29 10:43                                       ` Radek Podgorny
2024-03-29 14:36                                         ` Ard Biesheuvel

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=172125357072.7.13007674265724826216.382402450@simplelogin.com \
    --to=mavrix#kernel@simplelogin.com \
    --cc=ardb@kernel.org \
    --cc=christian@heusel.eu \
    --cc=radek@podgorny.cz \
    --cc=regressions@leemhuis.info \
    --cc=regressions@lists.linux.dev \
    /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.