Page 1 of 1

2.0.2 Fedora error compiling kernel module, "Spawning S

Posted: 19. Sep 2008, 21:57
by amitkher
I searched this forum, found some similar posts but none had answers that solved my problem. Installation of VirtualBox-2.0.2_36488_fedora9-1.i386.rpm succeeds:

Code: Select all

# rpm -Uvh VirtualBox-2.0.2_36488_fedora9-1.i386.rpm
Preparing...                ########################################### [100%]
   1:VirtualBox             ########################################### [100%]

Creating group 'vboxusers'. VM users must be member of that group!

No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.

Success!
But after installation when I run VirtualBox and open a VM that was created with VirtualBox1.6, it gets stuck at "Spawning Session", much like http://forums.virtualbox.org/viewtopic.php?t=9693. When I looked at /var/log/vbox-install.log, the compilation had in fact failed though reported as Success!. Last few lines of this file are:

Code: Select all

(cat /dev/null;   echo kernel//tmp/vbox.0/vboxdrv.ko;) > /tmp/vbox.0/modules.order
  Building modules, stage 2.
make -f /usr/src/kernels/2.6.25.3-18.fc9.i686/scripts/Makefile.modpost
  scripts/mod/modpost  -a -i /usr/src/kernels/2.6.25.3-18.fc9.i686/Module.symvers -I /tmp/vbox.0/Module.symvers -o /tmp/vbox.0/Module.symvers -S -K /usr/src/kernels/2.6.25.3-18.fc9.i686/Module.markers -M /tmp/vbox.0/Module.markers -w  -s
make[1]: Leaving directory `/usr/src/kernels/2.6.25.3-18.fc9.i686'
install: cannot stat `vboxdrv.ko': No such file or directory
As suggested in the above thread, I looked in help, section 2.3.2, ran

Code: Select all

/etc/init.d/vboxdrv setup
but again the same error. Output is like

Code: Select all

Stopping VirtualBox kernel module                          [  OK  ]
Recompiling VirtualBox kernel module                       [  OK  ]
Starting VirtualBox kernel module                          [FAILED]
  (No suitable module for running kernel found)
Kernel version is : 2.6.25.3-18.fc9.i686

I can neither run a newly created VM, nor run an old one. Both kinds get stuck at "Spawning session"

thanks

Posted: 20. Sep 2008, 18:43
by amitkher
Has anyone been able to compile the kernel module for virtualbox 2.0.2 ?

Posted: 20. Sep 2008, 20:21
by Sasquatch
amitkher wrote:Has anyone been able to compile the kernel module for virtualbox 2.0.2 ?
About everyone on Linux with 2.0.2, as you are one of the first to report this. I had no problems with Ubuntu 8.04.