Specifications
Administration Guide
242 VMware, Inc.
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.!
The!VMkernel!can!also!share!SCSI!adapters!with!the!service!console,!rather!than!
exclusively!controlling!them.!The!installation!process!allows!you!to!specify
!SCSI!
adapters!that!are!shared!and!load!the!device!module!appropriately.!However,!if!you!
wish!to!control!the!sharing!explicitly,!assign!the!SCSI!device!to!the!service!console!
during!the!installation!process.!Load!the!VMkernel!SCSI!module!using!the!following!
syntax:!
vmkload_mod -d bus:slot /usr/lib/vmware/vmkmod/aic7xxx.o vmhba
To!obtain!the!bus!and!slot!(also!known!as
!device!or!cardnum)!information,!examine!
/proc/pci,!output!from!the!scanpci!command,!or!both.!
N
OTE You!need!to!load!the!Adaptec!VMkernel!module!once,!even!though!two!Adaptec!SCSI!
cards!are!assigned!to!the!VMkernel.!
NOTE The!device!must!be!correctly!assigned!to!the!service!console.!Devices!assigned!
exclusively!to!the!VMkernel!during!the!installation!process!no!longer!appear!in!
/proc/pci.!