Error Dkms Tree Already Contains
Opened 3 years ago Last modified 8 weeks ago VBoxDrv 4.3.2 does compile on linux 3.11.6 Reported by: basos Owned by: Priority: major Component: other Version: VirtualBox 4.3.2 Keywords: linux 3.11.6, vboxdrv Cc: Guest type: other Host type: Linux Description The compilation of vboxdrv with the command /etc/init.d/vboxdrv setup fails on linux debian jessie, kernel 3.11.6. Last lines shown here, full log attached /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c: In function ‘rtR0MemObjLinuxDoMmap’: /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:216:9: error: implicit declaration of function ‘do_mmap’ [-Werror=implicit-function-declaration] ulAddr = do_mmap(NULL, R3PtrFixed, cb, fLnxProt, MAP_SHARED | MAP_ANONYMOUS | MAP_FIXED, 0); ^ /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c: In function ‘rtR0MemObjNativeMapUser’: /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:1465:38: error: ‘VM_RESERVED’ undeclared (first use in this function) vma->vm_flags |= VM_RESERVED; ^ /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:1465:38: note: each undeclared identifier is reported only once for each function it appears in cc1: some warnings being treated as errors Attachments vbox-install.log (26.4 KB) - added by basos 3 years ago. Vboxdrv compile log tmp_memobj-r0drv-linux.i.gz (467.6 KB) - added by basos 3 years ago. do_dkms.patch (673 bytes) - added by basos 3 years ago. Fix do_dkms script-compile when dkms module has already been added Change History Changed 3 years ago by basos attachment vbox-install.log added Vboxdrv compile log comment:1 Changed 3 years ago by frank Which kernel packages do you have installed and where did you get them from? Current Debian/unstable does not ship kernel packages with 3.11.6 kernels AFAICS. comment:2 Changed 3 years ago by basos Yes, indeed. This is the latest released stable kernel (not included in Debian). In my case it is a custom build, with sources obtained from the tuxonice repository. comment:3 Changed 3 years ago by frank Then I would suggest to check these packages. The way we compile the VBox kernel modules is the normal way to compile 3rd-party modules. And it works for all kind of modules. The error comes from a wrong kernel version. The header file
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; https://www.virtualbox.org/ticket/12295?cversion=0&cnum_hist=8 it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Can't update Nvidia driver and having error near the end of the installation up vote 1 down vote favorite I had just got Ubuntu (first timer http://askubuntu.com/questions/196973/cant-update-nvidia-driver-and-having-error-near-the-end-of-the-installation to Ubuntu so be very descriptive). I think there a problem with my Nvida update it won't let me update it. This is the name of the update in update manager NVIDIA binary xorg driver, kernel module and VDPAU library. When i attempt to install it, it starts out fine but near the end i get a window titaled package operation failed with these under the details installArchives() failed: Setting up nvidia-current (295.40-0ubuntu1) ... update-initramfs: deferring update (trigger activated) INFO:Enable nvidia-current DEBUG:Parsing /usr/share/nvidia-common/quirks/put_your_quirks_here DEBUG:Parsing /usr/share/nvidia-common/quirks/dell_latitude DEBUG:Parsing /usr/share/nvidia-common/quirks/lenovo_thinkpad DEBUG:Processing quirk Latitude E6530 DEBUG:Failure to match Gigabyte Technology Co., Ltd. with Dell Inc. DEBUG:Quirk doesn't match DEBUG:Processing quirk ThinkPad T420s DEBUG:Failure to match Gigabyte Technology Co., Ltd. with LENOVO DEBUG:Quirk doesn't match Removing old nvidia-current-295.40 DKMS files... Loading new nvidia-current-295.40 DKMS files... Error! DKMS tree already contains: nvidia-current-295.40 You cannot add the same module/version combo more than once. dpkg: error processing nvidia-current (--configure): subprocess installed post-installation script returned error exit status 3 Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.
från GoogleLogga inDolda fältSök efter grupper eller meddelanden
is a duplicate of: Bug #463429: [Jaunty, Karmic SRU] openafs-modules-dkms' postinst fails repeatedly when headers missing. Edit Remove 6 This bug affects 1 person Affects Status Importance Assigned to Milestone openafs (Ubuntu) Edit New Undecided Unassigned Edit Also affects project (?) Also affects distribution/package Nominate for series Bug Description Todays upgrade to linux 2.6.31-15 image + headers + openafs 1.4.11+dfsg-1+ubuntu0.1 failed: Short log of apt-get dist-upgrade ... Setting up linux-image-2.6.31-15-generic (2.6.31-15.50) ... Running depmod. update-initramfs: Generating /boot/initrd.img-2.6.31-15-generic Running postinst hook script /usr/sbin/update-grub. Generating grub.cfg ... Found linux image: /boot/vmlinuz-2.6.31-15-generic Found initrd image: /boot/initrd.img-2.6.31-15-generic Found linux image: /boot/vmlinuz-2.6.31-14-generic Found initrd image: /boot/initrd.img-2.6.31-14-generic Found memtest86+ image: /boot/memtest86+.bin done Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/dkms * Running DKMS auto installation service for kernel 2.6.31-15-generic * openafs (1.4.11)... openafs (1.4.11): Installing module. ................................. ...... [ OK ] run-parts: executing /etc/kernel/postinst.d/nvidia-common [...] Setting up openafs-modules-dkms (1.4.11+dfsg-1+ubuntu0.1) ... Error! DKMS tree already contains: openafs-1.4.11 You cannot add the same module/version combo more than once. dpkg: error processing openafs-modules-dkms (--configure): subprocess installed post-installation script returned error exit status 3 Longer apt-get dist-upgrade log appended. Achim ProblemType: Bug Architecture: amd64 Date: Thu Nov 26 11:14:33 2009 DistroRelease: Ubuntu 9.10 NonfreeKernelModules: openafs Package: openafs-modules-dkms 1.4.11+dfsg-1+ubuntu0.1 ProcEnviron: LANGUAGE= PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 2.6.31-14.48-generic SourcePackage: openafs Uname: Linux 2.6.31-14-generic x86_64 Tags: amd64 apport-bug Edit Tag help Achim Bohnet (allee) wrote on 2009-11-26: #1 apt-get dist-upgrade log Edit (19.4 KiB, text/plain) Dependencies.txt Edit (845 bytes, text/plain; charset="utf-8") XsessionErrors.txt Edit (38.4 KiB, text/plain; charset="utf-8") Achim Bohnet (allee) wrote on 2009-11-26: #2 Are you sure it's a duplicate? I've seen the 'missing header' bugreport, I checked I had the headers of the running (-14) and the newly installed kernel (-15). Both are installed: [0]root@allee:~# dpkg -l linu