-
-
Notifications
You must be signed in to change notification settings - Fork 303
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
kernel-devel
and kernel-headers
matching kernel-core
not available
#1739
Comments
Incidentally, this brought up basically the same topic and was closed almost immediately without any resolution whatso ever: #899 |
I'm not at all sure where the fsync |
Yeah ok. This is a clear initial comfig bug in UBlue. Any ostrees shipping with the fsync kernel require the copr repo to be included in the |
I see why the copr repo isn't installed and setup as the default. The copr only keeps the most recent build, none of the past ones, which means it has only the 6.11 kernel right now. The current latest UBlue/Bazzite-provided I guess if UBlue is going to ship with the fsync kernel and not keep to the bleeding edge like the upstream copr supports, it's going to have to figure out how to support a cached version of all the associated kernel packages so it has the older fsync versions available. Maybe UBlue needs to setup it's own copr just to host cached copies of things? In the meantime, it's not possible to build kernel drivers for any fsync UBlue images as far as I can tell. The minimum necessary |
Looking more at the UBlue akmods, it appears there's actually nightly updates to the akmods container images that just aren't published as releases. So doing this would get the set of RPMs from the latest for the fsync kernel: $ podman pull ghcr.io/ublue-os/fsync-kernel:40
...
$ podman container create --name=foo ghcr.io/ublue-os/fsync-kernel:40
...
$ podman container cp foo:/tmp/rpms $(pwd)
...
$ ls rpms/
kernel-6.11.2-201.fsync.fc40.x86_64.rpm kernel-devel-matched-6.11.2-201.fsync.fc40.x86_64.rpm kernel-modules-core-6.11.2-201.fsync.fc40.x86_64.rpm
kernel-core-6.11.2-201.fsync.fc40.x86_64.rpm kernel-headers-6.11.2-201.fsync.fc40.x86_64.rpm kernel-modules-extra-6.11.2-201.fsync.fc40.x86_64.rpm
kernel-devel-6.11.2-201.fsync.fc40.x86_64.rpm kernel-modules-6.11.2-201.fsync.fc40.x86_64.rpm kernel-uki-virt-6.11.2-201.fsync.fc40.x86_64.rpm This is running into a similar issue as the |
You are currently using the fsync-ba kernel. |
Does the |
We are currently in the process of moving building the kernel to github. This means that for you, you'll have access to all the versions for a long time. https://github.com/hhd-dev/kernel-bazzite With a changelog as well. |
There exist these things called tags. You can get all previous versions. See https://github.com/ublue-os/kernel-cache/pkgs/container/fsync-kernel |
In Github, you can only see container tags if it was listed as a release, or if it's still present and someone gives you a link. If you don't have permissions to run builds, you also can't see a list of them. That's what releases are intended to show. So currently there are no public lists of any container builds at all in that repo. If you're talking about git tags instead, then sure if there were some way to relate that to an image digest for the kernel-archive, then I would. But all akmod builds use a moving tag (e.g. |
Uh yes it does. The last kernel in stable was fsync-ba, and you can see that the last tag in As for what the digest was, the images are tagged using the kernel version. So, seeing that in bazzite stable you could derive that the current image is Below is an image of the kcache in incognito mode. I can see all of the tagged versions. I am not going to say this is ideal and it is something that we are moving away from. Here is the repo: We moved to fsync-ba in August due to 6.10 being completely broken. We are ready to move on to 6.11 now with a cleaner build system. |
Oh you meant the kernel image tag is Oh, I see what you mean, if I open the image name without a version tag in a browser, it redirects to the image itself to see the version tags. I've only ever followed to a specific version tag. I guess I'm just used to the pretty layout from registries like Quay.io or hub.Docker.com. OK, that helps get me over the hump then. It might be worth adding something to grab these packages automatically as a |
skopeo inspect is also good for tag sleuthing: https://github.com/containers/skopeo/blob/main/docs/skopeo-inspect.1.md |
I did just find that yesterday (unrelated actually), but apparently it wouldn't have helped in this case because I didn't even have the right basename. |
Hi, @mtalexan. I'm Dosu, and I'm helping the bazzite team manage their backlog. I'm marking this issue as stale. Issue Summary:
Next Steps:
Thank you for your understanding and contribution! |
This has now been moved to GitHub, so it is resolved. |
Thank you for closing the issue, mtalexan! We appreciate your help in keeping the repository organized. |
Describe the bug
When running either
rpm-ostree update
orujust update
, I get the report that there's nothing to update.However I need to build a custom out of tree kernel driver for the lighting on my laptop keyboard (Asus Predator device), so I need the
kernel-devel
installed. I tried this and then discovered it didn't match the currentkernel-core
that was installed by default.After installing
kernel-core
andkernel-devel
:And when I try to install the matching version for
kernel-core
explicitly:This is a brand new install of the latest Bazzite, with the only change to the repo being the addition of the VSCode RPM repo. There is no matching
kernel-devel
orkernel-headers
for the fsync kernel-core available in any repos.What did you expect to happen?
I expected there to be a
kernel-devel
andkernel-headers
matching the default shippedkernel-core
. On Bazzite this is a custom UBlue fsync version (apparently) and doesn't keep up with the latest from upstream Fedora, so UBlue would be responsible for providing the associatedkernel-devel
andkernel-headers
to match their customkernel-core
.Output of
rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia-open:stable
Digest: sha256:f0a715ec44064ebfa14504db0c72b3790542ce3bcd3d7f3b9fb068e6a04197e7
Version: 40.20240930.0 (2024-09-30T15:25:37Z)
LayeredPackages: code grubby kernel-devel kernel-devel-uname-r sunshine zsh
ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia-open:stable
Digest: sha256:f0a715ec44064ebfa14504db0c72b3790542ce3bcd3d7f3b9fb068e6a04197e7
Version: 40.20240930.0 (2024-09-30T15:25:37Z)
LayeredPackages: code grubby kernel-devel sunshine zsh
Hardware
$ inxi
CPU: 14-core (6-mt/8-st) 12th Gen Intel Core i9-12900H (-MST AMCP-)
speed/min/max: 771/400/4900:5000:3800 MHz
Kernel: 6.9.12-205.fsync.fc40.x86_64 x86_64 Up: 27m
Mem: 8.37/31.04 GiB (27.0%) Storage: 92.53 GiB/-4784 Procs: 460 Shell: Zsh
inxi: 3.3.34
$ cat /sys/devices/virtual/dmi/id/product_name
Predator PH315-55s
Extra information or context
The particulars of the device don't really matter, the problem is that there seems to be no repos to provide updates or support for the custom fsync
kernel-core
that ships with Bazzite.It's reasonable that the
kernel-header
andkernel-devel
matching thekernel-core
aren't installed by default in the Bazzite ostree refs, and it's certainly easier to distribute the customkernel-core
purely by including it directly there rather than providing it via an RPM repo on copr or something, but some method of getting thekernel-devel
andkernel-headers
matching it are a minimum necessity of having a custom kernel in the first place.The text was updated successfully, but these errors were encountered: