virtualbox-guest kernel module fails to build on 3.7.0 kernel [error: 'VM_RESERVED' undeclared (first use in this function)]

Bug #1076603 reported by psamuel
This bug affects 289 people
Affects Status Importance Assigned to Milestone
virtualbox (Debian)
Fix Released
Unknown
virtualbox (Ubuntu)
Fix Released
High
Unassigned
Nominated for Quantal by Daniel van Vugt
Precise
Fix Released
High
Alberto Milone

Bug Description

Problems on kernel update with virtualbox

English translated error from duplicate bug #1077349:

/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c: In function ‘rtR0MemObjNativeMapUser’:
/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1451:38: error: ‘VM_RESERVED’ undeclared (first use in this function)
/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1451:38: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o] Error 1
make[1]: *** [/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv] Error 2
make: *** [_module_/var/lib/dkms/virtualbox/4.1.18/build] Error 2

ProblemType: Package
DistroRelease: Ubuntu 13.04
Package: virtualbox-guest-dkms 4.1.18-dfsg-1ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
Uname: Linux 3.5.0-18-generic x86_64
ApportVersion: 2.6.2-0ubuntu2
Architecture: amd64
DKMSKernelVersion: 3.7.0-030700rc4-generic
Date: Thu Nov 8 15:38:53 2012
InstallationDate: Installed on 2012-08-31 (68 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120612)
MarkForUpload: True
PackageArchitecture: all
PackageVersion: 4.1.18-dfsg-1ubuntu1
SourcePackage: virtualbox
Title: virtualbox-guest-dkms 4.1.18-dfsg-1ubuntu1: virtualbox-guest kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
psamuel (persaudsamuel) wrote :
tags: removed: need-duplicate-check
summary: virtualbox-guest-dkms 4.1.18-dfsg-1ubuntu1: virtualbox-guest kernel
- module failed to build
+ module failed to build [ error: ‘VM_RESERVED’ no se declaró aquí (primer
+ uso en esta función)]
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: virtualbox-guest-dkms 4.1.18-dfsg-1ubuntu1: virtualbox-guest kernel module failed to build [ error: ‘VM_RESERVED’ no se declaró aquí (primer uso en esta función)]

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in virtualbox (Ubuntu):
status: New → Confirmed
shankao (shankao)
summary: - virtualbox-guest-dkms 4.1.18-dfsg-1ubuntu1: virtualbox-guest kernel
- module failed to build [ error: ‘VM_RESERVED’ no se declaró aquí (primer
- uso en esta función)]
+ virtualbox-guest kernel module fails to build on 3.7.0 kernel
description: updated
description: updated
Changed in virtualbox (Ubuntu):
assignee: nobody → Fabio Marconi (fabiomarconi)
Changed in virtualbox (Ubuntu):
status: Confirmed → In Progress
status: In Progress → Confirmed
assignee: Fabio Marconi (fabiomarconi) → nobody
summary: - virtualbox-guest kernel module fails to build on 3.7.0 kernel
+ virtualbox-guest kernel module fails to build on 3.7.0 kernel [error:
+ 'VM_RESERVED' undeclared (first use in this function)]
Revision history for this message
Felix Geyer (debfx) wrote :

Fixed in 4.1.22-dfsg-0ubuntu1

Changed in virtualbox (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Andrei Emeltchenko (andrei-emeltchenko-finik) wrote :

So id this fixed? It is still not worked with the very latest virtualbox-4.1

/vbox.0/r0drv/linux/memobj-r0drv-linux.c
/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c: In function ‘rtR0MemObjNativeMapUser’:
/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:1451:38: error: ‘VM_RESERVED’ undeclared (first use in this function)
/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:1451:38: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2

~$ apt-cache policy virtualbox-4.1
virtualbox-4.1:
  Installed: 4.1.22-80657~Ubuntu~quantal
  Candidate: 4.1.22-80657~Ubuntu~quantal
  Version table:
 *** 4.1.22-80657~Ubuntu~quantal 0
        500 http://download.virtualbox.org/virtualbox/debian/ quantal/contrib i386 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Felix Geyer (debfx) wrote :

You are using a package from virtualbox.org, not from Ubuntu.

Revision history for this message
shankao (shankao) wrote :

It's fixed for me with the latest linux and virtualbox packages in raring

Revision history for this message
Daniel Stöckner (da567l) wrote :

Not fixed with Precise virtualbox-dkms 4.1.12-dfsg-2ubuntu0.3 and linux-image-generic-lts-raring 3.8.0.27.27

Revision history for this message
Rene Schickbauer (rene-schickbauer) wrote :

Confirm Daniels report. 12.04 LTS is now severly broken and a number of my websites are currently down!

Revision history for this message
Eduar Arley Cardona (eduar47) wrote :

Not fixed for me in 12.04.3 x86-64.

Revision history for this message
Roman Puchkovskiy (roman-puchkovskiy) wrote :

Same for me: virtualbox-dkms does not build in 12.04.3 x86-64.

Revision history for this message
DOA (daoangio) wrote :

I update with the following command Kernell

sudo apt-get install --install-recommends linux-generic-lts-raring xserver-xorg-lts-raring libgl1-mesa-glx-lts-raring

libgl1-mesa-dri-lts-raring libgl1-mesa-dri-lts-raring:i386 libgl1-mesa-glx-lts-raring:i386
After Updating Virtualbox did not work.
But I uninstalled Virtualbox error kept appearing posters, pack what you desistalar hand tube.
 the package "virtualbox-guest-dkms 4.1.18-dfsg-1ubuntu1" had to uninstall it manually.
The problem is when updating the kernel and X.org the Precise to Raring.

Revision history for this message
Artyom Nosov (artyom.nosov) wrote :

The same issue. precise amd64

ii linux-headers-3.8.0-29-generic 3.8.0-29.42~precise1 Linux kernel headers for version 3.8.0 on 64 bit x86 SMP
ii dkms 2.2.0.3-1ubuntu3.1 Dynamic Kernel Module Support Framework
ii virtualbox-dkms 4.1.12-dfsg-2ubuntu0.3 x86 virtualization solution - kernel module sources for dkms

# cat /var/lib/dkms/virtualbox/4.1.12/build/make.log
DKMS make.log for virtualbox-4.1.12 for kernel 3.8.0-29-generic (x86_64)
Wed Sep 4 23:40:25 MSK 2013
make: Entering directory `/usr/src/linux-headers-3.8.0-29-generic'
  LD /var/lib/dkms/virtualbox/4.1.12/build/built-in.o
  LD /var/lib/dkms/virtualbox/4.1.12/build/vboxdrv/built-in.o
  CC [M] /var/lib/dkms/virtualbox/4.1.12/build/vboxdrv/linux/SUPDrv-linux.o
  CC [M] /var/lib/dkms/virtualbox/4.1.12/build/vboxdrv/SUPDrv.o
  CC [M] /var/lib/dkms/virtualbox/4.1.12/build/vboxdrv/SUPDrvSem.o
  CC [M] /var/lib/dkms/virtualbox/4.1.12/build/vboxdrv/r0drv/alloc-r0drv.o
  CC [M] /var/lib/dkms/virtualbox/4.1.12/build/vboxdrv/r0drv/initterm-r0drv.o
  CC [M] /var/lib/dkms/virtualbox/4.1.12/build/vboxdrv/r0drv/memobj-r0drv.o
  CC [M] /var/lib/dkms/virtualbox/4.1.12/build/vboxdrv/r0drv/mpnotification-r0drv.o
  CC [M] /var/lib/dkms/virtualbox/4.1.12/build/vboxdrv/r0drv/powernotification-r0drv.o
  CC [M] /var/lib/dkms/virtualbox/4.1.12/build/vboxdrv/r0drv/linux/assert-r0drv-linux.o
  CC [M] /var/lib/dkms/virtualbox/4.1.12/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.o
  CC [M] /var/lib/dkms/virtualbox/4.1.12/build/vboxdrv/r0drv/linux/initterm-r0drv-linux.o
  CC [M] /var/lib/dkms/virtualbox/4.1.12/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o
/var/lib/dkms/virtualbox/4.1.12/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c: In function ‘rtR0MemObjNativeMapUser’:
/var/lib/dkms/virtualbox/4.1.12/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1451:38: error: ‘VM_RESERVED’ undeclared (first use in this function)
/var/lib/dkms/virtualbox/4.1.12/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1451:38: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [/var/lib/dkms/virtualbox/4.1.12/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o] Error 1
make[1]: *** [/var/lib/dkms/virtualbox/4.1.12/build/vboxdrv] Error 2
make: *** [_module_/var/lib/dkms/virtualbox/4.1.12/build] Error 2
make: Leaving directory `/usr/src/linux-headers-3.8.0-29-generic'

Revision history for this message
Artyom Nosov (artyom.nosov) wrote :

Workaround (precise linux-image 3.8.*)

wget -O /tmp/virtualbox.patch 'http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=99;filename=vbox-wheezy.patch;att=1;bug=696011'
cd /usr/src/virtualbox-4.1.12/
patch -p4 < /tmp/virtualbox.patch
dkms autoinstall

Changed in virtualbox (Debian):
status: Unknown → Confirmed
Revision history for this message
indigocat (indigocat) wrote :

Workaround proposed by artyom.nosov (#13) confirmed to solve the issue.

Revision history for this message
Bruce Gaylord (brucegaylord40) wrote : Re: [Bug 1076603] Re: virtualbox-guest kernel module fails to build on 3.7.0 kernel [error: 'VM_RESERVED' undeclared (first use in this function)]

Sorry I'm new to this bug stuff but virtualbox won't play Windows 8.1 there
is a version 6 out just recent for VMWare that will run Windows 8.1
Just thought I'd pass the information along and save someone the time from
my experience, YMMV.

On Fri, Sep 6, 2013 at 12:36 PM, indigocat <email address hidden> wrote:

> Workaround proposed by artyom.nosov (#13) confirmed to solve the issue.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1218709).
> https://bugs.launchpad.net/bugs/1076603
>
> Title:
> virtualbox-guest kernel module fails to build on 3.7.0 kernel [error:
> 'VM_RESERVED' undeclared (first use in this function)]
>
> Status in “virtualbox” package in Ubuntu:
> Fix Released
> Status in “virtualbox” package in Debian:
> Confirmed
>
> Bug description:
> Problems on kernel update with virtualbox
>
> English translated error from duplicate bug #1077349:
>
>
> /var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:
> In function ‘rtR0MemObjNativeMapUser’:
>
> /var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1451:38:
> error: ‘VM_RESERVED’ undeclared (first use in this function)
>
> /var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1451:38:
> note: each undeclared identifier is reported only once for each function it
> appears in
> make[2]: ***
> [/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o]
> Error 1
> make[1]: *** [/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv] Error 2
> make: *** [_module_/var/lib/dkms/virtualbox/4.1.18/build] Error 2
>
> ProblemType: Package
> DistroRelease: Ubuntu 13.04
> Package: virtualbox-guest-dkms 4.1.18-dfsg-1ubuntu1
> ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
> Uname: Linux 3.5.0-18-generic x86_64
> ApportVersion: 2.6.2-0ubuntu2
> Architecture: amd64
> DKMSKernelVersion: 3.7.0-030700rc4-generic
> Date: Thu Nov 8 15:38:53 2012
> InstallationDate: Installed on 2012-08-31 (68 days ago)
> InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64
> (20120612)
> MarkForUpload: True
> PackageArchitecture: all
> PackageVersion: 4.1.18-dfsg-1ubuntu1
> SourcePackage: virtualbox
> Title: virtualbox-guest-dkms 4.1.18-dfsg-1ubuntu1: virtualbox-guest
> kernel module failed to build
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1076603/+subscriptions
>

Revision history for this message
TEN (launchpad-20-ten) wrote :

Not working for me after "sudo apt-get install linux-generic-lts-raring" on Precise 12.04.3 LTS either:

The "/etc/init.d/vboxdrv setup" demanded by virtualbox rc=1908 does not exist.

"sudo apt-get remove virtualbox-dkms;sudo apt-get install virtualbox-dkms" has been tried to no avail.

"sudo apt-get install linux-headers-`uname -r`" confirms:
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-3.8.0-30-generic is already the newest version.

Artyom Nosov's patch ends as follows:

/usr/src/virtualbox-4.1.12$ sudo dkms autoinstall

Kernel preparation unnecessary for this kernel. Skipping...
Error! The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch. This indicates that it should not be built.

Building module:
cleaning build area....
make KERNELRELEASE=3.8.0-30-generic -C /lib/modules/3.8.0-30-generic/build M=/var/lib/dkms/virtualbox/4.1.12/build.............
cleaning build area....

DKMS: build completed.

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

Confirming that the workaround in #13 solves the issue,
although I also needed a `service virtualbox start` after the proposed commands.

Could someone create a task to have this backported to Precise?

Revision history for this message
TEN (launchpad-20-ten) wrote :

I can now also confirm that the #13 fix does work for me too after invoking "service virtualbox" manually once, as recommended in #17, in spite of the BUILD_EXCLUSIVE error still shown on compile, and even after reboot into kernel 3.8.0-30.
Thanks to both of you for the fix and instructions!
Making this available by default to users in general would be a good idea indeed given the importance of VirtualBox as a factor for running Linux as a host OS in the first place.

shankao (shankao)
tags: added: precise
Changed in virtualbox (Ubuntu Precise):
assignee: nobody → Alberto Milone (albertomilone)
status: New → Triaged
Changed in virtualbox (Ubuntu Precise):
status: Triaged → In Progress
Revision history for this message
Alberto Milone (albertomilone) wrote :

SRU request:

please accept virtualbox_4.1.12-dfsg-2ubuntu0.4 in precise-proposed. It only contains patches to support kernels up to 3.11.

Changed in virtualbox (Ubuntu):
importance: Undecided → High
Changed in virtualbox (Ubuntu Precise):
importance: Undecided → High
Revision history for this message
Alberto Milone (albertomilone) wrote :

SRU request:

[Impact]

 * As a result of this bug, virtualbox-guest-dkms will fail to build the module against linux-generic-lts-raring

[Test Case]

 * Install linux-generic-lts-raring

 * Enable the precise-proposed repository and install virtualbox-guest-dkms (4.1.12-dfsg-2ubuntu0.4).

 * If the package installs without errors from DKMS, then the patches work correctly.

[Regression Potential]

 * The patches that I wrote will preserve the current driver behaviour on linux-generic (3.2) and linux-generic-lts-quantal (3.5), thanks to the use of specific macros in the code which check the kernel version. As a result, no regressions of any kind can be expected on these kernels.

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello psamuel, or anyone else affected,

Accepted virtualbox into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/virtualbox/4.1.12-dfsg-2ubuntu0.4 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in virtualbox (Ubuntu Precise):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Artyom Nosov (artyom.nosov) wrote :

Works well for me.
# dpkg -l | grep virtualbox
ii virtualbox 4.1.12-dfsg-2ubuntu0.4 x86 virtualization solution - base binaries
ii virtualbox-dkms 4.1.12-dfsg-2ubuntu0.4 x86 virtualization solution - kernel module sources for dkms
ii virtualbox-qt 4.1.12-dfsg-2ubuntu0.4 x86 virtualization solution - Qt based user interface
# uname -a
Linux core-i7 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 16:19:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
#

I don't know how to change the tag from verification-needed to verification-done :(.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Jacob Fulton Buckle (jacobafb) wrote :

No longer having this bug in virtualbox.

Revision history for this message
Felix Geyer (debfx) wrote :
Revision history for this message
Alberto Milone (albertomilone) wrote :

Ok, thanks, I'll have a look at the patch and reupload

Revision history for this message
Daniel Stöckner (da567l) wrote :

 4.1.12-dfsg-2ubuntu0.4 and kernel 3.10.13 work great. Thank you!

Revision history for this message
Bruce Gaylord (brucegaylord40) wrote :

GOTO https://www.virtualbox.org/wiki/Linux_Downloads
This version is more up to date.
THEN type
To install a downloaded Debian (Ubuntu) package (.deb): Open Terminal and type
sudo dpkg -i packagename.deb
To remove a Debian (Ubuntu) package (.deb):
sudo dpkg -r packagename
To Reconfigure/Repair an installed Debian (Ubuntu) package (.deb):
sudo dpkg-reconfigure packagename

Revision history for this message
King Salemno (n-king) wrote : Re: [Bug 1076603] Re: virtualbox-guest kernel module fails to build on 3.7.0 kernel [error: 'VM_RESERVED' undeclared (first use in this function)]

Thank you, I appreciate it!

Sincerely,

Кing Ѕalemno
[ Security Analyst ]
[ http://kingsalemno.com ]

On Mon, Sep 30, 2013 at 12:07 PM, Bruce Gaylord
<email address hidden> wrote:
> GOTO https://www.virtualbox.org/wiki/Linux_Downloads
> This version is more up to date.
> THEN type
> To install a downloaded Debian (Ubuntu) package (.deb): Open Terminal and type
> sudo dpkg -i packagename.deb
> To remove a Debian (Ubuntu) package (.deb):
> sudo dpkg -r packagename
> To Reconfigure/Repair an installed Debian (Ubuntu) package (.deb):
> sudo dpkg-reconfigure packagename
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1231950).
> https://bugs.launchpad.net/bugs/1076603
>
> Title:
> virtualbox-guest kernel module fails to build on 3.7.0 kernel [error:
> 'VM_RESERVED' undeclared (first use in this function)]
>
> Status in “virtualbox” package in Ubuntu:
> Fix Released
> Status in “virtualbox” source package in Precise:
> Fix Committed
> Status in “virtualbox” package in Debian:
> Confirmed
>
> Bug description:
> Problems on kernel update with virtualbox
>
> English translated error from duplicate bug #1077349:
>
> /var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c: In function ‘rtR0MemObjNativeMapUser’:
> /var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1451:38: error: ‘VM_RESERVED’ undeclared (first use in this function)
> /var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1451:38: note: each undeclared identifier is reported only once for each function it appears in
> make[2]: *** [/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o] Error 1
> make[1]: *** [/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv] Error 2
> make: *** [_module_/var/lib/dkms/virtualbox/4.1.18/build] Error 2
>
> ProblemType: Package
> DistroRelease: Ubuntu 13.04
> Package: virtualbox-guest-dkms 4.1.18-dfsg-1ubuntu1
> ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
> Uname: Linux 3.5.0-18-generic x86_64
> ApportVersion: 2.6.2-0ubuntu2
> Architecture: amd64
> DKMSKernelVersion: 3.7.0-030700rc4-generic
> Date: Thu Nov 8 15:38:53 2012
> InstallationDate: Installed on 2012-08-31 (68 days ago)
> InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120612)
> MarkForUpload: True
> PackageArchitecture: all
> PackageVersion: 4.1.18-dfsg-1ubuntu1
> SourcePackage: virtualbox
> Title: virtualbox-guest-dkms 4.1.18-dfsg-1ubuntu1: virtualbox-guest kernel module failed to build
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1076603/+subscriptions

Revision history for this message
Alberto Milone (albertomilone) wrote :

SRU team, please accept virtualbox (4.1.12-dfsg-2ubuntu0.5) into precise-proposed. It contains the latest upstream patch which is also used in Debian.

Revision history for this message
hjv (jue-voi) wrote : AW: [Bug 1076603] Re: virtualbox-guest kernel module fails to build on 3.7.0 kernel [error: 'VM_RESERVED' undeclared (first use in this function)]

ok! Thank you. Bug fixed.

> -----Ursprüngliche Nachricht-----
> Von: <email address hidden> [mailto:<email address hidden>] Im Auftrag von Alberto
> Milone
> Gesendet: Dienstag, 1. Oktober 2013 13:54
> An: <email address hidden>
> Betreff: [Bug 1076603] Re: virtualbox-guest kernel module fails to build on 3.7.0 kernel
> [error: 'VM_RESERVED' undeclared (first use in this function)]
>
> SRU team, please accept virtualbox (4.1.12-dfsg-2ubuntu0.5) into precise-proposed. It
> contains the latest upstream patch which is also used in Debian.
>
> --
> You received this bug notification because you are subscribed to a duplicate bug report
> (1232776).
> https://bugs.launchpad.net/bugs/1076603
>
> Title:
> virtualbox-guest kernel module fails to build on 3.7.0 kernel [error:
> 'VM_RESERVED' undeclared (first use in this function)]
>
> Status in “virtualbox” package in Ubuntu:
> Fix Released
> Status in “virtualbox” source package in Precise:
> Fix Committed
> Status in “virtualbox” package in Debian:
> Confirmed
>
> Bug description:
> Problems on kernel update with virtualbox
>
> English translated error from duplicate bug #1077349:
>
> /var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c: In
> function ‘rtR0MemObjNativeMapUser’:
> /var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/r0drv/linux/memobj-r0drv-
> linux.c:1451:38: error: ‘VM_RESERVED’ undeclared (first use in this function)
> /var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/r0drv/linux/memobj-r0drv-
> linux.c:1451:38: note: each undeclared identifier is reported only once for each function it
> appears in
> make[2]: *** [/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/r0drv/linux/memobj-r0drv-
> linux.o] Error 1
> make[1]: *** [/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv] Error 2
> make: *** [_module_/var/lib/dkms/virtualbox/4.1.18/build] Error 2
>
> ProblemType: Package
> DistroRelease: Ubuntu 13.04
> Package: virtualbox-guest-dkms 4.1.18-dfsg-1ubuntu1
> ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
> Uname: Linux 3.5.0-18-generic x86_64
> ApportVersion: 2.6.2-0ubuntu2
> Architecture: amd64
> DKMSKernelVersion: 3.7.0-030700rc4-generic
> Date: Thu Nov 8 15:38:53 2012
> InstallationDate: Installed on 2012-08-31 (68 days ago)
> InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120612)
> MarkForUpload: True
> PackageArchitecture: all
> PackageVersion: 4.1.18-dfsg-1ubuntu1
> SourcePackage: virtualbox
> Title: virtualbox-guest-dkms 4.1.18-dfsg-1ubuntu1: virtualbox-guest kernel module
> failed to build
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1076603/+subscriptions

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello psamuel, or anyone else affected,

Accepted virtualbox into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/virtualbox/4.1.12-dfsg-2ubuntu0.5 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: removed: verification-done
tags: added: verification-needed
Revision history for this message
madmaze (matthias-a-lee) wrote :

I just tested it, seems to work for me. Thanks

Changing tag to verification-done

tags: added: verification-done
removed: verification-needed
Revision history for this message
Matt Joiner (anacrolix) wrote :

4.1.12-dfsg-2ubuntu0.5 fixes for me.

Revision history for this message
William Demchick (demchick) wrote :

4.1.12-dfsg-2ubuntu0.5 builds and seems to function for me.

Revision history for this message
Salah Messaoud (drupalizer) wrote :

the latest version from official website works perfect for me

Revision history for this message
Rich Wales (richw) wrote :

Version 4.1.2-dfsg-2ubuntu0.5 (from precise-proposed) works for me.
uname -a output: Linux liberation 3.8.0-31-generic #46~precise1-Ubuntu SMP Wed Sep 11 18:21:16 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Colin Watson (cjwatson) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package virtualbox - 4.1.12-dfsg-2ubuntu0.5

---------------
virtualbox (4.1.12-dfsg-2ubuntu0.5) precise-proposed; urgency=low

  * Update the patch for Linux 3.11 with a more complete
    implementation (LP: #1076603).
 -- Alberto Milone <email address hidden> Mon, 30 Sep 2013 10:54:27 +0200

Changed in virtualbox (Ubuntu Precise):
status: Fix Committed → Fix Released
Changed in virtualbox (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.