You are not logged in.

#1 2011-08-09 02:36:01

kstenger
Member
From: Uruguay
Registered: 2011-05-09
Posts: 15

Can't compile Virtualbox module after upgrade to kernel 3.0

Hi,
I've been struggling with this for 2 whole days of work by now. This is the case.

1) I did pacman -Syu
here is the log of it (sorry about the spanish locale, didn't think about it at that time) http://paste.pocoo.org/show/455057/

Everything seemed fine, so as always, I rebooted and tried to start my virtual machines.
As always It remembered me about recompiling modules, so I did (or tried):

2) i did as root:

# rc.d setup vboxdrv
:: Unloading VirtualBox kernel modules                                                                                                               [DONE] 
:: Recompiling VirtualBox kernel modules                                                                                                             [BUSY] 
Look at /var/log/vbox-install.log to find out what went wrong
Look at /var/log/vbox-install.log to find out what went wrong
Look at /var/log/vbox-install.log to find out what went wrong
Look at /var/log/vbox-install.log to find out what went wrong
                                                                                                                                                     [DONE] 
:: Reloading VirtualBox kernel modules                                                                                                               [DONE] 

the resulting mentioned vbox-install.log is this:
http://paste.pocoo.org/show/454971/
It's got 1.4M and is almost 18k lines long


and then:

# modprobe vboxdrv
FATAL: Module vboxdrv not found.

3) After this i've looked for help at the channel and I tried everything I could possibly imagine and more.
I tried downgrading virtualbox, erasing it completely, and erasing it completely altogether with the pacman's cache.
My mirrors are the last updated ones.
Also today they told me there was a new update for virtualbox, and I tried it, with the exact same result.

4) After taking a look at the log file I was asked to run 'make oldconfig && make prepare'

# cd /usr/src/linux-3.0-ARCH/
# make oldconfig && make prepare
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: *** No hay ninguna regla para construir el objetivo `missing-syscalls'.  Alto.
make: *** [prepare0] Error 2


Theese are the versions of what I have installed now:

# uname -r
3.0-ARCH

# LANG=C pacman -Qi virtualbox
Name           : virtualbox
Version        : 4.1.0-5
...

# LANG=C pacman -Qi virtualbox-additions
Name           : virtualbox-additions
Version        : 4.1.0-1
...

# LANG=C pacman -Qi linux-headers
Name           : linux-headers
Version        : 3.0.1-1
...


So as you can see I need some serious help here, I have absolutely no clue of what is happening.
I hope someone may read this and tell me what I could do to fix this issue.


Thanks in advance!
Karla

Last edited by kstenger (2011-08-09 14:58:29)

Offline

#2 2011-08-09 02:57:27

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Can't compile Virtualbox module after upgrade to kernel 3.0

You're almost certainly missing linux-api-headers if you're getting errors about missing syscalls.

Offline

#3 2011-08-09 09:24:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Can't compile Virtualbox module after upgrade to kernel 3.0

kstenger, please edit your post.
When pasting code, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and more convenient to scroll through.

Offline

#4 2011-08-09 15:01:29

kstenger
Member
From: Uruguay
Registered: 2011-05-09
Posts: 15

Re: Can't compile Virtualbox module after upgrade to kernel 3.0

Now the post is editted.

and I should add that I also tried installing linux-api-headers:

# pacman -Qi linux-api-headers
Nombre            : linux-api-headers
Versión           : 2.6.39.1-1

Offline

#5 2011-08-09 15:05:53

kstenger
Member
From: Uruguay
Registered: 2011-05-09
Posts: 15

Re: Can't compile Virtualbox module after upgrade to kernel 3.0

I just remembered that right after uninstalling virtualbox completely and having all I already mentioned before installed, I was told to run:

# mkinitcpio -p linux
==> Building image from preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.0-ARCH
  -> Parsing hook: [base]
  -> Parsing hook: [udev]
  -> Parsing hook: [autodetect]
  -> Parsing hook: [pata]
  -> Parsing hook: [scsi]
  -> Parsing hook: [sata]
  -> Parsing hook: [filesystems]
  -> Parsing hook: [usbinput]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux.img
7009 blocks
==> Image generation successful
==> Building image from preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.0-ARCH
  -> Parsing hook: [base]
  -> Parsing hook: [udev]
  -> Parsing hook: [pata]
  -> Parsing hook: [scsi]
  -> Parsing hook: [sata]
  -> Parsing hook: [filesystems]
  -> Parsing hook: [usbinput]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
23361 blocks
==> Image generation successful

Offline

Board footer

Powered by FluxBB