VirtualBox

Ticket #7665 (closed defect: worksforme)

Opened 3 years ago

Last modified 3 years ago

DKMS ...failed! - Token too long

Reported by: graham Owned by:
Priority: blocker Component: installer
Version: VirtualBox 3.2.10 Keywords:
Cc: Guest type: other
Host type: Linux

Description (last modified by frank) (diff)

See first comment.

Attachments

vbox-install.log Download (35.6 KB) - added by graham 3 years ago.
vbox-install.log
vboxadd-install.log Download (149.0 KB) - added by graham 3 years ago.
New log after reinstall of kernel and virtualbox

Change History

Changed 3 years ago by graham

vbox-install.log

comment:1 Changed 3 years ago by graham

Linux graham-netbook 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC 2010 i686 GNU/Linux
graham@graham-netbook:~/Desktop$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 10.10
Release:        10.10
Codename:       maverick
graham@graham-netbook:~/Desktop$ sh VirtualBox-3.2.10-66896-Linux_x86.run --info
Identification: VirtualBox for Linux installation
Target directory: install
Uncompressed size: 54952 KB
Compression: none
Date of packaging: Thu Oct 21 18:56:15 CEST 2010
Built with Makeself version 2.1.5 on linux-gnu
Build command was: /home/vbox/tinderbox/3.2-lnx32-rel/tools/common/makeself/v2.1.5/makeself.sh \
    "--follow" \
    "--nocomp" \
    "/home/vbox/tinderbox/3.2-lnx32-rel/out/linux.x86/release/obj/Installer/linux/install" \
    "/home/vbox/tinderbox/3.2-lnx32-rel/out/linux.x86/release/bin/VirtualBox-3.2.10-r66896.run" \
    "VirtualBox for Linux installation" \
    "./install.sh" \
    "VirtualBox-3.2.10-66896-Linux_x86.run 1> /dev/null"
Script run after extraction:
     ./install.sh VirtualBox-3.2.10-66896-Linux_x86.run 1> /dev/null
install will be removed after extraction

Also installed OSE and from repository.

All give the same bug.

comment:2 Changed 3 years ago by graham

graham@graham-netbook:~/Desktop$ sudo /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modules ...done.
Trying to register the VirtualBox kernel modules using DKMS ...failed!
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules ...failed!
  (Look at /var/log/vbox-install.log to find out what went wrong)

Just in case it wasn't obvious

 .....v/.tmp_alloc-r0drv.o /tmp/vbox.0/r0drv/alloc-r0drv.c
Token too long
make[2]: *** [/tmp/vbox.0/r0drv/alloc-r0drv.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2

comment:3 Changed 3 years ago by graham

Nearest google I got was:

 http://gcc.gnu.org/ml/gcc-bugs/2000-08/msg00332.html

"token too long" errors building 2.95.2 with native CX/UX C compiler

comment:4 Changed 3 years ago by frank

  • Description modified (diff)

comment:5 Changed 3 years ago by graham

May well have been something I was doing.

After reinstalling linux-image, linux-headers, linux-source and all virtualbox from the ".bin", then rebooting:

root@graham-netbook:~# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modules ...done.
Trying to register the VirtualBox kernel modules using DKMS ...failed!
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules ...done.
Starting VirtualBox kernel modules ...done.

New log posted for completeness

Changed 3 years ago by graham

New log after reinstall of kernel and virtualbox

comment:6 Changed 3 years ago by frank

  • Status changed from new to closed
  • Resolution set to worksforme

So it works now for you, right? I assume that there was some problem in your Linux tree because this bcc error message is very unusual and does only happen if the compiler found some really strange problem in the sources. The DKMS failed is only a warning, you can ignore it. However, I suggest you to install DKMS (apt-get install dkms) as this will ensure that the VBox modules are re-compiled if the kernel is updated.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use