Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Vmware: Unable to build kernel module. [OPGELOST]  (gelezen 10894 keer)

Vmware: Unable to build kernel module. [OPGELOST]
« Gepost op: 2011/01/15, 16:05:41 »
Ik heb vmware workstation geïstalleerd
als ik het nu opstart krijg ik deze melding:
"Before you can run VMware, several modules must be compiled and loaded into the running kernel."
als ik dan op Install klik krijg ik een andere melding (zie bijlage)
als ik het sluit en terug open krijg ik terug die eerste melding
hoe krijg ik dit opgelost?
ik gebruik ubuntu 11.04 alpha 1
« Laatst bewerkt op: 2011/06/06, 21:36:08 door thomasave »
If nothing goes right, try left.
Steunpunt Berchem (Antwerpen, België)

Re: Vmware: Unable to build kernel module.
« Reactie #1 Gepost op: 2011/01/15, 19:32:13 »
Kan je de laatst genoemde log hier plaatsen?
In der Beschränkung zeigt sich der Meister.

Re: Vmware: Unable to build kernel module.
« Reactie #2 Gepost op: 2011/01/15, 20:46:56 »
die bestaat niet.
in die map zit geen setup-21546.log
wel een setup-22138.log en die ziet er zo uit:
jan 15 15:53:33.449: app-3079083712| Log for VMware Workstation pid=22138 version=7.1.3 build=build-324285 option=Release
jan 15 15:53:33.449: app-3079083712| The process is 32-bit.
jan 15 15:53:33.449: app-3079083712| Host codepage=UTF-8 encoding=UTF-8
jan 15 15:53:33.449: app-3079083712| Logging to /tmp/vmware-root/setup-22138.log
jan 15 15:53:33.594: app-3079083712| modconf query interface initialized
jan 15 15:53:33.594: app-3079083712| modconf library initialized
jan 15 15:53:33.646: app-3079083712| Your GCC version: 4.5
jan 15 15:53:33.679: app-3079083712| Your GCC version: 4.5
jan 15 15:53:33.718: app-3079083712| Your GCC version: 4.5
jan 15 15:53:33.764: app-3079083712| Your GCC version: 4.5
jan 15 15:53:33.804: app-3079083712| Your GCC version: 4.5
jan 15 15:53:33.861: app-3079083712| Trying to find a suitable PBM set for kernel 2.6.37-7-generic.
jan 15 15:53:33.866: app-3079083712| Trying to find a suitable PBM set for kernel 2.6.37-7-generic.
jan 15 15:53:33.871: app-3079083712| Trying to find a suitable PBM set for kernel 2.6.37-7-generic.
jan 15 15:53:33.876: app-3079083712| Trying to find a suitable PBM set for kernel 2.6.37-7-generic.
jan 15 15:53:33.881: app-3079083712| Trying to find a suitable PBM set for kernel 2.6.37-7-generic.
jan 15 15:53:33.904: app-3079083712| Trying to find a suitable PBM set for kernel 2.6.37-7-generic.
jan 15 15:53:33.910: app-3079083712| Trying to find a suitable PBM set for kernel 2.6.37-7-generic.
jan 15 15:53:33.915: app-3079083712| Trying to find a suitable PBM set for kernel 2.6.37-7-generic.
jan 15 15:53:33.920: app-3079083712| Trying to find a suitable PBM set for kernel 2.6.37-7-generic.
jan 15 15:53:33.925: app-3079083712| Trying to find a suitable PBM set for kernel 2.6.37-7-generic.
jan 15 15:53:33.956: app-3079083712| Your GCC version: 4.5
jan 15 15:53:33.997: app-3079083712| Your GCC version: 4.5
jan 15 15:53:34.058: app-3079083712| Trying to find a suitable PBM set for kernel 2.6.37-7-generic.
jan 15 15:53:34.063: app-3079083712| Trying to find a suitable PBM set for kernel 2.6.37-7-generic.
jan 15 15:53:34.069: app-3079083712| Trying to find a suitable PBM set for kernel 2.6.37-7-generic.
jan 15 15:53:34.074: app-3079083712| Trying to find a suitable PBM set for kernel 2.6.37-7-generic.
jan 15 15:53:34.079: app-3079083712| Trying to find a suitable PBM set for kernel 2.6.37-7-generic.
jan 15 15:53:34.110: app-3079083712| Your GCC version: 4.5
jan 15 15:53:34.152: app-3079083712| Your GCC version: 4.5
jan 15 15:53:34.233: app-3079083712| Trying to find a suitable PBM set for kernel 2.6.37-7-generic.
jan 15 15:53:34.239: app-3079083712| Trying to find a suitable PBM set for kernel 2.6.37-7-generic.
jan 15 15:53:34.244: app-3079083712| Trying to find a suitable PBM set for kernel 2.6.37-7-generic.
jan 15 15:53:34.250: app-3079083712| Trying to find a suitable PBM set for kernel 2.6.37-7-generic.
jan 15 15:53:34.255: app-3079083712| Trying to find a suitable PBM set for kernel 2.6.37-7-generic.
jan 15 15:53:34.545: app-3079083712| Trying to find a suitable PBM set for kernel 2.6.37-7-generic.
jan 15 15:53:34.545: app-3079083712| Building module vmmon.
jan 15 15:53:34.545: app-3079083712| Extracting the sources of the vmmon module.
jan 15 15:53:34.572: app-3079083712| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.37-7-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.5.2
jan 15 15:53:36.410: app-3079083712| Failed to compile module vmmon!
If nothing goes right, try left.
Steunpunt Berchem (Antwerpen, België)

Offline ivo

  • Lid
Re: Vmware: Unable to build kernel module.
« Reactie #3 Gepost op: 2011/01/15, 21:49:05 »
Je realiseert je dat de 11.04 nog in alpha is?
Dus eigenlijk moet je terug naar de 10.10 om je vraag hier te stellen.
Waarom zit je op 11.04?
There are only 10 types of people in the world; those who understand binary and those who don't.

Re: Vmware: Unable to build kernel module.
« Reactie #4 Gepost op: 2011/01/15, 22:53:40 »
In der Beschränkung zeigt sich der Meister.

Re: Vmware: Unable to build kernel module.
« Reactie #5 Gepost op: 2011/01/16, 14:41:16 »
@ivo
Ik had ubuntu 11.04 eens gedownload om te zien wat er veranderd was en om iets aan te passen aan mijn schijf.
en toen had ik per ongeluk op format disk geklikt. dus ik had ubuntu 11.04 dan maar geïntalleerd om toch iets als besturings systeem te hebben.
@gijsbert
Ik zie daar idd dezelfde problemen als die ik heb maar ik vind daar niet echt
een werkende oplossing.
If nothing goes right, try left.
Steunpunt Berchem (Antwerpen, België)

Re: Vmware: Unable to build kernel module.
« Reactie #6 Gepost op: 2011/01/16, 18:03:11 »
Je moet de post hebben van abu abdabei, de derde post.
In der Beschränkung zeigt sich der Meister.

Re: Vmware: Unable to build kernel module.
« Reactie #7 Gepost op: 2011/01/16, 19:12:52 »
ja als ik die commando's toepas krijg ik deze error:
Stopping VMware services:
   VMware USB Arbitrator                                               done
   VM communication interface socket family                            done
   Virtual machine communication interface                             done
   Virtual machine monitor                                             done
   Blocking file system                                                done
Using 2.6.x kernel build system.
make: Map '/tmp/vmware-root/modules/vmmon-only' wordt binnengegaan
make -C /lib/modules/2.6.37-7-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Map '/usr/src/linux-headers-2.6.37-7-generic' wordt binnengegaan
  CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/driver.o
/tmp/vmware-root/modules/vmmon-only/linux/driver.c: In function ‘init_module’:
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:425:15: error: ‘struct file_operations’ has no member named ‘ioctl’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1736:7: error: implicit declaration of function ‘kernel_locked’
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/driver.o] Fout 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Fout 2
make[1]: Map '/usr/src/linux-headers-2.6.37-7-generic' wordt verlaten
make: *** [vmmon.ko] Fout 2
make: Map '/tmp/vmware-root/modules/vmmon-only' wordt verlaten
Unable to install vmmon
en als ik dan op vmware workstation klik krijg ik weer dezelfde error als altijd
If nothing goes right, try left.
Steunpunt Berchem (Antwerpen, België)

Re: Vmware: Unable to build kernel module.
« Reactie #8 Gepost op: 2011/01/16, 20:19:14 »
Je hebt de commando's zo uitgevoerd:
cd /tmp
wget http://www.sputnick-area.net/scripts/vmware7.1.1-patch-kernel-2.6.35.bash
sudo chmod +x vmware7.1.1-patch-kernel-2.6.35.bash
sudo ./vmware7.1.1-patch-kernel-2.6.35.bash
In der Beschränkung zeigt sich der Meister.

Re: Vmware: Unable to build kernel module.
« Reactie #9 Gepost op: 2011/01/16, 21:07:40 »
ja, die lukte allemaal (zo leek het) maar deze niet: "sudo vmware-modconfig --console --install-all"
If nothing goes right, try left.
Steunpunt Berchem (Antwerpen, België)

Re: Vmware: Unable to build kernel module.
« Reactie #10 Gepost op: 2011/01/16, 22:05:43 »
Wat ik er van begrijp, na de installatie kan je VMWare opstarten en dan grafisch mrt de GUI installeren of anders met dit commando vmware-modconfig --console --install-all in de terminal.
In der Beschränkung zeigt sich der Meister.

Re: Vmware: Unable to build kernel module.
« Reactie #11 Gepost op: 2011/01/16, 22:07:47 »
percies, maar dat loopt fout
If nothing goes right, try left.
Steunpunt Berchem (Antwerpen, België)

Re: Vmware: Unable to build kernel module.
« Reactie #12 Gepost op: 2011/01/16, 22:17:24 »
Ik vraag me af of er geen sudo voor het commando moet, dus zo
sudo vmware-modconfig --console --install-all
En als je de VMware opstart en via de GUI installeert, lukt het dan ook niet?
In der Beschränkung zeigt sich der Meister.

Re: Vmware: Unable to build kernel module.
« Reactie #13 Gepost op: 2011/01/16, 22:19:40 »
nee, kijk maar naar de afbeelding van mijn eerste post.
If nothing goes right, try left.
Steunpunt Berchem (Antwerpen, België)

Re: Vmware: Unable to build kernel module.
« Reactie #14 Gepost op: 2011/01/16, 22:21:02 »
met sudo geeft hetzelfde resultaat als zonder
If nothing goes right, try left.
Steunpunt Berchem (Antwerpen, België)

Re: Vmware: Unable to build kernel module.
« Reactie #15 Gepost op: 2011/01/16, 22:41:27 »
Wat staat er nu in de log file /tmp/vmware-root/setup-xxxxx.log?
In der Beschränkung zeigt sich der Meister.

Re: Vmware: Unable to build kernel module.
« Reactie #16 Gepost op: 2011/01/17, 07:27:37 »
hetzelfde als daarvoor
If nothing goes right, try left.
Steunpunt Berchem (Antwerpen, België)

Re: Vmware: Unable to build kernel module.
« Reactie #17 Gepost op: 2011/01/17, 07:32:09 »
waarom heeft iemand dit verplaatst naar "testforum" het is niet omdat ik de alpha gebruik dat dit hier moet staan. toch? want ik heb dit ook al met de normale versie gehad.
If nothing goes right, try left.
Steunpunt Berchem (Antwerpen, België)

Re: Vmware: Unable to build kernel module.
« Reactie #18 Gepost op: 2011/01/17, 14:59:41 »
waarom heeft iemand dit verplaatst naar "testforum" het is niet omdat ik de alpha gebruik dat dit hier moet staan. toch? want ik heb dit ook al met de normale versie gehad.

Je gebruikt op dit moment 11.04 alpha 1 en die zit in de testfase; het hoort dus hier in Testforum thuis. Daarom heb ik het hierheen verplaatst.

In der Beschränkung zeigt sich der Meister.

Offline Emil

  • Lid
Re: Vmware: Unable to build kernel module.
« Reactie #20 Gepost op: 2011/01/17, 19:33:23 »
Andere kernel patch helpt misschien http://www.linuxinsight.com/new-kernel-2.6.36-new-patch-to-apply-to-vmware-workstation-7.1.html
Hij zit met kernel 2.6.37, die zal dus ook niet werken. Lijkt me eerder dat hij deze nodig heeft: http://communities.vmware.com/thread/293321?start=0&tstart=0 :)

Re: Vmware: Unable to build kernel module.
« Reactie #21 Gepost op: 2011/01/17, 20:04:39 »
Helemaal gelijk Emil.
In der Beschränkung zeigt sich der Meister.

Re: Vmware: Unable to build kernel module.
« Reactie #22 Gepost op: 2011/01/20, 15:27:24 »
Helaas werkt die patch voor 2.6.37 niet :(

Re: Vmware: Unable to build kernel module.
« Reactie #23 Gepost op: 2011/06/04, 19:50:44 »
is er ondertussen al een werkende patch voor ubuntu 11.04?
If nothing goes right, try left.
Steunpunt Berchem (Antwerpen, België)

Re: Vmware: Unable to build kernel module.
« Reactie #24 Gepost op: 2011/06/05, 14:59:18 »
zou er iemand dit topic naar software en configuratie kunnen verplaatsen want Natty is niet meer in beta en ik weet niet hoe.
If nothing goes right, try left.
Steunpunt Berchem (Antwerpen, België)