Skip to content
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

Fedora 37 akmod cant build kernel modules for kernel 6.3 #729

Closed
TrixieUA opened this issue Apr 24, 2023 · 5 comments
Closed

Fedora 37 akmod cant build kernel modules for kernel 6.3 #729

TrixieUA opened this issue Apr 24, 2023 · 5 comments

Comments

@TrixieUA
Copy link

Kernel builds just fine but it generates kernel with this package names kernel-6.3.0_tkg_cfs_g457391b03803-1
It install fine but akmod cant build any modules
The same thing happend when i tried to build any rc kernels but with 6.2 release one built just fine

Way to reproduce
Build kernel on Fedora 37 and try to use any akmod modules

@TrixieUA
Copy link
Author

Saw a little fix for fedora-rpm.patch, builded kernel, sadly the same thing again, it builded kernel-6.3.0_tkg_cfs_g457391b03803-1.x86_64 and akmods failed to buld any modules

@TrixieUA
Copy link
Author

TrixieUA commented May 1, 2023

Linux 6.3.1 is out, i tried to build it with the script and it tries to build kernel-6.3.1_tkg_cfs_ga83b81b7392d which also does not work with akmod

@TrixieUA
Copy link
Author

TrixieUA commented May 1, 2023

Here is a log from akmods, i think it cant find kernel-devel package, but i have installed it
530.41.03-1-for-6.3.1_tkg_cfs-ga83b81b7392d.failed.log

@patlefort
Copy link

The installed version is 6.3.1_tkg_cfs_ga83b81b7392d but the akmods build log show that it is looking for version 6.3.1_tkg_cfs-ga83b81b7392d. Could that be the problem?

@patlefort
Copy link

A workaround is to set CONFIG_LOCALVERSION_AUTO=n in a .myfrag file, see _config_fragments in customization.cfg.

AdelKS added a commit to AdelKS/linux-tkg that referenced this issue Aug 14, 2023
kylon pushed a commit to kylon/linux-tkg that referenced this issue Aug 31, 2023
* install.sh: RPM: add install deps

* install.sh: Fedora: remove fedora 32 code path

too old by now

* DEB: add dependencies

* install.sh: do not install libc-dev package

I don't remember why I had to keep it, but I just tried installing only
the image and headers and nvidia-dkms installed just fine

Closes: Frogging-Family#772 Frogging-Family#732

* prepare: disable CONFIG_LOCALVERSION_AUTO

Closes: Frogging-Family#729

* install.sh: gentoo: do not do initramfs and booloader config

it's done directly by the kernel-install script called by make install,
which gets changed in gentoo to do what needs to be done

* patches: fix RPM patches for 6.4 and 6.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants