Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Cannot Modprobe any 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
regomodo
Guru
Guru


Joined: 25 Mar 2008
Posts: 444

PostPosted: Sun Jun 22, 2008 9:40 am    Post subject: [Solved] Cannot Modprobe any module Reply with quote

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
View user's profile Send private message
nixnut
Administrator
Administrator


Joined: 09 Apr 2004
Posts: 10914
Location: the dutch mountains

PostPosted: Sun Jun 22, 2008 9:49 am    Post subject: Reply with quote

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
View user's profile Send private message
regomodo
Guru
Guru


Joined: 25 Mar 2008
Posts: 444

PostPosted: Sun Jun 22, 2008 9:56 am    Post subject: Reply with quote

nixnut wrote:
you need to rebuild those modules


by re-emerging them? I thought i did that. I'll try again.
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Sun Jun 22, 2008 9:57 am    Post subject: Reply with quote

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
View user's profile Send private message
regomodo
Guru
Guru


Joined: 25 Mar 2008
Posts: 444

PostPosted: Sun Jun 22, 2008 10:11 am    Post subject: Reply with quote

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
View user's profile Send private message
regomodo
Guru
Guru


Joined: 25 Mar 2008
Posts: 444

PostPosted: Wed Jul 02, 2008 9:47 am    Post subject: Reply with quote

Well, i got it working. Vbox-modules just re-emerged nicely and have no issues. Solved, i guess.
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