LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-22-2002, 10:35 PM   #1
malix
LQ Newbie
 
Registered: Sep 2002
Location: Texas
Distribution: slackware 9
Posts: 20

Rep: Reputation: 1
modules dont load after kernel patched


I patched my kernel 2.4.19 to 2.4.20-pre7 and did make menuconfig, make bzImage, and a make dep somewhere in there. I copied the kernel image to /boot so I could boot with it, edited lilo, then did a make modules and make modules install. I think the make modules or make modules install did most everything except gave a couple errors in the end about cping drivers and such. When I rebooted the machine during the kernel loading I thought I saw some lines complaining about depmod: but it didnt show up in dmesg. I ran a make modules dep but that didnt seem to fix the problem. So the problem is I can't load any modules anymore on startup or manually running modprobe module. This is the first kernel patch i've ever attempted and I don't know if I did it exactly correct b/c the howto i read was pretty vague. I don't know how patches work either so I need some additional help in trying to get my modules working again. thanks.

-Malix
 
Old 09-23-2002, 12:26 AM   #2
gway
LQ Newbie
 
Registered: Sep 2002
Distribution: Slackware
Posts: 24

Rep: Reputation: 15
Hi, try depmod -a
(or man depmod)

-- Gway
 
Old 09-23-2002, 12:26 AM   #3
gway
LQ Newbie
 
Registered: Sep 2002
Distribution: Slackware
Posts: 24

Rep: Reputation: 15
BTW, did you compile it with modules support, did you?
 
Old 09-23-2002, 08:13 PM   #4
malix
LQ Newbie
 
Registered: Sep 2002
Location: Texas
Distribution: slackware 9
Posts: 20

Original Poster
Rep: Reputation: 1
I did a 'depmod -a' and also tried regular 'depmod' and got 30 or so errors like:

depmod: *** Unresolved symbols in /lib/modules/2.4.20-pre7/kernel/drivers/block/paride/paride.o

My /etc/modules.conf file is also empty. I dont think that's supposed to be like that. After patching the kernel and in menuconfig, I'm fairly certain I had modules support enabled.

-Malix
 
Old 09-23-2002, 10:03 PM   #5
tarballedtux
Member
 
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Rep: Reputation: 30
Nooooooooo! Burn whatever howto you read.

Here's the correct sequence of commands.

make menuconfig,config, or xconfig (<--whatever you usually use)
make dep
make clean (Only because you compiled previously)
make bzImage
make modules
make module_install





/etc/modules.conf is empty in Slackware. It all occurs in /etc/rc.d/rc.modules now.

--tarballedtux
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Load Kernel Modules? binarybob0001 Linux - General 5 11-16-2005 11:15 AM
Custom kernel does not load modules Ankardo Linux - Newbie 2 06-10-2005 07:30 AM
new kernel 2.6.7 cant load modules short101 Debian 8 08-21-2004 10:59 PM
Unused kernel modules : How to NOT load? _UnPrEdictAbLe_ Linux - Software 0 08-19-2004 02:19 AM
modules dont load at boot time killer_bunny Linux - General 1 12-23-2003 11:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:48 AM.

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