VirtualBox

Opened 13 years ago

Closed 13 years ago

#7665 closed defect (worksforme)

DKMS ...failed! - Token too long

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

Description (last modified by Frank Mehnert)

See first comment.

Attachments (2)

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

Download all attachments as: .zip

Change History (8)

by graham, 13 years ago

Attachment: vbox-install.log added

vbox-install.log

comment:1 by graham, 13 years ago

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 by graham, 13 years ago

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 by graham, 13 years ago

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 by Frank Mehnert, 13 years ago

Description: modified (diff)

comment:5 by graham, 13 years ago

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

by graham, 13 years ago

Attachment: vboxadd-install.log added

New log after reinstall of kernel and virtualbox

comment:6 by Frank Mehnert, 13 years ago

Resolution: worksforme
Status: newclosed

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.

© 2023 Oracle
ContactPrivacy policyTerms of Use