-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
Archlinux freezes after kexec #1117
Comments
@lynxred Those options come from the board configuration in ADD_KERNEL boot option. Those are the parameters passed to the final OS cmd line. What board are we talking about? |
Hi @tlaurion! My board is x230. I am facing the same problem both when booting the OS from the ssd and when installing the OS cube. laptop freeze after the message Starting new kernel. |
I I added the parameters to the config.user file and yes, when they are loaded, they are no longer there. But the laptop freezes at the same step |
I'm confused about your report on Qubes installer not booting, since I tested a couple of days ago on i5 with latest commit containing microcode updates for both 4.1 and 4.0.4 installer from iso with detached signatures. Can you flash CircleCI build to confirm its not the locally built ROM that is at fault? Are you booting from ISO or dd'ed image? |
I try in dd and use iso file https://ftp.qubes-os.org/iso/Qubes-R4.1.0-x86_64.iso |
So we can agree that those parameters are not at fault |
and now I don't understand what the problem is |
Now I am compiling your forked repo. I'll let you know the results later |
The reason I prefer booting with iso and detached signature is that it confirms there is no integrity problem nor flash memory issue from booted medium. For Qubes, having the ISO and .asc accompanying file, and booting from USB will validate the integrity and authenticity of the image prior of booting. For Arch, I would recommend verifying the iso saved on flash media as well from external OS. I could try to test booting from dd'ed verified qubesos image in the next days, while present hypothesis is probably integrity problem? On arch already installed on disk, I would love to see the frozen kexec command at the bottom since I'm not a arch user. But Qubes works. I remember having seen other arch issues in the past, have you reviewed them? |
Yes, I've looked at other threads. I can record a video booting from an ssd disk installed archlinux and booting a cube from a flash drive and iso |
Please follow those instructions to test builds from CircleCI. |
My master is really old, I create branch there and push them as pull requests only. Building that will not represent anything useful! |
Cool! Thanks. And I compile the firmware in a local docker container |
I tried the following firmware: |
... Maximized builds need to be externally flashed on both SPI initially, from the two top and bottom flash images, or internally from the 12 mb image once Heads is running on maximized build. So to get things straight: x230 i5 or i7. Will retest x230 image produced from CI on dd'ed USB drive when I have a chance. |
HOTP are different the non HOTP in the sense they require HOTP compliant USB security dongles (Librem Key/ Nitrokey pro/ Nitrokey Storage) |
It's normal that hotp has a black screen after loading? Okay... I figured out where my mistake is... |
My board x230 i7. heads-x230-v0.2.0-1153-gc1409a8.rom i try loading ISO file (no dd). I have backup files of the lower and upper chip. Can you tell me how to restore them using raspberry pi?) Can we continue the conversation in my telegram?)) |
No, it's not. I would suggest flashing x230-maximized build from CircleCI on top and bottom SPI. Those are the most tested ROMs. x230 rom or x230-hotp-verification ROMs are to be flashed internally from x230-flash. Your laptop shutdowning after 5 minutes is also not normal. Last time From memory, ME being invalid would shutdown the main CPU after 30 minutes. From past observed failures of kexec not being able to boot OS kernel and initrd, it normally just hangs there forever. |
Restoring it the other way around. |
Good! I try this. |
How did you flashed Heads ? |
I updated from the skulls firmware. https://github.com/merge/skulls/tree/master/x230#moving-to-heads |
I dont see x230-maximized build o_O..... |
Damnit. Seems like I forgot to add it back on CI.... |
Instructions can easily found in the internet One example is from the Skulls project |
okay okay) I think it's a good idea to add it to the wiki?) |
Ha. Then having flashed blindly maximized build has caused a brick :/ |
-_- I wait x230-maximized build and I'm trying to restore this brick. the laptop was for $50 and I gained experience in many areas) |
Build happening under #1119 |
Artifacts for x230-maximized board configuration are here: https://app.circleci.com/pipelines/github/tlaurion/heads/978/workflows/ab9dff67-6362-4cca-b46e-b31d25b8508e/jobs/4515/artifacts Flash top and bottom |
Let's do this correctly step by step: Flashed externally (commit 7601400 as in firmware name):
You are now in a clean state (without public key injected, not TPM sealed TOTP/HOTP. Here no HOTP support in). What interests me here is what is happening and why you can't boot Q4.1 or Q4.0.4, which are the most tested. What is different on your side? Please share screenshots in portrait mode.
|
Qubes OS doesn't even install in basic graphic mode. So totally irrelevant. Not sure why they even propose the option. |
@lynxred I have pushed a PR yesterday that fixes the ISO booting from Archlinux under #1120 which is currently under review. That doesn't mean that booting installed Archlinux will work, but that is a good step in that direction. At first view of last screenshot, it seems that only intel-ucode is passed as initrd, but I may be talking over my head completely here. The issue #702 covered a bit an issue with Archlinux. You might want to tag other people having reported issues in the past to get some help? The ISO booting lets us believe that latest installer should include the i915 driver in their provided initrd. Please report back your results for others to jump in under #702 |
How to disable adding extra kernel options? intel_iommu=on intel_iommu=igfx_off were added to the other from the file grub.cfg. As a result, the system does not load on and freeze on the message Starting new kernel. My system archlinux with luks conteiner. i trying delete quiet option but without a result
The text was updated successfully, but these errors were encountered: