View previous topic :: View next topic |
Author |
Message |
abdus Apprentice

Joined: 10 Feb 2021 Posts: 190 Location: bandung
|
Posted: Mon May 30, 2022 1:14 pm Post subject: needing to execute a command everytime to run vmware |
|
|
hi guys how is it going. i tried to install vmware following the official instructions in gentoo wiki. it did not work at the beginning
some modules weren't able to load and the command Code: | vmware-modconfig --console --install-all | had some errors specially about the modules vmmon, vmci and others
i tried to look for solutions online some of them were applying some patches but none of them worked. somehow i added some features to the kernel and recompiled it and the app worked after running the command above
in the wiki they say that the kernel versions that were tested are not newer than 5.10, mine is 5.15, so you can put that it can work. vmware version is 16.2.3 though as i guess.
the problem is that i need to run the command above every time i restart the computer, how can i make the changes of that command permanent? thank you. _________________ i would like to thank everyone that contributed to the gentoo project in any means |
|
Back to top |
|
 |
alamahant Advocate

Joined: 23 Mar 2019 Posts: 3961
|
Posted: Mon May 30, 2022 5:09 pm Post subject: |
|
|
Hi
Maybe use a cron job to start it @boot or a /etc/local.d/vmware.start file. _________________
 |
|
Back to top |
|
 |
abdus Apprentice

Joined: 10 Feb 2021 Posts: 190 Location: bandung
|
Posted: Mon May 30, 2022 5:31 pm Post subject: |
|
|
if it means starting the modules at startup i guess it is not possible since when i try modprobe some of the modules are not found _________________ i would like to thank everyone that contributed to the gentoo project in any means |
|
Back to top |
|
 |
alamahant Advocate

Joined: 23 Mar 2019 Posts: 3961
|
Posted: Mon May 30, 2022 5:39 pm Post subject: |
|
|
Plz
Put this command
Code: |
vmware-modconfig --console --install-all
|
in a cronhob or as mentioned above
But not practical i guess
Do you have
Code: |
CONFIG_VMWARE_VMCI_VSOCKETS=m
CONFIG_VMWARE_VMCI=m
CONFIG_VMWARE_PVSCSI=m
CONFIG_VMWARE_BALLOON=m
|
in your .config?
Plz run
Code: |
find /lib/modules/<kernel>/ -type f | grep -i vmw
|
My output
Code: |
find /lib/modules/5.17.1-gentoo-r1/ -type f | grep -i vmw
/lib/modules/5.17.1-gentoo-r1/kernel/net/vmw_vsock/vsock.ko.zst
/lib/modules/5.17.1-gentoo-r1/kernel/net/vmw_vsock/vmw_vsock_vmci_transport.ko.zst
/lib/modules/5.17.1-gentoo-r1/kernel/net/vmw_vsock/hv_sock.ko.zst
/lib/modules/5.17.1-gentoo-r1/kernel/net/vmw_vsock/vsock_loopback.ko.zst
/lib/modules/5.17.1-gentoo-r1/kernel/net/vmw_vsock/vmw_vsock_virtio_transport.ko.zst
/lib/modules/5.17.1-gentoo-r1/kernel/net/vmw_vsock/vmw_vsock_virtio_transport_common.ko.zst
/lib/modules/5.17.1-gentoo-r1/kernel/net/vmw_vsock/vsock_diag.ko.zst
/lib/modules/5.17.1-gentoo-r1/kernel/drivers/misc/vmw_balloon.ko.zst
/lib/modules/5.17.1-gentoo-r1/kernel/drivers/misc/vmw_vmci/vmw_vmci.ko.zst
/lib/modules/5.17.1-gentoo-r1/kernel/drivers/scsi/vmw_pvscsi.ko.zst
/lib/modules/5.17.1-gentoo-r1/kernel/drivers/ptp/ptp_vmw.ko.zst
/lib/modules/5.17.1-gentoo-r1/kernel/drivers/infiniband/hw/vmw_pvrdma/vmw_pvrdma.ko.zst
/lib/modules/5.17.1-gentoo-r1/kernel/drivers/gpu/drm/vmwgfx/vmwgfx.ko.zst
|
_________________
 |
|
Back to top |
|
 |
abdus Apprentice

Joined: 10 Feb 2021 Posts: 190 Location: bandung
|
Posted: Thu Jun 02, 2022 12:00 am Post subject: |
|
|
i'm sorry for my late reply i was busy, the settings in the kernel i remember i activated almost all of them, there was a command to check that but i forgot, it starts with z, if someone remembered it please tell me
for the requested command output it's here http://dpaste.com/AJDYGX3Q7 _________________ i would like to thank everyone that contributed to the gentoo project in any means |
|
Back to top |
|
 |
abdus Apprentice

Joined: 10 Feb 2021 Posts: 190 Location: bandung
|
Posted: Thu Jun 02, 2022 9:46 am Post subject: |
|
|
excuse me but i noticed something, it may not be related to the topic of this thread but it made me curious, why your kernel modules extensions are zst while mine are ko. yours are ko.zst why is that? _________________ i would like to thank everyone that contributed to the gentoo project in any means |
|
Back to top |
|
 |
alamahant Advocate

Joined: 23 Mar 2019 Posts: 3961
|
Posted: Thu Jun 02, 2022 5:05 pm Post subject: |
|
|
Quote: |
, why your kernel modules extensions are zst while mine are ko. yours are ko.zst why is that
|
because they are zstd-compressed. _________________
 |
|
Back to top |
|
 |
abdus Apprentice

Joined: 10 Feb 2021 Posts: 190 Location: bandung
|
Posted: Sat Jun 04, 2022 7:10 am Post subject: |
|
|
i maneged to get my modules just like yours and here how they have become http://dpaste.com/E6EVPJFNW however the problem is still the same
i found this thread from vmware official website https://kb.vmware.com/s/article/2146460 i don't if it works, if someone has tried it, he may share his experience with us
i found this patch that i applied before but i don't think it worked, it is for the version 15 while mine is 16 _________________ i would like to thank everyone that contributed to the gentoo project in any means |
|
Back to top |
|
 |
abdus Apprentice

Joined: 10 Feb 2021 Posts: 190 Location: bandung
|
Posted: Sat Jun 04, 2022 7:13 am Post subject: |
|
|
alamahant wrote: | Quote: |
, why your kernel modules extensions are zst while mine are ko. yours are ko.zst why is that
|
because they are zstd-compressed. |
that's interesting, will the extension be lzo if i compress it with lzo? are there levels of compression for lzo like for zstd and the other that are in gentoo btrfs wiki, in the bootup if found that it says that i compressed my filesystem with lzo and the level is 0 _________________ i would like to thank everyone that contributed to the gentoo project in any means |
|
Back to top |
|
 |
|