I've investigated it further, found a crazy hack (with some drawbacks) and 
maybe I am close to working system.

My investigation briefly: Fedora 23 (live distribution, no updates) has the 
same issues Qubes 3.2 with old kernel (resume issues, i915 not used, cannot 
control brightness). Fedora 25 (live distribution, no updates) has those issues 
fixed. I guess, Qubes 4 will work fine out of box on this laptop.

The crazy hack is: take the kernel from Fedora 25 and use it in Qubes. 
Theoretically, PV support is in Fedora out of box for a long while (see 
https://wiki.xen.org/wiki/Fedora_Host_Installation ), so it should work.

And it… actually works! It was a bit tricky, but not very hard. (I can write 
more if someone is interested.) System resumes, i915 is used, screen backlight 
can be controlled etc. But there are still some theoretical and practical 
issues:

* Qubes kernel contains some patches. I don't know what patches are important 
and what patches can be skipped, but for example, patch for skipping partition 
scan should not be skipped: 
https://github.com/QubesOS/qubes-linux-kernel/blob/stable-4.4/patches.qubes/0001-block-add-no_part_scan-module-parameter.patch
* Although i915 is used, OpenGL renderer is still llvmpipe, likely due to old 
mesa package. But I don't care much about this.
* It prints some error messages during the boot.
* VM sys-net sometimes needs reboot. Maybe it misses some Qubes patches… Maybe 
this could be prevented by module unloading, not sure.

What I want to do next: Compile a recent dom0 kernel with all relevant patches. 
Maybe I should just take kernel for Qubes 4. (I've found no compiled Qubes 4 
kernel in repositories, which is the reason why I want to compile it.) But 
maybe I'll need some advice:

* The repository I linked contains just a branch for kernel 4.4.* and some 
olders, but it doesn't contain anything newer. Fedora 25 live contains kernel 
4.8.6, updateable to 4.10.something. Is dom0 kernel something that has yet to 
be done for Qubes 4.0?
* Where to start with build? Should I use the Makefile? Or should I start with 
Qubes Builder?

Regards,
Vít Šesták 'v6ak'

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/d6ad41c0-6140-4bef-a202-7c807643ce5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to