You are not logged in.

#1 2012-01-13 19:06:20

robballantyne
Member
Registered: 2012-01-13
Posts: 1

vmware kernel modules don't compile after new kernel

[root@ballantyne rballantyne]# vmware-modconfig --console --install-all
Stopping VMware services:
   VMware Authentication Daemon                                        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: Entering directory `/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/3.1.9-1-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-3.1.9-1-ARCH'
  CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/iommu.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/apic.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/vmx86.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/task.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/hashFunc.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/comport.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/vmcore/moduleloop.o
  LD [M]  /tmp/vmware-root/modules/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST 1 modules
FATAL: vmlinux is truncated. sechdrs\[i\].sh_offset=18446744071588955904 > sizeof(*hrd)=64
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-3.1.9-1-ARCH'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'
Unable to install vmmon

Offline

#2 2012-01-13 19:24:49

lorin
Member
Registered: 2011-12-06
Posts: 28

Re: vmware kernel modules don't compile after new kernel

Same problem here building catalyst module for 3.1.9.  I saw some mention in the testing forum of a patch to libarchive / a newer version of libarchive that will solve this? Not sure how to proceed.

FATAL: vmlinux is truncated. sechdrs[i].sh_offset=18446744071588955904 > sizeof(*hrd)=64
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
make: Leaving directory `/usr/src/linux-3.1.9-1-ARCH'
==> ERROR: A failure occurred in build().
    Aborting...

Offline

#3 2012-01-13 19:25:28

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: vmware kernel modules don't compile after new kernel

Someone is having the same issue with the vbox modules: thread.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#4 2012-01-13 19:29:21

lorin
Member
Registered: 2011-12-06
Posts: 28

Re: vmware kernel modules don't compile after new kernel

Sorry, meant to link to the related thread in testing:

https://bbs.archlinux.org/viewtopic.php?id=133138

Offline

#5 2012-01-14 09:01:34

pomekewe
Member
Registered: 2012-01-14
Posts: 17

Re: vmware kernel modules don't compile after new kernel

... and with the NVIDIA drivers (285 & 290) ...

Offline

#6 2012-01-14 10:53:17

mecanix
Member
Registered: 2012-01-14
Posts: 1

Re: vmware kernel modules don't compile after new kernel

With nvidia drivers 290.10 and Linux 3.1.9 :

FATAL: vmlinux is truncated. sechdrs[ i].sh_offset=18446744071588955904 > sizeof(*hrd)=64

Offline

#7 2012-01-14 11:00:19

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

Re: vmware kernel modules don't compile after new kernel

Guys, I think there's no point in posting 'me to', the fix is on its way: https://bbs.archlinux.org/viewtopic.php … 5#p1040545

Offline

#8 2012-01-14 20:03:57

b_m_l
Member
Registered: 2012-01-14
Posts: 14

Re: vmware kernel modules don't compile after new kernel

its not working for me. maybe im doing it wrong? i download the 3.0.3 version of libarchive, but when i ./configure make make install i still have the 2.8.5-2 version. i want to install nvidia drivers and its killed with the vmlinux is truncated error. any ideas? also tried to update the whole system (maybe new kernel?) i have arch linux 3.1.9-1 kernel sad

Offline

#9 2012-01-15 03:47:58

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,354

Re: vmware kernel modules don't compile after new kernel

Moderator:  b_m_l,
Welcome to Arch Linux.  It look like you are fighting a known problem.  It seems you found three threads dealing with the issue over the matter of a few minutes and posted to all three threads.  Not really the best approach.  Next time, pick one and post to it.  Then, in the other threads, provide links back to your first post.  It will help everyone trying to chase the issue down.

That said, this looks like it is a known problem that is being worked.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB