LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Modules Gone After Kernel Upgrade (https://www.linuxquestions.org/questions/linux-general-1/modules-gone-after-kernel-upgrade-201449/)

Corallis 07-05-2004 04:06 PM

Modules Gone After Kernel Upgrade
 
I just finished upgrading to 2.6.7, and I found my internet connection no longer works. I reconfigured it to the same settings I had it on before, and still it does not work. I am currently running Slackware 10.0, and I connect to the net via a router. I chose a static IP, entered my IP as the next ip (192.168.1.101), entered the submask, and used a nameserver, just like before, and it doesnt work at all. I have noticed though, that upon using the command lsmod, all of my modules are gone... I think this might have something to do with my problem, but Im not sure. Does anyone have any idea whats wrong or how I can fix it?

wolfe2554 07-05-2004 04:32 PM

just for the fun of it, did you compile with the option of modules turned on? and if so does /lib/modules/ contain anything? I would bet that if /lib/modules has everything it should you messed up configing your kernel and need to compile with modules turned on.

try try try again.

Corallis 07-05-2004 04:44 PM

/lib/modules contains 2 folders, 2.4.6 and 2.6.7, each of which appear to have modules inside. I guess I didnt compile the kernel with module support. I followed this guide here: http://shilo.is-a-geek.com/slack/kernel14.html

At what point during this tutorial would I be able to enable modules, and how would I do it?

EDIT:

When I ran make gconfig, I checked all the options and apparently I did have enable modules checked, so it looks like this might not be the problem after all?

wolfe2554 07-05-2004 05:08 PM

go into a terminal and edit the /usr/src/linux-2.6.7/.configure it may not be there if you have run make clean. then look for a line that says
#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y

if these are not checked to y then there is a problem there. otherwise the problem is much more in depth.

Corallis 07-05-2004 11:46 PM

My problems is still here.

What I tried was a completely fresh install of Slackware 10.0, with the 2.4.26 kernel. That seemed to work fine, and lsmod spit out all of the modules I should have. I then upgraded to 2.6.7, and once again I had no modules under lsmod, so my internet connection didn't work. I have no used lilo to boot in between 2.6.7 and 2.4.26 so I can use the internet connection when I need to.

As for the .configure file, everything was how it was supposed to be. So what else might be causing this problem?

If it matters at all, I'm on a laptop (Dell 600m)

td0l2 07-06-2004 02:34 AM

Me too !!!

I also compiled a new kernel 2.6.7 in redhat 7.2. The steps are
make menuconfig
make clean
make modules
make modules_install
make bzImage

The kernel was successfully created but when booting up using new kernel, there is no modules installed. I try to install the PCMCIA modules manually but it fail ( i use "insmod xxxx" in /lib/modules/2.6.7/kernel/driver/net/pcmcia ).
I find that there are difference of modules name extension. The old one is *.o but new one is *.ko .
What are they ??


All times are GMT -5. The time now is 03:53 AM.