<div dir="auto"><div><br><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, 25 Apr 2025, 23:13 Sven Dreyer via ipxe-devel, <<a href="mailto:ipxe-devel@lists.ipxe.org">ipxe-devel@lists.ipxe.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear iPXE developers,<br>
<br>
after the easter holidays, I just noticed that I can neither boot my <br>
Debian amd64 nfsroot system nor my Windows 10 PE x86_64 any longer.<br>
<br>
The iPXE Debian nfsroot thing worked like a charm with various Debian <br>
releases on amd64 as well as on i386.<br>
<br>
Now it doesn't boot because the initrd seems corrupted:<br>
Initramfs unpacking failed: invalid magic at start of compressed archive<br>
<br>
Comparable problems apply to wimboot 2.8.0 trying to boot a Windows PE <br>
10.0-26100 x86_64:<br>
Unexpected output length 0x0 (expected 0x8000)<br>
Could not patch WIM boot.wim<br>
<br>
Setup is:<br>
- x86_64 on BIOS (not UEFI)<br>
- PXE boot configured<br>
- Integrated PXE loads ipxe.pxe (self compiled from git master)<br>
- iPXE loads script<br>
- script for Debian nfsroot loads both initrd and kernel via nfs:// uri <br>
and boots kernel with append parameters<br>
- script for Windows PE loads wimboot 2.8.0 and further windows files <br>
over HTTP<br>
<br>
What I noticed is:<br>
- The problem occurs with ipxe.pxe, undionly.kpxe and undionly.kkpxe<br>
- When switching to UEFI (and using ipxe.efi), the problem does NOT occur<br>
- A git bisect reveals that ef038491858cb51f8aa17b1f6e50444d2e627413 is <br>
the first bad commit.<br>
- Before commit ef038491858cb51f8aa17b1f6e50444d2e627413, everything <br>
works for me.<br>
<br>
Is there anything I can do to track this problem down?<br>
<br>
Thanks and best regards,<br>
Sven<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Add imgstat, and maybe a pause before boot, post that output, then add imgfree before your initrd and note any difference from imgstat, and note if it makes any difference to the boot process.</div><div dir="auto"><br></div><div dir="auto">I would however not think that this would apply in the same way to wimboot, and you should have the same issues in EFI, but again compare imgstat output.</div><div dir="auto"><br></div><div dir="auto">There isĀ <a href="https://github.com/ipxe/ipxe/issues/1454">https://github.com/ipxe/ipxe/issues/1454</a> pointing to the same commit, however there it seems to be other data before cpio archive (initrd), which I wouldn't expect to work. So maybe there has actually been a different bug before, hidden due something else changing how the data is packed.</div><div dir="auto"><br></div><div dir="auto">/Christian</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
_______________________________________________<br>
ipxe-devel mailing list<br>
<a href="mailto:ipxe-devel@lists.ipxe.org" target="_blank" rel="noreferrer">ipxe-devel@lists.ipxe.org</a><br>
<a href="https://lists.ipxe.org/mailman/listinfo/ipxe-devel" rel="noreferrer noreferrer" target="_blank">https://lists.ipxe.org/mailman/listinfo/ipxe-devel</a><br>
</blockquote></div></div></div>