-
Notifications
You must be signed in to change notification settings - Fork 410
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
Can't Update Driver After Upgrading Linux Kernel #309
Comments
I had the same issue twice, on endeavour and garuda. Kernel upgrade happens automatically on arch and arch-based distributions. Using a non-rolling distribution might help for a stable system for now. |
Were you able to get this working after having the same issue? I have this problem on Debian stable, a non-rolling distribution. I can't even install the driver any more with sudo ./dkms-install.sh because the installer says "Error! Bad return status for module build on kernel: 5.10.0-18-amd64 (x86_64)". |
Can you get us the contents of the file at |
Well, I gave devuan a try for a week and didn't like it. I didn't use it for a long time to test this. But, that's really weird. Debian stable doesn't actually update the kernel unless you say so. Are you sure there were no such an update about kernel stuff? I currently use Arch, added
|
tomaspinho, the contents of make.log are as follows: DKMS make.log for rtl8821ce-v5.5.2_34066.20200325 for kernel 5.10.0-18-amd64 (x86_64) |
ramazanemreosmanoglu, I do think that an update to a new kernel version is the cause for why my driver broke. Here is why. When I had an earlier kernel version, this driver worked for me, and then after one sudo apt-get update && sudo apt-get upgrade update later it broke. For a couple of months, I could manually go back to a previous kernel version (version 4 or around there) in GRUB every time I booted, but now another update got rid of that kernel version in grub, and I can no longer do that. |
https://www.snel.com/support/how-to-block-package-and-kernel-updates-in-debian/ I currently use debian too. You can tell apt to not to update kernel if you use generic kernel for now. |
I don't think that the newer kernels are an issue. I have this driver on Fedora 37 (kernel 6.1) and it works as well as it did on Kernel 5.4. Are you sure you have everything needed installed? |
This driver use to work for me, but ever since Debian upgraded my kernel, the Wifi driver no longer works. I run Debian with linux kernel 5.10.0-18-amd64.
I added this code:
blacklist rtw88_8821ce
to the file /etc/modprobe.d/blacklist.conf
I uninstalled the driver, pulled the git repository, make clean, and tried to reinstall the driver, but I am unable to install the driver again.
This is what happens when I try to install the driver:
`
$ sudo ./dkms-install.sh
About to run dkms install steps...
Creating symlink /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/source ->
/usr/src/rtl8821ce-v5.5.2_34066.20200325
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...(bad exit status: 2)
...(bad exit status: 2)18-amd64
Error! Bad return status for module build on kernel: 5.10.0-18-amd64 (x86_64)
Consult /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/make.log for more information.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...(bad exit status: 2)
...(bad exit status: 2)18-amd64
Error! Bad return status for module build on kernel: 5.10.0-18-amd64 (x86_64)
Consult /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/make.log for more information.
Finished running dkms install steps.`
How do I get this driver working again? Please advise. Thanks!
The text was updated successfully, but these errors were encountered: