VMware Cloud Community
Ronil333
Enthusiast
Enthusiast

Load module on booting ESXi 5.5

Hi,

- Developing driver for PCI card in VMWare ESXi 5.5.

- For that I've developed one module and transfer into /tmp/ folder.

- Load that module using vmkload_mod <module_name> command.Works properly.

- Now I need to load driver on BOOTING KERNEL .Because when I'm rebooting its unloaded.

- For that what steps i need to follow?

Please help.

Thanks

0 Kudos
1 Reply
Alistar
Expert
Expert

Hello there,

by design the bootbank of ESXi is only modified with persistent information only after

  • state,tgz changes (all the host's configuration options, etc.)
  • chkconfig changes (instruct the hypervisor to load/unload already installed module)
  • vib installation
  • surely some other means I am not aware of

Therefore, what you need to do is to create a VIB out of your driver with this utility: VIB Author &amp;#8211; VMware Labs and install it via esxcli software vib install -v "/full_path_to_vib/package.vib". Then if the module is not loaded at the boot-time you do chkconfig name_of_your_module on and reboot again.

Good luck!

Stop by my blog if you'd like 🙂 I dabble in vSphere troubleshooting, PowerCLI scripting and NetApp storage - and I share my journeys at http://vmxp.wordpress.com/