You are not logged in.

#1 2012-01-19 12:14:48

jk121960
Member
From: Palos Hills, Illinois
Registered: 2011-12-09
Posts: 254

[Solved] Kernel 3.2 wont re-patch vmware for new kernel build

Hi, I looked for the same thing and didnt find it, I had vmplayer running great -> enter new kernel 3.2. When it went to build the new modules because the kernel changed it failed  with log of:

2012-01-19T06:10:49.389-06:00| vthread-3| I120: Log for VMware Workstation pid=3928 version=8.0.1 build=build-528992 option=Release
2012-01-19T06:10:49.389-06:00| vthread-3| I120: The process is 64-bit.
2012-01-19T06:10:49.389-06:00| vthread-3| I120: Host codepage=UTF-8 encoding=UTF-8
2012-01-19T06:10:49.388-06:00| vthread-3| I120: Msg_Reset:
2012-01-19T06:10:49.388-06:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2012-01-19T06:10:49.388-06:00| vthread-3| I120: ----------------------------------------
2012-01-19T06:10:49.388-06:00| vthread-3| I120: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2012-01-19T06:10:49.389-06:00| vthread-3| I120: Msg_Reset:
2012-01-19T06:10:49.389-06:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/config": No such file or directory.
2012-01-19T06:10:49.389-06:00| vthread-3| I120: ----------------------------------------
2012-01-19T06:10:49.389-06:00| vthread-3| I120: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/redhat-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/redhat_version: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/sun-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/SuSE-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/novell-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/sles-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/debian_version: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/debian_release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/mandrake-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/mandriva-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/mandrakelinux-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/turbolinux-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/fedora-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/gentoo-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/nld-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/lsb-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/annvix-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: Cannot work with empty file.
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/arklinux-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/aurox-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/blackcat-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/cobalt-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/conectiva-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/immunix-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/knoppix_version: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/lfs-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/linuxppc-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/mklinux-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/pld-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/slackware-version: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/slackware-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/e-smith-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/tinysofa-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/ultrapenguin-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/UnitedLinux-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/va-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/yellowdog-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoOSData: Error: no distro file found
2012-01-19T06:10:49.396-06:00| vthread-3| W110: Logging to /tmp/vmware-root/modconfig-3928.log
2012-01-19T06:10:49.497-06:00| vthread-3| I120: modconf query interface initialized
2012-01-19T06:10:49.498-06:00| vthread-3| I120: modconf library initialized
2012-01-19T06:10:49.544-06:00| vthread-3| I120: Your GCC version: 4.6
2012-01-19T06:10:49.548-06:00| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.2.1-1-ARCH
2012-01-19T06:10:49.548-06:00| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h
2012-01-19T06:10:49.548-06:00| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.
2012-01-19T06:10:49.548-06:00| vthread-3| I120: Validating path /lib/modules/3.2.1-1-ARCH/build/include for kernel release 3.2.1-1-ARCH
2012-01-19T06:10:49.550-06:00| vthread-3| I120: Your GCC version: 4.6
2012-01-19T06:10:49.563-06:00| vthread-3| I120: Your GCC version: 4.6
2012-01-19T06:10:49.592-06:00| vthread-3| I120: Header path /lib/modules/3.2.1-1-ARCH/build/include for kernel release 3.2.1-1-ARCH is valid.
2012-01-19T06:10:49.592-06:00| vthread-3| I120: Validating path /lib/modules/3.2.1-1-ARCH/build/include for kernel release 3.2.1-1-ARCH
2012-01-19T06:10:49.594-06:00| vthread-3| I120: Your GCC version: 4.6
2012-01-19T06:10:49.608-06:00| vthread-3| I120: Your GCC version: 4.6
2012-01-19T06:10:49.636-06:00| vthread-3| I120: Header path /lib/modules/3.2.1-1-ARCH/build/include for kernel release 3.2.1-1-ARCH is valid.
2012-01-19T06:10:49.672-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.674-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.676-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.679-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.681-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.715-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.717-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.719-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.721-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.724-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.726-06:00| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.2.1-1-ARCH
2012-01-19T06:10:49.726-06:00| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h
2012-01-19T06:10:49.726-06:00| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.
2012-01-19T06:10:49.726-06:00| vthread-3| I120: Validating path /lib/modules/3.2.1-1-ARCH/build/include for kernel release 3.2.1-1-ARCH
2012-01-19T06:10:49.728-06:00| vthread-3| I120: Your GCC version: 4.6
2012-01-19T06:10:49.741-06:00| vthread-3| I120: Your GCC version: 4.6
2012-01-19T06:10:49.769-06:00| vthread-3| I120: Header path /lib/modules/3.2.1-1-ARCH/build/include for kernel release 3.2.1-1-ARCH is valid.
2012-01-19T06:10:49.804-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.806-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.809-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.811-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.813-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.815-06:00| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.2.1-1-ARCH
2012-01-19T06:10:49.815-06:00| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h
2012-01-19T06:10:49.815-06:00| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.
2012-01-19T06:10:49.815-06:00| vthread-3| I120: Validating path /lib/modules/3.2.1-1-ARCH/build/include for kernel release 3.2.1-1-ARCH
2012-01-19T06:10:49.817-06:00| vthread-3| I120: Your GCC version: 4.6
2012-01-19T06:10:49.830-06:00| vthread-3| I120: Your GCC version: 4.6
2012-01-19T06:10:49.858-06:00| vthread-3| I120: Header path /lib/modules/3.2.1-1-ARCH/build/include for kernel release 3.2.1-1-ARCH is valid.
2012-01-19T06:10:49.926-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.928-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.930-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.933-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.935-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:50.059-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:50.059-06:00| vthread-3| I120: Validating path /lib/modules/3.2.1-1-ARCH/build/include for kernel release 3.2.1-1-ARCH
2012-01-19T06:10:50.061-06:00| vthread-3| I120: Your GCC version: 4.6
2012-01-19T06:10:50.076-06:00| vthread-3| I120: Your GCC version: 4.6
2012-01-19T06:10:50.105-06:00| vthread-3| I120: Header path /lib/modules/3.2.1-1-ARCH/build/include for kernel release 3.2.1-1-ARCH is valid.
2012-01-19T06:10:50.105-06:00| vthread-3| I120: Building module vmmon.
2012-01-19T06:10:50.105-06:00| vthread-3| I120: Extracting the sources of the vmmon module.
2012-01-19T06:10:50.116-06:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.2.1-1-ARCH/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6.2
2012-01-19T06:10:51.838-06:00| vthread-3| I120: Failed to compile module vmmon!

So I thought ok maybe it needs the 3.2 patch, so I un-installed then reinstalled but it wouldn't let me run the patch saying that my sources are alreay patched, I need this machine to do my work and I now at a dead stop.

thanks for your help on this.

--jerry

Last edited by jk121960 (2012-01-19 23:16:22)


Arch Awesome, Ranger & Vim the coding triple threat.

Offline

#2 2012-01-19 14:36:49

larry2012
Member
Registered: 2012-01-19
Posts: 1

Re: [Solved] Kernel 3.2 wont re-patch vmware for new kernel build

Check if there is a ".patched" file under vmware source folder: /usr/lib/vmware/modules/source/

I have to remove that file to run the patch again - the original patch script does not include vmware version 8.0.1.

Offline

#3 2012-01-19 15:19:18

jk121960
Member
From: Palos Hills, Illinois
Registered: 2011-12-09
Posts: 254

Re: [Solved] Kernel 3.2 wont re-patch vmware for new kernel build

Thanks for the reply, what I did was downgrade, but I will try that later after I get done with my coding today. Oh and the old script will work with 801 if you go into the script and change the versions variable. The range for versions had the same value in each 8.0.0 or 4.0.0 for player, if you change the value to 8.0.1 and 4.0.1 it worked fine.

thanks again,

--jerry

PS I found that .patched file so I will try it later thanks


Arch Awesome, Ranger & Vim the coding triple threat.

Offline

#4 2012-01-19 23:20:11

jk121960
Member
From: Palos Hills, Illinois
Registered: 2011-12-09
Posts: 254

Re: [Solved] Kernel 3.2 wont re-patch vmware for new kernel build

OK it all worked accept for one small bit, with the new patch there is a bug in the script. It calls for

 /sbin/lsmod which doesn't exist. 
It exists in /bin/lsmod 

So I guess you could mod the script but I just symlinked the path and it worked fine.

ln -s /bin/lsmod /sbin/lsmod 

thanks again for your help and I hope this little bit gets found by who needs it.

--jerry


Arch Awesome, Ranger & Vim the coding triple threat.

Offline

Board footer

Powered by FluxBB