LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-18-2003, 01:49 PM   #1
Helper_Monkey
Member
 
Registered: Dec 2002
Location: Connecticut
Distribution: RedHat 8.0, Knoppix, Gentoo
Posts: 39

Rep: Reputation: 15
Can't load any modules


I just recompiled my kernel and now i can't load any modules. I have done recompiles in the past and have not had this problem. Every single module gives me a similar error:
Quote:
# modprobe ide-scsi
/lib/modules/2.4.20/kernel/drivers/scsi/ide-scsi.o: unresolved symbol ide_end_request_R1164d85b
/lib/modules/2.4.20/kernel/drivers/scsi/ide-scsi.o: unresolved symbol ide_do_drive_cmd_R5fdb56c8
/lib/modules/2.4.20/kernel/drivers/scsi/ide-scsi.o: unresolved symbol kmalloc_R93d4cfe6
/lib/modules/2.4.20/kernel/drivers/scsi/ide-scsi.o: unresolved symbol ide_init_drive_cmd_Ra4174a5a
/lib/modules/2.4.20/kernel/drivers/scsi/ide-scsi.o: unresolved symbol ide_do_reset_R25052b4f
/lib/modules/2.4.20/kernel/drivers/scsi/ide-scsi.o: unresolved symbol ide_register_subdriver_Rec1edd99
/lib/modules/2.4.20/kernel/drivers/scsi/ide-scsi.o: unresolved symbol ide_register_module_R8526704f
/lib/modules/2.4.20/kernel/drivers/scsi/ide-scsi.o: insmod ide-scsi failed
I left out 2/3 of the unresolved symbols, but you get the point.

I have tried to recompile a bunch of times, but i still get the same message, and I can see in the /lib/modules/.../ that the modules are actually there.


Any ideas?
 
Old 03-18-2003, 02:03 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
I'd copy my .config to ~, run
make mrproper, copy .config
back to /usr/src/linux, run
make menuconfig, exit & save,
and rebuild the kernel...

Cheers,
Tink

P.S.: Did you
Code:
cd /usr/src
ln -s linux-2.4.20 linux
?
 
Old 03-23-2003, 03:42 PM   #3
Helper_Monkey
Member
 
Registered: Dec 2002
Location: Connecticut
Distribution: RedHat 8.0, Knoppix, Gentoo
Posts: 39

Original Poster
Rep: Reputation: 15
Yeah, thats the way i made my kernel, no good. Any idea why i get all these "unresolved symbols" for all of my modules?
 
Old 03-23-2003, 07:51 PM   #4
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
1st
ksyms -a|grep ide_end_request
This will either have numbers (version info) or just plain
"ide_end_request" (no numbers at end).

If plain, your kernel was built with CONFIG_MODVERSIONS not set

If so, you have to have your modules compile with this. I vaguely recall, in some previous linux release, having to hack "versioning" out of a module.

If (different) numbers, u have to recompile kernel & modules

afs
 
Old 03-23-2003, 08:18 PM   #5
Helper_Monkey
Member
 
Registered: Dec 2002
Location: Connecticut
Distribution: RedHat 8.0, Knoppix, Gentoo
Posts: 39

Original Poster
Rep: Reputation: 15
I removed the old source files and the moduels, then downloaded new source files and was able to compile the kernel with working modules.
 
  


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
modprobe: FATAL: Could not load /lib/modules/.../modules.dep Ankardo Debian 9 02-01-2011 05:09 PM
modules won't load huntz Slackware 2 10-03-2004 10:37 PM
FATAL: could not load /lib/modules/2.6.1/modules.dep Fr33B33R Slackware 3 01-12-2004 05:40 AM
modules.conf - Cannot get modules to load automatically gundelgauk Linux - General 1 12-27-2003 11:27 PM
Load Modules Before X Parksy Linux - Software 13 08-05-2003 08:58 PM

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

All times are GMT -5. The time now is 09:05 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