Solved

Injecting LSI drivers into ESXi Iso

Posted on 2013-06-16
15
1,109 Views
Last Modified: 2013-06-16
I am following a guide here http://blogs.vmware.com/vsphere/2011/02/ops-changes-part-4-injecting-or-installing-drivers.html to slip in a driver but I am stuck on an error. Have I missed a step?

root# mount -o loop vs.iso /mnt/vmwareinstall
root# mkdir vmwarecustom
root# cp -r /mnt/vmwareinstall/* vmwarecustom/
root# bunzip2 -c vmwarecustom/imagedd.bz2 > imagedd
root# vibddi -i imagedd -v esx-drivers/offline-bundle esx-drivers\offline-bundle\LSI_4.32-offline_bundle-340759\vmware-esx-drivers-scsi-megaraid-sas-400.4.32-1.0.4.00000.x86_64.vib
Setting up configuration for esxupdate
This may take a few seconds...
Dependency missing: vmtar
0
Comment
Question by:stlhost
  • 6
  • 5
  • 4
15 Comments
 
LVL 47

Expert Comment

by:dlethe
ID: 39251371
Did you do the following
1. make sure you are using unpatched copy of the vmwareinstall and verify the checksum to make sure it wasn't corrupted?
2. same for the vib file, make sure checksum is correct.
3. Are you using the correct/latest copy of the drivers?  Read release notes. Not all drivers work on all LSI megaraids, especially older drivers with newer cards.
4. Is your controller on the HCL for this version of ESX?  If not, get the right controller or use a later version of VMWARE.
 
Release notes also tell you specific LSI controllers they are tested for and there is almost always info on what BIOS/Firmware must be on the card for it to work.  

Not saying this is the problem, but it absolutely will fail if drivers, controller BIOS, and controller are not compatible with each other. That causes the scripts to start looking for files that are not there, or dependencies that cause them to break because something isn't at right memory offset or fails to load.

There is no tolerance for incompatibility in this process. The scripts are not hardened to give you meaningful answers if the prerequisites/compatibility isn't just perfect.

Low probability you have a checksum, distribution corruption problem, but that can cause this as well so worth checking into.
0
 
LVL 2

Author Comment

by:stlhost
ID: 39251385
It is an original copy of esxi it hasn't been modified/patched. I downloaded the VIB file this morning, I just extracted the ISO and then the vib file out of that and uploaded it and started to build it. FYI when I try to install ESXi it just gets stuck on megaraid_sas which is what lead me to this.
0
 
LVL 47

Expert Comment

by:dlethe
ID: 39251413
Is your LSI HBA on the HCL list for that particular version of ESXi?  If not. Forget it.  If so, read the release notes, boot the card to the POST and figure out what BIOS / FIRMWARE Is on the card and then verify compatibility.

You haven't yet established that the hardware is compatible.  Don't shortcut this step.  It is the most likely problem.
0
 
LVL 118
ID: 39251567
which storage controller are you trying to use?

Check the VMware HCL (Hardware Compatability Lists) here

http://www.vmware.com/go/hcl

there is already a mega_sas driver in the ESXi installation?

The method you have followed is not supported, and is a very grey area "hacking" the VMware ESXi ISO distribution.
0
 
LVL 2

Author Comment

by:stlhost
ID: 39251749
0
 
LVL 47

Accepted Solution

by:
dlethe earned 500 total points
ID: 39251760
well, there you go.   This card came way after the driver you are trying to install was written, so you won't be able to slip in just the original driver. It won't load.   I don't think there is a hack that you can expect will work to make an updated ISO.

You'll probably just have to do the installation the old fashioned way using another controller and then patch it and go from there.
0
 
LVL 2

Author Comment

by:stlhost
ID: 39251774
So another words it just wont work no matter even if I tried esx 5
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 47

Expert Comment

by:dlethe
ID: 39251797
People make the mistake of thinking something works if it talks and there are no errors.  But wait until you get some unrecoverable read/write errors, or a few bus resets due to devices going offline .... then you end up with corrupted data or lockups.  That is what the HCL is for, they beat the configuration up with data integrity, stress testing, and error injection.  Then they often get with the manufacturers who may make a firmware or driver tweak to fix it, if they can.

But in your case, that combination does not show up on the HCL.  So by definition, either it doesn't work because it failed testing, or it isn't on the HCL because nobody knows yet if it really works in all situations..   Either way, it is bad and you should just use something else.
0
 
LVL 118
ID: 39251869
What is your storage controller? is it listed on the HCL, if so if drivers are included it should work.

there are drivers already included for

LSI MegaRAID SAS 9260-4i, megaraid_sas version 5.30-1vmw in the original installaler

When you install ESXi does it not detect your storage controller?
0
 
LVL 2

Author Comment

by:stlhost
ID: 39251878
LSI MegaRAID SAS 9260-4i is the controller. I have tried 5.1 as well it sticks at the same spot Loading megaraid_sas and stops

This is the list for that controller

              ESXi 5.1 U1      megaraid_sas version 5.34-1vmw      N/A      inbox              
              ESXi 5.1      megaraid_sas version 5.34-1vmw      N/A      inbox              
              ESXi 5.0 U2      megaraid_sas version 5.34-1vmw      N/A      inbox              
              ESXi 5.0 U1      megaraid_sas version 5.34-1vmw      N/A      inbox              
              ESXi 5.0      megaraid_sas version 4.32-1vmw      N/A      inbox              
              ESX / ESXi 4.1 U3      megaraid_sas version 5.30-1vmw      N/A      inbox              
              ESX / ESXi 4.1 U3      megaraid_sas version 4.0.4.12vmw      N/A      async              
              ESX / ESXi 4.1 U2      megaraid_sas version 5.30-1vmw      N/A      inbox              
              ESX / ESXi 4.1 U2      megaraid_sas version 4.0.4.12vmw      N/A      async              
              ESX / ESXi 4.1 U1      megaraid_sas version 4.0.14.1-18vmw      N/A      inbox              
              ESX / ESXi 4.1 U1      megaraid_sas version 4.0.4.12vmw      N/A      async              
              ESX / ESXi 4.1      megaraid_sas version 4.0.14.1-18vmw      N/A      inbox              
              ESX / ESXi 4.1      megaraid_sas version 4.0.4.12vmw      N/A      async              
              ESX / ESXi 4.0 U4      megaraid_sas version 4.0.4.12vmw      N/A      async              
              ESX / ESXi 4.0 U3      megaraid_sas version 4.0.4.12vmw      N/A      async              
              ESX / ESXi 4.0 U2      megaraid_sas version 4.0.4.12vmw      N/A      async              
              ESX / ESXi 4.0 U1      megaraid_sas version 4.0.4.12vmw      N/A      async
0
 
LVL 118
ID: 39251882
At installation it stops, or after installation, when the server starts?

Is your server on the HCL, or is your server a whitebox?
0
 
LVL 2

Author Comment

by:stlhost
ID: 39251886
It's a super micro. http://www.supermicro.com/products/system/1U/5018/SYS-5018D-MTF.cfm 64gig ssd drive for the main 3x500gig drives in RAID5
0
 
LVL 118
ID: 39251889
Okay, so it's a whitebox.

If you strip out the controller, SSD drive, SATA disks, and install to USB flash drive, and then insert the LSI controller, does it start?
0
 
LVL 2

Author Comment

by:stlhost
ID: 39251979
Unfortunately I dont have any physical access to the box. I walked away for a while and came back seen it got past that part so I restarted the install again and watched it load this time. It takes 28 mins then it says no network cards detected. I'm going to chalk it up to the incompatible issue and leave it at that.
0
 
LVL 118
ID: 39251997
That is the issue with whiteboxes. I was going to suggest a compatible network interface, but question is closed.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now