[kenneth@kyb0rg ~]$ uname -r 4.7.2-101.fc23.x86_64
설치를 클릭합니다
자세한 내용은 로그 파일 /tmp/vmware-root/vmware-14992.log를 참조하십시오.
[root@kyb0rg kenneth]# /tmp/vmware-root/vmware-14992.log bash: /tmp/vmware-root/vmware-14992.log: Permission denied [root@kyb0rg kenneth]# open /tmp/vmware-root/vmware-14992.log [root@kyb0rg kenneth]# cat /tmp/vmware-root/vmware-14992.log 2016-09-11T11:32:52.140-05:00| vthread-4| I125: Log for VMware Workstation pid=14992 version=12.1.1 build=build-3770994 option=Release 2016-09-11T11:32:52.140-05:00| vthread-4| I125: The process is 64-bit. 2016-09-11T11:32:52.140-05:00| vthread-4| I125: Host codepage=UTF-8 encoding=UTF-8 2016-09-11T11:32:52.140-05:00| vthread-4| I125: Host is Linux 4.7.2-101.fc23.x86_64 Fedora release 23 (Twenty Three) 2016-09-11T11:32:52.140-05:00| vthread-4| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory. 2016-09-11T11:32:52.140-05:00| vthread-4| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values. 2016-09-11T11:32:52.140-05:00| vthread-4| I125: DictionaryLoad: Cannot open file "/root/.vmware/config": No such file or directory. 2016-09-11T11:32:52.140-05:00| vthread-4| I125: PREF Optional preferences file not found at /root/.vmware/config. Using default values. 2016-09-11T11:32:52.140-05:00| vthread-4| I125: PREF Unable to check permissions for preferences file. 2016-09-11T11:32:52.140-05:00| vthread-4| I125: DictionaryLoad: Cannot open file "/root/.vmware/preferences": No such file or directory. 2016-09-11T11:32:52.140-05:00| vthread-4| I125: PREF Failed to load user preferences. 2016-09-11T11:32:52.155-05:00| vthread-4| W115: Logging to /tmp/vmware-root/vmware-14992.log 2016-09-11T11:32:52.159-05:00| vthread-4| I125: Obtaining info using the running kernel. 2016-09-11T11:32:52.159-05:00| vthread-4| I125: Created new pathsHash. 2016-09-11T11:32:52.159-05:00| vthread-4| I125: Setting header path for 4.7.2-101.fc23.x86_64 to "/lib/modules/4.7.2-101.fc23.x86_64/build/include". 2016-09-11T11:32:52.159-05:00| vthread-4| I125: Validating path "/lib/modules/4.7.2-101.fc23.x86_64/build/include" for kernel release "4.7.2-101.fc23.x86_64". 2016-09-11T11:32:52.159-05:00| vthread-4| I125: Failed to find /lib/modules/4.7.2-101.fc23.x86_64/build/include/linux/version.h 2016-09-11T11:32:52.159-05:00| vthread-4| I125: /lib/modules/4.7.2-101.fc23.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2016-09-11T11:32:52.159-05:00| vthread-4| I125: using /usr/bin/gcc for preprocess check 2016-09-11T11:32:52.165-05:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.7.2-101.fc23.x86_64". 2016-09-11T11:32:52.165-05:00| vthread-4| I125: The header path "/lib/modules/4.7.2-101.fc23.x86_64/build/include" for the kernel "4.7.2-101.fc23.x86_64" is valid. Whoohoo! 2016-09-11T11:32:52.275-05:00| vthread-4| I125: found symbol version file /lib/modules/4.7.2-101.fc23.x86_64/build/Module.symvers 2016-09-11T11:32:52.275-05:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.7.2-101.fc23.x86_64/build/Module.symvers. 2016-09-11T11:32:52.290-05:00| vthread-4| I125: Read 17372 symbol versions 2016-09-11T11:32:52.290-05:00| vthread-4| I125: Reading in info for the vmmon module. 2016-09-11T11:32:52.290-05:00| vthread-4| I125: Reading in info for the vmnet module. 2016-09-11T11:32:52.290-05:00| vthread-4| I125: Reading in info for the vmblock module. 2016-09-11T11:32:52.290-05:00| vthread-4| I125: Reading in info for the vmci module. 2016-09-11T11:32:52.290-05:00| vthread-4| I125: Reading in info for the vsock module. 2016-09-11T11:32:52.290-05:00| vthread-4| I125: Setting vsock to depend on vmci. 2016-09-11T11:32:52.290-05:00| vthread-4| I125: Invoking modinfo on "vmmon". 2016-09-11T11:32:52.292-05:00| vthread-4| I125: "/sbin/modinfo" exited with status 256. 2016-09-11T11:32:52.292-05:00| vthread-4| I125: Invoking modinfo on "vmnet". 2016-09-11T11:32:52.293-05:00| vthread-4| I125: "/sbin/modinfo" exited with status 256. 2016-09-11T11:32:52.293-05:00| vthread-4| I125: Invoking modinfo on "vmblock". 2016-09-11T11:32:52.294-05:00| vthread-4| I125: "/sbin/modinfo" exited with status 256. 2016-09-11T11:32:52.294-05:00| vthread-4| I125: Invoking modinfo on "vmci". 2016-09-11T11:32:52.296-05:00| vthread-4| I125: "/sbin/modinfo" exited with status 256. 2016-09-11T11:32:52.296-05:00| vthread-4| I125: Invoking modinfo on "vsock". 2016-09-11T11:32:52.298-05:00| vthread-4| I125: "/sbin/modinfo" exited with status 0. 2016-09-11T11:32:52.306-05:00| vthread-4| I125: to be installed: vmmon status: 0 2016-09-11T11:32:52.306-05:00| vthread-4| I125: to be installed: vmnet status: 0 2016-09-11T11:32:52.315-05:00| vthread-4| I125: Obtaining info using the running kernel. 2016-09-11T11:32:52.315-05:00| vthread-4| I125: Setting header path for 4.7.2-101.fc23.x86_64 to "/lib/modules/4.7.2-101.fc23.x86_64/build/include". 2016-09-11T11:32:52.315-05:00| vthread-4| I125: Validating path "/lib/modules/4.7.2-101.fc23.x86_64/build/include" for kernel release "4.7.2-101.fc23.x86_64". 2016-09-11T11:32:52.315-05:00| vthread-4| I125: Failed to find /lib/modules/4.7.2-101.fc23.x86_64/build/include/linux/version.h 2016-09-11T11:32:52.315-05:00| vthread-4| I125: /lib/modules/4.7.2-101.fc23.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2016-09-11T11:32:52.315-05:00| vthread-4| I125: using /usr/bin/gcc for preprocess check 2016-09-11T11:32:52.321-05:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.7.2-101.fc23.x86_64". 2016-09-11T11:32:52.321-05:00| vthread-4| I125: The header path "/lib/modules/4.7.2-101.fc23.x86_64/build/include" for the kernel "4.7.2-101.fc23.x86_64" is valid. Whoohoo! 2016-09-11T11:32:52.431-05:00| vthread-4| I125: found symbol version file /lib/modules/4.7.2-101.fc23.x86_64/build/Module.symvers 2016-09-11T11:32:52.431-05:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.7.2-101.fc23.x86_64/build/Module.symvers. 2016-09-11T11:32:52.445-05:00| vthread-4| I125: Read 17372 symbol versions 2016-09-11T11:32:52.446-05:00| vthread-4| I125: Kernel header path retrieved from FileEntry: /lib/modules/4.7.2-101.fc23.x86_64/build/include 2016-09-11T11:32:52.446-05:00| vthread-4| I125: Update kernel header path to /lib/modules/4.7.2-101.fc23.x86_64/build/include 2016-09-11T11:32:52.446-05:00| vthread-4| I125: Validating path "/lib/modules/4.7.2-101.fc23.x86_64/build/include" for kernel release "4.7.2-101.fc23.x86_64". 2016-09-11T11:32:52.446-05:00| vthread-4| I125: Failed to find /lib/modules/4.7.2-101.fc23.x86_64/build/include/linux/version.h 2016-09-11T11:32:52.446-05:00| vthread-4| I125: /lib/modules/4.7.2-101.fc23.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2016-09-11T11:32:52.446-05:00| vthread-4| I125: using /usr/bin/gcc for preprocess check 2016-09-11T11:32:52.451-05:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.7.2-101.fc23.x86_64". 2016-09-11T11:32:52.451-05:00| vthread-4| I125: The header path "/lib/modules/4.7.2-101.fc23.x86_64/build/include" for the kernel "4.7.2-101.fc23.x86_64" is valid. Whoohoo! 2016-09-11T11:32:52.452-05:00| vthread-4| I125: Found compiler at "/usr/bin/gcc" 2016-09-11T11:32:52.454-05:00| vthread-4| I125: Got gcc version "5.3.1". 2016-09-11T11:32:52.454-05:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove. 2016-09-11T11:32:52.454-05:00| vthread-4| I125: Using user supplied compiler "/usr/bin/gcc". 2016-09-11T11:32:52.457-05:00| vthread-4| I125: Got gcc version "5.3.1". 2016-09-11T11:32:52.457-05:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove. 2016-09-11T11:32:52.458-05:00| vthread-4| I125: Trying to find a suitable PBM set for kernel "4.7.2-101.fc23.x86_64". 2016-09-11T11:32:52.458-05:00| vthread-4| I125: No matching PBM set was found for kernel "4.7.2-101.fc23.x86_64". 2016-09-11T11:32:52.458-05:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove. 2016-09-11T11:32:52.458-05:00| vthread-4| I125: Validating path "/lib/modules/4.7.2-101.fc23.x86_64/build/include" for kernel release "4.7.2-101.fc23.x86_64". 2016-09-11T11:32:52.458-05:00| vthread-4| I125: Failed to find /lib/modules/4.7.2-101.fc23.x86_64/build/include/linux/version.h 2016-09-11T11:32:52.458-05:00| vthread-4| I125: /lib/modules/4.7.2-101.fc23.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2016-09-11T11:32:52.458-05:00| vthread-4| I125: using /usr/bin/gcc for preprocess check 2016-09-11T11:32:52.464-05:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.7.2-101.fc23.x86_64". 2016-09-11T11:32:52.464-05:00| vthread-4| I125: The header path "/lib/modules/4.7.2-101.fc23.x86_64/build/include" for the kernel "4.7.2-101.fc23.x86_64" is valid. Whoohoo! 2016-09-11T11:32:52.465-05:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove. 2016-09-11T11:32:52.465-05:00| vthread-4| I125: Validating path "/lib/modules/4.7.2-101.fc23.x86_64/build/include" for kernel release "4.7.2-101.fc23.x86_64". 2016-09-11T11:32:52.465-05:00| vthread-4| I125: Failed to find /lib/modules/4.7.2-101.fc23.x86_64/build/include/linux/version.h 2016-09-11T11:32:52.465-05:00| vthread-4| I125: /lib/modules/4.7.2-101.fc23.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2016-09-11T11:32:52.465-05:00| vthread-4| I125: using /usr/bin/gcc for preprocess check 2016-09-11T11:32:52.470-05:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.7.2-101.fc23.x86_64". 2016-09-11T11:32:52.470-05:00| vthread-4| I125: The header path "/lib/modules/4.7.2-101.fc23.x86_64/build/include" for the kernel "4.7.2-101.fc23.x86_64" is valid. Whoohoo! 2016-09-11T11:32:52.470-05:00| vthread-4| I125: Using temp dir "/tmp". 2016-09-11T11:32:52.471-05:00| vthread-4| I125: Obtaining info using the running kernel. 2016-09-11T11:32:52.471-05:00| vthread-4| I125: Setting header path for 4.7.2-101.fc23.x86_64 to "/lib/modules/4.7.2-101.fc23.x86_64/build/include". 2016-09-11T11:32:52.471-05:00| vthread-4| I125: Validating path "/lib/modules/4.7.2-101.fc23.x86_64/build/include" for kernel release "4.7.2-101.fc23.x86_64". 2016-09-11T11:32:52.471-05:00| vthread-4| I125: Failed to find /lib/modules/4.7.2-101.fc23.x86_64/build/include/linux/version.h 2016-09-11T11:32:52.471-05:00| vthread-4| I125: /lib/modules/4.7.2-101.fc23.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2016-09-11T11:32:52.471-05:00| vthread-4| I125: using /usr/bin/gcc for preprocess check 2016-09-11T11:32:52.476-05:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.7.2-101.fc23.x86_64". 2016-09-11T11:32:52.476-05:00| vthread-4| I125: The header path "/lib/modules/4.7.2-101.fc23.x86_64/build/include" for the kernel "4.7.2-101.fc23.x86_64" is valid. Whoohoo! 2016-09-11T11:32:52.586-05:00| vthread-4| I125: found symbol version file /lib/modules/4.7.2-101.fc23.x86_64/build/Module.symvers 2016-09-11T11:32:52.586-05:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.7.2-101.fc23.x86_64/build/Module.symvers. 2016-09-11T11:32:52.600-05:00| vthread-4| I125: Read 17372 symbol versions 2016-09-11T11:32:52.600-05:00| vthread-4| I125: Invoking modinfo on "vmmon". 2016-09-11T11:32:52.602-05:00| vthread-4| I125: "/sbin/modinfo" exited with status 256. 2016-09-11T11:32:52.602-05:00| vthread-4| I125: Invoking modinfo on "vmnet". 2016-09-11T11:32:52.604-05:00| vthread-4| I125: "/sbin/modinfo" exited with status 256. 2016-09-11T11:32:52.692-05:00| vthread-4| I125: Setting destination path for vmmon to "/lib/modules/4.7.2-101.fc23.x86_64/misc/vmmon.ko". 2016-09-11T11:32:52.692-05:00| vthread-4| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar". 2016-09-11T11:32:52.699-05:00| vthread-4| I125: Successfully extracted the vmmon source. 2016-09-11T11:32:52.699-05:00| vthread-4| I125: Building module with command "/usr/bin/make -j4 -C /tmp/modconfig-gLvcSL/vmmon-only auto-build HEADER_DIR=/lib/modules/4.7.2-101.fc23.x86_64/build/include CC=/usr/bin/gcc IS_GCC_3=no" 2016-09-11T11:32:54.104-05:00| vthread-4| W115: Failed to build vmmon. Failed to execute the build command. 2016-09-11T11:32:54.105-05:00| vthread-4| I125: Setting destination path for vmnet to "/lib/modules/4.7.2-101.fc23.x86_64/misc/vmnet.ko". 2016-09-11T11:32:54.105-05:00| vthread-4| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar". 2016-09-11T11:32:54.108-05:00| vthread-4| I125: Successfully extracted the vmnet source. 2016-09-11T11:32:54.108-05:00| vthread-4| I125: Building module with command "/usr/bin/make -j4 -C /tmp/modconfig-gLvcSL/vmnet-only auto-build HEADER_DIR=/lib/modules/4.7.2-101.fc23.x86_64/build/include CC=/usr/bin/gcc IS_GCC_3=no" 2016-09-11T11:32:55.414-05:00| vthread-4| W115: Failed to build vmnet. Failed to execute the build command.
답변1
나는 이 문제에 직면했고 모듈 소스와 관련이 있었습니다.가상 모니터그리고가상 네트워크Linux 커널에서 컴파일할 수 없습니다.4.7 이상수정이 필요하지 않습니다. 이 솔루션은 ArchWiki에서 제공되지만 다양한 배포판에서 작동합니다. Fedora에서는 이것을 테스트하지 않았고 Debian에서만 테스트했지만 어쨌든 작동합니다.
https://wiki.archlinux.org/index.php/VMware#Kernel_modules_fail_to_build_after_Linux_4.7
당신은 사용하고 싶을 수도 있습니다스도일부 명령의 경우. 먼저 업데이트하세요가상 모니터원천:
- CD /usr/lib/vmware/모듈/소스
- tar xf vmmon.tar
- mv vmmon .tar vmmon.old.tar
- sed -r -i -e 's/get_user_pages(_remote)*/get_user_pages_remote/g' vmmon-only/linux/hostif.c
- tar cf vmmon.tar vmmon 전용
- rm -r vmmon 전용
이제 같은 일을 하세요가상 네트워크. 이미 로그인한 경우 1단계를 건너뛰세요. /usr/lib/vmware/모듈/소스목차:
- CD /usr/lib/vmware/모듈/소스
- tar xf vmnet.tar
- mv vmnet.tar vmnet.old.tar
- sed -r -i -e 's/get_user_pages(_remote)*/get_user_pages_remote/g' vmnet-only/userif.c
- sed -i -e 's/dev->trans_start = jiffies/netif_trans_update(dev)/g' vmnet-only/netif.c
- tar cf vmnet.tar vmnet 전용
- rm -r vmnet 전용
이게 도움이 되길 바란다.
답변2
나는 이것이 새로운 것이라고 생각합니다. 한동안 패치된 vmnet 버전을 실행해 왔고 마지막 FC23 커널 업데이트(4.7.2-101.fc23.x86_64로 업데이트됨) 이후 vmnet make가 다음 오류로 인해 실패했습니다.
netif.c:468:7: 오류: 'struct net_device'에는 'trans_start'라는 멤버가 없습니다.
바라보다http://rglinuxtech.com/?p=1746토론을 해보세요.
답변3
cd /usr/lib/vmware/modules/source
tar xf vmmon.tar
tar xf vmnet.tar
cd vmmon-only
make
cd ../vmnet
make
cd ..
mkdir /lib/modules/`uname -r`/misc
cp vmmon.o /lib/modules/`uname -r`/misc/vmmon.ko
cp vmnet.o /lib/modules/`uname -r`/misc/vmnet.ko
depmod -a
/etc/init.d/vmware restart
새 버전이 나올 때마다 이 단계를 다시 수행해야 합니다.
답변4
저도 같은 상황인데 한번 해보세요
dnf update
reboot