View previous topic :: View next topic |
Author |
Message |
Kiroku6 Apprentice
Joined: 14 Feb 2004 Posts: 283 Location: unknown some hard drive on some server
|
Posted: Thu Jun 03, 2004 6:02 am Post subject: Failed to load (module) |
|
|
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 |
|
|
Plaz Tux's lil' helper
Joined: 15 Sep 2002 Posts: 101 Location: Portland, OR
|
Posted: Thu Jun 03, 2004 6:32 am Post subject: |
|
|
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 |
|
|
Kiroku6 Apprentice
Joined: 14 Feb 2004 Posts: 283 Location: unknown some hard drive on some server
|
Posted: Thu Jun 03, 2004 3:47 pm Post subject: |
|
|
How do i check the symlink? What kernel are you using? _________________ WOOOOOO! GENTOO!!!!! |
|
Back to top |
|
|
Lucho[FLCL] Apprentice
Joined: 02 Dec 2003 Posts: 245 Location: Buenos Aires - Argentina
|
Posted: Thu Jun 03, 2004 3:52 pm Post subject: |
|
|
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 |
|
|
Kiroku6 Apprentice
Joined: 14 Feb 2004 Posts: 283 Location: unknown some hard drive on some server
|
Posted: Thu Jun 03, 2004 4:01 pm Post subject: |
|
|
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 |
|
|
d0nju4n Apprentice
Joined: 19 Apr 2004 Posts: 283 Location: Rochester, MN
|
Posted: Sat Jun 05, 2004 3:53 am Post subject: |
|
|
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 |
|
|
|