mirror of
https://github.com/pikvm/pikvm.git
synced 2026-03-02 18:16:56 -05:00
linux-firmware-2025... is broken, use linux-firmware-pikvm-2024... #1044
Labels
No labels
component:documentation
help wanted
resolution:delayed
resolution:duplicate
resolution:fixed
resolution:invalid
resolution:rejected
resolution:wontfix
success story
type:bug
type:bug
type:feature
type:question
type:question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pikvm-pikvm#1044
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vbooka1 on GitHub (Jun 6, 2025).
Originally assigned to: @mdevaev on GitHub.
Describe the bug
After the last update my piKVM randomly hangs some time after each reboot. The embedded WiFi network disappears, SSH closes connection, HTTPS hangs. Strangely HTTP works and this makes me think that something was broken with the encryption code in the kernel.
SSH:
HTTPS:
strangely HTTP works:
To Reproduce
Steps to reproduce the behavior, like:
pacman -Syu(or perhapspikvm-update, I usually update withpacman)Expected behavior
I do not expect the above behavior to happen.
Screenshots
not applicable
Desktop (please complete the following information):
not applicable
PiKVM info:
raspberry Pi 4 model B, 4GB
pikvm-v3-hat
not applicable
pacman -Q | grep kvmdkvmd 4.82-1
kvmd-fan 0.32-1
kvmd-platform-v3-hdmi-rpi4 4.82-1
kvmd-webterm 0.50-1
pacman -Q | grep ustreamerustreamer 6.37-1
uname -aLinux pikvm 6.6.45-13-rpi #1 SMP Tue May 27 17:16:41 UTC 2025 armv7l GNU/Linux
Additional context
I have just realized that I may use a standard Arch repo not a piKVM repo, how do I verify?
@vbooka1 commented on GitHub (Jun 6, 2025):
I have changed the journald storage to Persistent, hope it will show what happens before the hang. Anything else I coud do to debug this?
@mdevaev commented on GitHub (Jun 6, 2025):
Please try to reflash the service if possible, update and check again.
Best regards,
Max Devaev
Пт, 6 июня 2025 г. в 07:57, vbooka1 @.***>:
@vbooka1 commented on GitHub (Jun 6, 2025):
Hi, you mean reflash the whole SD card?
Please tell which image from https://files.pikvm.org/images/ I should use, is it v3-hdmi-rpi4?
@vbooka1 commented on GitHub (Jun 6, 2025):
I have found another problem: now
ping -c 1has just 10ms timeout so on a slow mobile network (I use a USB modem to have piKVM always online) it always fails:strace shows this:
If I explicitly tell ping to wait for at least 1 second then ping works well:
I can't recall for sure but I think the ping timeout was higher before the update. And I believe it should be higher, not just 10ms. Should I open a separate bug report for ping issue?
@mdevaev commented on GitHub (Jun 6, 2025):
Yes. If you're using PiKVM V3 with 32-bit kernel now, you need this image: https://files.pikvm.org/images/v3-hdmi-rpi4/arm/v3-hdmi-rpi4-box-latest.img.xz
Let's check the kernel for now. I think this is some kind of local problem you have. If the error with the kernel is reproduced, then we will deal with it further.
@mdevaev commented on GitHub (Jun 7, 2025):
Sup?
@mdevaev commented on GitHub (Jun 9, 2025):
No feedback and we can't reproduce it on our side. I can recommend you to reflash the OS just to be sure.
@vbooka1 commented on GitHub (Jul 8, 2025):
Sorry I needed some time because piKVM also works as a gateway and router of my home lab so I needed to configure some things to be able to safely remove piKVM from the network for a whole day.
I've reflashed the microSD card and spotted a difference in partitioning. Before reflashing it was like this:
after reflash:
I think it is normal because the OS booted without issues. But the very first
pacman -Syufailed with:so I've had to remove the package
pacman -R edid-decode, and then the system updated without any issues.I haven't experienced any random hangs during the day so the issue is resolved and it definitely was not with the kernel. Especially considering that the current kernel version is also
6.6.45-13-rpias before the full reflash. So the problem was somewhere else.I think that the problem was with the kernel firmware package because before the reflash I had some kernel errors (oops or taints - I don't remember for sure) in the
dmesgevery reboot and there are no kernel errors after the reflash. Unfortunately I haven't saved any kernel logs or package versions prior to reflash, but I think that I have installed the "linux-firmware" package from standard Arch repo (linux-firmware-2025...), while the flashed image has "linux-firmware-pikvm" from piKVM repo (linux-firmware-pikvm-20240809.59460076-3) and this might have been the core of this issue.I recall that the error in the
dmesgwas aboutbrcm-something and I've thought it was about the WiFi, but I did not pay much attention to these messages because WiFi worked well.The
pingissue is also fixed, its hardcoded timeout is 10 seconds now instead of 10 milliseconds prior to reflash:The fixed version is:
ping from iputils 20250605@mdevaev commented on GitHub (Jul 15, 2025):
@vbooka1 Glad to hear it. Replace the memory card just in case.