Description
Please identify some basic details to help process the report
A. Provide Hardware Details
1. What board are you using (see list of boards here)?
- t440p-hotp-maximized
2. Does your computer have a dGPU or is it iGPU-only?
- dGPU
- iGPU-only
3. Who installed Heads on this computer?
- Insurgo
- Nitrokey
- Purism
- Other provider
- Self-installed
4. What PGP key is being used?
- Librem Key
- Nitrokey Pro 2
- Nitrokey Storage
- Yubikey
- Other:
5. Are you using the PGP key to provide HOTP verification?
- Yes
- No
- I don't know
B. Identify how the board was flashed
1. Is this problem related to updating heads or flashing it for the first time?
- First-time flash: Issue exists since first flash and persists through various updates
- Updating heads
2. If the problem is related to an update, how did you attempt to apply the update?
- Using the Heads GUI
- Flashrom via the Recovery Shell
- External flashing
3. How was Heads initially flashed
- External flashing
- Internal-only / 1vyrain
- Don't know
4. Was the board flashed with a maximized or non-maximized/legacy rom?
- Maximized
- Non-maximized / legacy
- I don't know
5. If Heads was externally flashed, was IFD unlocked?
- Yes
- No
- Don't know
C. Identify the rom related to this bug report
1. Did you download or build the rom at issue in this bug report?
- I downloaded it
- I built it
2. If you downloaded your rom, where did you get it from?
- Heads CircleCi
- Purism
- Nitrokey
- Somewhere else (please identify)
Please provide the release number or otherwise identify the rom downloaded
3. If you built your rom, which repository:branch did you use?
- Heads:Master: Built of commit 6d0cd94
- Other (please identify)
4. What version of coreboot did you use in building?
- 4.8.1 (current default in heads:master)
- 4.13
- 4.14
- 4.15
- Other (please specify)
- I don't know: The version that was used at build time in master for the t440p.
5. In building the rom where did you get the blobs?
- No blobs required
- Provided by the company that installed Heads on the device
- Extracted from a backup rom taken from this device
- Extracted from another backup rom taken from another device (please identify the board model)
- Extracted from the online bios using the automated tools provided in Heads
- I don't know
Please describe the problem
Describe the bug
On booting after kexec-ing into the os kernel, their is a ca. 50% chance of the kernel panicing either directly after kexecing before even producing any output or shortly afterwards e.g. directly after entering the disk unlock passphrase. If the init-system starts, there is a good chance of the system booting up normally and then fully working without any problems. On very few occasions even after successfully starting init there is still a chance of a kernel panic or some programs randomly segfaulting.
On some occasions this happens also on shutdown directly before the system should power off, instead it hangs with a kernel panic.
Hardware: Thinkpad t440p without d-gpu. Memory: 16GB, CPU: i7-4810MQ, upgraded Touchpad from t450, upgraded to SATA-SSD.
Current OS: Gentoo with Kernel 6.1.28
I am rather confident that the problem is not faulty hardware or depending on the OS (kernel version). I did not encounter any kernel panics or other weird behavior when running libreboot or skulls. However when using heads all GNU/Linux distros with various kernel versions produced the same behavior - I tried Rocky Linux, Debian 11.6, Devuan Chimaera and Gentoo.
Sadly I can't really provide much more information than that: Especially on startup there is often an os kernel panic, when well, there shouldn't be … The heads kernel doesn't panic at all.
Has any other owner of a t440p with heads experienced this?
To Reproduce
- Start laptop, do normal boot process including hotp verification and selecting default boot options.
- Expect a ca. 50% chance of the OS kernel panicing on boot either directly after kexec or sometimes later e.g. shorly after entering the disk encryption passphrase. Obvious sign if nothing is visible on screen is a constant fan speed up.
- If boot succeeded their is still a chance of a kernel panic on shutdown immediately before the system is supposed to power down
Expected behavior
No kernel panics, normal running OS.
Screenshots
I could try to take a picture with my phone of the parts of the panic message that fit on the screen.
Additional context
Is their any method to get logs after the crash? Obviously the kernel logs are gone since I need to hard power-off the laptop after a kernel panic. On the very few occasions where it proceeded to boot and "only" a few programs segfaulted, I sadly forgot to save any logs.
I think I read somewhere that (coreboot-)logs from previous boots could be extracted from heads, but I couldn't find that information anymore. Without any kind of logs I have a feeling it is impossible to determine what is going wrong.