Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
ToZOffline
Post subject: [Solved] Virtualbox and Latest Kernel Upgrade  PostPosted: 21.10.2010, 04:19



Joined: 2010-09-11
Posts: 26
Location: Toronto, Ontario, Canada
Status: Offline
I just installed the latest kernel (2.6.36-0.slh.1-aptosid-686) and now my Virtualbox VMs won't start (error="Kernel driver not installed rc=.1908"). As per normal procedure when upgrading the kernel, I run /etc/init.d/vboxdrv setup, but this time I get:

Makefile:170: *** Error: /usr/src/linux (version init/Kconfig:1148: can't open file "arch/Kconfig" 2.6.36) does not match the current kernel (version 2.6.36-0.slh.1-aptosid-686). Stop.

Using virtualbox 3.2.10 r66523 (non-OSE version).


      Code:
Host/Kernel/OS  "hypnos" running Linux 2.6.36-0.slh.1-aptosid-686 i686 [ sidux 2010-01 Ύπνος - xfce - (201006131622) ]
CPU Info        (1) Intel Core2 Duo T9300 @ 6144 KB cache flags( sse3 ht nx lm vmx ) clocked at [ 2500.000 MHz ]
                (2) Intel Core2 Duo T9300 @ 6144 KB cache flags( sse3 ht nx lm vmx ) clocked at [ 2501.000 MHz ]
Videocard       ATI M76 [Radeon Mobility HD 2600 Series]  X.Org 1.7.7  [ 1680x1050@60.0hz ]
Network cards   Intel 82566MM Gigabit
                Intel PRO/Wireless 4965 AG or AGN [Kedron]
Processes 136 | Uptime 11min | Memory 234.5/3041.9MB | HDD ST9500420AS Size 500GB (36%used) | GLX Renderer Mesa DRI R600 (RV630 9581) 20090101 x86/MMX/SSE2 TCL | GLX Version 1.5 Mesa 7.7.1 | Client Shell | Infobash v3.34


Any help appreciated.
Thanks
/ToZ


Last edited by ToZ on 29.10.2010, 10:43; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
towoOffline
Post subject: RE: Virtualbox and Latest Kernel Upgrade  PostPosted: 21.10.2010, 05:08



Joined: 2010-09-13
Posts: 497
Location: Pößneck / Thüringen
Status: Offline
The only way, is editing the Makefiles in /usr/share/virtualbox/src/vboxdrv, /usr/share/virtualbox/src/vboxnetadp and
/usr/share/virtualbox/src/vboxnetflt.
In these files you must comment out or delete the following:
      Code:

   ifneq ($(VBOX_KERN_VER),$(shell uname -r))                                                                                               
    $(error Error: /usr/src/linux (version $(VBOX_KERN_VER)) does not match \                                                               
                   the current kernel (version $(shell uname -r)))                                                                         
   endif

After that, the modules build without problem.
 
 View user's profile Send private message  
Reply with quote Back to top
ToZOffline
Post subject: RE: Virtualbox and Latest Kernel Upgrade  PostPosted: 21.10.2010, 10:48



Joined: 2010-09-11
Posts: 26
Location: Toronto, Ontario, Canada
Status: Offline
Thanks towo, this worked.
 
 View user's profile Send private message  
Reply with quote Back to top
devilOffline
Post subject: RE: Virtualbox and Latest Kernel Upgrade  PostPosted: 21.10.2010, 11:33



Joined: 2010-08-26
Posts: 491
Location: Berlin
Status: Offline
not a aptosid bug report for 2 reasons: no bug in the release and proprietary software involved.
moved.

greetz
devil
 
 View user's profile Send private message  
Reply with quote Back to top
RaelelectricOffline
Post subject:   PostPosted: 29.10.2010, 05:19



Joined: 2010-09-12
Posts: 1
Location: Florida, USA
Status: Offline
Just a quick note, the OSE version in the repositories now has the guest additions. Version 3.2.10.

It does everything I needed in the non open version and installs easily from apt-get, no patching makefiles.
 
 View user's profile Send private message  
Reply with quote Back to top
ikeinthaiOffline
Post subject: quick build.  PostPosted: 29.10.2010, 16:07



Joined: 2010-09-22
Posts: 119
Location: bigannastybkk
Status: Offline
you will have to build the modules for each new kernel:

      Code:
m-a a-i virtualbox-ose


they are loaded automatically.

all the best, ike.

_________________
aptosid: magic in action, the point of the spear. bleedin pearls before swine? lets hope not. freesoftware/freedomsoftware=a chance at freedom. participants, engage your vehicle. . . avatar by zenren
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
snvvOffline
Post subject:   PostPosted: 29.10.2010, 22:51



Joined: 2010-09-13
Posts: 291

Status: Offline
In aptosid 64 bit with latest kernel & latest non-OSE Vbox no problems observed.
 
 View user's profile Send private message  
Reply with quote Back to top
leoshareOffline
Post subject:   PostPosted: 02.11.2010, 11:56



Joined: 2010-11-02
Posts: 10
Location: Brazil
Status: Offline
I'd the same problem reported in this topic with non-OSE VirtualBox.
To resolve the issue I just installed the DKMS module(dkms package).

Regards
 
 View user's profile Send private message  
Reply with quote Back to top
devilOffline
Post subject:   PostPosted: 02.11.2010, 12:03



Joined: 2010-08-26
Posts: 491
Location: Berlin
Status: Offline
we use dmakms instead of dkms.

greetz
devil
 
 View user's profile Send private message  
Reply with quote Back to top
slamOffline
Post subject:   PostPosted: 02.11.2010, 12:07
Team Member


Joined: 1970-01-01
Posts: 607
Location: w3
Status: Offline
For auto-building the non-ose kernel module for every new kernel, Mr. Klijn's little hack at http://aptosid.com/index.php?name=PNphp ... &t=200 works flawlessly. And yes, get rid of dkms, dmakms is definitely our tool of choice.
Greetings,
Chris

_________________
an operating system must operate
development is life
my Debian repo
 
 View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number 
Reply with quote Back to top
slamOffline
Post subject:   PostPosted: 02.11.2010, 12:09
Team Member


Joined: 1970-01-01
Posts: 607
Location: w3
Status: Offline
      Raelelectric wrote:
Just a quick note, the OSE version in the repositories now has the guest additions. Version 3.2.10.

It does everything I needed in the non open version and installs easily from apt-get, no patching makefiles.
There are still differences to the non-ose guest additions, so evaluate if the ose version really does what you expect (e.g. full speed USB support).
Greetings,
Chris

_________________
an operating system must operate
development is life
my Debian repo
 
 View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number 
Reply with quote Back to top
DeepDayzeOffline
Post subject:   PostPosted: 04.11.2010, 00:12



Joined: 2010-09-11
Posts: 616
Location: USA
Status: Offline
      devil wrote:
we use dmakms instead of dkms.

greetz
devil


Are the bugs with dmakms fixed to make it worth the switch from dkms?

The one big killer with dmakms was that it builds modules every boot, which was not the intended thing.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio