Why does the linux kernel I installed not show up as an option for templates?

I am using Qubes 4.3. I installed 6.18.x.fc42.x86_64. It shows up as an option when I boot Qubes. But it does not show up as an option for individual qubes or in qubes global config.

Hi qubesforum7328

Did you install the kernel-latest-6.18.x.fc42.x86_64 or kernel-latest-qubes-vm-6.8.x.fc42.x86_64?

:slight_smile:

I installed

kernel-latest-6.18.x.fc42.x86_64,

not

kernel-latest-qubes-vm-6.18.x.fc42.x86_64.

Hi qubesosforum7328

If you don’t install the kernel-latest-qubes-vm, the VMs won’t have the new kernel. :slight_smile:

How did you install the kernel-latest? :wink:

:slight_smile:

I installed the kernel-latest through fedora.pkgs.org into dom0.

Hi qubesosforum7328

Interesting – then I don’t know how you would get it for the VMs.

I would suggest this process:

:slight_smile:

I am fine with any fc42 kernel. Is there one that is convenient to install?

qubes-dom0-update --enablerepo=qubes-dom0-current-testing --action=list kernel-latest kernel

returns only fc41 kernels for some reason.

From Qubes OS 4.3 release notes — Qubes OS Documentation dom0 ~should be~ is based on Fedora 41 … so why should the kernels be for a different release?

:slight_smile:

I guess I was confused because this guide uses fc42. [SOLVED] Qualcomm QCNFA765 (ath11k/wcn6855) WiFi working on Thinkpad P14s Gen4 AMD - #24 by qubesosforum7328

But it also says this:

  • Default Fedora template upgraded to Fedora 42 (Fedora TemplateVMs and StandaloneVMs with version lower than 41 are not supported).

That is the template that is based on Fedora 42 – not dom0.

:slight_smile:

My Fedora 42 template uses fc41. Is that normal?

If you have neglected to follow the guide and switch the kernel to (provided by qube), then the template should use the fc41 kernel provided by dom0.

:slight_smile:

I’ve always been using 4.3-rc4 and there’s no fc42 option for the template’s kernel. It is not set to (provided by qube).

If you are looking at the example for getting the Qualcomm WiFi chip working, then one of the steps is to select (provided by qube) and let the cloned template boot a kernel from the template itself. :slight_smile:

Edit: the following is a copy of text from 2. Create a Template for sys-net on [SOLVED] Qualcomm QCNFA765 (ath11k/wcn6855) WiFi working on Thinkpad P14s Gen4 AMD

If you don’t already have a dedicated template,

  1. clone the fedora-42-xfce template (I called it fedora-net-firmware ) and update it with dnf update .
  2. Power off the template,
  3. make it a HVM ,
  4. and set the kernel to (provided by qube) .
  5. If you run uname -r in the template, you should see something like 6.17.13-200.fc42.x86_64 instead of 6.12.59-1.qubes.fc41.x86_64 (may be newer for you).

:slight_smile:

I get an error when I set it to (provided by qube) and try to start the qube.

:frowning:

/var/log/xen/console/guest-fedora-net-firmware.log

xen:balloon: Initial ballooning failed, 29440 pages need to be freed.

Edit:
An error occurred: We appreciate your enthusiasm, keep it up! That said, for the safety of our community, you’ve reached the maximum number of replies a new user can create on their first day. Please wait 20 hours and you’ll be able to create more replies.


The kernel provided by the template. I am not using the fedora.pkgs.org one at all.

Is that with the kernel provided by the template or with the one you picked from fedora.pkgs.org?

:slight_smile:

This is a misunderstanding.
The kernels are packaged for fc41 because that is what is running in
dom0. The packaged kernels can be run under fc42 et seq.

I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.