You are not logged in.
Pages: 1
How do I remove patches I have applied to kernel modules?
I have applied some patches (e.g. compat-drivers-patched from AUR) to some of the kernel modules. I am not satisfy with the result and would like to revert the changes. How do I do it?
Will re-installation/upgrade of linux and linux-headers packages undo the applied patches?
Last edited by hongster (2013-05-26 05:51:28)
Hongster
https://tech.mrleong.net
Offline
-R?
Offline
@qinohe I do not understand what you mean.
Hongster
https://tech.mrleong.net
Offline
Oh' s**t didn't read good enough, thought you patched with bzip2.
So removing the packages leafs you with the patch still active?
Offline
I am not sure, and I do not know how to verify that.
The ath9k driver used to crashed randomly. I have to resort to downgrading my kernel to version 3.7.3-1 as a workaround. I have been experiencing good WiFi connectivity since the downgrade. Then I came across compat-drivers-patched from AUR. I have installed the patch with the latest kernel (3.9.3-1), but it did not solve the issue. ath9k driver continues to crash randomly. I downgraded the kernel to 3.7.3-1 again, as the patch is not useful. Recently I encountered a number of random crashes caused by ath9k. I am suspecting that patch is not removed effectively. I would like to know a sure way to remove the patch.
Hongster
https://tech.mrleong.net
Offline
Custom modules goes in extramodules according to the PKGBUILD. Just uninstall that package pacman -Rn packagename and upgrade your kernel and reboot. It should be gone after that. Really it should revert to the old one just by uninstalling and rebooting. But doing a kernel upgrade too I don't think it will be there still. You can easily verify though by looking in /usr/lib/modules/extramodules-3.9-ARCH where "3.9-ARCH" is your current kernel name / version.
Last edited by dodo3773 (2013-05-26 03:25:02)
Offline
I think dodo is right, unless of course you downgraded all the way back to 3.8.* (or upgraded from 3.8.* to 3.9.*).
Offline
Custom modules goes in extramodules according to the PKGBUILD. Just uninstall that package pacman -Rn packagename and upgrade your kernel and reboot. It should be gone after that. Really it should revert to the old one just by uninstalling and rebooting. But doing a kernel upgrade too I don't think it will be there still. You can easily verify though by looking in /usr/lib/modules/extramodules-3.9-ARCH where "3.9-ARCH" is your current kernel name / version.
Thanks @dodo3773! My `/usr/lib/modules/extramodules-3.7-ARCH` contains only 1 file named "version", and nothing else. I think The patches have been removed through the uninstallation. I have also reinstalled `linux` and `linux-headers` again. I think my currently running kernel is free from the compat-drivers-patched. I guess the ath9k driver crashing has nothing to do with the patch now, I have to figure out how to fix the ath9k driver issue.
Hongster
https://tech.mrleong.net
Offline
Yeah you should be fine. You're welcome. Glad you sorted it out.
Offline
Pages: 1