Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to load (module)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Kiroku6
Apprentice
Apprentice


Joined: 14 Feb 2004
Posts: 283
Location: unknown some hard drive on some server

PostPosted: Thu Jun 03, 2004 6:02 am    Post subject: Failed to load (module) Reply with quote

This is the second time this has happened to me. Can someone help me out here! Im sorry if this is a double post. I dont know what to search for. Anyway, when i boot, i get this error:

Using /etc/modules.autoload.d/kernel-2.6
Loading nvidia
Failed to load nvidia
Loading e1000
Failed to load e1000

So I tried to modprobe, and i get:

modprobe nvidia
FATAL: Error inserting nvidia (/lib/modules/2.6.7-rc2-love1/video/nvidia.ko): Invalid module format

e1000 is almost the same, only it applies to e1000.

Anyone know how to solve this problem. I am using intel 1000 eth0, and love-sources doesnt have it in the kernel, so i need e1000.
Thanks for your help,
Kikyo
_________________
WOOOOOO! GENTOO!!!!!
Back to top
View user's profile Send private message
Plaz
Tux's lil' helper
Tux's lil' helper


Joined: 15 Sep 2002
Posts: 101
Location: Portland, OR

PostPosted: Thu Jun 03, 2004 6:32 am    Post subject: Reply with quote

This has happened to me when one of the following was true:

1. /usr/src/linux symlink didn't point to desired kernel source directory when module was compiled.

2. Another version of the module got installed into incorrect /lib/modules directory due to something odd like the kernel source directory name not matching the kernel version strings in the kernel Makefile. Check for warnings when the module is being built and verify modification times on installed kernel modules to verify that they were installed when you think they were.
Back to top
View user's profile Send private message
Kiroku6
Apprentice
Apprentice


Joined: 14 Feb 2004
Posts: 283
Location: unknown some hard drive on some server

PostPosted: Thu Jun 03, 2004 3:47 pm    Post subject: Reply with quote

How do i check the symlink? What kernel are you using?
_________________
WOOOOOO! GENTOO!!!!!
Back to top
View user's profile Send private message
Lucho[FLCL]
Apprentice
Apprentice


Joined: 02 Dec 2003
Posts: 245
Location: Buenos Aires - Argentina

PostPosted: Thu Jun 03, 2004 3:52 pm    Post subject: Reply with quote

Plaz wrote:
This has happened to me when one of the following was true:

1. /usr/src/linux symlink didn't point to desired kernel source directory when module was compiled.

2. Another version of the module got installed into incorrect /lib/modules directory due to something odd like the kernel source directory name not matching the kernel version strings in the kernel Makefile. Check for warnings when the module is being built and verify modification times on installed kernel modules to verify that they were installed when you think they were.


I'll add
3. You are trying to load a module compiled in another kernel compile. I experienced the same problem while trying to load a module compiled with 2.6.0 into a 2.6.4-ck2 kernel.

(but it's like a 2.1 :) )
Back to top
View user's profile Send private message
Kiroku6
Apprentice
Apprentice


Joined: 14 Feb 2004
Posts: 283
Location: unknown some hard drive on some server

PostPosted: Thu Jun 03, 2004 4:01 pm    Post subject: Reply with quote

Well, i turned on the experimental option for kernel loading from other kernels. Anyone know how to get it to work when im using modules from another kernel?
_________________
WOOOOOO! GENTOO!!!!!
Back to top
View user's profile Send private message
d0nju4n
Apprentice
Apprentice


Joined: 19 Apr 2004
Posts: 283
Location: Rochester, MN

PostPosted: Sat Jun 05, 2004 3:53 am    Post subject: Reply with quote

Kiroku6 wrote:
How do i check the symlink? What kernel are you using?


Code:
ls -ln /usr/src/linux

_________________
Linux User 355087
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum