Open stelios333 opened 3 months ago
Found a workaround! I used this specific patch. Anything else didn't work properly from me.
I have some virtual machines with bridget network configuration. In VMware 17.5.2 I can compile this repository at the branch 17.5.1 and everything it goes well. If I try to compile modules with this patch virtual machines are freezing during bootup.
I use Linux Lite 7.0 (based on Ubuntu 24.04) with kernel 6.8.0-41.
I have getting the same problem: VMware-Workstation-Full-17.5.2-23775571.x86_64.bundle Ubuntu 22.04 Linux exquite 6.8.0-40-generic #40~22.04.3-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 30 17:30:19 UTC 2 x86_64 x86_64 x86_64 GNU/Linux https://github.com/nan0desu/vmware-host-modules.git modules build and start OK, but the VM (with bridged networking) freezes laptop on startup
same thing for me!
Aug 28 11:31:10 fedora-12thgen abrt-dump-journal-oops[1984]: Reported 1 kernel oopses to Abrt
Aug 28 11:31:09 fedora-12thgen abrt-server[115898]: Deleting problem directory '/var/spool/abrt/oops-2024-08-28-11:31:09-1984-0'
Aug 28 11:31:09 fedora-12thgen abrt-server[115898]: 'post-create' on '/var/spool/abrt/oops-2024-08-28-11:31:09-1984-0' exited with 1
Aug 28 11:31:09 fedora-12thgen abrt-server[115898]: Package 'kernel-core' isn't signed with proper key
Aug 28 11:31:09 fedora-12thgen abrt-dump-journal-oops[1984]: abrt-dump-journal-oops: Creating problem directories
Aug 28 11:31:09 fedora-12thgen abrt-dump-journal-oops[1984]: abrt-dump-journal-oops: Found oopses: 1
Aug 28 11:31:07 fedora-12thgen kernel: note: vmx-vcpu-1[115810] exited with irqs disabled
Aug 28 11:31:07 fedora-12thgen kernel: PKRU: 55555554
Aug 28 11:31:07 fedora-12thgen kernel: CR2: 0000000000000000 CR3: 00000004daee2000 CR4: 0000000000f50ef0
Aug 28 11:31:07 fedora-12thgen kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 28 11:31:07 fedora-12thgen kernel: FS: 00007f3ae56006c0(0000) GS:ffff9265df100000(0000) knlGS:0000000000000000
Aug 28 11:31:07 fedora-12thgen kernel: R13: ffff9264fbcf0700 R14: ffff9264efe5d442 R15: ffff925ef2c3d200
Aug 28 11:31:07 fedora-12thgen kernel: R10: ffffffffb5e14e41 R11: 0000000000000000 R12: ffff9262d3dd3400
Aug 28 11:31:07 fedora-12thgen kernel: RBP: ffffffffb84ddbe0 R08: ffff9264efe5d442 R09: ffff9264fbcf0b00
Aug 28 11:31:07 fedora-12thgen kernel: RDX: ffff925ef2c3d200 RSI: ffff9264fbcf0b00 RDI: ffff925ef2c3d200
Aug 28 11:31:07 fedora-12thgen kernel: RAX: 0000000000000000 RBX: ffff9264fbcf0b00 RCX: ffff000000000000
Aug 28 11:31:07 fedora-12thgen kernel: RSP: 0018:ffffb9c5469c3aa0 EFLAGS: 00010246
Aug 28 11:31:07 fedora-12thgen kernel: Code: 00 00 00 00 0f 1f 40 00 48 8b 85 68 01 00 00 48 8d a8 98 fe ff ff 48 3d 48 dd 4d b8 75 ea e8 45 fe a1 ef 48 8b 85 38 04 00 00 <8b> 08 39 4c 24 12 74 6e 0f b7 85 b4 00 00 00>
Aug 28 11:31:07 fedora-12thgen kernel: RIP: 0010:VNetBridgeReceiveFromVNet+0x112/0x470 [vmnet]
Aug 28 11:31:07 fedora-12thgen kernel: ---[ end trace 0000000000000000 ]---
Aug 28 11:31:07 fedora-12thgen kernel: CR2: 0000000000000000
Aug 28 11:31:07 fedora-12thgen kernel: snd_pcm_dmaengine libarc4 coretemp snd_hda_intel snd_intel_dspcfg kvm_intel snd_intel_sdw_acpi snd_hda_codec spi_nor iTCO_wdt mei_pxp snd_hda_core mei_hdcp btusb intel_pmc_bxt m>
Aug 28 11:31:07 fedora-12thgen kernel: Modules linked in: uinput lp snd_seq_dummy snd_hrtimer rfcomm iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi snd_usb_audio snd_usbmidi_lib snd_ump snd_rawmidi mc hid_plantr>
Aug 28 11:31:07 fedora-12thgen kernel: </TASK>
Aug 28 11:31:07 fedora-12thgen kernel: R13: 00007f3ad406c1f0 R14: 0000000000000144 R15: 00007f3ad406c348
Aug 28 11:31:07 fedora-12thgen kernel: R10: 0000000000000002 R11: 0000000000000293 R12: 0000000000000144
Aug 28 11:31:07 fedora-12thgen kernel: RBP: 00007f3ae55fc100 R08: 0000000000000000 R09: 00000000000000c4
Aug 28 11:31:07 fedora-12thgen kernel: RDX: 0000000000000144 RSI: 00007f3ad406c204 RDI: 0000000000000074
Aug 28 11:31:07 fedora-12thgen kernel: RAX: ffffffffffffffda RBX: 00007f3ad406f270 RCX: 00007f3e1171d9bd
Aug 28 11:31:07 fedora-12thgen kernel: RSP: 002b:00007f3ae55fc0e0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
Aug 28 11:31:07 fedora-12thgen kernel: Code: e5 48 83 ec 20 48 89 55 e8 48 89 75 f0 89 7d f8 e8 b8 4c f8 ff 48 8b 55 e8 48 8b 75 f0 41 89 c0 8b 7d f8 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 33 44 89 c7 48 89 45 f8>
Aug 28 11:31:07 fedora-12thgen kernel: RIP: 0033:0x7f3e1171d9bd
Aug 28 11:31:07 fedora-12thgen kernel: entry_SYSCALL_64_after_hwframe+0x76/0x7e
Aug 28 11:31:07 fedora-12thgen kernel: ? exc_page_fault+0x7e/0x180
Aug 28 11:31:07 fedora-12thgen kernel: ? do_syscall_64+0x8e/0x160
Aug 28 11:31:07 fedora-12thgen kernel: ? do_syscall_64+0x8e/0x160
Aug 28 11:31:07 fedora-12thgen kernel: ? do_syscall_64+0x8e/0x160
Aug 28 11:31:07 fedora-12thgen kernel: ? do_syscall_64+0x8e/0x160
Aug 28 11:31:07 fedora-12thgen kernel: ? syscall_exit_to_user_mode+0x72/0x220
Aug 28 11:31:07 fedora-12thgen kernel: ? do_syscall_64+0x8e/0x160
Aug 28 11:31:07 fedora-12thgen kernel: ? do_syscall_64+0x8e/0x160
Aug 28 11:31:07 fedora-12thgen kernel: ? syscall_exit_to_user_mode+0x72/0x220
Aug 28 11:31:07 fedora-12thgen kernel: ? syscall_exit_to_user_mode+0x72/0x220
Aug 28 11:31:07 fedora-12thgen kernel: ? do_syscall_64+0x8e/0x160
Aug 28 11:31:07 fedora-12thgen kernel: ? syscall_exit_to_user_mode+0x72/0x220
Aug 28 11:31:07 fedora-12thgen kernel: ? __x64_sys_ppoll+0xf4/0x160
Aug 28 11:31:07 fedora-12thgen kernel: ? VNetFileOpUnlockedIoctl+0x53d/0x790 [vmnet]
Aug 28 11:31:07 fedora-12thgen kernel: ? VNetSetMACUnique+0x85/0x90 [vmnet]
Aug 28 11:31:07 fedora-12thgen kernel: ? mutex_lock+0x12/0x30
Aug 28 11:31:07 fedora-12thgen kernel: ? do_syscall_64+0x8e/0x160
Aug 28 11:31:07 fedora-12thgen kernel: ? syscall_exit_to_user_mode+0x72/0x220
Aug 28 11:31:07 fedora-12thgen kernel: ? __x64_sys_ioctl+0x94/0xd0
Aug 28 11:31:07 fedora-12thgen kernel: ? do_syscall_64+0x8e/0x160
Aug 28 11:31:07 fedora-12thgen kernel: ? do_syscall_64+0x8e/0x160
Aug 28 11:31:07 fedora-12thgen kernel: do_syscall_64+0x82/0x160
Aug 28 11:31:07 fedora-12thgen kernel: ksys_write+0x6d/0xf0
Aug 28 11:31:07 fedora-12thgen kernel: ? syscall_exit_to_user_mode+0x72/0x220
Aug 28 11:31:07 fedora-12thgen kernel: vfs_write+0xf5/0x460
Aug 28 11:31:07 fedora-12thgen kernel: VNetFileOpWrite+0x30/0x60 [vmnet]
Aug 28 11:31:07 fedora-12thgen kernel: VNetUserIfWrite+0xaf/0xf0 [vmnet]
Aug 28 11:31:07 fedora-12thgen kernel: VNetSend+0x68/0x100 [vmnet]
Aug 28 11:31:07 fedora-12thgen kernel: VNetHubReceive+0x82/0xc0 [vmnet]
Aug 28 11:31:07 fedora-12thgen kernel: VNetSend+0x68/0x100 [vmnet]
Aug 28 11:31:07 fedora-12thgen kernel: ? kmalloc_reserve+0x62/0xf0
Aug 28 11:31:07 fedora-12thgen kernel: ? VNetBridgeReceiveFromVNet+0x10b/0x470 [vmnet]
Aug 28 11:31:07 fedora-12thgen kernel: ? VNetBridgeReceiveFromVNet+0x112/0x470 [vmnet]
Aug 28 11:31:07 fedora-12thgen kernel: ? asm_exc_page_fault+0x26/0x30
Aug 28 11:31:07 fedora-12thgen kernel: ? exc_page_fault+0x7e/0x180
Aug 28 11:31:07 fedora-12thgen kernel: ? page_fault_oops+0x15a/0x2f0
Aug 28 11:31:07 fedora-12thgen kernel: ? __die_body.cold+0x19/0x27
Aug 28 11:31:07 fedora-12thgen kernel: <TASK>
Aug 28 11:31:07 fedora-12thgen kernel: Call Trace:
Aug 28 11:31:07 fedora-12thgen kernel: PKRU: 55555554
Aug 28 11:31:07 fedora-12thgen kernel: CR2: 0000000000000000 CR3: 00000004daee2000 CR4: 0000000000f50ef0
Aug 28 11:31:07 fedora-12thgen kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 28 11:31:07 fedora-12thgen kernel: FS: 00007f3ae56006c0(0000) GS:ffff9265df100000(0000) knlGS:0000000000000000
Aug 28 11:31:07 fedora-12thgen kernel: R13: ffff925e81a88200 R14: ffff925ea931c442 R15: ffff92652f96d200
Aug 28 11:31:07 fedora-12thgen kernel: R10: ffffb9c54dd0f9e0 R11: 0000000000000400 R12: ffff9262d3dd4000
Aug 28 11:31:07 fedora-12thgen kernel: RBP: ffffffffb84ddbe0 R08: ffff925ea931c442 R09: ffff925e81a89200
Aug 28 11:31:07 fedora-12thgen kernel: RDX: ffff92652f96d200 RSI: ffff925e81a89200 RDI: ffff92652f96d200
Aug 28 11:31:07 fedora-12thgen kernel: RAX: 0000000000000000 RBX: ffff925e81a89200 RCX: ffff000000000000
Aug 28 11:31:07 fedora-12thgen kernel: RSP: 0018:ffffb9c54dd0f9c8 EFLAGS: 00010246
Aug 28 11:31:07 fedora-12thgen kernel: Code: 00 00 00 00 0f 1f 40 00 48 8b 85 68 01 00 00 48 8d a8 98 fe ff ff 48 3d 48 dd 4d b8 75 ea e8 45 fe a1 ef 48 8b 85 38 04 00 00 <8b> 08 39 4c 24 12 74 6e 0f b7 85 b4 00 00 00>
Aug 28 11:31:07 fedora-12thgen kernel: RIP: 0010:VNetBridgeReceiveFromVNet+0x112/0x470 [vmnet]
Aug 28 11:31:07 fedora-12thgen kernel: Hardware name: ASUS System Product Name/TUF GAMING Z690-PLUS WIFI, BIOS 1505 05/31/2022
Aug 28 11:31:07 fedora-12thgen kernel: CPU: 2 PID: 115810 Comm: vmx-vcpu-1 Tainted: P D W OE 6.10.6-200.fc40.x86_64 #1
Aug 28 11:31:07 fedora-12thgen kernel: Oops: Oops: 0000 [#4] PREEMPT SMP NOPTI
Aug 28 11:31:07 fedora-12thgen kernel: PGD 0 P4D 0
Aug 28 11:31:07 fedora-12thgen kernel: #PF: error_code(0x0000) - not-present page
Aug 28 11:31:07 fedora-12thgen kernel: #PF: supervisor read access in kernel mode
Aug 28 11:31:07 fedora-12thgen kernel: BUG: kernel NULL pointer dereference, address: 0000000000000000
It seems like on my desktop computer (which has the exact same distro + kernel + vmware workstation version), no matter which patch I compile, bridged networking always results in a freeze + kernel oops. Dmesg logs:
[ 1425.644145] BUG: kernel NULL pointer dereference, address: 0000000000000000
[ 1425.644150] #PF: supervisor read access in kernel mode
[ 1425.644152] #PF: error_code(0x0000) - not-present page
[ 1425.644153] PGD 0 P4D 0
[ 1425.644156] Oops: Oops: 0000 [#2] PREEMPT SMP NOPTI
[ 1425.644158] CPU: 7 PID: 9533 Comm: vmx-vcpu-0 Tainted: G D OE 6.10.6-200.fc40.x86_64 #1
[ 1425.644160] Hardware name: Micro-Star International Co., Ltd. MS-7E24/B650M GAMING PLUS WIFI (MS-7E24), BIOS 1.30 05/07/2024
[ 1425.644162] RIP: 0010:VNetBridgeReceiveFromVNet+0x112/0x470 [vmnet]
[ 1425.644169] Code: 00 00 00 00 0f 1f 40 00 48 8b 85 68 01 00 00 48 8d a8 98 fe ff ff 48 3d 48 dd 4d 96 75 ea e8 45 fe fa d0 48 8b 85 38 04 00 00 <8b> 08 39 4c 24 12 74 6e 0f b7 85 b4 00 00 00 03 45 38 3b 43 70 0f
[ 1425.644171] RSP: 0018:ffffaa940d6afa88 EFLAGS: 00010246
[ 1425.644173] RAX: 0000000000000000 RBX: ffff96449b518300 RCX: 0000000033968007
[ 1425.644174] RDX: ffff9643efb98000 RSI: 000000000003f230 RDI: ffff9643efb98000
[ 1425.644175] RBP: ffffffff964ddbe0 R08: ffff9645fd53eb00 R09: 0000000000000000
[ 1425.644176] R10: ffffffff93e14e41 R11: 0000000000000246 R12: ffff96419f11d400
[ 1425.644177] R13: ffff96449b518900 R14: ffff96418ae75e42 R15: ffff9643efb98000
[ 1425.644179] FS: 00007fbe3d6006c0(0000) GS:ffff96488e580000(0000) knlGS:0000000000000000
[ 1425.644180] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1425.644181] CR2: 0000000000000000 CR3: 00000005f4b32000 CR4: 0000000000f50ef0
[ 1425.644183] PKRU: 55555554
[ 1425.644184] Call Trace:
[ 1425.644186] <TASK>
[ 1425.644188] ? __die_body.cold+0x19/0x27
[ 1425.644192] ? page_fault_oops+0x15a/0x2f0
[ 1425.644194] ? ClonePacket+0x34/0x60 [vmnet]
[ 1425.644199] ? exc_page_fault+0x7e/0x180
[ 1425.644202] ? asm_exc_page_fault+0x26/0x30
[ 1425.644204] ? kmalloc_reserve+0x91/0xf0
[ 1425.644208] ? VNetBridgeReceiveFromVNet+0x112/0x470 [vmnet]
[ 1425.644212] ? VNetBridgeReceiveFromVNet+0x10b/0x470 [vmnet]
[ 1425.644217] VNetSend+0x68/0x100 [vmnet]
[ 1425.644222] VNetHubReceive+0x82/0xc0 [vmnet]
[ 1425.644225] VNetSend+0x68/0x100 [vmnet]
[ 1425.644228] VNetUserIfWrite+0xaf/0xf0 [vmnet]
[ 1425.644231] VNetFileOpWrite+0x30/0x60 [vmnet]
[ 1425.644233] vfs_write+0xf5/0x460
[ 1425.644238] ksys_write+0x6d/0xf0
[ 1425.644240] do_syscall_64+0x82/0x160
[ 1425.644243] ? srso_alias_return_thunk+0x5/0xfbef5
[ 1425.644247] ? LinuxDriver_Ioctl+0x199/0x1310 [vmmon]
[ 1425.644253] ? srso_alias_return_thunk+0x5/0xfbef5
[ 1425.644255] ? ioctl_has_perm.constprop.0.isra.0+0xd8/0x130
[ 1425.644259] ? __x64_sys_ioctl+0x94/0xd0
[ 1425.644262] ? srso_alias_return_thunk+0x5/0xfbef5
[ 1425.644264] ? syscall_exit_to_user_mode+0x72/0x220
[ 1425.644266] ? srso_alias_return_thunk+0x5/0xfbef5
[ 1425.644267] ? do_syscall_64+0x8e/0x160
[ 1425.644269] ? handle_mm_fault+0x1f0/0x300
[ 1425.644272] ? srso_alias_return_thunk+0x5/0xfbef5
[ 1425.644273] ? do_user_addr_fault+0x36c/0x620
[ 1425.644276] ? srso_alias_return_thunk+0x5/0xfbef5
[ 1425.644277] ? srso_alias_return_thunk+0x5/0xfbef5
[ 1425.644279] entry_SYSCALL_64_after_hwframe+0x76/0x7e
[ 1425.644282] RIP: 0033:0x7fbe556399bd
[ 1425.644293] Code: e5 48 83 ec 20 48 89 55 e8 48 89 75 f0 89 7d f8 e8 b8 4c f8 ff 48 8b 55 e8 48 8b 75 f0 41 89 c0 8b 7d f8 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 33 44 89 c7 48 89 45 f8 e8 0f 4d f8 ff 48 8b
[ 1425.644295] RSP: 002b:00007fbe3d5fc230 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
[ 1425.644296] RAX: ffffffffffffffda RBX: 00007fbb900189a0 RCX: 00007fbe556399bd
[ 1425.644298] RDX: 000000000000004e RSI: 00007fbb900583ea RDI: 000000000000009d
[ 1425.644299] RBP: 00007fbe3d5fc250 R08: 0000000000000000 R09: 0000000000000000
[ 1425.644300] R10: 0000557b89d28e80 R11: 0000000000000293 R12: 000000000000004e
[ 1425.644301] R13: 00007fbb90049200 R14: 0000000000000002 R15: 00007fbe46d33b08
[ 1425.644304] </TASK>
[ 1425.644305] Modules linked in: uinput rfcomm snd_seq_dummy snd_hrtimer uhid vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) vmnet(OE) ppdev parport_pc parport vmw_vsock_vmci_transport vsock vmw_vmci bnep vmmon(OE) sunrpc vfat fat snd_hda_codec_realtek snd_hda_codec_generic snd_hda_scodec_component snd_hda_codec_hdmi mt7921e mt7921_common intel_rapl_msr amd_atl mt792x_lib snd_hda_intel intel_rapl_common btusb snd_intel_dspcfg btrtl mt76_connac_lib snd_intel_sdw_acpi edac_mce_amd btintel snd_hda_codec mt76 btbcm btmtk kvm_amd snd_hda_core bluetooth mac80211 kvm snd_hwdep libarc4 snd_seq rapl snd_seq_device wmi_bmof snd_pcm cfg80211 pcspkr r8169 joydev snd_timer snd soundcore k10temp i2c_piix4 rfkill realtek gpio_amdpt gpio_generic loop nfnetlink zram fuse amdgpu amdxcp i2c_algo_bit drm_ttm_helper ttm drm_exec gpu_sched crct10dif_pclmul crc32_pclmul drm_suballoc_helper crc32c_intel polyval_clmulni polyval_generic nvme drm_buddy ghash_clmulni_intel sha512_ssse3 drm_display_helper sha256_ssse3 nvme_core ccp sha1_ssse3 cec
[ 1425.644359] sp5100_tco nvme_auth video wmi nct6687(OE) i2c_dev
[ 1425.644365] CR2: 0000000000000000
[ 1425.644367] ---[ end trace 0000000000000000 ]---
[ 1425.644368] RIP: 0010:VNetBridgeReceiveFromVNet+0x112/0x470 [vmnet]
[ 1425.644371] Code: 00 00 00 00 0f 1f 40 00 48 8b 85 68 01 00 00 48 8d a8 98 fe ff ff 48 3d 48 dd 4d 96 75 ea e8 45 fe fa d0 48 8b 85 38 04 00 00 <8b> 08 39 4c 24 12 74 6e 0f b7 85 b4 00 00 00 03 45 38 3b 43 70 0f
[ 1425.644372] RSP: 0018:ffffaa94087d3a40 EFLAGS: 00010246
[ 1425.644373] RAX: 0000000000000000 RBX: ffff96418d7c3200 RCX: 0000000006998006
[ 1425.644375] RDX: ffff96419e978000 RSI: 000000000003f230 RDI: ffff96419e978000
[ 1425.644376] RBP: ffffffff964ddbe0 R08: ffff9641fda8ba00 R09: 0000000000000000
[ 1425.644377] R10: ffffffff93e14e41 R11: 0000000000000000 R12: ffff96419f11d400
[ 1425.644378] R13: ffff96418d7c3600 R14: ffff9641823782c2 R15: ffff96419e978000
[ 1425.644379] FS: 00007fbe3d6006c0(0000) GS:ffff96488e580000(0000) knlGS:0000000000000000
[ 1425.644380] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1425.644381] CR2: 0000000000000000 CR3: 00000005f4b32000 CR4: 0000000000f50ef0
[ 1425.644382] PKRU: 55555554
[ 1425.644383] note: vmx-vcpu-0[9533] exited with irqs disabled
yep had the same outcome
Managed to get vmware workstation to work on my desktop too! Commands:
git clone -b tmp/workstation-17.5.2-k6.9.1 https://github.com/nan0desu/vmware-host-modules.git
cd vmware-host-modules/
tar -cf vmmon.tar vmmon-only
tar -cf vmnet.tar vmnet-only
sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/
sudo vmware-modconfig --console --install-all
Source: https://www.reddit.com/r/vmware/comments/1e7btke/vmware_pro_1752_installation_guide_on_fedora_40/ (You don't need to apply the patch the post says.)
which kernel version are you running?
6.10.6-200.fc40.x86_64
cool, i thought i had done the exact same steps, yet still VMs are freezing with bridged networking. I'll try again, thanks!
When I select bridged connection on any VM's settings vmware freezes during the guest's bootup process. Here is what dmesg shows: dmesg.txt
I use VMware workstation 17.5.2 on fedora 40 with kernel 6.10.4.