Jump to content
Forums in Read-Only Mode - Please use Reddit ×
  • 0

vmware /etc/conf.d/modules OR <*>


funloco

Question

Hi, I installed gentoo in vmware.

/usr/src/linux/.config

CONFIG_VMWARE_VSOCKETS=m
CONFIG_VMWARE_BALLOON=m
CONFIG_VMWARE_VMCI=m
CONFIG_VMWARE_PVSCSI=y

I changed them all to =y.

CONFIG_VMWARE_VSOCKETS=y
CONFIG_VMWARE_BALLOON=y
CONFIG_VMWARE_VMCI=y
CONFIG_VMWARE_PVSCSI=y

This is because I don't know how to autoload kernel modules when it's started.
I don't know if that is in /etc/conf.d/modules, because it's definitely not in /etc/modules.autoload.d/kernel-.

File systems  --->
    <*> FUSE (Filesystem in Userspace) support
	 [*] Network device support --->
    [*] Ethernet driver support --->
      (disable every driver but this)
      [*] AMD Devices
        <*> AMD PCNet32 PCI support 

 

Device Drivers  --->                                                    
  [*] Network device support  --->  
    <*> VMware VMXNET3 ethernet driver
# lsmod
Module                  Size  Used by
vmw_vsock_vmci_transport    32768  2
vsock                  36864  3 vmw_vsock_vmci_transport

I don't understand why it shows up as .ko if I didn't specify it like '<M>'.

# find /lib/modules/`uname -r` -name '*.ko'
/lib/modules/5.1.3-gentoo/kernel/drivers/thermal/intel/x86_pkg_temp_thermal.ko
/lib/modules/5.1.3-gentoo/kernel/fs/efivarfs/efivarfs.ko
/lib/modules/5.1.3-gentoo/kernel/net/vmw_vsock/vmw_vsock_vmci_transport.ko
/lib/modules/5.1.3-gentoo/kernel/net/vmw_vsock/vsock.ko
/lib/modules/5.1.3-gentoo/kernel/net/vmw_vsock/vsock_diag.ko
/lib/modules/5.1.3-gentoo/kernel/net/ipv4/netfilter/iptable_nat.ko
/lib/modules/5.1.3-gentoo/kernel/net/ipv4/netfilter/nf_log_arp.ko
/lib/modules/5.1.3-gentoo/kernel/net/ipv4/netfilter/ipt_MASQUERADE.ko
/lib/modules/5.1.3-gentoo/kernel/net/ipv4/netfilter/nf_log_ipv4.ko
/lib/modules/5.1.3-gentoo/kernel/net/netfilter/xt_addrtype.ko
/lib/modules/5.1.3-gentoo/kernel/net/netfilter/xt_nat.ko
/lib/modules/5.1.3-gentoo/kernel/net/netfilter/xt_mark.ko
/lib/modules/5.1.3-gentoo/kernel/net/netfilter/xt_LOG.ko
/lib/modules/5.1.3-gentoo/kernel/net/netfilter/nf_log_common.ko
/lib/modules/5.1.3-gentoo/kernel/net/ipv6/netfilter/nf_log_ipv6.ko
# rc-update
               binfmt | boot                                   
             bootmisc | boot                                   
              cgroups |                                 sysinit
           consolekit |      default                           
                 dbus |      default                           
                devfs |                                 sysinit
                dmesg |                                 sysinit
              elogind | boot                                   
                 fsck | boot                                   
               hdparm |      default                           
             hostname | boot                                   
              hwclock | boot                                   
              keymaps | boot                                   
            killprocs |                        shutdown        
    kmod-static-nodes |                                 sysinit
                local |      default nonetwork                 
           localmount | boot                                   
             loopback | boot                                   
              modules | boot                                   
             mount-ro |                        shutdown        
                 mtab | boot                                   
             netmount |      default                           
     opentmpfiles-dev |                                 sysinit
   opentmpfiles-setup | boot                                   
               procfs | boot                                   
                 root | boot                                   
         save-keymaps | boot                                   
    save-termencoding | boot                                   
            savecache |                        shutdown        
                 sshd |      default                           
                 swap | boot                                   
               sysctl | boot                                   
                sysfs |                                 sysinit
            syslog-ng |      default                           
         termencoding | boot                                   
                 udev |                                 sysinit
         udev-trigger |                                 sysinit
              urandom | boot                                   
         vmware-tools |      default

Even though it works until drag'n' drop, copy/paste is quite unstable, sometimes it works and sometimes it doesn't.

I guess if I specify '<*>' then I don't need to add anything to the /etc/conf.d/modules file, because I did not build the driver as a module, I built it directly into the kernel.

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

×
×
  • Create New...