[solved]Porteus 1.2-vmware: unable to build kernel module(s)

Post here if you are a new Porteus member and you're looking for some help.
HermanH
Ronin
Ronin
Posts: 2
Joined: 02 Jan 2011, 08:44
Location: Netherlands

[solved]Porteus 1.2-vmware: unable to build kernel module(s)

Post#1 by HermanH » 21 Jul 2012, 14:24

In Porteus 1.0 (32 bit) I have succesfully build and used a module for VmWorkstation / VmPlayer.
When trying to use this module in Porteus 1.2 (or 1.1) the "Vmware Kernel Module Updater" tries to rebuild the kernel modules for the new kernel. No succes helas ..unable to build kernel module..

Is there something missing in "crippled_sources-porteus-v1.2-i486-1ftm.xzm" ?

Any help would be appreciated.

HermanH

P.S.
To the Porteus team: Thank you very much for this very fine little distro ! :beer:
Jul 20 19:02:50.233: app-3076126400| Log for VMware Workstation pid=2436 version=7.1.4 build=build-385536 option=Release
Jul 20 19:02:50.233: app-3076126400| The process is 32-bit.
Jul 20 19:02:50.233: app-3076126400| Host codepage=UTF-8 encoding=UTF-8
Jul 20 19:02:50.233: app-3076126400| Logging to /tmp/vmware-root/setup-2436.log
Jul 20 19:02:50.407: app-3076126400| modconf query interface initialized
Jul 20 19:02:50.429: app-3076126400| modconf library initialized
Jul 20 19:02:50.619: app-3076126400| Your GCC version: 4.5
..
Jul 20 19:02:53.003: app-3076126400| Trying to find a suitable PBM set for kernel 3.4.4-porteus.
...
Jul 20 19:02:53.214: app-3076126400| Your GCC version: 4.5
...
Jul 20 19:02:53.431: app-3076126400| Trying to find a suitable PBM set for kernel 3.4.4-porteus.
...
Jul 20 19:02:54.705: app-3076126400| Building module vmmon.
Jul 20 19:02:54.706: app-3076126400| Extracting the sources of the vmmon module.
Jul 20 19:02:54.820: app-3076126400| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.4.4-porteus/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.5.2
Jul 20 19:03:01.194: app-3076126400| Failed to compile module vmmon!

Jul 20 19:03:22.878: app-3076126400| Trying to find a suitable PBM set for kernel 3.4.4-porteus.
...
Jul 20 19:03:22.965: app-3076126400| Your GCC version: 4.5
...
Jul 20 19:03:23.304: app-3076126400| Trying to find a suitable PBM set for kernel 3.4.4-porteus.
...
Jul 20 19:03:23.834: app-3076126400| Building module vmmon.
Jul 20 19:03:23.834: app-3076126400| Extracting the sources of the vmmon module.
Jul 20 19:03:23.887: app-3076126400| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.4.4-porteus/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.5.2
Jul 20 19:03:26.995: app-3076126400| Failed to compile module vmmon!
...
Jul 20 19:03:31.905: app-3076126400| Trying to find a suitable PBM set for kernel 3.4.4-porteus.
...
Jul 20 19:03:32.924: app-3076126400| Trying to find a suitable PBM set for kernel 3.4.4-porteus.
Jul 20 19:03:32.926: app-3076126400| Building module vmmon.
Jul 20 19:03:32.927: app-3076126400| Extracting the sources of the vmmon module.
Jul 20 19:03:32.981: app-3076126400| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.4.4-porteus/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.5.2
Jul 20 19:03:35.943: app-3076126400| Failed to compile module vmmon!
Last edited by HermanH on 24 Jul 2012, 08:43, edited 1 time in total.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Porteus 1.2 - vmware: unable to build kernel module(s)

Post#2 by fanthom » 21 Jul 2012, 14:44

hello HermanH,

Vmware requires patching for 3.4 kernels:
link
Please add [Solved] to your thread title if the solution was found.

HermanH
Ronin
Ronin
Posts: 2
Joined: 02 Jan 2011, 08:44
Location: Netherlands

Re: Porteus 1.2 - vmware: unable to build kernel module(s)

Post#3 by HermanH » 22 Jul 2012, 09:01

Thank you phantom for your quick response.
I'll try to figure it out.

HwagmMaricon
White ninja
White ninja
Posts: 15
Joined: 01 May 2012, 19:37
Location: tarragona

Re: [solved]Porteus 1.2-vmware: unable to build kernel modul

Post#4 by HwagmMaricon » 30 Jul 2012, 22:08

Thank you phantom i needed this

Post Reply