VirtualBox

Opened 13 years ago

Last modified 12 years ago

#9482 closed defect

Can't compile/unload vbox modules on linux host (kernel: 3.0.0.7) — at Version 2

Reported by: Alexander Bierbaumer Owned by:
Component: host support Version: VirtualBox 4.1.2
Keywords: modules Cc:
Guest type: Windows Host type: Linux

Description (last modified by Frank Mehnert)

Hi there!

Tried to compile modules with kernels: 3.0.0.7 and 2.6.39

Modules are loaded as permanent (didn't even know this is possible) and vboxdrv can't unload it

dmesg:

    BUG: unable to handle kernel paging request at 23599500
    IP: [<f8845101>] VBoxPciLinuxInit+0x101/0x1000 [vboxpci]

and

    Pid: 14641, comm: modprobe Not tainted 3.0.0-7-generic #9-Ubuntu Dell Inc. Latitude E6500 /0W612R

lsmod:

    vboxpci                32018  1 [permanent]
    vboxnetadp             13328  0 [permanent]
    vboxnetflt             27252  0 [permanent]
    vboxdrv               251877  3 vboxpci,vboxnetadp,vboxnetflt,[permanent]

during vbox install:

modprobe vboxpci failed. Please use 'dmesg' to find out why

vboxdrv setup:

    * Stopping VirtualBox kernel modules
    * Cannot unload module vboxpci

As it seems, that there is a bug in DKMS I uninstalled DKMS, purged Virtualbox and tried to reinstall:

Install:

    Setting up virtualbox-4.1 (4.1.2-73507~Ubuntu~lucid) ...
    addgroup: The group `vboxusers' already exists as a system group. Exiting.
    * Stopping VirtualBox kernel modules                                    [ OK ]
    * Uninstalling old VirtualBox DKMS kernel modules                       [ OK ]
    * Removing old VirtualBox pci kernel module                             [ OK ]
    * Trying to register the VirtualBox kernel modules using DKMS                 
    * Failed, trying without DKMS
    * Recompiling VirtualBox kernel modules                                 [ OK ]
    * Starting VirtualBox kernel modules                                           
    * modprobe vboxpci failed. Please use 'dmesg' to find out why

dmesg:

    [  203.601109] vboxdrv: Found 2 processor cores.
    [  203.601230] vboxdrv: fAsync=0 offMin=0x1e6 offMax=0x4101
    [  203.601292] vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'.
    [  203.601294] vboxdrv: Successfully loaded version 4.1.2 (interface 0x00190000).
    [  203.825653] BUG: unable to handle kernel paging request at 1ca622c0
    [  203.825775] IP: [<f8950101>] VBoxPciLinuxInit+0x101/0x1000 [vboxpci]
    [  203.825898] *pde = 00000000
    [  203.825953] Oops: 0002 [#1] SMP
    [  203.826016] Modules linked in: pci_stub vboxpci(+) vboxnetadp vboxnetflt vboxdrv parport_pc ppdev
   dm_crypt arc4 snd_hda_codec_hdmi joydev snd_hda_codec_idt iwlagn mac80211 pcmcia cfg80211 snd_hda_intel
   uvcvideo videodev yenta_socket pcmcia_rsrc sdhci_pci sdhci lp snd_hda_codec parport psmouse snd_hwdep
   snd_pcm snd_timer snd pcmcia_core dell_laptop dell_wmi tpm_tis tpm tpm_bios soundcore snd_page_alloc
   serio_raw dcdbas sparse_keymap usbhid hid i915 drm_kms_helper wmi drm ahci libahci i2c_algo_bit video e1000e
    [  203.826970]
    [  203.827001] Pid: 11180, comm: modprobe Not tainted 3.0.0-7-generic #9-Ubuntu Dell Inc. Latitude E6500 /0W612R
    [  203.827206] EIP: 0060:[<f8950101>] EFLAGS: 00010293 CPU: 0
    [  203.827307] EIP is at VBoxPciLinuxInit+0x101/0x1000 [vboxpci]
    [  203.827406] EAX: e9ac32c0 EBX: 00000000 ECX: 00000001 EDX: f908b145
    [  203.827513] ESI: f9001080 EDI: f908c214 EBP: eecc1f58 ESP: eecc1f44
    [  203.827620]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
    [  203.827713] Process modprobe (pid: 11180, ti=eecc0000 task=f2dc7230 task.ti=eecc0000)
    [  203.827844] Stack:
    [  203.827880]  00000001 f908b13c 00000000 0000254a 00fce3a0 eecc1f88 c1001125 00000002
    [  203.828012]  00000000 00000000 00000000 f8951000 f8950000 00000000 f908c020 0000254a
    [  203.828012]  00fce3a0 eecc1fac c108262d 0000254a 00000000 4e4e8011 23a41acd 090a22a0
    [  203.828012] Call Trace:
    [  203.828012]  [<c1001125>] do_one_initcall+0x35/0x170
    [  203.828012]  [<f8950000>] ? 0xf894ffff
    [  203.828012]  [<c108262d>] sys_init_module+0xad/0x210
    [  203.828012]  [<c152bd34>] syscall_call+0x7/0xb
    [  203.828012] Code: 00 00 e8 c3 e4 70 c8 85 c0 75 69 b8 45 b1 08 f9 e8 65 e7 72 c8
   85 c0 89 c6 a3 10 c2 08 f9 74 3e 83 38 02 74 63 8b 80 70 01 00 00
    [  203.828012]  ff 00 a1 8c 32 7b c1 85 c0 74 1e 8b 1d 98 32 7b c1 85 db 74
    [  203.828012] EIP: [<f8950101>] VBoxPciLinuxInit+0x101/0x1000 [vboxpci] SS:ESP 0068:eecc1f44
    [  203.828012] CR2: 000000001ca622c0
    [  203.895011] ---[ end trace 431a05687b850c23 ]---

Any help would be appreciated!

Thanks,

Ali

Change History (6)

comment:1 by Alexander Bierbaumer, 13 years ago

Btw: Sorry, had to copy/paste my logs out of posting, as I didn't want to do the whole procedure with 2 different kernels with/-out DKMS and 2 different virtualbox versions.

Sorry for that :(

comment:2 by Frank Mehnert, 13 years ago

Description: modified (diff)

Please could you attach the compiled kernel modules?

by Alexander Bierbaumer, 13 years ago

Attachment: vboxdrv.ko added

/lib/modules/3.0.0-7-generic/misc/vboxdrv.ko

by Alexander Bierbaumer, 13 years ago

Attachment: vboxnetadp.ko added

/lib/modules/3.0.0-7-generic/misc/vboxnetadp.ko

by Alexander Bierbaumer, 13 years ago

Attachment: vboxnetflt.ko added

/lib/modules/3.0.0-7-generic/misc/vboxnetflt.ko

by Alexander Bierbaumer, 13 years ago

Attachment: vboxpci.ko added

/lib/modules/3.0.0-7-generic/misc/vboxpci.ko

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use