Giter VIP home page Giter VIP logo

vmware-patches's Introduction

vmware-patches

vmware got fucked at every system updates, so this repo will contain my track history for how i got things on road last time. folder structre is distro/$(uname -r)/{patch,error,version}_file.

linux version: $uname -r: 5.19.10-arch1-1

vmware version: 16.2.4-20089737.x86_64

install??: $ bash install.sh

========================================================================================

  • update-1: after $uname -r >= 5.19, all patches are combined in the vmmon-only, vmnet-only directories, and Arch dir is now onwards obsolete.

vmware-patches's People

Contributors

dineshsaini avatar

Stargazers

 avatar

Watchers

 avatar  avatar

vmware-patches's Issues

hard LOCKUP on cpu

Sep 25 19:17:30 evil.lab kernel: Uhhuh. NMI received for unknown reason 2d on CPU 2.
Sep 25 19:17:30 evil.lab kernel: Dazed and confused, but trying to continue
Sep 25 19:17:31 evil.lab kernel: NMI watchdog: Watchdog detected hard LOCKUP on cpu 2
Sep 25 19:17:31 evil.lab kernel: Modules linked in: vmnet(OE) parport_pc vmmon(OE) ppdev parport vmw_vsock_vmci_transport vsock vmw_vm>
Sep 25 19:17:31 evil.lab kernel: drm_display_helper soundcore mei_me wmi cryptd mei cec lpc_ich i2c_i801 intel_gtt rapl mac_hid video>
Sep 25 19:17:31 evil.lab kernel: Unloaded tainted modules: parport_pc():1 parport_pc():1 parport_pc():1 parport_pc():1 parport_pc():1 >
Sep 25 19:17:31 evil.lab kernel: CPU: 2 PID: 0 Comm: swapper/2 Tainted: G OE 5.19.10-arch1-1 #1 cb401b6a3ebe8729d7681b7d>
Sep 25 19:17:31 evil.lab kernel: Hardware name: LENOVO 20245/INVALID, BIOS 7BCN38WW(V2.04) 12/10/2013
Sep 25 19:17:31 evil.lab kernel: RIP: 0010:poll_idle+0x9b/0xba
Sep 25 19:17:31 evil.lab kernel: Code: e0 5d 41 5c 41 5d 41 5e c3 cc cc cc cc 4c 89 f7 48 89 ee e8 57 b8 d2 ff 49 89 c6 b8 c9 00 00 00>
Sep 25 19:17:31 evil.lab kernel: RSP: 0018:ffffaa26800e3e60 EFLAGS: 00000246
Sep 25 19:17:31 evil.lab kernel: RAX: 0000000000000041 RBX: ffff984f003e4100 RCX: 0000000000000000
Sep 25 19:17:31 evil.lab kernel: RDX: 0000000000000000 RSI: fffffffe820d8f3d RDI: 0000000000000002
Sep 25 19:17:31 evil.lab kernel: RBP: ffff984f3b2be100 R08: 0000000000000002 R09: 0000000035745fc2
Sep 25 19:17:31 evil.lab kernel: R10: 0000000000000001 R11: 0000000000000002 R12: 0000000000000000
Sep 25 19:17:31 evil.lab kernel: R13: 00000ff91d91d9db R14: 0000000000004e20 R15: 0000000000000000
Sep 25 19:17:31 evil.lab kernel: FS: 0000000000000000(0000) GS:ffff984f3b280000(0000) knlGS:0000000000000000
Sep 25 19:17:31 evil.lab kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sep 25 19:17:31 evil.lab kernel: CR2: 00007fdd28b5d000 CR3: 0000000028fa8004 CR4: 00000000001706e0
Sep 25 19:17:31 evil.lab kernel: Call Trace:
Sep 25 19:17:31 evil.lab kernel:
Sep 25 19:17:31 evil.lab kernel: cpuidle_enter_state+0x8d/0x380
Sep 25 19:17:31 evil.lab kernel: cpuidle_enter+0x2d/0x40
Sep 25 19:17:31 evil.lab kernel: do_idle+0x1bf/0x220
Sep 25 19:17:31 evil.lab kernel: cpu_startup_entry+0x1d/0x20
Sep 25 19:17:31 evil.lab kernel: start_secondary+0x115/0x140
Sep 25 19:17:31 evil.lab kernel: secondary_startup_64_no_verify+0xe5/0xeb
Sep 25 19:17:31 evil.lab kernel:
Sep 25 19:17:31 evil.lab kernel: i915 0000:00:02.0: [drm] ERROR [CRTC:45:pipe A] flip_done timed out
Sep 25 19:17:47 evil.lab kernel: watchdog: BUG: soft lockup - CPU#0 stuck for 26s! [kcompactd0:47]
Sep 25 19:17:47 evil.lab kernel: Modules linked in: vmnet(OE) parport_pc vmmon(OE) ppdev parport vmw_vsock_vmci_transport vsock vmw_vm>
Sep 25 19:17:47 evil.lab kernel: drm_display_helper soundcore mei_me wmi cryptd mei cec lpc_ich i2c_i801 intel_gtt rapl mac_hid video>
Sep 25 19:17:47 evil.lab kernel: Unloaded tainted modules: parport_pc():1 parport_pc():1 parport_pc():1 parport_pc():1 parport_pc():1 >
Sep 25 19:17:47 evil.lab kernel: CPU: 0 PID: 47 Comm: kcompactd0 Tainted: G OE 5.19.10-arch1-1 #1 cb401b6a3ebe8729d7681b>
Sep 25 19:17:47 evil.lab kernel: Hardware name: LENOVO 20245/INVALID, BIOS 7BCN38WW(V2.04) 12/10/2013
Sep 25 19:17:47 evil.lab kernel: RIP: 0010:smp_call_function_many_cond+0xfe/0x2e0
Sep 25 19:17:47 evil.lab kernel: Code: e8 77 3c 47 00 3b 05 11 3a c9 01 89 c7 73 22 48 63 c7 49 8b 0c 24 48 03 0c c5 e0 7a 59 9f 8b 41>
Sep 25 19:17:47 evil.lab kernel: RSP: 0018:ffffaa26801ef9f0 EFLAGS: 00000202
Sep 25 19:17:47 evil.lab kernel: RAX: 0000000000000011 RBX: ffff984f3b233f48 RCX: ffff984f3b2b8f60
Sep 25 19:17:47 evil.lab kernel: RDX: 0000000000000011 RSI: 0000000000000002 RDI: 0000000000000002
Sep 25 19:17:47 evil.lab kernel: RBP: ffff984f3b232640 R08: 0000000000000000 R09: 0000000000000000
Sep 25 19:17:47 evil.lab kernel: R10: 0000000000000000 R11: 0000000000000005 R12: ffff984f3b233f40
Sep 25 19:17:47 evil.lab kernel: R13: 0000000000000001 R14: ffff984f3b233f40 R15: 0000000000000140
Sep 25 19:17:47 evil.lab kernel: FS: 0000000000000000(0000) GS:ffff984f3b200000(0000) knlGS:0000000000000000
Sep 25 19:17:47 evil.lab kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sep 25 19:17:47 evil.lab kernel: CR2: 00007fdaef453000 CR3: 0000000031036005 CR4: 00000000001706f0
Sep 25 19:17:47 evil.lab kernel: Call Trace:
Sep 25 19:17:47 evil.lab kernel:
Sep 25 19:17:47 evil.lab kernel: ? leave_mm+0x40/0x40
Sep 25 19:17:47 evil.lab kernel: on_each_cpu_cond_mask+0x24/0x40
Sep 25 19:17:47 evil.lab kernel: flush_tlb_mm_range+0xd4/0x100
Sep 25 19:17:47 evil.lab kernel: ptep_clear_flush+0x5a/0x70
Sep 25 19:17:47 evil.lab kernel: try_to_migrate_one+0x238/0xc10
Sep 25 19:17:47 evil.lab kernel: rmap_walk_file+0xe0/0x370
Sep 25 19:17:48 evil.lab kernel: try_to_migrate+0xaf/0x110
Sep 25 19:17:48 evil.lab kernel: ? try_to_unmap_one+0xd50/0xd50
Sep 25 19:17:48 evil.lab kernel: ? anon_vma_ctor+0x50/0x50
Sep 25 19:17:48 evil.lab kernel: ? page_get_anon_vma+0x90/0x90
Sep 25 19:17:48 evil.lab kernel: migrate_pages+0x1402/0x19c0
Sep 25 19:17:48 evil.lab kernel: ? isolate_freepages_block+0x400/0x400
Sep 25 19:17:48 evil.lab kernel: ? split_map_pages+0x170/0x170
Sep 25 19:17:48 evil.lab kernel: ? alloc_migration_target+0x1f0/0x1f0
Sep 25 19:17:48 evil.lab kernel: compact_zone+0x967/0xe70
Sep 25 19:17:48 evil.lab kernel: ? __switch_to_asm+0x3e/0x60
Sep 25 19:17:48 evil.lab kernel: proactive_compact_node+0x87/0xc0
Sep 25 19:17:48 evil.lab kernel: ? finish_wait+0x45/0x90
Sep 25 19:17:48 evil.lab kernel: kcompactd+0x1eb/0x450
Sep 25 19:17:48 evil.lab kernel: ? cpuacct_percpu_seq_show+0x20/0x20
Sep 25 19:17:48 evil.lab kernel: ? kcompactd_do_work+0x2a0/0x2a0
Sep 25 19:17:48 evil.lab kernel: kthread+0xde/0x110
Sep 25 19:17:48 evil.lab kernel: ? kthread_complete_and_exit+0x20/0x20
Sep 25 19:17:48 evil.lab kernel: ret_from_fork+0x22/0x30
Sep 25 19:17:48 evil.lab kernel:

error: implicit declaration of function ‘skb_gso_segment’

make: Entering directory '/tmp/modconfig-shsmEq/vmnet-only'
Using kernel build system.
/sbin/make -C /lib/modules/6.4.10-arch1-1/build/include/.. M=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
CC [M] /tmp/modconfig-shsmEq/vmnet-only/driver.o
CC [M] /tmp/modconfig-shsmEq/vmnet-only/hub.o
CC [M] /tmp/modconfig-shsmEq/vmnet-only/userif.o
CC [M] /tmp/modconfig-shsmEq/vmnet-only/netif.o
CC [M] /tmp/modconfig-shsmEq/vmnet-only/bridge.o
CC [M] /tmp/modconfig-shsmEq/vmnet-only/procfs.o
CC [M] /tmp/modconfig-shsmEq/vmnet-only/smac_compat.o
CC [M] /tmp/modconfig-shsmEq/vmnet-only/smac.o
CC [M] /tmp/modconfig-shsmEq/vmnet-only/vnetEvent.o
CC [M] /tmp/modconfig-shsmEq/vmnet-only/vnetUserListener.o
/tmp/modconfig-shsmEq/vmnet-only/bridge.c: In function ‘VNetBridgeSendLargePacket’:
/tmp/modconfig-shsmEq/vmnet-only/bridge.c:1418:11: error: implicit declaration of function ‘skb_gso_segment’; did you mean ‘tcp_gso_segment’? [-Werror=implicit-function-declaration]
1418 | segs = skb_gso_segment(skb, 0);
| ^~~~~~~~~~~~~~~
| tcp_gso_segment
/tmp/modconfig-shsmEq/vmnet-only/bridge.c:1418:9: warning: assignment to ‘struct sk_buff *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1418 | segs = skb_gso_segment(skb, 0);
| ^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:252: /tmp/modconfig-shsmEq/vmnet-only/bridge.o] Error 1
make[1]: *** [Makefile:2032: /tmp/modconfig-shsmEq/vmnet-only] Error 2
make: *** [Makefile:117: vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-shsmEq/vmnet-only'
Unable to install all modules. See log for details.

ERROR: modpost: "csum_and_copy_to_user" [/tmp/modconfig-OFZdat/vmnet-only/vmnet.ko] undefined!

MODPOST /tmp/modconfig-OFZdat/vmnet-only/Module.symvers
ERROR: modpost: "csum_and_copy_to_user" [/tmp/modconfig-OFZdat/vmnet-only/vmnet.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:128: /tmp/modconfig-OFZdat/vmnet-only/Module.symvers] Error 1
make[1]: *** [Makefile:1761: modules] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.19.8-arch1-1/build'
make: *** [Makefile:117: vmnet.ko] Error 2

error: implicit declaration of function ‘netif_rx_ni’; did you mean ‘netif_rx’? [-Werror=implicit-function-declaration]

/tmp/modconfig-8b51t8/vmnet-only/netif.c: In function ‘VNetNetIfReceive’:
/tmp/modconfig-8b51t8/vmnet-only/netif.c:348:4: error: implicit declaration of function ‘netif_rx_ni’; did you mean ‘netif_rx’? [-Werror=implicit-function-declaration]
348 | netif_rx_ni(skb);
| ^~~~~~~~~~~
| netif_rx

/tmp/modconfig-kunfUF/vmnet-only/bridge.c: In function ‘VNetBridgeReceiveFromVNet’:
/tmp/modconfig-kunfUF/vmnet-only/bridge.c:694:10: error: implicit declaration of function ‘netif_rx_ni’; did you mean ‘netif_rx’? [-Werror=implicit-function-declaration]
694 | netif_rx_ni(clone);
| ^~~~~~~~~~~
| netif_rx

warning: this statement may fall through [-Wimplicit-fallthrough=]

/tmp/modconfig-xBuu8A/vmnet-only/driver.c: In function ‘VNetFileOpUnlockedIoctl’:
/tmp/modconfig-xBuu8A/vmnet-only/driver.c:966:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
966 | {
| ^
/tmp/modconfig-xBuu8A/vmnet-only/driver.c:976:4: note: here
976 | case SIOCGETAPIVERSION:
| ^~~~

fatal error: stddef.h: No such file or directory

/tmp/modconfig-OI8Amz/vmnet-only/vm_basic_defs.h:54:12: fatal error: stddef.h: No such file or directory
54 | # include <stddef.h>
| ^~~~~~~~~~
compilation terminated.

/tmp/modconfig-OI8Amz/vmmon-only/./include/vm_basic_defs.h:54:12: fatal error: stddef.h: No such file or directory
54 | # include <stddef.h>
| ^~~~~~~~~~
compilation terminated.

warning: argument 1 of type ‘uint8[]’ {aka ‘unsigned char[]’} with mismatched bound [-Warray-parameter=]

/tmp/modconfig-kNWpzo/vmnet-only/hub.c:237:24: warning: argument 1 of type ‘uint8[]’ {aka ‘unsigned char[]’} with mismatched bound [-Warray-parameter=]
237 | VNetHub_AllocPvn(uint8 id[]) // IN: the PVN ID to alloc on
| ~~~~~~^~~~
In file included from /tmp/modconfig-kNWpzo/vmnet-only/hub.c:43:
/tmp/modconfig-kNWpzo/vmnet-only/vnetInt.h:173:34: note: previously declared as ‘uint8[20]’ {aka ‘unsigned char[20]’}
173 | VNetJack *VNetHub_AllocPvn(uint8 id[VNET_PVN_ID_LEN]);
| ~~~~~~^~~~~~~~~~~~~~~~~~~
/tmp/modconfig-kNWpzo/vmnet-only/hub.c:261:20: warning: argument 3 of type ‘uint8[]’ {aka ‘unsigned char[]’} with mismatched bound [-Warray-parameter=]
261 | uint8 id[]) // IN: PVN ID to use (NULL if allocPvn == FALSE)
| ~~~~~~^~~~
/tmp/modconfig-kNWpzo/vmnet-only/hub.c:68:37: note: previously declared as ‘uint8[20]’ {aka ‘unsigned char[20]’}
68 | uint8 id[VNET_PVN_ID_LEN]);
| ~~~~~~^~~~~~~~~~~~~~~~~~~

error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘stats’?

/tmp/modconfig-kvxtKN/vmmon-only/linux/hostif.c:477:20: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘stats’?
477 | if (t && (t->state & TASK_INTERRUPTIBLE)) {
| ^~~~~
| stats
/tmp/modconfig-kvxtKN/vmmon-only/linux/hostif.c: In function ‘HostIF_SemaphoreWait’:
/tmp/modconfig-kvxtKN/vmmon-only/linux/hostif.c:2569:13: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘stats’?
2569 | current->state = TASK_INTERRUPTIBLE;
| ^~~~~
| stats
/tmp/modconfig-kvxtKN/vmmon-only/linux/hostif.c:2576:13: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘stats’?
2576 | current->state = TASK_RUNNING;
| ^~~~~
| stats
/tmp/modconfig-kvxtKN/vmmon-only/linux/hostif.c: In function ‘HostIF_SemaphoreForceWakeup’:
/tmp/modconfig-kvxtKN/vmmon-only/linux/hostif.c:2658:20: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘stats’?
2658 | if (t && (t->state & TASK_INTERRUPTIBLE)) {
| ^~~~~
| stats

mulitple issues

In file included from /tmp/modconfig-iBoPti/vmmon-only/common/vmx86.c:56:
./arch/x86/include/asm/timex.h: In function ‘random_get_entropy’:
./arch/x86/include/asm/timex.h:12:24: error: implicit declaration of function ‘random_get_entropy_fallback’; did you mean ‘random_get_entropy’? [-Werror=implicit-function-declaration]
12 | return random_get_entropy_fallback();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| random_get_entropy
/tmp/modconfig-iBoPti/vmmon-only/common/vmx86.c: At top level:
/tmp/modconfig-iBoPti/vmmon-only/common/vmx86.c:703:1: warning: no previous prototype for ‘Vmx86FreeVMDriver’ [-Wmissing-prototypes]
703 | Vmx86FreeVMDriver(VMDriver *vm)
| ^~~~~~~~~~~~~~~~~
/tmp/modconfig-iBoPti/vmmon-only/common/vmx86.c:736:1: warning: no previous prototype for ‘Vmx86AllocVMDriver’ [-Wmissing-prototypes]
736 | Vmx86AllocVMDriver(uint32 numVCPUs)
| ^~~~~~~~~~~~~~~~~~
/tmp/modconfig-iBoPti/vmmon-only/common/task.c:548:1: warning: no previous prototype for ‘TaskGetFlatWriteableDataSegment’ [-Wmissing-prototypes]
548 | TaskGetFlatWriteableDataSegment(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/modconfig-iBoPti/vmmon-only/bootstrap/bootstrap.o
CC [M] /tmp/modconfig-iBoPti/vmmon-only/bootstrap/monLoader.o
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /tmp/modconfig-iBoPti/vmmon-only/common/vmx86.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/tmp/modconfig-iBoPti/vmmon-only/linux/hostif.c:2946:1: warning: no previous prototype for ‘HostIFCheckTrackedMPN’ [-Wmissing-prototypes]
2946 | HostIFCheckTrackedMPN(VMDriver *vm, // IN: The VM instance
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/modconfig-iBoPti/vmmon-only/linux/hostif.c:3066:1: warning: no previous prototype for ‘HostIFWritePhysicalWork’ [-Wmissing-prototypes]
3066 | HostIFWritePhysicalWork(MA ma, // MA to be written to
| ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/modconfig-iBoPti/vmmon-only/linux/hostif.c:3225:1: warning: no previous prototype for ‘HostIFStartTimer’ [-Wmissing-prototypes]
3225 | HostIFStartTimer(Bool rateChanged, //IN: Did rate change?
| ^~~~~~~~~~~~~~~~
make[2]: *** [/usr/lib/modules/6.8.1-arch1-1/build/Makefile:1921: /tmp/modconfig-iBoPti/vmmon-only] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.8.1-arch1-1/build'
make: *** [Makefile:117: vmmon.ko] Error 2
make: Leaving directory '/tmp/modconfig-iBoPti/vmmon-only'
make: Entering directory '/tmp/modconfig-iBoPti/vmnet-only'
Using kernel build system.
/sbin/make -C /lib/modules/6.8.1-arch1-1/build/include/.. M=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/lib/modules/6.8.1-arch1-1/build'
CC [M] /tmp/modconfig-iBoPti/vmnet-only/driver.o
CC [M] /tmp/modconfig-iBoPti/vmnet-only/hub.o
CC [M] /tmp/modconfig-iBoPti/vmnet-only/userif.o
CC [M] /tmp/modconfig-iBoPti/vmnet-only/netif.o
/tmp/modconfig-iBoPti/vmnet-only/netif.c:185:1: warning: no previous prototype for ‘VNetNetIf_Create’ [-Wmissing-prototypes]
185 | VNetNetIf_Create(char *devName, // IN:
| ^~~~~~~~~~~~~~~~
/tmp/modconfig-iBoPti/vmnet-only/userif.c:1077:1: warning: no previous prototype for ‘VNetUserIf_Create’ [-Wmissing-prototypes]
1077 | VNetUserIf_Create(VNetPort **ret) // OUT
| ^~~~~~~~~~~~~~~~~
CC [M] /tmp/modconfig-iBoPti/vmnet-only/bridge.o
CC [M] /tmp/modconfig-iBoPti/vmnet-only/procfs.o
CC [M] /tmp/modconfig-iBoPti/vmnet-only/smac_compat.o
CC [M] /tmp/modconfig-iBoPti/vmnet-only/smac.o
CC [M] /tmp/modconfig-iBoPti/vmnet-only/vnetEvent.o
CC [M] /tmp/modconfig-iBoPti/vmnet-only/vnetUserListener.o
/tmp/modconfig-iBoPti/vmnet-only/vnetUserListener.c:85:1: warning: no previous prototype for ‘VNetUserListener_Create’ [-Wmissing-prototypes]
85 | VNetUserListener_Create(uint32 classMask, // IN: the listener's class mask
| ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/modconfig-iBoPti/vmnet-only/bridge.c:256:1: warning: no previous prototype for ‘VNetBridge_Create’ [-Wmissing-prototypes]
256 | VNetBridge_Create(const char *devName, // IN: name of device (e.g., "eth0")
| ^~~~~~~~~~~~~~~~~
/tmp/modconfig-iBoPti/vmnet-only/bridge.c:1414:1: warning: no previous prototype for ‘VNetBridgeSendLargePacket’ [-Wmissing-prototypes]
1414 | VNetBridgeSendLargePacket(struct sk_buff *skb, // IN: packet to split
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/modconfig-iBoPti/vmnet-only//vnetUserListener.c:85:1: warning: no previous prototype for ‘VNetUserListener_Create’ [-Wmissing-prototypes]
85 | VNetUserListener_Create(uint32 classMask, // IN: the listener's class mask
| ^~~~~~~~~~~~~~~~~~~~~~~
LD [M] /tmp/modconfig-iBoPti/vmnet-only/vmnet.o
/tmp/modconfig-iBoPti/vmnet-only/vmnet.o: warning: objtool: init_module(): not an indirect call target
/tmp/modconfig-iBoPti/vmnet-only/vmnet.o: warning: objtool: cleanup_module(): not an indirect call target
MODPOST /tmp/modconfig-iBoPti/vmnet-only/Module.symvers
CC [M] /tmp/modconfig-iBoPti/vmnet-only/vmnet.mod.o
LD [M] /tmp/modconfig-iBoPti/vmnet-only/vmnet.ko
BTF [M] /tmp/modconfig-iBoPti/vmnet-only/vmnet.ko
make[1]: Leaving directory '/usr/lib/modules/6.8.1-arch1-1/build'
/sbin/make -C $PWD SRCROOT=$PWD/.
MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-iBoPti/vmnet-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-iBoPti/vmnet-only'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory '/tmp/modconfig-iBoPti/vmnet-only'
Unable to install all modules. See log for details.

Using kernel build system.
make -C /lib/modules/6.8.1-arch1-1/build/include/.. M=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/lib/modules/6.8.1-arch1-1/build'
CC [M] /tmp/tmp.9Uw8KSUauw/vmware-patches/vmmon-only/linux/driver.o
/tmp/tmp.9Uw8KSUauw/vmware-patches/vmmon-only/linux/driver.c:271:1: error: static declaration of ‘init_module’ follows non-static declaration
271 | init_module(void)
| ^~~~~~~~~~~
In file included from ./include/linux/device/driver.h:21,
from ./include/linux/device.h:32,
from ./include/linux/miscdevice.h:7,
from /tmp/tmp.9Uw8KSUauw/vmware-patches/vmmon-only/linux/driver.c:26:
./include/linux/module.h:76:12: note: previous declaration of ‘init_module’ with type ‘int(void)’
76 | extern int init_module(void);
| ^~~~~~~~~~~
/tmp/tmp.9Uw8KSUauw/vmware-patches/vmmon-only/linux/driver.c:340:1: error: static declaration of ‘cleanup_module’ follows non-static declaration
340 | cleanup_module(void)
| ^~~~~~~~~~~~~~
./include/linux/module.h:77:13: note: previous declaration of ‘cleanup_module’ with type ‘void(void)’
77 | extern void cleanup_module(void);
| ^~~~~~~~~~~~~~
./include/linux/module.h:133:13: warning: ‘copy’ attribute ignored on a redeclaration of the referenced symbol [-Wattributes]
133 | int init_module(void) __copy(initfn)
| ^~~~~~~~~~~
/tmp/tmp.9Uw8KSUauw/vmware-patches/vmmon-only/linux/driver.c:1453:1: note: in expansion of macro ‘module_init’
1453 | module_init(init_module);
| ^~~~~~~~~~~
/tmp/tmp.9Uw8KSUauw/vmware-patches/vmmon-only/linux/driver.c:271:1: note: previous declaration here
271 | init_module(void)
| ^~~~~~~~~~~
./include/linux/module.h:133:13: error: redefinition of ‘init_module’
133 | int init_module(void) __copy(initfn)
| ^~~~~~~~~~~
/tmp/tmp.9Uw8KSUauw/vmware-patches/vmmon-only/linux/driver.c:1453:1: note: in expansion of macro ‘module_init’
1453 | module_init(init_module);
| ^~~~~~~~~~~
/tmp/tmp.9Uw8KSUauw/vmware-patches/vmmon-only/linux/driver.c:271:1: note: previous definition of ‘init_module’ with type ‘int(void)’
271 | init_module(void)
| ^~~~~~~~~~~
./include/linux/module.h:141:14: warning: ‘copy’ attribute ignored on a redeclaration of the referenced symbol [-Wattributes]
141 | void cleanup_module(void) __copy(exitfn)
| ^~~~~~~~~~~~~~
/tmp/tmp.9Uw8KSUauw/vmware-patches/vmmon-only/linux/driver.c:1454:1: note: in expansion of macro ‘module_exit’
1454 | module_exit(cleanup_module);
| ^~~~~~~~~~~
/tmp/tmp.9Uw8KSUauw/vmware-patches/vmmon-only/linux/driver.c:340:1: note: previous declaration here
340 | cleanup_module(void)
| ^~~~~~~~~~~~~~
./include/linux/module.h:141:14: error: redefinition of ‘cleanup_module’
141 | void cleanup_module(void) __copy(exitfn)
| ^~~~~~~~~~~~~~
/tmp/tmp.9Uw8KSUauw/vmware-patches/vmmon-only/linux/driver.c:1454:1: note: in expansion of macro ‘module_exit’
1454 | module_exit(cleanup_module);
| ^~~~~~~~~~~
/tmp/tmp.9Uw8KSUauw/vmware-patches/vmmon-only/linux/driver.c:340:1: note: previous definition of ‘cleanup_module’ with type ‘void(void)’
340 | cleanup_module(void)
| ^~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:243: /tmp/tmp.9Uw8KSUauw/vmware-patches/vmmon-only/linux/driver.o] Error 1
make[2]: *** [/usr/lib/modules/6.8.1-arch1-1/build/Makefile:1921: /tmp/tmp.9Uw8KSUauw/vmware-patches/vmmon-only] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.8.1-arch1-1/build'
make: *** [Makefile:117: vmmon.ko] Error 2

Using kernel build system.
make -C /lib/modules/6.8.1-arch1-1/build/include/.. M=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/lib/modules/6.8.1-arch1-1/build'
CC [M] /tmp/tmp.9Uw8KSUauw/vmware-patches/vmnet-only/netif.o
/tmp/tmp.9Uw8KSUauw/vmware-patches/vmnet-only/netif.c:185:1: warning: ‘VNetNetIf_Create’ defined but not used [-Wunused-function]
185 | VNetNetIf_Create(char *devName, // IN:
| ^~~~~~~~~~~~~~~~
CC [M] /tmp/tmp.9Uw8KSUauw/vmware-patches/vmnet-only/bridge.o
/tmp/tmp.9Uw8KSUauw/vmware-patches/vmnet-only/bridge.c:256:1: warning: ‘VNetBridge_Create’ defined but not used [-Wunused-function]
256 | VNetBridge_Create(const char *devName, // IN: name of device (e.g., "eth0")
| ^~~~~~~~~~~~~~~~~
CC [M] /tmp/tmp.9Uw8KSUauw/vmware-patches/vmnet-only/vnetUserListener.o
/tmp/tmp.9Uw8KSUauw/vmware-patches/vmnet-only/vnetUserListener.c:85:1: warning: ‘VNetUserListener_Create’ defined but not used [-Wunused-function]
85 | VNetUserListener_Create(uint32 classMask, // IN: the listener's class mask
| ^~~~~~~~~~~~~~~~~~~~~~~
LD [M] /tmp/tmp.9Uw8KSUauw/vmware-patches/vmnet-only/vmnet.o
/tmp/tmp.9Uw8KSUauw/vmware-patches/vmnet-only/vmnet.o: warning: objtool: init_module(): not an indirect call target
/tmp/tmp.9Uw8KSUauw/vmware-patches/vmnet-only/vmnet.o: warning: objtool: cleanup_module(): not an indirect call target
MODPOST /tmp/tmp.9Uw8KSUauw/vmware-patches/vmnet-only/Module.symvers
ERROR: modpost: "VNetUserIf_Create" [/tmp/tmp.9Uw8KSUauw/vmware-patches/vmnet-only/vmnet.ko] undefined!
ERROR: modpost: "VNetNetIf_Create" [/tmp/tmp.9Uw8KSUauw/vmware-patches/vmnet-only/vmnet.ko] undefined!
ERROR: modpost: "VNetUserListener_Create" [/tmp/tmp.9Uw8KSUauw/vmware-patches/vmnet-only/vmnet.ko] undefined!
ERROR: modpost: "VNetBridge_Create" [/tmp/tmp.9Uw8KSUauw/vmware-patches/vmnet-only/vmnet.ko] undefined!
make[3]: *** [scripts/Makefile.modpost:145: /tmp/tmp.9Uw8KSUauw/vmware-patches/vmnet-only/Module.symvers] Error 1
make[2]: *** [/usr/lib/modules/6.8.1-arch1-1/build/Makefile:1873: modpost] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.8.1-arch1-1/build'
make: *** [Makefile:117: vmnet.ko] Error 2

Incorrect netdev->dev_addr

/tmp/modconfig-iHjXXY/vmnet-only/netif.c:256:4: note: in expansion of macro ‘memcpy’
256 | memcpy(dev->dev_addr, netIf->port.paddr, sizeof netIf->port.paddr);
| ^~~~~~
/tmp/modconfig-iHjXXY/vmnet-only/netif.c:535:14: warning: passing argument 1 of ‘__builtin_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
535 | memcpy(dev->dev_addr, addr->sa_data, dev->addr_len);
| ~~~^~~~~~~~~~
/tmp/modconfig-iHjXXY/vmnet-only/netif.c:535:4: note: in expansion of macro ‘memcpy’
535 | memcpy(dev->dev_addr, addr->sa_data, dev->addr_len);
| ^~~~~~
/tmp/modconfig-iHjXXY/vmnet-only/netif.c:535:14: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
535 | memcpy(dev->dev_addr, addr->sa_data, dev->addr_len);
| ~~~^~~~~~~~~~

$ dmesg; output

[ 5884.588762] /dev/vmmon[8802]: Module vmmon: unloaded
[ 5884.804931] vmnet1 (unregistered): Current addr: 00 50 56 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 5884.804939] vmnet1 (unregistered): Expected addr: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 5884.804941] ------------[ cut here ]------------
[ 5884.804942] netdevice: vmnet1 (unregistered): Incorrect netdev->dev_addr
[ 5884.804954] WARNING: CPU: 3 PID: 8097 at net/core/dev_addr_lists.c:519 dev_addr_check.cold+0x43/0x74
[ 5884.804962] Modules linked in: vmnet(OE) ppdev parport vmw_vsock_vmci_transport vsock vmw_vmci rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device bnep gcm ccm algif_aead des_generic libdes cbc ecb 8021q algif_skcipher garp mrp cmac stp md4 llc algif_hash af_alg vfat fat snd_hda_codec_hdmi snd_hda_codec_conexant intel_rapl_msr snd_hda_codec_generic intel_rapl_common x86_pkg_temp_thermal intel_powerclamp iwldvm uvcvideo ledtrig_audio coretemp snd_hda_intel videobuf2_vmalloc snd_intel_dspcfg videobuf2_memops mac80211 kvm_intel btusb iTCO_wdt snd_intel_sdw_acpi videobuf2_v4l2 btrtl intel_pmc_bxt mousedev libarc4 snd_hda_codec iTCO_vendor_support mei_pxp mei_hdcp at24 btbcm videobuf2_common kvm snd_hda_core iwlwifi videodev btintel i915 nouveau btmtk iwlmei mc rtsx_usb_ms snd_hwdep snd_pcm cfg80211 snd_timer memstick ideapad_laptop snd bluetooth irqbypass sparse_keymap mxm_wmi drm_ttm_helper drm_buddy platform_profile ecdh_generic ttm crct10dif_pclmul rfkill wmi joydev
[ 5884.805029] drm_display_helper alx mdio crc32_pclmul cec soundcore ghash_clmulni_intel cryptd intel_gtt i2c_i801 mei_me rapl mei lpc_ich intel_cstate video intel_uncore mac_hid psmouse i2c_smbus pcspkr squashfs loop pkcs8_key_parser fuse crypto_user bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 usbhid serio_raw atkbd libps2 vivaldi_fmap sr_mod xhci_pci crc32c_intel cdrom xhci_pci_renesas i8042 serio rtsx_usb_sdmmc mmc_core rtsx_usb
[ 5884.805063] Unloaded tainted modules: parport_pc():1 parport_pc():1 vmnet(OE):2 parport_pc():1 vmmon(OE):3 acpi_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 fjes():1 pcc_cpufreq():1 fjes():1 pcc_cpufreq():1 pcc_cpufreq():1 fjes():1 acpi_cpufreq():1 pcc_cpufreq():1 fjes():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 [last unloaded: parport_pc]
[ 5884.805092] CPU: 3 PID: 8097 Comm: vmnet-netifup Tainted: G W OE 5.19.10-arch1-1 #1 cb401b6a3ebe8729d7681b7d6cda59664c3b483f
[ 5884.805096] Hardware name: LENOVO 20245/INVALID, BIOS 7BCN38WW(V2.04) 12/10/2013
[ 5884.805097] RIP: 0010:dev_addr_check.cold+0x43/0x74
[ 5884.805101] Code: 01 e8 6d 03 fb ff 0f 0b 48 c7 c5 34 d7 6a aa 80 3b 00 75 27 48 c7 c6 3f d7 6a aa 48 89 ea 48 c7 c7 b0 4c 78 aa e8 49 03 fb ff <0f> 0b e9 89 f7 da ff 48 8b 2c d5 e0 5a 40 aa eb d4 be 25 00 00 00
[ 5884.805103] RSP: 0018:ffff9c5a43ae7e00 EFLAGS: 00010282
[ 5884.805106] RAX: 0000000000000000 RBX: ffff8b6c95c41000 RCX: 0000000000000027
[ 5884.805107] RDX: ffff8b6cbb2e1668 RSI: 0000000000000001 RDI: ffff8b6cbb2e1660
[ 5884.805109] RBP: ffffffffaa6ad825 R08: 0000000000000000 R09: ffff9c5a43ae7c88
[ 5884.805110] R10: 0000000000000003 R11: ffffffffaaecb428 R12: ffff8b6c95c41050
[ 5884.805111] R13: ffff8b6c8028eca0 R14: ffff8b6c94713180 R15: 0000000000000000
[ 5884.805113] FS: 00007ff65f0df740(0000) GS:ffff8b6cbb2c0000(0000) knlGS:0000000000000000
[ 5884.805115] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 5884.805117] CR2: 0000562b6206ada8 CR3: 0000000005bae003 CR4: 00000000001706e0
[ 5884.805119] Call Trace:
[ 5884.805121]
[ 5884.805123] dev_addr_flush+0x12/0x30
[ 5884.805127] free_netdev+0x86/0x1b0
[ 5884.805132] VNetFileOpClose+0xd2/0x130 [vmnet 79aacdcafe3e4b5e0c1312413c24ad5d45ddd4ff]
[ 5884.805139] __fput+0x89/0x240
[ 5884.805143] task_work_run+0x60/0x90
[ 5884.805148] exit_to_user_mode_prepare+0x1a7/0x1d0
[ 5884.805154] syscall_exit_to_user_mode+0x1b/0x40
[ 5884.805157] do_syscall_64+0x6b/0x90
[ 5884.805161] ? exit_to_user_mode_prepare+0x145/0x1d0
[ 5884.805165] ? exc_page_fault+0x74/0x170
[ 5884.805168] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 5884.805172] RIP: 0033:0x7ff65f1d9514
[ 5884.805175] Code: eb b2 67 e8 1e 01 02 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 80 3d 0d 90 0e 00 00 74 13 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 44 c3 0f 1f 00 48 83 ec 18 89 7c 24 0c e8 83
[ 5884.805177] RSP: 002b:00007fff40a0c5c8 EFLAGS: 00000202 ORIG_RAX: 0000000000000003
[ 5884.805179] RAX: 0000000000000000 RBX: 0000000000000009 RCX: 00007ff65f1d9514
[ 5884.805181] RDX: ffffffffffffff80 RSI: 0000000000000000 RDI: 0000000000000009
[ 5884.805182] RBP: 00007ff65f0df6c0 R08: 00007fff40a0c520 R09: 00007ff65f0df740
[ 5884.805183] R10: 0000000000000008 R11: 0000000000000202 R12: 0000000000000000
[ 5884.805185] R13: 00007fff40a0c5e6 R14: 00007fff40a0c5f8 R15: 0000000000000000
[ 5884.805188]
[ 5884.805189] ---[ end trace 0000000000000000 ]---
[ 5884.961575] vmnet8 (unregistered): Current addr: 00 50 56 c0 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 5884.961586] vmnet8 (unregistered): Expected addr: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 5884.961589] ------------[ cut here ]------------
[ 5884.961590] netdevice: vmnet8 (unregistered): Incorrect netdev->dev_addr
[ 5884.961606] WARNING: CPU: 2 PID: 8109 at net/core/dev_addr_lists.c:519 dev_addr_check.cold+0x43/0x74
[ 5884.961617] Modules linked in: vmnet(OE) ppdev parport vmw_vsock_vmci_transport vsock vmw_vmci rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device bnep gcm ccm algif_aead des_generic libdes cbc ecb 8021q algif_skcipher garp mrp cmac stp md4 llc algif_hash af_alg vfat fat snd_hda_codec_hdmi snd_hda_codec_conexant intel_rapl_msr snd_hda_codec_generic intel_rapl_common x86_pkg_temp_thermal intel_powerclamp iwldvm uvcvideo ledtrig_audio coretemp snd_hda_intel videobuf2_vmalloc snd_intel_dspcfg videobuf2_memops mac80211 kvm_intel btusb iTCO_wdt snd_intel_sdw_acpi videobuf2_v4l2 btrtl intel_pmc_bxt mousedev libarc4 snd_hda_codec iTCO_vendor_support mei_pxp mei_hdcp at24 btbcm videobuf2_common kvm snd_hda_core iwlwifi videodev btintel i915 nouveau btmtk iwlmei mc rtsx_usb_ms snd_hwdep snd_pcm cfg80211 snd_timer memstick ideapad_laptop snd bluetooth irqbypass sparse_keymap mxm_wmi drm_ttm_helper drm_buddy platform_profile ecdh_generic ttm crct10dif_pclmul rfkill wmi joydev
[ 5884.961722] drm_display_helper alx mdio crc32_pclmul cec soundcore ghash_clmulni_intel cryptd intel_gtt i2c_i801 mei_me rapl mei lpc_ich intel_cstate video intel_uncore mac_hid psmouse i2c_smbus pcspkr squashfs loop pkcs8_key_parser fuse crypto_user bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 usbhid serio_raw atkbd libps2 vivaldi_fmap sr_mod xhci_pci crc32c_intel cdrom xhci_pci_renesas i8042 serio rtsx_usb_sdmmc mmc_core rtsx_usb
[ 5884.961772] Unloaded tainted modules: parport_pc():1 parport_pc():1 vmnet(OE):2 parport_pc():1 vmmon(OE):3 acpi_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 fjes():1 pcc_cpufreq():1 fjes():1 pcc_cpufreq():1 pcc_cpufreq():1 fjes():1 acpi_cpufreq():1 pcc_cpufreq():1 fjes():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 [last unloaded: parport_pc]
[ 5884.961820] CPU: 2 PID: 8109 Comm: vmnet-netifup Tainted: G W OE 5.19.10-arch1-1 #1 cb401b6a3ebe8729d7681b7d6cda59664c3b483f
[ 5884.961825] Hardware name: LENOVO 20245/INVALID, BIOS 7BCN38WW(V2.04) 12/10/2013
[ 5884.961827] RIP: 0010:dev_addr_check.cold+0x43/0x74
[ 5884.961833] Code: 01 e8 6d 03 fb ff 0f 0b 48 c7 c5 34 d7 6a aa 80 3b 00 75 27 48 c7 c6 3f d7 6a aa 48 89 ea 48 c7 c7 b0 4c 78 aa e8 49 03 fb ff <0f> 0b e9 89 f7 da ff 48 8b 2c d5 e0 5a 40 aa eb d4 be 25 00 00 00
[ 5884.961836] RSP: 0018:ffff9c5a4179fdd8 EFLAGS: 00010286
[ 5884.961840] RAX: 0000000000000000 RBX: ffff8b6c95c45000 RCX: 0000000000000027
[ 5884.961843] RDX: ffff8b6cbb2a1668 RSI: 0000000000000001 RDI: ffff8b6cbb2a1660
[ 5884.961845] RBP: ffffffffaa6ad825 R08: 0000000000000000 R09: ffff9c5a4179fc60
[ 5884.961847] R10: 0000000000000003 R11: ffffffffaaecb428 R12: ffff8b6c95c45050
[ 5884.961850] R13: ffff8b6c8028eca0 R14: ffff8b6c9416e9c0 R15: 0000000000000000
[ 5884.961852] FS: 00007f4e32523740(0000) GS:ffff8b6cbb280000(0000) knlGS:0000000000000000
[ 5884.961856] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 5884.961858] CR2: 00007f46b677be40 CR3: 0000000098582001 CR4: 00000000001706e0
[ 5884.961861] Call Trace:
[ 5884.961864]
[ 5884.961868] dev_addr_flush+0x12/0x30
[ 5884.961874] free_netdev+0x86/0x1b0
[ 5884.961880] VNetFileOpClose+0xd2/0x130 [vmnet 79aacdcafe3e4b5e0c1312413c24ad5d45ddd4ff]
[ 5884.961890] __fput+0x89/0x240
[ 5884.961896] task_work_run+0x60/0x90
[ 5884.961903] exit_to_user_mode_prepare+0x1a7/0x1d0
[ 5884.961910] syscall_exit_to_user_mode+0x1b/0x40
[ 5884.961916] do_syscall_64+0x6b/0x90
[ 5884.961922] ? syscall_exit_to_user_mode+0x1b/0x40
[ 5884.961926] ? do_syscall_64+0x6b/0x90
[ 5884.961931] ? exc_page_fault+0x74/0x170
[ 5884.961934] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 5884.961941] RIP: 0033:0x7f4e3261d514
[ 5884.961944] Code: eb b2 67 e8 1e 01 02 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 80 3d 0d 90 0e 00 00 74 13 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 44 c3 0f 1f 00 48 83 ec 18 89 7c 24 0c e8 83
[ 5884.961948] RSP: 002b:00007ffd2bd425e8 EFLAGS: 00000202 ORIG_RAX: 0000000000000003
[ 5884.961952] RAX: 0000000000000000 RBX: 0000000000000009 RCX: 00007f4e3261d514
[ 5884.961954] RDX: ffffffffffffff80 RSI: 0000000000000000 RDI: 0000000000000009
[ 5884.961956] RBP: 00007f4e325236c0 R08: 00007ffd2bd42540 R09: 00007f4e32523740
[ 5884.961958] R10: 0000000000000008 R11: 0000000000000202 R12: 0000000000000000
[ 5884.961960] R13: 00007ffd2bd42606 R14: 00007ffd2bd42618 R15: 0000000000000000
[ 5884.961965]
[ 5884.961967] ---[ end trace 0000000000000000 ]---

__pte_offset_map issue

2024-02-24T14:04:03.518Z In(05) host-5560 Using kernel build system.
2024-02-24T14:04:03.518Z In(05) host-5560 /tmp/modconfig-7TOLZb/vmmon-only/vmmon.o: warning: objtool: CrossPage_CodePage+0x1f7: 'naked' return found in RETHUNK build
2024-02-24T14:04:03.518Z In(05) host-5560 /tmp/modconfig-7TOLZb/vmmon-only/vmmon.o: warning: objtool: CrossPageInitSwitchIDTs+0x19: relocation to !ENDBR: CrossPage_CodePage+0x90
2024-02-24T14:04:03.518Z In(05) host-5560 /tmp/modconfig-7TOLZb/vmmon-only/vmmon.o: warning: objtool: cpDataTemplate+0x318: data relocation to !ENDBR: CrossPage_CodePage+0x170
2024-02-24T14:04:03.518Z In(05) host-5560 /tmp/modconfig-7TOLZb/vmmon-only/vmmon.o: warning: objtool: init_module(): not an indirect call target
2024-02-24T14:04:03.518Z In(05) host-5560 /tmp/modconfig-7TOLZb/vmmon-only/vmmon.o: warning: objtool: cleanup_module(): not an indirect call target
2024-02-24T14:04:03.518Z In(05) host-5560 ERROR: modpost: "__pte_offset_map" [/tmp/modconfig-7TOLZb/vmmon-only/vmmon.ko] undefined!
2024-02-24T14:04:03.518Z In(05) host-5560 make[3]: *** [scripts/Makefile.modpost:145: /tmp/modconfig-7TOLZb/vmmon-only/Module.symvers] Error 1
2024-02-24T14:04:03.518Z In(05) host-5560 make[2]: *** [/usr/lib/modules/6.7.6-arch1-1/build/Makefile:1863: modpost] Error 2
2024-02-24T14:04:03.518Z In(05) host-5560 make[1]: *** [Makefile:234: __sub-make] Error 2
2024-02-24T14:04:03.518Z In(05) host-5560 make: *** [Makefile:117: vmmon.ko] Error 2
2024-02-24T14:04:03.518Z In(05) host-5560 Using kernel build system.
2024-02-24T14:04:03.518Z In(05) host-5560 /tmp/modconfig-7TOLZb/vmnet-only/vmnet.o: warning: objtool: init_module(): not an indirect call target
2024-02-24T14:04:03.518Z In(05) host-5560 /tmp/modconfig-7TOLZb/vmnet-only/vmnet.o: warning: objtool: cleanup_module(): not an indirect call target

error: unknown type name ‘mm_segment_t’

/tmp/modconfig-2BcJL3/vmmon-only/linux/hostif.c: In function ‘isVAReadable’:
/tmp/modconfig-2BcJL3/vmmon-only/linux/hostif.c:2358:4: error: unknown type name ‘mm_segment_t’
2358 | mm_segment_t old_fs;
| ^~~~~~~~~~~~

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.