LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-05-2004, 04:06 PM   #1
Corallis
Member
 
Registered: Jan 2004
Location: EST
Distribution: Slackware 10.0
Posts: 150

Rep: Reputation: 15
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?
 
Old 07-05-2004, 04:32 PM   #2
wolfe2554
Member
 
Registered: Apr 2003
Location: denver co
Distribution: redhat9
Posts: 156

Rep: Reputation: 30
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.
 
Old 07-05-2004, 04:44 PM   #3
Corallis
Member
 
Registered: Jan 2004
Location: EST
Distribution: Slackware 10.0
Posts: 150

Original Poster
Rep: Reputation: 15
/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?

Last edited by Corallis; 07-05-2004 at 04:46 PM.
 
Old 07-05-2004, 05:08 PM   #4
wolfe2554
Member
 
Registered: Apr 2003
Location: denver co
Distribution: redhat9
Posts: 156

Rep: Reputation: 30
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.
 
Old 07-05-2004, 11:46 PM   #5
Corallis
Member
 
Registered: Jan 2004
Location: EST
Distribution: Slackware 10.0
Posts: 150

Original Poster
Rep: Reputation: 15
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)
 
Old 07-06-2004, 02:34 AM   #6
td0l2
Member
 
Registered: Jun 2004
Location: Hong Kong
Distribution: debian
Posts: 32

Rep: Reputation: 15
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 ??
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't load external modules after kernel upgrade wascal2001 Linux - Newbie 3 06-28-2004 03:29 PM
Missing modules when upgrade kernel 2.6 letdoit Slackware 7 05-26-2004 12:42 AM
new kernel (2.4.22 up from 2.4.20-6) - missing modules - use old modules? Simon Bridge Linux - Software 1 02-04-2004 05:52 AM
Loss of modules after 2.6 kernel upgrade Sarno Slackware 2 12-29-2003 10:51 PM
kernel upgrade and module names incompatibility and /etc/modules.conf concoran Linux - General 2 11-29-2001 07:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration