how to remove installed device drivers in centos 5.4
Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to remove them completely? The ipw2200 driver complains that it could not agree with certain symbols in ieee80211 module. Before taking another route, I would like to know how to completely remove the files installed by these driver packages.
The common answer would be "man rpm" but it is likely considered rude here
Anyway, if there is "rpm -i" then there is a "rpm -e" as well.
A kernel module, once it got loaded, can be unloaded with "rmmod" most of the time.
Removing the ieee80211-kmdl will break networking. You will need to stop your network devices (if they are up) before removing the modules.
sudo /sbin/modprobe -r ipw2200
sudo /sbin/modporbe -r ieee80211
Then use your package manager, or the rpm command to erase these packages.
Since this is a problem with kernel modules, I'm going to move this thread to Linux Kernel where it should get better exposure to your question.
The common answer would be "man rpm" but it is likely considered rude here
Anyway, if there is "rpm -i" then there is a "rpm -e" as well.
A kernel module, once it got loaded, can be unloaded with "rmmod" most of the time.
I raised the question here after trying what you have suggested.
rpm -i says package is already installed. I even tried rpm --freshen --force to install the package. It looks like the install went fine but when I do, rpm -e it says package is not installed. I am confused.
you can also use the package manager GUI if you want
it is called " add or remove programs " and should be under Applications / system tools
Sorry I forgot to mention this, my laptop does not have GNOME or KDE installed. I just have X running and for the most part I work with the command line.
More details on why I am having this problem. It all started when I got a kernel panic after installing the ipw2200 and ieee80211 kernel modules. I removed them using the ./remove_old shell script provided with the source. Then I searched the internet and found the rpms (cited in my initial message) and installed them. When I rebooted the laptop, the dmesg log had entries that said, ipw2200 not agreeing with certain symbols in ieee80211. I used the same ./remove_old shell script to remove the modules installed by the rpms. I think this caused the problem I am having now.
PS: I downloaded the source for ipw2200 and ieee80211 modules from their respective sourceforge site.
Do the kernel versions of these two modules match what your kernel is? Why are you downloading rpm's from the internet and not from your repository or DVD install disk?
Usually if you have a mismatch of symbols trying to install a kernel module, it is when you try to build a module from source, which doesn't match your kernel.
Run "sudo /sbin/depmod -a" to make sure the module dependency files are up to date.
I was thinking of the mac80211 kernel module, which would be used for any NIC or wireless device. If you use preshared keys, then you may not need the ieee80211 module. The modules should come with your kernel rpm package.
I tried downloading ieee80211-kmdl-2.6.18-164.10.1.el5-1.2.18-22.el5.i686.rpm from ATrpms. Trying to run rpm2cpio, failed. there was a fishy license printed out. Use your distro's packages. Not something you found on the net.
Do the kernel versions of these two modules match what your kernel is? Why are you downloading rpm's from the internet and not from your repository or DVD install disk?
yum could not find any ipw2200 or ieee80211 modules from the repositories. That's why I searched for them on the internet and tried to install them.
Quote:
Originally Posted by jschiwal
Usually if you have a mismatch of symbols trying to install a kernel module, it is when you try to build a module from source, which doesn't match your kernel.
Run "sudo /sbin/depmod -a" to make sure the module dependency files are up to date.
I was thinking of the mac80211 kernel module, which would be used for any NIC or wireless device. If you use preshared keys, then you may not need the ieee80211 module. The modules should come with your kernel rpm package.
My wireless router is IEEE 802.11 b/g based. So will I not need the ieee80211 module? The router is configured to use pre-shared keys to establish connection to the router.
Quote:
Originally Posted by jschiwal
I tried downloading ieee80211-kmdl-2.6.18-164.10.1.el5-1.2.18-22.el5.i686.rpm from ATrpms. Trying to run rpm2cpio, failed. there was a fishy license printed out. Use your distro's packages. Not something you found on the net.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.