Installation guide
www.vmware.com
286
VMware ESX Server Administration Guide
vmkload_mod --device 0:12 ~/modules/aic7xxx.o vmhba
loads the module ~/modules/aic7xxx.o into the VMkernel. The tag for this
module is vmhba. The Adaptec SCSI adapter is currently being used by the service
console. The SCSI adapter is located on PCI bus 0, slot 12.
vmkload_mod --exportsym ~/modules/vmklinux linuxdrivers
loads the module ~/modules/vmklinux into the VMkernel. All exported symbols
from this module are available to other modules that are subsequently loaded. The
vmklinux module is the module that allows Linux device drivers to run in the
VMkernel so it is one of the few modules for which the --exportsym option makes
sense.
Here are several examples of command lines that load various modules:
Preparing to Load Modules
vmkload_mod -e /usr/lib/vmware/vmkmod/vmklinux linux
This command must be given before you load other device modules. It loads
common code that allows the VMkernel to make use of modules derived from Linux
device drivers to manage its high-performance devices. The -e option is required so
that the vmklinux module exports its symbols, making them available for use by
other modules.
Loading Modules
vmkload_mod /usr/lib/vmware/vmkmod/e100.o vmnic
vmkload_mod /usr/lib/vmware/vmkmod/aic7xxx.o vmhba
The first of these commands loads a module to control the EEPro Ethernet device(s)
reserved for the VMkernel. The second loads a module to control the Adaptec SCSI
device(s). The last argument supplied (vmnic and vmhba in the above examples)
determines the base name that VMware uses to refer to the device(s) in the VMware
virtual machine configuration file.
For example, suppose your machine has two EEPro Ethernet cards and three Adaptec
SCSI cards, and you assigned one Ethernet card and two SCSI cards to the VMkernel
during the installation process. After you issue the two commands above, the EEPro
Ethernet card assigned to the VMkernel is given the name vmnic0 and the two SCSI
cards assigned to the VMkernel are given the names vmhba0 and vmhba1.
Note: You only need to load the Adaptec VMkernel module once, even though two
Adaptec SCSI cards are assigned to the VMkernel.
The VMkernel can also share SCSI adapters with the service console, rather than
exclusively controlling them. The installation process allows you to specify SCSI