This is the old SliTaz forum - Please use the main forum.slitaz.org

cant use virtualbox
  • deadwaitdeadwait November 2009
    hi, i installed virtualbox using the get-virtualbox script, but when i start virtualbox i get the following error

    tux@deAdwaIt:~$ VirtualBox
    WARNING: The vboxdrv kernel module is not loaded. Either there is no module
    available for the current kernel (2.6.30.6-slitaz) or it failed to
    load. Please recompile the kernel module and install it by

    sudo /etc/init.d/vboxdrv setup



    when i do /etc/init.d/vboxdrv as root i get the following error.


    root@deAdwaIt:/home/tux# /etc/init.d/vboxdrv setup
    Stopping VirtualBox kernel module ...done.
    Recompiling VirtualBox kernel module ...failed!
    (Look at /var/log/vbox-install.log to find out what went wrong)


    and the content of /var/log/vbox-install.log are as follows.


    root@deAdwaIt:/home/tux# cat /var/log/vbox-install.log
    make KBUILD_VERBOSE=1 -C /lib/modules/2.6.30.6-slitaz/build SUBDIRS=/tmp/vbox.0 SRC
    ROOT=/tmp/vbox.0 modules
    test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
    echo; \
    echo " ERROR: Kernel configuration is invalid."; \
    echo " include/linux/autoconf.h or include/config/auto.conf are mis
    sing."; \
    echo " Run 'make oldconfig && make prepare' on kernel src to fix it
    ."; \
    echo; \
    /bin/false)

    ERROR: Kernel configuration is invalid.
    include/linux/autoconf.h or include/config/auto.conf are missing.
    Run 'make oldconfig && make prepare' on kernel src to fix it.


    can anyone help me out on this ?
  • deadwaitdeadwait November 2009
    couldnt add the compete errors as forum complains of too many characters
  • seawolfseawolf November 2009
    Have you the slitaz-toolchain & linux-headers packages installed?
  • deadwaitdeadwait November 2009
    yup everything added, its ok i figure out what i wanted on qemu now.
  • seawolfseawolf November 2009
    Ok. For the record, I think the linux-source package needs to be installed as well, acoring to that error message.
  • deadwaitdeadwait November 2009
    had done that too,
    the log said that it could'nt find autoconf.h in usr/src/linux/include/
  • jozeejozee November 2009
    @deadwait: good news is that we just got approval from Christophe that for "non-free" pkgs having kernel modules like virtualbox, nvidia,ati etc; we would provide kernel-module through repos. Precompiled binaries would still follow get-* style. So, now you can be relieved of such troubles from compiling linux module on the fly. Wait for sometime, we will revamp the receipts or you can help out (if you want).
  • deadwaitdeadwait November 2009
    thats great.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social