FOS hangs silently after init.xz on Framework Laptop 16 (Ryzen 7040) – works in a UEFI VM
-
A Framework Laptop 16 downloads bzImage and init.xz over iPXE, then hangs forever at a blinking cursor with no kernel output. The same server, DHCP and boot files boot FOS normally in a Proxmox OVMF VM. Every test below points at this model’s firmware and the FOS kernel handoff.
Server
• FOG 1.6.0 (dev-branch), fresh install on Debian 13, running as a Proxmox VM
• FOS kernel 6.18.59 (default, updated via Kernel Update); init.xz from the 1.6.0 install
• Web set up in “standard” mode (HTTPS UI, netboot over HTTP)
• DHCP: UniFi gateway, option 66 = 10.0.1.35, option 67 = secureboot/snponly-shimx64.efi
Client
• Framework Laptop 16, AMD Ryzen 9 7940HS (Radeon 780M), 32 GB RAM, WD_BLACK SN770 NVMe
• No discrete GPU module installed
• BIOS updated from 3.03 to 4.05 (Insyde) during testing; no change in behavior
• NIC: Framework USB-C Ethernet expansion card (Realtek-based), MAC 9c:bf:0d:00:83:97
• Task: Capture, image type Single Disk – Resizable, sysprepped Windows 11
What happens
• Secure Boot ON: bzImage and init.xz download, then “Verification failed: Security Policy Violation” and “Could not boot: Error 0x7f04819a”. Expected, since FOG’s kernel CA isn’t enrolled.
• Secure Boot OFF: “bzImage… ok”, “init.xz… ok”, then a blinking cursor forever. One attempt was left for 20 hours. No kernel output appears at all.
• The Apache log shows boot.php, bzImage (11207287 bytes) and init.xz (31555324 bytes) all returning 200. After that the client never contacts the server again.
• Nothing is written to /images/dev, and the task never checks in.What I tried-----------Test Result
Host kernel args nomodeset loglevel=7 No output, same hangearlyprintk=efi,keep loglevel=7 No output, same hang
earlycon=efifb keep_bootcon loglevel=7 mem_encrypt=off amd_iommu=off No output, same hang (boot.php response size changed, so args were sent)
mem=8G loglevel=7 No output, same hangBoot file snponly.efi instead of the shim chain Same hang
BIOS 3.03 → 4.05 Same hang
Kernel 7.2.13 Same hang
Same server, DHCP and boot file in a Proxmox OVMF VM FOS boots normally (syslogd, udevd, haveged OK; reaches Client System Information)
Logs
Kernel line from boot.php for this host (with nomodeset loglevel=7 as host args at the time):kernel bzImage loglevel=4 initrd=init.xz root=/dev/ram0 rw ramdisk_size=275000 web=http://10.0.1.35/fog/ consoleblank=0 rootfstype=ext4 nomodeset loglevel=7 nvme_core.default_ps_max_latency_us=0 setmacto=${setmacto} mac=58
c9:3a:83:49 ftp=10.0.1.35 storage=10.0.1.35:/images/dev/ storageip=10.0.1.35 osid=9 osfamily=windows irqpoll hostname=DESKTOP-GA292J2 chkdsk=0 img=Win11-Framework-v1 imgType=n imgPartitionType=all imgid=1 imgFormat=5 PIGZ_COMP=-6 shutdown=1 hostearly=1 pct=7 ignorepg=1 type=up nomodeset loglevel=7Apache log for one attempt (client 10.0.1.67). Nothing follows from the client:
[24/Nov/2026:15:38:42 -0500] “POST /fog/service/ipxe/boot.php HTTP/1.1” 200 1949 “-” “iPXE/2.0.0 (g12798)”
[24/Nov/2026:15:38:42 -0500] “GET /fog/service/ipxe/bzImage HTTP/1.1” 200 11207287 “-” “iPXE/2.0.0 (g12798)”
[24/Nov/2026:15:38:42 -0500] “GET /fog/service/ipxe/init.xz HTTP/1.1” 200 31555324 “-” “iPXE/2.0.0 (g12798)”Questions
• Are there known issues with FOS on Framework Laptop 16 or other Ryzen 7040 laptops?
• FOG’s default kernel line includes irqpoll. Could that cause a silent hang on this hardware, and is there a way to drop it for one host?
• Any other kernel arguments, or a debug build, worth trying? Happy to test. -
@MrJohnson Thanks, that is a clear result. A stock Debian kernel hangs at the same point, so FOS is not the cause. The hang is in the step after the initrd loads. That is most likely where the kernel tells the firmware to exit its boot services. At that point the firmware also stops its own USB NIC driver, which snponly.efi used to download the files.
To your two questions:
ipxe.efi: yes, try it. It costs one DHCP change, option 67 = ipxe.efi. It uses iPXE’s own drivers, so the firmware’s USB NIC driver is not in use when Linux starts. iPXE has no driver for the Realtek chip itself. It can only use the card if the card offers the generic CDC-ECM mode. If iPXE shows no network interface, that is the reason. A USB-C dock or adapter with a different chip, for example an ASIX AX88179, is also a good test with snponly.efi.
USB stick: yes, FOS can boot from USB and still run the task. This also tells us if iPXE is part of the problem. With boottype=usb, FOS asks the server for the host’s task details itself. So you need only the server address on the kernel line.
- Format a stick as FAT32 and put a UEFI GRUB on it. From a Linux machine:
grub-install --target=x86_64-efi --removable --efi-directory=/mnt/usb --boot-directory=/mnt/usb/boot - Copy bzImage and init.xz from /var/www/html/fog/service/ipxe/ on the server to the root of the stick.
- Create /boot/grub/grub.cfg on the stick:
menuentry "FOS" { linux /bzImage root=/dev/ram0 rw ramdisk_size=275000 web=http://10.0.1.35/fog/ boottype=usb consoleblank=0 loglevel=7 initrd /init.xz }- Create the capture task for the host in the web UI, then boot the laptop from the stick.
If FOS starts from the stick, the hang is in the iPXE to Linux handoff on this firmware, and the USB stick is your workaround for this model. If it hangs the same way, the hang is between this firmware and the Linux EFI stub. Then a Framework BIOS issue is the most likely cause.
Please post the result of both.
- Format a stick as FAT32 and put a UEFI GRUB on it. From a Linux machine:
-
@MrJohnson Thanks for the detailed report. We have no known issue with the Framework 16 or Ryzen 7040. The OVMF result shows that your server, bzImage and init.xz are good.
“No output, even with earlyprintk=efi” has two possible causes:
- The kernel never starts. The hang is in the firmware or in the handoff from iPXE.
- The kernel starts, but nothing reaches the screen. FOS then also fails on the network, so it looks like a hang.
The fixes for these are different, so please split them first.
Test 1: does the kernel run? Set the host kernel arguments to:
panic=10 init=/nonexistentIf the kernel runs, it cannot find that init, panics, and reboots by itself after about 10 seconds. This works with a black screen. If the laptop reboots, the kernel runs and the problem is the display. If the cursor blinks forever, the kernel hangs before it starts init. Remove the arguments after the test.
Test 2: no change needed. Look in the UniFi DHCP log for MAC 9c:bf:0d:00:83:97 after the iPXE request. FOS sends its own DHCP request after the kernel boots. A second request means the kernel booted.
About irqpoll: FOG adds it for every host, and there is no per-host way to remove it now. It can only matter if Test 1 does not reboot. If that happens, tell us, and we will give you a way to boot without it.
Please post the result of both tests, and we will go from there.
-
Thanks Tom. Results:
Test 1 (panic=10 init=/nonexistent): no reboot. Still “init.xz… ok” and a
blinking cursor after 2 minutes. So the kernel never reaches init.Test 2: captured DHCP on the FOG server with tcpdump instead of the UniFi log
(same L2 segment), MAC 9c:bf:0d:00:83:97:- 13:22:25 / 13:22:29 Discover + Request, Vendor-Class
“PXEClient:Arch:00007:UNDI:003016” (firmware PXE), leased 10.0.1.73 - 13:22:30 / :31 / :33 Discover x2 + Request, Vendor-Class
“PXEClient:Arch:00007:UNDI:003010” with option 175 (iPXE), leased 10.0.1.67 - Nothing after that for ~2 minutes. No DHCP from FOS.
(The two different leases are just iPXE sending a Client-ID; the firmware doesn’t.)
Both tests say the kernel hangs before it starts init. You mentioned a way to boot
without irqpoll. Happy to try that, or anything else. - 13:22:25 / 13:22:29 Discover + Request, Vendor-Class
-
Thanks @Tom-Elliott
Results:
Test 1 (panic=10 init=/nonexistent): no reboot. Still “init.xz… ok” and a
blinking cursor after 2 minutes. So the kernel never reaches init.Test 2: captured DHCP on the FOG server with tcpdump instead of the UniFi log
(same L2 segment), MAC 9c:bf:0d:00:83:97:- 13:22:25 / 13:22:29 Discover + Request, Vendor-Class
“PXEClient:Arch:00007:UNDI:003016” (firmware PXE), leased 10.0.1.73 - 13:22:30 / :31 / :33 Discover x2 + Request, Vendor-Class
“PXEClient:Arch:00007:UNDI:003010” with option 175 (iPXE), leased 10.0.1.67 - Nothing after that for ~2 minutes. No DHCP from FOS.
(The two different leases are just iPXE sending a Client-ID; the firmware doesn’t.)
Both tests say the kernel hangs before it starts init. You mentioned a way to boot
without irqpoll. Happy to try that, or anything else. - 13:22:25 / 13:22:29 Discover + Request, Vendor-Class
-
@MrJohnson Thanks, both results agree. The kernel hangs before it starts init. Your earlier earlyprintk=efi test showed no output too, so the hang is probably very early: in the handoff from iPXE, or in the kernel’s first steps. irqpoll is unlikely, but the next test removes it anyway.
You can do this from the iPXE shell. No change on the server is needed. Remove the panic=10 init=/nonexistent host arguments first.
Test 3: FOS kernel without irqpoll or any FOG argument. PXE boot. When iPXE shows “Press Ctrl-B for the iPXE command line”, press Ctrl-B. Type each line, then press Enter:
dhcp kernel http://10.0.1.35/fog/service/ipxe/bzImage initrd=init.xz root=/dev/ram0 rw ramdisk_size=275000 loglevel=7 panic=10 init=/nonexistent initrd http://10.0.1.35/fog/service/ipxe/init.xz bootA reboot after about 10 seconds means the kernel runs without irqpoll. A blinking cursor means irqpoll is not the cause.
Test 4: a kernel that is not FOS. Do this only if Test 3 does not reboot. Press Ctrl-B again and type:
dhcp kernel http://deb.debian.org/debian/dists/trixie/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux initrd=initrd.gz initrd http://deb.debian.org/debian/dists/trixie/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz bootThe client needs internet access for this test. If the Debian installer starts, the problem is in the FOS kernel on this hardware. If it hangs the same way, the problem is in the handoff from iPXE to Linux on this firmware.
Please post the result of both tests.
-
@Tom-Elliott Couldn’t get Ctrl-B (prompt seems disabled in the FOG build), so I added
both tests as iPXE menu entries with your exact kernel/initrd/boot lines.Test 3 (FOS bzImage + init.xz, no FOG args, panic=10 init=/nonexistent): screen goes
blank, no reboot after several minutes.Test 4 (Debian trixie netboot linux + initrd.gz): both download fine, then the screen
shows only:
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Measured initrd data into PCR 9
and hangs there. So a stock Debian kernel hangs too, which points at the iPXE ->
Linux handoff on this firmware, not FOS.Extra test: TPM Availability set to Hidden in BIOS, Test 4 again -> still hangs, now
stopping right after “EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device
path” (the PCR 9 line no longer appears). So the TPM measurement isn’t the trigger;
the hang is in the step right after the initrd load.- Is it worth trying ipxe.efi (iPXE’s own drivers) instead of snponly.efi, in case
the firmware’s USB NIC driver is what hangs at ExitBootServices? The NIC is the
Framework USB-C Ethernet card. - As a workaround, can FOS be booted from a USB stick (kernel + init.xz) on this
laptop and still reach the server for a capture?
Firmware: Framework 16 Ryzen 7040, BIOS 4.05, Secure Boot off.
Boot file: snponly.efi via the shim chain (same result without shim). - Is it worth trying ipxe.efi (iPXE’s own drivers) instead of snponly.efi, in case
-
@MrJohnson Thanks, that is a clear result. A stock Debian kernel hangs at the same point, so FOS is not the cause. The hang is in the step after the initrd loads. That is most likely where the kernel tells the firmware to exit its boot services. At that point the firmware also stops its own USB NIC driver, which snponly.efi used to download the files.
To your two questions:
ipxe.efi: yes, try it. It costs one DHCP change, option 67 = ipxe.efi. It uses iPXE’s own drivers, so the firmware’s USB NIC driver is not in use when Linux starts. iPXE has no driver for the Realtek chip itself. It can only use the card if the card offers the generic CDC-ECM mode. If iPXE shows no network interface, that is the reason. A USB-C dock or adapter with a different chip, for example an ASIX AX88179, is also a good test with snponly.efi.
USB stick: yes, FOS can boot from USB and still run the task. This also tells us if iPXE is part of the problem. With boottype=usb, FOS asks the server for the host’s task details itself. So you need only the server address on the kernel line.
- Format a stick as FAT32 and put a UEFI GRUB on it. From a Linux machine:
grub-install --target=x86_64-efi --removable --efi-directory=/mnt/usb --boot-directory=/mnt/usb/boot - Copy bzImage and init.xz from /var/www/html/fog/service/ipxe/ on the server to the root of the stick.
- Create /boot/grub/grub.cfg on the stick:
menuentry "FOS" { linux /bzImage root=/dev/ram0 rw ramdisk_size=275000 web=http://10.0.1.35/fog/ boottype=usb consoleblank=0 loglevel=7 initrd /init.xz }- Create the capture task for the host in the web UI, then boot the laptop from the stick.
If FOS starts from the stick, the hang is in the iPXE to Linux handoff on this firmware, and the USB stick is your workaround for this model. If it hangs the same way, the hang is between this firmware and the Linux EFI stub. Then a Framework BIOS issue is the most likely cause.
Please post the result of both.
- Format a stick as FAT32 and put a UEFI GRUB on it. From a Linux machine:
-
@Tom-Elliott Test A worked: with option 67 = ipxe.efi, iPXE drives the Framework USB-C Ethernet
card with its own driver (“Waiting for link-up on net0… ok”), and FOS boots
normally - checks in, finds /dev/nvme0n1, starts the capture. So the hang was the
firmware’s USB NIC driver at ExitBootServices with snponly.efi.(The capture then stopped on an unclean NTFS partition, which is my side - Windows
was started after the last sysprep. Redoing sysprep now.)Thanks for the help. Is there a signed/secureboot path for ipxe.efi, or is
snponly the only option with Secure Boot on? -
@MrJohnson Good to hear, and thanks for the careful testing.
Yes, ipxe.efi has a Secure Boot path. FOG ships a signed ipxe.efi with its own shim. Set option 67 = secureboot/ipxe-shimx64.efi. That is the same chain you used before, with ipxe.efi in place of snponly.efi.
With Secure Boot on, the client must also trust FOG’s kernel signature. That is the “Security Policy Violation” from your first post. The enrollment steps are here:
https://docs.fogproject.org/en/latest/1.6/kb/how-tos/secure-boot-mok-enrollment/The Secure Boot netboot page lists your symptom and this fix in its troubleshooting table:
https://docs.fogproject.org/en/latest/installation/network-setup/secure-boot-netboot/ -
@Tom-Elliott Thank you so much! the image capture has worked and is now behaving as expected! Great work, and very quick also. Thank you again! I will follow those last steps to finish up.
-
T Tom Elliott has marked this topic as solved
-
M MrJohnson has marked this topic as solved