Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
manulOffline
15 Post subject: [Solved] virtualbox fails to build for 3.13 kernels  PostPosted: 07.02.2014, 16:25



Joined: 2010-09-13
Posts: 96

Status: Offline
Virtualbox (OSE) fails to build for 3.13 kernels.

      Code:
root@siduxbox:/home/manul# apt-cache policy virtualbox
virtualbox:
  Installed: 4.3.2-dfsg-1+b1
  Candidate: 4.3.2-dfsg-1+b1
  Version table:
 *** 4.3.2-dfsg-1+b1 0
        500 http://ftp.us.debian.org/debian/ sid/contrib amd64 Packages
        100 /var/lib/dpkg/status
root@siduxbox:/home/manul# apt-cache policy virtualbox-dkms
virtualbox-dkms:
  Installed: 4.3.2-dfsg-1
  Candidate: 4.3.2-dfsg-1
  Version table:
 *** 4.3.2-dfsg-1 0
        500 http://ftp.us.debian.org/debian/ sid/contrib amd64 Packages
        100 /var/lib/dpkg/status
root@siduxbox:/home/manul# apt-cache policy dkms
dkms:
  Installed: 2.2.0.3-1.2
  Candidate: 2.2.0.3-1.2
  Version table:
 *** 2.2.0.3-1.2 0
        500 http://ftp.us.debian.org/debian/ sid/main amd64 Packages
        100 /var/lib/dpkg/status
root@siduxbox:/home/manul#



The build log (for latest 3.13-2.slh.2-aptosid-amd64 kernel) shows:

      Code:
root@siduxbox:/home/manul# cat /var/lib/dkms/virtualbox/4.3.2/build/make.log
DKMS make.log for virtualbox-4.3.2 for kernel 3.13-2.slh.2-aptosid-amd64 (x86_64)
Fri Feb  7 10:56:20 EST 2014
make: Entering directory `/usr/src/linux-headers-3.13-2.slh.2-aptosid-amd64'
  LD      /var/lib/dkms/virtualbox/4.3.2/build/built-in.o
  LD      /var/lib/dkms/virtualbox/4.3.2/build/vboxdrv/built-in.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.2/build/vboxdrv/linux/SUPDrv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.2/build/vboxdrv/SUPDrv.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.2/build/vboxdrv/SUPDrvSem.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.2/build/vboxdrv/SUPDrvTracer.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.2/build/vboxdrv/r0drv/alloc-r0drv.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.2/build/vboxdrv/r0drv/initterm-r0drv.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.2/build/vboxdrv/r0drv/memobj-r0drv.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.2/build/vboxdrv/r0drv/mpnotification-r0drv.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.2/build/vboxdrv/r0drv/powernotification-r0drv.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.2/build/vboxdrv/r0drv/linux/assert-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.2/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.2/build/vboxdrv/r0drv/linux/initterm-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.2/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o
/var/lib/dkms/virtualbox/4.3.2/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c: In function ‘rtR0MemObjNativeMapUser’:
/var/lib/dkms/virtualbox/4.3.2/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1539:26: error: ‘struct mm_struct’ has no member named ‘numa_next_reset’
                 pTask->mm->numa_next_reset = jiffies + 0x7fffffffffffffffUL;
                          ^
make[2]: *** [/var/lib/dkms/virtualbox/4.3.2/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o] Error 1
make[1]: *** [/var/lib/dkms/virtualbox/4.3.2/build/vboxdrv] Error 2
make: *** [_module_/var/lib/dkms/virtualbox/4.3.2/build] Error 2
make: Leaving directory `/usr/src/linux-headers-3.13-2.slh.2-aptosid-amd64'
root@siduxbox:/home/manul#


I think the bug is already reported here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734340


Is there a better way for "following up" as to when the issue will be resolved; rather than trying kernel update every time - and then revert back to the old kernel when it fails?

Thanks,
manul


Last edited by manul on 14.02.2014, 20:27; edited 2 times in total
 
 View user's profile Send private message  
Reply with quote Back to top
towoOffline
Post subject: RE: virtualbox fails to build for 3.13 kernels  PostPosted: 07.02.2014, 17:15



Joined: 2010-09-13
Posts: 497
Location: Pößneck / Thüringen
Status: Offline
Use the recent package from oracle instead of the debian package and it will work on 3.13.
 
 View user's profile Send private message  
Reply with quote Back to top
DonKultOffline
Post subject: Re: virtualbox fails to build for 3.13 kernels  PostPosted: 09.02.2014, 11:33
Team Member


Joined: 2010-09-02
Posts: 481

Status: Offline
      manul wrote:
Is there a better way for "following up" as to when the issue will be resolved; rather than trying kernel update every time - and then revert back to the old kernel when it fails?


General hint:

On each bug page is a link named "subscribe". It is an email address you can write to (subject and body of the mail are not important, leave empty if you wish/your client allows).
A machine will answer you asking you to confirm with another mail that you really want to subscribe to the bugreport.

If you reply to that (again, subject and body are not important, but the mailaddress you reply to is!) the machine will subscribe you meaning that every mail to the bugreport is sent to you, too. If a bug is fixed you will get a "… marked as done" mail.

_________________
MfG. DonKult
"I never make stupid mistakes. Only very, very clever ones." ~ The Doctor
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
manulOffline
Post subject: RE: Re: virtualbox fails to build for 3.13 kernels  PostPosted: 09.02.2014, 16:06



Joined: 2010-09-13
Posts: 96

Status: Offline
DonKult - thanks!
 
 View user's profile Send private message  
Reply with quote Back to top
LatOffline
Post subject: RE: Re: virtualbox fails to build for 3.13 kernels  PostPosted: 13.02.2014, 21:27



Joined: 2010-09-19
Posts: 162

Status: Offline
The modules can be built with new kernel and Debian Virtualbox packages
      Code:
 modinfo vboxdrv
filename:       /lib/modules/3.13-2.slh.4-aptosid-amd64/updates/dkms/vboxdrv.ko
version:        4.3.6_Debian (0x001a0007)
license:        GPL
description:    Oracle VM VirtualBox Support Driver
author:         Oracle Corporation
srcversion:     4A0F8546956054C03A17186
depends:
vermagic:       3.13-2.slh.4-aptosid-amd64 SMP preempt mod_unload modversions
parm:           force_async_tsc:force the asynchronous TSC mode (int)
 
 View user's profile Send private message  
Reply with quote Back to top
manulOffline
Post subject: RE: Re: virtualbox fails to build for 3.13 kernels  PostPosted: 14.02.2014, 20:26



Joined: 2010-09-13
Posts: 96

Status: Offline
Yes, with new 4.3.6 virtualbox in repos, this is now fixed.
 
 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