-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't live boot Talos on rpi 4 "/dev/loop no such device" #3621
Comments
@OGKevin thank you for reporting. My suspicion is that we are missing something in the arm64 config. Looks like blkdev loop is enabled, so I am not quite sure what else it could be. Will need to dig into this. Here is the kernel config for reference: https://github.com/talos-systems/pkgs/blob/master/kernel/kernel/config-arm64 |
The readme of the pkgs repo is a little too short for my taste :D. I've managed to get the menuconfig to work and play around in the config but after running |
So using the ubuntu kernel from https://ubuntu.com/download/raspberry-pi i've managed to run init. However, now the latest error is "failed to open meta file". And some So phase 2 of the boot process fails. |
Ok, so we are missing something in the kernel config. Though I don't have any idea where to start looking just yet. |
Would a diff in kernel config from the ubuntu vs talos shed some light? The rpi-os kernel also fails to init. |
Certainly could help, but may take time going through the diff. |
Here is the ubuntu kernel config: https://gist.github.com/OGKevin/b987cfce1401dbc90162e33763879bf7 The diff is huge indeed 😞 Regarding loop, |
@OGKevin what it might be is that kernel cmdline is missing It might be early in the boot log when UEFI stub says it can't load initrd image. |
hmm i'm not booting via EUFI if not mistaken. Im booting via EEPROM somewhat as explained here: https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/net_tutorial.md except without the NFS root and with the talos metal boot folder & initram. So my boot folder is from config.txt
cmdline.txt
Are you suggesting I try PXE booting via EUFI using https://github.com/pftf/RPi4 with I did however try and add the initramfs as you suggested but that also did not help. |
So using https://github.com/sschaeffner/pipxe4/releases/tag/v20210515 I was able to netboot talos. Which solve the initial issue raised in this issue. What I now need to figure out is how to do a 2 step boot process so I can achieve blank disk booting:
But this is outside the scope of Talos I would say. Putting pipxe4 on sd card, I was able to successfully netboot Talos. If I figure this out I'm happy to contribute documentation. |
great that it works with pipxe! I think this goes through UEFI boot somewhat, as it's using iPXE UEFI build which will launch Talos Linux kernel via EFI stub (in the same way as if it was loaded from disk via UEFI firmware). |
Yes! Ok I've succeeded netbooting talos with a blank sd card 🎊. tl;dr
Is a little more detailed doc maybe needed/welcome/good idea on https://www.talos.dev/docs/v0.10/single-board-computers/rpi_4/ ? |
@OGKevin We would love docs on this! Please do! |
This guide explains how to use RPI4 as servers when using sidero. Closes: siderolabs/talos#3621 Signed-off-by: Kevin Hellemun <17928966+OGKevin@users.noreply.github.com>
This guide explains how to use RPI4 as servers when using sidero. Closes: siderolabs/talos#3621 Signed-off-by: Kevin Hellemun <17928966+OGKevin@users.noreply.github.com>
This guide explains how to use RPI4 as servers when using sidero. Closes: siderolabs/talos#3621 Signed-off-by: Kevin Hellemun <17928966+OGKevin@users.noreply.github.com>
This guide explains how to use RPI4 as servers when using sidero. Closes: siderolabs/talos#3621 Signed-off-by: Kevin Hellemun <17928966+OGKevin@users.noreply.github.com>
This guide explains how to use RPI4 as servers when using sidero. Closes: siderolabs/talos#3621 Signed-off-by: Kevin Hellemun <17928966+OGKevin@users.noreply.github.com> Co-authored-by: Andrew Rynhard <andrew@andrewrynhard.com>
This guide explains how to use RPI4 as servers when using sidero. Closes: siderolabs/talos#3621 Signed-off-by: Kevin Hellemun <17928966+OGKevin@users.noreply.github.com> Co-authored-by: Andrew Rynhard <andrew@andrewrynhard.com>
This guide explains how to use RPI4 as servers when using sidero. Closes: siderolabs/talos#3621 Signed-off-by: Kevin Hellemun <17928966+OGKevin@users.noreply.github.com> Co-authored-by: Andrew Rynhard <andrew@andrewrynhard.com>
This guide explains how to use RPI4 as servers when using sidero. Closes: siderolabs/talos#3621 Signed-off-by: Kevin Hellemun <17928966+OGKevin@users.noreply.github.com> Co-authored-by: Andrew Rynhard <andrew@andrewrynhard.com>
This guide explains how to use RPI4 as servers when using sidero. Closes: siderolabs/talos#3621 Signed-off-by: Kevin Hellemun <17928966+OGKevin@users.noreply.github.com> Co-authored-by: Andrew Rynhard <andrew@andrewrynhard.com>
This guide explains how to use RPI4 as servers when using sidero. Closes: siderolabs/talos#3621 Signed-off-by: Kevin Hellemun <17928966+OGKevin@users.noreply.github.com> Co-authored-by: Andrew Rynhard <andrew@andrewrynhard.com>
Bug Report
When using PXE to netboot a RPI, the live boot fails using the kernel from the RPI 4 image and initramfs.
Talos fails to mount rootfs with the error that "/dev/loop" does not exist.
The vmlinuz for arm just reboots the PI without any output.
Description
initramfs initramfs-arm64.xz followkernel
in config.txtLogs
Environment
kubectl version --short
]I spent a few hours doing some research and so far I could not find the issue, feel free to point me in the right direction if I'm missing something.
The text was updated successfully, but these errors were encountered: