temp.vm-help.com
http://www.vm-help.com/forum/

Combining 2 drivers for custom install
http://www.vm-help.com/forum/viewtopic.php?f=12&t=3299
Page 1 of 1

Author:  WTF-ESXi [ Sun Aug 28, 2011 12:06 am ]
Post subject:  Combining 2 drivers for custom install

First I wanted to apologize if this question has been answered but I have been unable to find it.

I currently have a Gigabyte GA-890FXA-UD5 Motherboard with a Realtek 8111D NIC and an Addonics SATA controller with a Silicon Image Sil3132 chipset. Everything works on the MB except for the onboard NIC and nothing works in regards to the controller. I am trying to make a custom image with the drivers for the SATA controller and the NIC. My trouble is I only know how to add 1 custom driver at a time with the script Varazir provided. Is there a way to combine 2 custom oem.tgz driver files into one so I can load them both into an ESXi 4.1 Update1 installable? Or is there another way to load 2 drivers into the installable that would be easier?

Thanks for your help.

Author:  WTF-ESXi [ Thu Sep 01, 2011 7:59 pm ]
Post subject:  Re: Combining 2 drivers for custom install

never mind, i found it and got it working.

Author:  WTF-ESXi [ Thu Sep 08, 2011 8:21 pm ]
Post subject:  Re: Combining 2 drivers for custom install

So i had some inquiries about what I made so I have attached the OEM file to this post.

What it is and how it was made. First, it is an oem.tgz file with 2 drivers added to it. The drivers are for a (1) SATA controller card with Silicon Image Sil3132 chipset and (2)the on board NIC for the Gigabyte GA-890FXA-UD5 motherboard, which uses the Realtek 8111D chipset. Second, I made it by combining the drivers from the Sil3132 OEM file found here http://www.vm-help.com/forum/viewtopic.php?f=12&t=2096 with the Realtek drivers found here http://www.vm-help.com/forum/viewtopic.php?f=14&t=2492&p=10871#p10871. I did all this in windows with 7-Zip and Notepad++. Steps are below...

1) Open the Sil3132 oem.tgz file with 7-Zip and pull out the "sata_sil24.o" file.

2) Open the Realtek NIC oem.tgz file and pull out 2 files; "simple.map" & "pci.ids"

3) You will want to edit these 2 files with Notepad++; the pci.ids file you will add "0242 SiI 3132 Serial ATA Raid II Controller (Adaptec-branded)" between the lines you see below, it should be around line 3782 in the editor.
3132 SiI 3132 Serial ATA Raid II Controller
3512 SiI 3512 [SATALink/SATARaid] Serial ATA Controller

Once done it should look like this:

3132 SiI 3132 Serial ATA Raid II Controller
0242 SiI 3132 Serial ATA Raid II Controller (Adaptec-branded)
3512 SiI 3512 [SATALink/SATARaid] Serial ATA Controller

Save and close the pci.ids file and open the simple.map for editing. This file you will add 2 lines, first is "1095:0242 0000:0000 storage sata_sil24.o" this will go between :

1095:0240 0000:0000 storage sata_sil.o
~~~insert here~~~
1095:0643 0000:0000 storage pata_cmd64x.o

which resides at line 176. next line to add is "1095:3132 0000:0000 storage sata_sil24.o" and it goes between :

1095:3512 0000:0000 storage sata_sil.o
~~~insert here~~~
10b9:5288 0000:0000 storage ahci.o

This is around line 185. Save and close this file now.

4) Now replace the "simple.map" & "pci.ids" files in the NIC oem.tgz with the ones you just edited.

5) Add the "sata_sil24.o" file you pulled out earlier to the same directory as the "r8169.o" file found in the NIC oem.tgz

6) Close it all up and you now have 2 drivers combined into 1 oen.tgz file.

Attachments:
File comment: OEM file for SATA controller card with Silicon Image Sil3132 chipset and the on board NIC for the Gigabyte GA-890FXA-UD5
Sil3132_RTL8111D.oem.tgz [471.27 KiB]
Downloaded 424 times

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/