vmware worksstation can not start with kernel 5.15.x

Questions about virtualization software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
deepakdeshp
Level 20
Level 20
Posts: 12341
Joined: Sun Aug 09, 2015 10:00 am

vmware worksstation can not start with kernel 5.15.x

Post by deepakdeshp »

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: 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: Select all

  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 
 
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
User avatar
antikythera
Level 15
Level 15
Posts: 5721
Joined: Thu Jul 02, 2020 12:52 pm
Location: Cymru

Re: vmware worksstation can not start with kernel 5.15.x

Post by antikythera »

yes, use an older kernel until vmware is updated to support kernel 5.15
I’ll tell you a DNS joke but be advised, it could take up to 24 hours for everyone to get it.
Locked

Return to “Virtual Machines”