Comments

Kernel – 5.4 Released – No Surprises.. — 6 Comments

  1. I’ve update my Ubuntu 18.4.3 kernel to the 5.4 version but VMWare is not compiling VMNet and VMMon modules. I have VMWare Player 15.5.1 installed.

    The log shows a number of compiler warning and error messages – I can post if needed or if directed, portions as desired.

    Should I uninstall and reinstall via the ‘bundle’ or can you suggestions to restore a running VMWare Player instance?

    Thanks!
    Dave

  2. VMWare Player 15.5.1 does not compile with kernel 5.4 under Ubuntu 18.4.3. Reinstall or can you suggest other options to fix. (I can supply logs, etc. if needed).

      • This isn’t working for me. I am branching to ‘player-15.5.1’ but get numerous errors (first portion of messages is below – there are too many to post entirely but I can if needed). Suggestions? Results:

        Cloning into ‘vmware-host-modules’…
        remote: Enumerating objects: 23, done.
        remote: Counting objects: 100% (23/23), done.
        remote: Compressing objects: 100% (23/23), done.
        remote: Total 1701 (delta 19), reused 1 (delta 0), pack-reused 1678
        Receiving objects: 100% (1701/1701), 887.90 KiB | 2.31 MiB/s, done.
        Resolving deltas: 100% (1401/1401), done.
        Branch ‘player-15.5.1’ set up to track remote branch ‘player-15.5.1’ from ‘origin’.
        Switched to a new branch ‘player-15.5.1’
        make -C vmmon-only
        make[1]: Entering directory ‘/tmp/patch-vmware/vmware-host-modules/vmmon-only’
        Using kernel build system.
        make -C /lib/modules/5.4.0-050400-generic/build/include/.. M=$PWD SRCROOT=$PWD/. \
        MODULEBUILDDIR= modules
        make[2]: Entering directory ‘/usr/src/linux-headers-5.4.0-050400-generic’
        CC [M] /tmp/patch-vmware/vmware-host-modules/vmmon-only/linux/driver.o
        In file included from :0:0:
        ./arch/x86/include/asm/page_64.h: In function ‘clear_page’:
        ././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’
        #define asm_inline asm __inline
        ^
        ./arch/x86/include/asm/alternative.h:256:2: note: in expansion of macro ‘asm_inline’
        asm_inline volatile (ALTERNATIVE_2(“call %P[old]”, “call %P[new1]”, feature1,\
        ^~~~~~~~~~
        ./arch/x86/include/asm/page_64.h:49:2: note: in expansion of macro ‘alternative_call_2’
        alternative_call_2(clear_page_orig,
        ^~~~~~~~~~~~~~~~~~
        In file included from ./arch/x86/include/asm/barrier.h:5:0,
        from ./include/linux/compiler.h:256,
        from ./include/linux/file.h:9,
        from /tmp/patch-vmware/vmware-host-modules/vmmon-only/linux/driver.c:24:
        ./arch/x86/include/asm/alternative.h:128:2: error: expected identifier or ‘(’ before string constant
        “# ALT: oldinstr2\n” \
        ^
        ./arch/x86/include/asm/alternative.h:168:2: note: in expansion of macro ‘OLDINSTR_2’
        OLDINSTR_2(oldinstr, 1, 2) \
        ^~~~~~~~~~
        ./arch/x86/include/asm/alternative.h:256:23: note: in expansion of macro ‘ALTERNATIVE_2’
        asm_inline volatile (ALTERNATIVE_2(“call %P[old]”, “call %P[new1]”, feature1,\
        ^~~~~~~~~~~~~
        ./arch/x86/include/asm/page_64.h:49:2: note: in expansion of macro ‘alternative_call_2’
        alternative_call_2(clear_page_orig,
        ^~~~~~~~~~~~~~~~~~

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.