LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-21-2022, 10:26 AM   #1
yaunkay232
LQ Newbie
 
Registered: Jul 2022
Posts: 2

Rep: Reputation: 0
vmware worksstation can not start with kernel 5.15.x


Hello,
There was a kernel update available . I installed and booted to it. Now I cant start vmware workstation. When I call it I get a notification to compile vmnet and vmmon. But it fails, I have attached tail of the log file. Any suggestions please?
Code:
CODE: SELECT ALL

  tail vmware-8365.log 
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmnet-only/driver.c: In function ‘VNetFileOpUnlockedIoctl’:
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmnet-only/driver.c:966:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
2022-06-25T07:48:27.980Z In(05) host-8365   966 |       {
2022-06-25T07:48:27.980Z In(05) host-8365       |       ^
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmnet-only/driver.c:976:4: note: here
2022-06-25T07:48:27.980Z In(05) host-8365   976 |    case SIOCGETAPIVERSION:
2022-06-25T07:48:27.980Z In(05) host-8365       |    ^~~~
2022-06-25T07:48:27.980Z In(05) host-8365 Skipping BTF generation for /tmp/modconfig-8zwc6X/vmnet-only/vmnet.ko due to unavailability of vmlinux
2022-06-25T07:48:27.980Z In(05) host-8365 Unable to install all modules.  See log for details.
2022-06-25T07:48:27.980Z In(05) host-8365 
(base) uma@uma /tmp/vmware-uma $ uname -r
5.15.0-41-generic
lat 100 lines of log file
Code:
 tail -100 vmware-8365.log 
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/./include/vm_asm_x86.h:228:22: note: in expansion of macro ‘SET_SEGREG’
2022-06-25T07:48:27.980Z In(05) host-8365   228 | #define SET_SS(expr) SET_SEGREG(ss, expr)
2022-06-25T07:48:27.980Z In(05) host-8365       |                      ^~~~~~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/common/task.c:2620:13: note: in expansion of macro ‘SET_SS’
2022-06-25T07:48:27.980Z In(05) host-8365  2620 |             SET_SS(kernelStackSegment);
2022-06-25T07:48:27.980Z In(05) host-8365       |             ^~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/./include/vm_asm_x86.h:67:44: error: expression in static assertion is not constant
2022-06-25T07:48:27.980Z In(05) host-8365    67 |    ASSERT_ON_COMPILE(sizeof(Selector) == 2 &&                                \
2022-06-25T07:48:27.980Z In(05) host-8365       |                      ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365    68 |                      ((__builtin_constant_p(expr) && ((expr) >> 16) == 0) || \
2022-06-25T07:48:27.980Z In(05) host-8365       |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365    69 |                       sizeof(expr) <= 2))
2022-06-25T07:48:27.980Z In(05) host-8365       |                       ~~~~~~~~~~~~~~~~~~    
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/./include/vm_assert.h:372:22: note: in definition of macro ‘ASSERT_ON_COMPILE’
2022-06-25T07:48:27.980Z In(05) host-8365   372 |       _Static_assert(e, #e); \
2022-06-25T07:48:27.980Z In(05) host-8365       |                      ^
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/./include/vm_asm_x86.h:215:7: note: in expansion of macro ‘ASSERT_ON_COMPILE_SELECTOR_SIZE’
2022-06-25T07:48:27.980Z In(05) host-8365   215 |       ASSERT_ON_COMPILE_SELECTOR_SIZE(expr);                           \
2022-06-25T07:48:27.980Z In(05) host-8365       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/./include/vm_asm_x86.h:224:22: note: in expansion of macro ‘SET_SEGREG’
2022-06-25T07:48:27.980Z In(05) host-8365   224 | #define SET_DS(expr) SET_SEGREG(ds, expr)
2022-06-25T07:48:27.980Z In(05) host-8365       |                      ^~~~~~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/common/task.c:2716:10: note: in expansion of macro ‘SET_DS’
2022-06-25T07:48:27.980Z In(05) host-8365  2716 |          SET_DS(ds);
2022-06-25T07:48:27.980Z In(05) host-8365       |          ^~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/./include/vm_asm_x86.h:67:44: error: expression in static assertion is not constant
2022-06-25T07:48:27.980Z In(05) host-8365    67 |    ASSERT_ON_COMPILE(sizeof(Selector) == 2 &&                                \
2022-06-25T07:48:27.980Z In(05) host-8365       |                      ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365    68 |                      ((__builtin_constant_p(expr) && ((expr) >> 16) == 0) || \
2022-06-25T07:48:27.980Z In(05) host-8365       |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365    69 |                       sizeof(expr) <= 2))
2022-06-25T07:48:27.980Z In(05) host-8365       |                       ~~~~~~~~~~~~~~~~~~    
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/./include/vm_assert.h:372:22: note: in definition of macro ‘ASSERT_ON_COMPILE’
2022-06-25T07:48:27.980Z In(05) host-8365   372 |       _Static_assert(e, #e); \
2022-06-25T07:48:27.980Z In(05) host-8365       |                      ^
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/./include/vm_asm_x86.h:215:7: note: in expansion of macro ‘ASSERT_ON_COMPILE_SELECTOR_SIZE’
2022-06-25T07:48:27.980Z In(05) host-8365   215 |       ASSERT_ON_COMPILE_SELECTOR_SIZE(expr);                           \
2022-06-25T07:48:27.980Z In(05) host-8365       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/./include/vm_asm_x86.h:225:22: note: in expansion of macro ‘SET_SEGREG’
2022-06-25T07:48:27.980Z In(05) host-8365   225 | #define SET_ES(expr) SET_SEGREG(es, expr)
2022-06-25T07:48:27.980Z In(05) host-8365       |                      ^~~~~~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/common/task.c:2717:10: note: in expansion of macro ‘SET_ES’
2022-06-25T07:48:27.980Z In(05) host-8365  2717 |          SET_ES(es);
2022-06-25T07:48:27.980Z In(05) host-8365       |          ^~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/./include/vm_asm_x86.h:67:44: error: expression in static assertion is not constant
2022-06-25T07:48:27.980Z In(05) host-8365    67 |    ASSERT_ON_COMPILE(sizeof(Selector) == 2 &&                                \
2022-06-25T07:48:27.980Z In(05) host-8365       |                      ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365    68 |                      ((__builtin_constant_p(expr) && ((expr) >> 16) == 0) || \
2022-06-25T07:48:27.980Z In(05) host-8365       |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365    69 |                       sizeof(expr) <= 2))
2022-06-25T07:48:27.980Z In(05) host-8365       |                       ~~~~~~~~~~~~~~~~~~    
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/./include/vm_assert.h:372:22: note: in definition of macro ‘ASSERT_ON_COMPILE’
2022-06-25T07:48:27.980Z In(05) host-8365   372 |       _Static_assert(e, #e); \
2022-06-25T07:48:27.980Z In(05) host-8365       |                      ^
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/./include/vm_asm_x86.h:215:7: note: in expansion of macro ‘ASSERT_ON_COMPILE_SELECTOR_SIZE’
2022-06-25T07:48:27.980Z In(05) host-8365   215 |       ASSERT_ON_COMPILE_SELECTOR_SIZE(expr);                           \
2022-06-25T07:48:27.980Z In(05) host-8365       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/./include/vm_asm_x86.h:226:22: note: in expansion of macro ‘SET_SEGREG’
2022-06-25T07:48:27.980Z In(05) host-8365   226 | #define SET_FS(expr) SET_SEGREG(fs, expr)
2022-06-25T07:48:27.980Z In(05) host-8365       |                      ^~~~~~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/common/task.c:2725:10: note: in expansion of macro ‘SET_FS’
2022-06-25T07:48:27.980Z In(05) host-8365  2725 |          SET_FS(fs);
2022-06-25T07:48:27.980Z In(05) host-8365       |          ^~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/./include/vm_asm_x86.h:67:44: error: expression in static assertion is not constant
2022-06-25T07:48:27.980Z In(05) host-8365    67 |    ASSERT_ON_COMPILE(sizeof(Selector) == 2 &&                                \
2022-06-25T07:48:27.980Z In(05) host-8365       |                      ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365    68 |                      ((__builtin_constant_p(expr) && ((expr) >> 16) == 0) || \
2022-06-25T07:48:27.980Z In(05) host-8365       |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365    69 |                       sizeof(expr) <= 2))
2022-06-25T07:48:27.980Z In(05) host-8365       |                       ~~~~~~~~~~~~~~~~~~    
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/./include/vm_assert.h:372:22: note: in definition of macro ‘ASSERT_ON_COMPILE’
2022-06-25T07:48:27.980Z In(05) host-8365   372 |       _Static_assert(e, #e); \
2022-06-25T07:48:27.980Z In(05) host-8365       |                      ^
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/./include/vm_asm_x86.h:215:7: note: in expansion of macro ‘ASSERT_ON_COMPILE_SELECTOR_SIZE’
2022-06-25T07:48:27.980Z In(05) host-8365   215 |       ASSERT_ON_COMPILE_SELECTOR_SIZE(expr);                           \
2022-06-25T07:48:27.980Z In(05) host-8365       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/./include/vm_asm_x86.h:227:22: note: in expansion of macro ‘SET_SEGREG’
2022-06-25T07:48:27.980Z In(05) host-8365   227 | #define SET_GS(expr) SET_SEGREG(gs, expr)
2022-06-25T07:48:27.980Z In(05) host-8365       |                      ^~~~~~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/common/task.c:2726:10: note: in expansion of macro ‘SET_GS’
2022-06-25T07:48:27.980Z In(05) host-8365  2726 |          SET_GS(gs);
2022-06-25T07:48:27.980Z In(05) host-8365       |          ^~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365 make[2]: *** [scripts/Makefile.build:285: /tmp/modconfig-8zwc6X/vmmon-only/common/task.o] Error 1
2022-06-25T07:48:27.980Z In(05) host-8365 make[2]: *** Waiting for unfinished jobs....
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Free() falls through to next function PhysTrack_Add()
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Add() falls through to next function PhysTrack_Remove()
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove() falls through to next function PhysTrack_Test()
2022-06-25T07:48:27.980Z In(05) host-8365 make[1]: *** [Makefile:1875: /tmp/modconfig-8zwc6X/vmmon-only] Error 2
2022-06-25T07:48:27.980Z In(05) host-8365 make: *** [Makefile:117: vmmon.ko] Error 2
2022-06-25T07:48:27.980Z In(05) host-8365 Using kernel build system.
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmnet-only/driver.c: In function ‘VNetFileOpUnlockedIoctl’:
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmnet-only/driver.c:966:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
2022-06-25T07:48:27.980Z In(05) host-8365   966 |       {
2022-06-25T07:48:27.980Z In(05) host-8365       |       ^
2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmnet-only/driver.c:976:4: note: here
2022-06-25T07:48:27.980Z In(05) host-8365   976 |    case SIOCGETAPIVERSION:
2022-06-25T07:48:27.980Z In(05) host-8365       |    ^~~~
2022-06-25T07:48:27.980Z In(05) host-8365 Skipping BTF generation for /tmp/modconfig-8zwc6X/vmnet-only/vmnet.ko due to unavailability of vmlinux
2022-06-25T07:48:27.980Z In(05) host-8365 Unable to install all modules.  See log for details.
2022-06-25T07:48:27.980Z In(05) host-8365
 
Old 08-12-2022, 08:29 PM   #2
JP3
LQ Newbie
 
Registered: Aug 2022
Posts: 13

Rep: Reputation: 0
This topic may point you in the right direction.
https://communities.vmware.com/t5/VM...0/td-p/2884631

It's for PopOS, but has enough similarities to your issue that it may be of use.

It specifically mentions a "fix" to get through vmmom & vmnet compile issues by commenting out specific lines in "./vmmon-only/include/vm_asm_x86.h", which just so happens to be the same area/lines of code where the FIRST compile error happens in your error log (the rest may just be subsequent errors because of the first error). :



Quote:
Originally Posted by yaunkay232 View Post
Code:
 2022-06-25T07:48:27.980Z In(05) host-8365 /tmp/modconfig-8zwc6X/vmmon-only/./include/vm_asm_x86.h:67:44: error: expression in static assertion is not constant
2022-06-25T07:48:27.980Z In(05) host-8365    67 |    ASSERT_ON_COMPILE(sizeof(Selector) == 2 &&                                \
2022-06-25T07:48:27.980Z In(05) host-8365       |                      ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365    68 |                      ((__builtin_constant_p(expr) && ((expr) >> 16) == 0) || \
2022-06-25T07:48:27.980Z In(05) host-8365       |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-06-25T07:48:27.980Z In(05) host-8365    69 |                       sizeof(expr) <= 2))
2022-06-25T07:48:27.980Z In(05) host-8365       |                       ~~~~~~~~~~~~~~~~~~
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
block file system failed vmware when /etc/init.d/vmware start gbcbooks Linux - Software 1 10-19-2014 05:58 AM
[SOLVED] How to uninstall VMware player so that VMware workstation can be installed javascriptninja Linux - Software 1 02-06-2012 11:24 AM
Can Vmware ESX 3.5 run inside Vmware Server 2.0? linuxunix Linux - Newbie 2 03-14-2010 10:29 AM
i can not start X windows in VMWare anhvuvnn Linux - Hardware 2 10-17-2005 05:14 AM
Debug Linux kernel in vmware (two machines in vmware)?? cyu021 Programming 0 03-30-2005 07:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration