-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Issue Booting debian (devuan) 11 on Librem 14 with Heads #1285
Comments
I found something while trying thing i read on issues already openned/closed So it is linked to graphic driver, but what do i have to do ? when i check the i915 pci status I have that :
00:02.0 VGA compatible controller: Intel Corporation Device 9bca (rev 04) (prog-if 00 [VGA controller]) So what did i missed ? EDIT : building heads-purism_14 default Legacy VGA kind of work, but it seems that i have to boot, enter the cryptsetup password, and then reboot cause the laptop really freeze, at the second boot, it boot. I had an error tho, broken pipe on i915 driver , but it seems i can't reproduce it |
Hi @123ahaha , I checked this out on L14 and on my mini v2 (similar chipset, but I have a UART on that which makes troubleshooting a lot easier). I have the same behavior for Debian/Devuan; live desktop media work but net installers do not. It's the video - the net installers do boot, but they can't initialize video since they lack the i915 driver. Eventually I tried removing the i915 driver from PB to see if it would work if the firmware doesn't switch to graphics mode, and it does. So, probably the shortest path to get these working is to somehow switch back to text mode before invoking kexec -e. Currently we can't unload i915 because it's built-in, and it's still not confirmed that unloading the driver would work. @tlaurion Does the Debian net installer work currently on any boards you support? |
The KDSETMODE ioctl with KD_TEXT might also be an option here, need to test it. |
@JonathonHall-Purism will have to recheck since t430/x230 have discrepencies. @123ahaha confirms here that typing disk unlock key passphrase blindly unlocks disk and then GUI shows correctly. I will try to find time to test this again on x230 but I'm not quite sure my tests here would be helpful for Librems. Everything depends on what is provided in the initrd of the OS for early boot, where text based init normally works. The issues (untackled) with plymout are still a mystery to me (bmc AST2400 on my todo list) to have graphical installers work on vga for Talos II. Sorry for not being more helpful here. |
Yes, I have a T430 (with and without dgpu) and a x230 all under devuan and they are working fine with heads !
Let me know if you need my librem_14 to test rom. If i brick the board, I have the clip to externally flash the bios. |
An update here, i went with debian bookworm install, and i have no issue while kexec-ing into Debian 6.1.8-1 kernel. I just saw the module update of i915 :
|
@123ahaha a recap and close of this issue would be appreciated! |
I will close the exit but I could not find a solution to this problem. |
@123ahaha I think this is same debate happening under #1323.
I'm not sure how that would be handled. Would we be inspecting initramfs to see if expected KEXEC_KERNEL_OPTION_ADD contains i915 parameters or something and if not, switch back KDSETMODE back to text so that installers fallback into basic text framebuffer if expected driver isn't found? |
Please identify some basic details to help process the report
Hi there ! I recently acquired a librem 14 and I have an issue booting debian.
A. Provide Hardware Details
1. What board are you using (see list of boards here)?
So I have a Librem_14 with Intel Core i7-10710U & Mesa intel UHD Graphics
2. Does your computer have a dGPU or is it iGPU-only?
3. Who installed Heads on this computer?
4. What PGP key is being used?
I tried both, they work, i don't think this is the issue
5. Are you using the PGP key to provide HOTP verification?
B. Identify how the board was flashed
1. Is this problem related to updating heads or flashing it for the first time?
Both, the only issue is to switch back to coreboot
2. If the problem is related to an update, how did you attempt to apply the update?
I could try the chips flashing ... but heads work very fine, until i have to boot
3. How was Heads initially flashed
Probably external at librem factor
C. Identify the rom related to this bug report
1. Did you download or build the rom at issue in this bug report?
tried both
2. If you downloaded your rom, where did you get it from?
Please provide the release number or otherwise identify the rom downloaded
sorry i don't have it right now, but if really needed, I'll provide it
3. If you built your rom, which repository:branch did you use?
4. What version of coreboot did you use in building?
Default But heads say coreboot 4.17
5. In building the rom where did you get the blobs?
Please describe the problem
Describe the bug
A clear and concise description of what the bug is.
The bug is : I can't boot debian with heads (compiled from source, master) or 'pureboot' from current release from purism, i can't either boot the install iso in graphical or non graphical mode to install debian. Each time it stops to "Starting the new kernel" and then freeze.
I can boot PureOS tho and i can boot the live desktop iso from debian
To Reproduce
Steps to reproduce the behavior:
Note that I have to install debian with coreboot. and then flash heads back.
Expected behavior
I have a t430 and a x230, it should ask me for the encryption password for the NVME disk
Screenshots
I put some screenshot of
Additional context
I saw that there might be an issue with i915, but i have the firmware-linux-nonfree installed ...
Thanks in advance for any help
The text was updated successfully, but these errors were encountered: