Specifications
VMware, Inc. 241
Chapter 8 Using VMkernel Device Modules
The!format!of!<scsi-device-name>!is!<PCI-Bus>:<PCI-slot>.!
-e
--exportsym
Export!all!global!exported!symbols!from!this!module.!This!allows!other!modules!to!use!
exported!functions!and!variables!from!the!loaded!module.!Do!not!use!this!option!for!
normal!device!driver!and!shaper!modules!because!there!might!be!symbol!conflicts.!
-s
--showparam
List!all!
available!module!parameters!that!can!be!specified!in!the!<parameter>!section!
of!the!command!line.!
Parameters
Modules!can!specify!parameters!that!can!be!set!on!the!command!line.!A!list!of!these!
parameters!is!shown!via!the!--showparam!option.!In!order!to!set!one!of!these!
parameters,!you!must!specify!a!name‐value!pair!at!the!end!of!the!command!line.!The!
syntax!is!of!the!form
!<name>=<value>.!Any!number!of!parameters!can!be!specified.!
Examples
vmkload_mod ~/modules/e100.o vmnic debug=5
Loads!the!module!~/modules/e100.o!into!the!VMkernel.!The!tag!for!this!module!is!
vmnic.!Each!EEPro!card!that!was!assigned!to!the!VMkernel!is!given!the!name!
vmnic<#>,!where!<#>!starts!at!0.!For!example,!if!there!are!two!EEPro!cards!assigned!to!
the!VMkernel,!they!have!VMkernel!names
!of!vmnic0!and!vmnic1.!The!module!
parameter!debug!is!set!to!the!value!5.!
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.!
Following!are!several!examples!of!command!lines!that!load!various!modules.