-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Debian/Fedora build-script not working under Qubes OS Debian/Fedora VMs #1412
Comments
@dmn86q hello there, first things first, thanks for having taken the time to file this issue.
I will edit the wiki page for building since as of today, the only host OS fully supported to build Heads is Debian.
I could not reproduce your zlib issue.
Simply remove zlib tarball and try again, seems like some weird internet hiccup happened for you?
Unfortunately, i'm not an Archlinux user and cannot help and building iso for Archlinux would fall under Archlinux support channels.
Issue #702 is specific about Archlinux and i915 not being present in the initrd, pointing to instructions needed to add it manually. It is present under QubesOS and works on xx30/xx20 out of the box. The kexec call takes a little while though prior of loading the next kernel, loading the initrd and from there, loading i915+drm drivers which then and only take ownership of the console to show content on the screen. If you are building from master, that one for t440p and QuebesOS would deserve a specific issue of its own. Can I ask you which version of the rom you have flashed? (System Info would answer that question easily: that would be the X in gXXXXXXX):
I'm a bit confused on the goals here. If I understand correctly, you are trying to install Archlinux, but currently using Qubes. There is an Archlinux template usable into QubesOS. If you want to install Archlinux on bare metal, #702 would need to be invested and that one should be followed. Building a new ISO might be the way to go, but as far I as understand the t440p board status, i915+drm drivers inside of Heads should be able to boot into Archlinux as of today, and prior of installing the OS, you would need to inform that i915 is desired to be packed in initrd, for which pointers are given there to do so. Otherewise I thought that QubesOS was tested prior of merging #1282 Then the board config was updated to include hacks to kexec + i915+drm under #1378 (comment) but not with QubesOS directly, though. If not working, that would deserve also a seperate issue, since QubesOS should be first class support for Heads and asking other board owners to confirm issue would provide confirmation of issue. Will point https://osresearch.net/general-building/ commit to here. Let me know if this clarifies things, and close this issue accordinlgy if it does. |
Remove deprecated fedora instructions. Update debian based versions tested and reported working Add verbose building instructions Partly address linuxboot/heads#1412
Closing this issue as duplicate of others. General building instructions updated per linked commit above. |
What is happening?
I'm trying to build Linux
Heads
locally but both build-scripts for eitherDebian
orFedora
through an error at me. I'm usingQubes OS 4.1
on a Lenovo T440p (i7/16GB RAM) flashed withcoreboot
, using Conor's Guide but have not flashed heads so far. I installed all dependencies necessary for a build mentioned under: General-BuildingOn a
debian
vm the build fails, because of a checksum mismatch:On the
fedora
side of things, the cross-compiler fails the build step. There is no package available when typingsudo dnf install cross-gcc
as found in the circle-ci list of installed packages:On
Qubes OS
you cannot build theArchlinux-Template
either, since the build-script fails on building something withcore-libvirt
needed.Questions and Assumptions
debian
checksum mismatch ofzlib
adebian
issue, aQubes
one, or oneheads
should take care of?cross-gcc
package is not there anymore? Does the build-script need rewriting or do thefedora
folks have an issue here?Archlinux template
failing gives me the same assumption than thefedora
one - script rewriting or their's?Why all this?
I stumbled across those errors, since I bought two refurbished Lenovo T440p last months, to use them with
Linux Heads, Coreboot and HOTP
. While I was able to install the latest heads build from circle-ci viaCH341_a
flash-programmer, I encountered a problem booting.iso
files from ausb-drive
. The gpg-verification ofQubes OS
works, but I do not get any screen output, sincei915 module
is not present.insmod
answers:No such file or directory
, when trying to load the module manually. Another user reported the same problem here: https://github.com/osresearch/heads/issues/702It took me to building heads locally myself, with a
t440p-hotp-maximized
.config yet to be edited, but I'm not getting the build-environment to build a default build in the first place.The second approach was to build an
Arch Linux Template
, buildarch-linux
in a chroot environment and use the build artifacts from circle-ci, i.e. theinitrd.cpio
provided. I am not sure how to buildarch-linux
with a differentinitrd.img
in place, so help is greatly appreciated. If I am misled by the assumption to build an.iso
from the chroot environment and add a differentinitrd.img
would be a smart idea, feel free to stop me. But again, the build environment is stopping me from trying this in the first place.I feel a little lost, which path to persuade from here. Is the approach of trying to build
heads locally
and Debugging thet440p-hotp-maximized.config
andcoreboot.config
the way to go? Or shall I try to build anarchlinux.iso
with theinitrd.cpio
from circle-ci included? Or is there any other way of handling this issue?The text was updated successfully, but these errors were encountered: