VMware Workstation

 View Only
  • 1.  17.6.2 - Cannot build modules on kernel 6.13+

    Posted Feb 23, 2025 07:58 AM
      |   view attached

    Please, see build log

    Attachment(s)

    log
    vmware-15345.log   23 KB 1 version


  • 2.  RE: 17.6.2 - Cannot build modules on kernel 6.13+

    Broadcom Employee
    Posted Feb 25, 2025 10:03 AM

    This has been fixed internally and will be in the next release of Workstation.




  • 3.  RE: 17.6.2 - Cannot build modules on kernel 6.13+

    Posted Mar 06, 2025 03:26 PM

    Hello Ian, version 17.6.3 just dropped out. Change log did not mention that it contain changes regarding this issue. I tested it and it seems to compile modules without error, but when I try to spin up a VM, network fail to initialize.

    Dmesg show error:


    [   24.845037] Missing ENDBR: init_module+0x0/0x110 [vmnet]
    [   24.845045] ------------[ cut here ]------------
    [   24.845046] Kernel BUG at exc_control_protection+0x2b2/0x2c0 [verbose debug info unavailable]
    [   24.845053] Oops: invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
    [   24.845056] CPU: 25 UID: 0 PID: 6379 Comm: modprobe Tainted: G           OE      6.13.5-x64v3-xanmod1 #0~20250227.gdc8f2a7 c77be3676f33cbff8838613cf5c939384d4b41ca
    [   24.845059] Tainted: [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
    [   24.845060] Hardware name: ASUSTeK COMPUTER INC. ROG Strix G834JY_G834JY/G834JY, BIOS G834JY.331 11/11/2024
    [   24.845062] RIP: 0010:exc_control_protection+0x2b2/0x2c0
    [   24.845064] Code: 28 01 01 48 c7 c2 40 25 82 a3 25 ff 7f 00 00 83 f8 05 77 cb eb bd 80 a3 8a 00 00 00 fb 48 c7 43 50 00 00 00 00 e9 6c fe ff ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 66 0f 1f 00 41 55 49 89
    [   24.845065] RSP: 0018:ffffa113c226f8b8 EFLAGS: 00010002
    [   24.845067] RAX: 000000000000002c RBX: ffffa113c226f8e8 RCX: 0000000000000000
    [   24.845069] RDX: 0000000000000000 RSI: ffff92962cea18c0 RDI: ffff92962cea18c0
    [   24.845070] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffffa515e7e0
    [   24.845071] R10: 00000000ffffdfff R11: ffffa113c226f748 R12: 0000000000000003
    [   24.845072] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
    [   24.845073] FS:  00007fa45d579640(0000) GS:ffff92962ce80000(0000) knlGS:0000000000000000
    [   24.845074] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [   24.845075] CR2: 00007fa45cfffb93 CR3: 0000000118464006 CR4: 0000000000f72ef0
    [   24.845076] PKRU: 55555554
    [   24.845077] Call Trace:
    [   24.845079]  <TASK>
    [   24.845081]  ? die+0x36/0x90
    [   24.845083]  ? do_trap+0xdd/0x100
    [   24.845085]  ? exc_control_protection+0x2b2/0x2c0
    [   24.845087]  ? do_error_trap+0x6a/0x90
    [   24.845089]  ? exc_control_protection+0x2b2/0x2c0
    [   24.845090]  ? exc_invalid_op+0x50/0x70
    [   24.845092]  ? exc_control_protection+0x2b2/0x2c0
    [   24.845094]  ? asm_exc_invalid_op+0x1a/0x20
    [   24.845097]  ? exc_control_protection+0x2b2/0x2c0
    [   24.845099]  ? exc_control_protection+0xcc/0x2c0
    [   24.845101]  asm_exc_control_protection+0x26/0x30
    [   24.845103] RIP: 0010:init_module+0x0/0x110 [vmnet]
    [   24.845105] Code: b8 ff ff ff ff c3 cc cc cc cc 66 0f 1f 00 0f 1f 44 00 00 48 c7 c7 40 6f 9b c3 e8 4b a4 fa de 31 c0 c3 cc cc cc cc 0f 1f 40 00 <66> 0f 1f 00 0f 1f 44 00 00 53 e8 f1 4e 00 00 85 c0 0f 85 e3 00 00
    [   24.845107] RSP: 0018:ffffa113c226f990 EFLAGS: 00010246
    [   24.845108] RAX: 0000000000000000 RBX: ffffffffc39ad100 RCX: 0000000000000000
    [   24.845109] RDX: 0000000000000000 RSI: ffffffffc39ad100 RDI: ffffa113c226f978
    [   24.845110] RBP: 0000000000000000 R08: 0000000000000020 R09: ffff92870a402640
    [   24.845111] R10: ffffa113c226fa08 R11: 0000000000000010 R12: ffffa113c226fa30
    [   24.845112] R13: ffffa113c226f998 R14: ffff928702f78180 R15: ffff92871be833b0
    [   24.845113]  ? VNetRegister+0x20/0x20 [vmnet 30ef862db608ffbd41fdc489ae2319bed3bfb63a]
    [   24.845116]  ? VNetRegister+0x20/0x20 [vmnet 30ef862db608ffbd41fdc489ae2319bed3bfb63a]
    [   24.845118]  do_one_initcall+0x58/0x310
    [   24.845122]  do_init_module+0x60/0x260
    [   24.845125]  init_module_from_file+0x86/0xc0
    [   24.845128]  idempotent_init_module+0x115/0x310
    [   24.845131]  __x64_sys_finit_module+0x65/0xc0
    [   24.845133]  do_syscall_64+0x6d/0x140
    [   24.845135]  ? vfs_read+0x15e/0x370
    [   24.845137]  ? vfs_read+0x15e/0x370
    [   24.845138]  ? __rseq_handle_notify_resume+0xa2/0x4e0
    [   24.845142]  ? switch_fpu_return+0x4e/0xd0
    [   24.845144]  ? arch_exit_to_user_mode_prepare.isra.0+0x7a/0x90
    [   24.845146]  ? syscall_exit_to_user_mode+0x3b/0x110
    [   24.845148]  ? do_syscall_64+0x79/0x140
    [   24.845149]  ? syscall_exit_to_user_mode+0x3b/0x110
    [   24.845151]  ? do_syscall_64+0x79/0x140
    [   24.845153]  ? do_sys_openat2+0x9c/0xe0
    [   24.845155]  ? syscall_exit_to_user_mode+0x3b/0x110
    [   24.845157]  ? do_syscall_64+0x79/0x140
    [   24.845158]  ? irqentry_exit_to_user_mode+0x24/0x100
    [   24.845160]  entry_SYSCALL_64_after_hwframe+0x6c/0x74
    [   24.845162] RIP: 0033:0x7fa45cd30fdd
    [   24.845192] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 13 fe 0d 00 f7 d8 64 89 01 48
    [   24.845193] RSP: 002b:00007fff89f16988 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
    [   24.845195] RAX: ffffffffffffffda RBX: 000056035a5fa0b0 RCX: 00007fa45cd30fdd
    [   24.845196] RDX: 0000000000000000 RSI: 00005603406cde84 RDI: 0000000000000003
    [   24.845197] RBP: 00007fff89f16a40 R08: 00007fa45ce11b20 R09: 0000000000000000
    [   24.845197] R10: 0000000000000040 R11: 0000000000000246 R12: 00005603406cde84
    [   24.845198] R13: 0000000000040000 R14: 000056035a5fa050 R15: 000056035a5f3a00
    [   24.845200]  </TASK>
    [   24.845201] Modules linked in: vmnet(OE+) vmw_vsock_vmci_transport vsock vmw_vmci vmmon(OE) nf_tables ccm vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) wireguard curve25519_x86_64 libchacha20poly1305 chacha_x86_64 poly1305_x86_64 libcurve25519_generic libchacha ip6_udp_tunnel udp_tunnel qrtr overlay nvidia_uvm(OE) uhid rfcomm cmac algif_hash algif_skcipher af_alg bnep squashfs loop sch_fq_codel kvmfr(OE) evdi(OE) vfat fat xe drm_gpuvm drm_exec gpu_sched drm_suballoc_helper snd_hda_codec_realtek snd_hda_codec_generic snd_hda_scodec_component snd_sof_pci_intel_tgl snd_sof_pci_intel_cnl snd_sof_intel_hda_generic soundwire_intel soundwire_cadence snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda_mlink snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_acpi_intel_match snd_soc_acpi_intel_sdca_quirks soundwire_generic_allocation snd_soc_acpi soundwire_bus snd_soc_sdca snd_soc_avs snd_soc_hda_codec snd_hda_ext_core snd_soc_core snd_hda_codec_hdmi snd_compress ac97_bus snd_pcm_dmaengine
    [   24.845227]  snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi snd_usb_audio snd_hda_codec snd_usbmidi_lib snd_hda_core snd_ump snd_hwdep btusb iwlmvm nvidia_drm(OE) snd_pcm btrtl snd_seq_dummy intel_uncore_frequency intel_uncore_frequency_common btintel snd_hda_scodec_cs35l41_i2c snd_seq_oss nvidia_modeset(OE) intel_tcc_cooling mac80211 uvcvideo snd_seq_midi snd_hda_scodec_cs35l41_spi snd_seq_midi_event processor_thermal_device_pci videobuf2_vmalloc processor_thermal_device uvc snd_hda_scodec_cs35l41 snd_rawmidi processor_thermal_wt_hint videobuf2_memops btbcm videobuf2_v4l2 x86_pkg_temp_thermal processor_thermal_rfim libarc4 snd_hda_cs_dsp_ctls snd_seq spd5118 processor_thermal_rapl spi_nor videobuf2_common snd_soc_cs_amp_lib intel_powerclamp ptp btmtk snd_seq_device nvidia(OE) bluetooth sg videodev coretemp mei_pxp intel_rapl_msr mei_hdcp pps_core mtd intel_pmc_core snd_timer snd_soc_cs35l41_lib intel_rapl_common joydev rapl i2c_i801 cs_dsp intel_cstate iwlwifi processor_thermal_wt_req snd intel_vsec mousedev
    [   24.845255]  i2c_smbus spi_intel_pci processor_thermal_power_floor mei_me cdc_mbim pmt_telemetry int3400_thermal processor_thermal_mbox int3403_thermal intel_uncore mc cdc_wdm asus_nb_wmi wmi_bmof cfg80211 nvidia_wmi_ec_backlight soundcore i2c_mux spi_intel drm_ttm_helper serial_multi_instantiate int340x_thermal_zone acpi_pad acpi_tad acpi_thermal_rel pmt_class serio_raw mac_hid mei i915 drm_buddy i2c_algo_bit ttm drm_display_helper cec intel_gtt parport_pc ppdev lp parport nfnetlink ip_tables x_tables ext4 crc16 mbcache jbd2 btrfs blake2b_generic dm_crypt dm_mod cbc encrypted_keys trusted asn1_encoder tee raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c crc32c_generic raid1 raid0 linear md_mod vhost_net tun tap vhost vhost_iotlb vfio_pci vfio_pci_core vfio_iommu_type1 vfio iommufd hid_asus asus_wmi sparse_keymap platform_profile rfkill uas usb_storage usbhid cdc_ncm cdc_ether usbnet mii kvm_intel spi_pxa2xx_platform kvm hid_multitouch dw_dmac crct10dif_pclmul
    [   24.845295]  hid_generic spi_pxa2xx_core crc32_pclmul crc32c_intel polyval_clmulni polyval_generic ghash_clmulni_intel sha512_ssse3 psmouse sha256_ssse3 r8169 atkbd sha1_ssse3 aesni_intel libps2 realtek ucsi_acpi vivaldi_fmap nvme gf128mul typec_ucsi mdio_devres nvme_core intel_lpss_pci crypto_simd roles thunderbolt video intel_lpss i2c_hid_acpi cryptd libphy nvme_auth typec idma64 i2c_hid i8042 serio pinctrl_alderlake wmi
    [   24.845310] ---[ end trace 0000000000000000 ]---
    [   24.845311] RIP: 0010:exc_control_protection+0x2b2/0x2c0
    [   24.845313] Code: 28 01 01 48 c7 c2 40 25 82 a3 25 ff 7f 00 00 83 f8 05 77 cb eb bd 80 a3 8a 00 00 00 fb 48 c7 43 50 00 00 00 00 e9 6c fe ff ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 66 0f 1f 00 41 55 49 89
    [   24.845314] RSP: 0018:ffffa113c226f8b8 EFLAGS: 00010002
    [   24.845316] RAX: 000000000000002c RBX: ffffa113c226f8e8 RCX: 0000000000000000
    [   24.845316] RDX: 0000000000000000 RSI: ffff92962cea18c0 RDI: ffff92962cea18c0
    [   24.845317] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffffa515e7e0
    [   24.845318] R10: 00000000ffffdfff R11: ffffa113c226f748 R12: 0000000000000003
    [   24.845319] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
    [   24.845320] FS:  00007fa45d579640(0000) GS:ffff92962ce80000(0000) knlGS:0000000000000000
    [   24.845321] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [   24.845322] CR2: 00007fa45cfffb93 CR3: 0000000118464006 CR4: 0000000000f72ef0
    [   24.845323] PKRU: 55555554
    [   24.845324] note: modprobe[6379] exited with irqs disabled


    Attachment(s)

    log
    mksSandbox.log   61 KB 1 version
    log
    vmware.log   268 KB 1 version


  • 4.  RE: 17.6.2 - Cannot build modules on kernel 6.13+

    Broadcom Employee
    Posted Mar 06, 2025 04:01 PM

    This seems to be a separate issue with Intel CET enabled processors. Can you try booting your kernel with the "ibt=off" parameter.




  • 5.  RE: 17.6.2 - Cannot build modules on kernel 6.13+

    Posted Mar 07, 2025 12:59 PM

    Yes, with the "ibt=off" network works as expected.




  • 6.  RE: 17.6.2 - Cannot build modules on kernel 6.13+

    Posted Mar 11, 2025 03:19 PM
      |   view attached

    Looks like these two commits never made it back to the main branch:

    Applying these patches manually solves the issue without having to turn off ibt in the kernel boot parameters.

    cd /usr/lib/vmware/modules/source && tar xf vmmon-only && tar xf vmnet-only && patch -p0 < 17.6.x.patch.txt && tar cf vmmon-only.tar vmmon-only/ && tar cf vmnet-only.tar vmnet-only/ && vmware-modconfig --console --install-all


    Attachment(s)

    txt
    17.6.x.patch.txt   2 KB 1 version


  • 7.  RE: 17.6.2 - Cannot build modules on kernel 6.13+

    Broadcom Employee
    Posted Mar 11, 2025 03:49 PM

    I can confirm that these should fix the issue and we've applied similar fixes internally for the next release.




  • 8.  RE: 17.6.2 - Cannot build modules on kernel 6.13+

    Posted Mar 13, 2025 02:06 PM

    It is solved for now, after booting the kernel with "ibt=off" parameter.

    My kernel is "6.13.6-200.fc41.x86_64"

    I saw the issue in same logs

    dmesg | grep -i "vmnet

    dmesg | grep -i "vmmon".

    Now I am able to power up my VMs on Workstation. 

    Really thanks for your help.