| View previous topic :: View next topic |
| Author |
Message |
regomodo Guru

Joined: 25 Mar 2008 Posts: 444
|
Posted: Sun Jun 22, 2008 9:40 am Post subject: [Solved] Cannot Modprobe any module |
|
|
I've changed something in my kernel and now i cannot load any of the modules for it: vboxdrv & truecrypt
For example
| Code: | genbox jon # modprobe vboxdrv
FATAL: Error inserting vboxdrv (/lib/modules/2.6.24-gentoo-r8/misc/vboxdrv.ko): Invalid module format
genbox jon # modprobe truecrypt
FATAL: Error inserting truecrypt (/lib/modules/2.6.24-gentoo-r8/block/truecrypt.ko): Invalid module format
|
I've checked my kernel .config and everything under "Enable loadable module support" is enabled, minus checksumming. What could i have possibly changed that is preventing these modules from loading?
Last edited by regomodo on Wed Jul 02, 2008 9:47 am; edited 1 time in total |
|
| Back to top |
|
 |
nixnut Administrator


Joined: 09 Apr 2004 Posts: 10914 Location: the dutch mountains
|
Posted: Sun Jun 22, 2008 9:49 am Post subject: |
|
|
you need to rebuild those modules _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
| Back to top |
|
 |
regomodo Guru

Joined: 25 Mar 2008 Posts: 444
|
Posted: Sun Jun 22, 2008 9:56 am Post subject: |
|
|
| nixnut wrote: | | you need to rebuild those modules |
by re-emerging them? I thought i did that. I'll try again. |
|
| Back to top |
|
 |
Kasumi_Ninja Veteran


Joined: 18 Feb 2006 Posts: 1825 Location: The Netherlands
|
Posted: Sun Jun 22, 2008 9:57 am Post subject: |
|
|
| regomodo wrote: | | nixnut wrote: | | you need to rebuild those modules |
by re-emerging them? I thought i did that. I'll try again. |
More specifically you need to re-emerge "app-emulation/virtualbox-modules". _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered |
|
| Back to top |
|
 |
regomodo Guru

Joined: 25 Mar 2008 Posts: 444
|
Posted: Sun Jun 22, 2008 10:11 am Post subject: |
|
|
hrrmph. this is virtualbox-modules
| Code: | Building modules, stage 2.
make -f /usr/src/linux-2.6.24-gentoo-r8/scripts/Makefile.modpost
scripts/mod/modpost -m -i /usr/src/linux-2.6.24-gentoo-r8/Module.symvers -I /var/tmp/portage/app-emulation/virtualbox-modules-1.5.4/work/vboxdrv/Module.symvers -o /var/tmp/portage/app-emulation/virtualbox-modules-1.5.4/work/vboxdrv/Module.symvers -w -c -s
/bin/sh: scripts/mod/modpost: No such file or directory
make[2]: *** [__modpost] Error 127
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo-r8'
make: *** [vboxdrv] Error 2
*
* ERROR: app-emulation/virtualbox-modules-1.5.4 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3191: Called linux-mod_src_compile
* environment, line 2454: Called die
* The specific snippet of code:
* eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CC=\"$(get-KERNEL_CC)\" LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
* The die message:
* Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CC=x86_64-pc-linux-gnu-gcc LDFLAGS= KERN_DIR=/usr/src/linux KERNOUT=/lib/modules/2.6.24-gentoo-r8/build all |
|
|
| Back to top |
|
 |
regomodo Guru

Joined: 25 Mar 2008 Posts: 444
|
Posted: Wed Jul 02, 2008 9:47 am Post subject: |
|
|
| Well, i got it working. Vbox-modules just re-emerged nicely and have no issues. Solved, i guess. |
|
| Back to top |
|
 |
|