LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Trouble replacing a kernel module with the latest version (https://www.linuxquestions.org/questions/linux-general-1/trouble-replacing-a-kernel-module-with-the-latest-version-250023/)

Khang 11-01-2004 08:01 PM

Trouble replacing a kernel module with the latest version
 
Hi, I have a kernel module installed for my wifi card and I'm trying to replace it with the latest version of the module. I'm running debian but I chose to install it from the source rather than package it and install that. However, now I can't figure out how to uninstall it. I know 'modprobe -r rt2400' removes it (and it does - that works), but when I reboot the module is back again. Even if I've install the newer version since... The old one remains, and the new one is nowhere to be seen. I tried 'make uninstall' in the source directory for the module, but there's no uninstall in the makefile, so that didn't work.

How can I get rid of this nuisance old module so I can get the new one in place? Please help :).

Also, just a quick irrelevent question to add to the end of this: Is there a way to scroll up and down in a terminal (not in X)? page up and page down don't seem to work, nor does it work if I try holding shift, ctrl, or alt (or any combination of those three), while pressing page up and page down. How is it done?

Thanks for any replies.

r0b0 11-02-2004 08:48 AM

It is loaded at boot because it's configured so in file /etc/modules. Remove it from there and it will not be loaded at boot any more.

And Shift+PgUp , Shift+PgDn should work...

Khang 11-02-2004 09:56 AM

Sorry, I forgot to mention, rt2400 isn't listed in my /etc/modules. Only about 4 modules are, and that isn't one of them. The only reference to rt2400 in any file I've noticed is in /etc/modules.conf - there is a line "alias ra0 rt2400" (I think - I'm not on my home computer to check). It was something like that. That isn't specific to the old version of the module though. The new version puts it back.

Thanks for the help though. Where else might the module be getting loaded from, if it isn't in /etc/modules?


All times are GMT -5. The time now is 04:31 AM.