Jump to content

kernel-desktop586-2.6.29-0.rc5.1mnb and vboxdrv


viking777
 Share

Recommended Posts

Can anyone tell me why every time I boot kernel-desktop586-2.6.29-0.rc5.1mnb it tries to install vboxdrv and fails?

 

I ran

/etc/init.d/vboxdrv setup

In a terminal and go the following error:

 

Building module:
cleaning build area....
make KERNELRELEASE=2.6.29-desktop586-0.rc5.1mnb -C /lib/modules/2.6.29-desktop586-0.rc5.1mnb/build M=/var/lib/dkms/vboxdrv/2.0.4/build....(bad exit status: 2)

Error! Bad return status for module build on kernel: 2.6.29-desktop586-0.rc5.1mnb (i586)
Consult the make.log in the build directory
/var/lib/dkms/vboxdrv/2.0.4/build/ for more information.
Failed to install using DKMS, attempting to install without
Makefile:153: *** Error: /usr/src/linux (version 2.6.29-0.rc5.1mnbcustom) does not match the current kernel (version 2.6.29-desktop586-0.rc5.1mnb).  Stop.

 

There is no such folder as /usr/src/linux/2.6.29-0.rc5.1mnbcustom so why is it looking for a makefile in a non-existant folder?

 

As the error suggested I also looked in /var/lib/dkms/vboxdrv/2.0.4/build and it says:

 

DKMS make.log for vboxdrv-2.0.4 for kernel 2.6.29-desktop586-0.rc5.1mnb (i586)
Tue Mar  3 10:23:34 GMT 2009
make: Entering directory `/usr/src/linux-2.6.29-0.rc5.1mnb'

 WARNING: Symbol version dump /usr/src/linux-2.6.29-0.rc5.1mnb/Module.symvers
	   is missing; modules will have no dependencies and modversions.

 LD	  /var/lib/dkms/vboxdrv/2.0.4/build/built-in.o
 CC [M]  /var/lib/dkms/vboxdrv/2.0.4/build/linux/SUPDrv-linux.o
/var/lib/dkms/vboxdrv/2.0.4/build/linux/SUPDrv-linux.c: In function ‘VBoxDrvLinuxCreate’:
/var/lib/dkms/vboxdrv/2.0.4/build/linux/SUPDrv-linux.c:650: error: ‘struct task_struct’ has no member named ‘euid’
/var/lib/dkms/vboxdrv/2.0.4/build/linux/SUPDrv-linux.c:663: error: ‘struct task_struct’ has no member named ‘uid’
/var/lib/dkms/vboxdrv/2.0.4/build/linux/SUPDrv-linux.c:664: error: ‘struct task_struct’ has no member named ‘gid’
make[1]: *** [/var/lib/dkms/vboxdrv/2.0.4/build/linux/SUPDrv-linux.o] Error 1
make: *** [_module_/var/lib/dkms/vboxdrv/2.0.4/build] Error 2
make: Leaving directory `/usr/src/linux-2.6.29-0.rc5.1mnb'

 

Does that mean there is some kind of error in these kernel-sources?

 

I don't know enough about it to work that out.

Link to comment
Share on other sites

There are two related tickets about the issue at Sun:

http://www.virtualbox.org/ticket/3403

http://www.virtualbox.org/ticket/3333

...and probably, a patch for the issue at VirtualBox forums.

http://forums.virtualbox.org/viewtopic.php?t=12854

I cannot know the exact reason, or if the patch is working, as I'm still on 2.6.28 and I'm currently using VMWare. To be fair, VMWare has similar, and usually more difficult to resolve, issues after every major kernel update.

Link to comment
Share on other sites

Hey scarecrow, I would like to thank you very much for looking into that for me. Obviously it is not just a problem for me. I have no idea how to apply the patch you linked to, and it doesn't really matter that much, the point of the post was firstly to see if it was solely my problem, which it obviously isn't, and secondly to ascertain if there was a problem with the kernel files themselves, which there may well be, but at least if that is the case it hasn't gone unnoticed.

 

Thanks again.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...