View unanswered posts | View active topics It is currently Tue Oct 15, 2019 3:18 am



Reply to topic  [ 5 posts ] 
 Hardware module autoloading in ESX (not ESXi) [solved] 
Author Message

Joined: Fri Jul 01, 2011 6:19 am
Posts: 3
Reply with quote
Post Hardware module autoloading in ESX (not ESXi) [solved]
To install ESX 4.x I have bought Intel DH67CL board and Intel 82574L Gigabit Network.
Sata controller normally works in esx 4.1.0 (not visible at 4.0u1).
Pci-e network Intel 82574L normally works in both 4.x

Now it is interesting to me to launch other network interface cards - 3com905, onboard Intel 82579V...
I have downloaded various oem.tgz from this forum.
Unpacked them and installed the driver 3c59x.o, e1001e.o in /usr/lib/vmware/vmkmod/.
I have added a lines in /etc/vmware/simple.map

The driver are started manualy (vmkload_mod 3c90x.o, vmkload_mod e1001e.o), network interface cards appear in esxcfg-nic-l and in vcenter.
Cards work, but until the first reboot of a esx host, after that they automatically aren't launched.
For example for Intel I tried different variants of lines:
8086:1503 0000:0000 network e1001e
8086:1503 8086:0000 network e1001e
8086:1503 8086:2003 network e1001e
But in any case my network interface card 82579V hasn't appeared after reboot.

lspci shows here it:
00:19.0 0200: 8086:1503 (rev 05)
Subsystem: 8086:2003

The same with cards 3com.

What is necessary, that the driver booted automatically?


Last edited by easy_john on Sun Jul 03, 2011 11:37 am, edited 1 time in total.



Fri Jul 01, 2011 6:48 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Unsupported hardware module autoloading
If you can manually load the drivers, then that's most of the battle and you only need to modify simple.map.

Have you verified that simple.map has the correct data after a reboot?

_________________
Dave Mishchenko
VMware vExpert 2009-2013
Image
Now available - VMware ESXi: Planning, Implementation, and Security
Also available - vSphere Quick Start Guide


Sat Jul 02, 2011 2:57 am
Profile

Joined: Fri Jul 01, 2011 6:19 am
Posts: 3
Reply with quote
Post Re: Unsupported hardware module autoloading
Dave.Mishchenko wrote:
If you can manually load the drivers, then that's most of the battle and you only need to modify simple.map.

Ok, but in my case it somehow did not work.

Dave.Mishchenko wrote:
Have you verified that simple.map has the correct data after a reboot?

Yes.
I actually went further and generated necessary .xml, then using esxcfg-pciid and created new pci.ids, simple.map and other files. Inside simple.map got exactly those lines that I quoted above, but none of them helped load the module automatically.


Sat Jul 02, 2011 6:04 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Unsupported hardware module autoloading
I had assumed that you were running ESXi, but rereading your post it looks like it is ESX.

I haven't done any changes like that on ESX for a while so I'm not sure how it uses or if it does use simple.map.

Just heading out on vacation - sorry I can't help more.

_________________
Dave Mishchenko
VMware vExpert 2009-2013
Image
Now available - VMware ESXi: Planning, Implementation, and Security
Also available - vSphere Quick Start Guide


Sat Jul 02, 2011 8:11 am
Profile

Joined: Fri Jul 01, 2011 6:19 am
Posts: 3
Reply with quote
Post Re: Unsupported hardware module autoloading
Ok, i found the way.

First - add modules to autoload:
Code:
esxcfg-module -e e1001e
esxcfg-module -e 3c59x

Second - create manifes files
Code:
echo "copy /usr/lib/vmware/vmkmod/3c59x.o" > /etc/vmware/init/manifests/vmware-3c59x.mf
echo "copy /usr/lib/vmware/vmkmod/e1001e.o" > /etc/vmware/init/manifests/vmware-e1001e.mf

reboot, and all modules loaded ok:
Code:
# esxcfg-nics -l
Name    PCI           Driver      Link Speed     Duplex MAC Address       MTU    Description
vmnic0  0000:03:00.00 e1000e      Up   1000Mbps  Full   00:1b:21:ad:92:43 1500   Intel ... 82574L
vmnic1  0000:00:19.00 e1000e      Down 0Mbps     Half   e0:69:95:73:13:cc 1500   Intel ... 82579V
vmnic2  0000:02:01.00 3c59x       Down 0Mbps     Half   00:04:75:c0:8a:07 1500   3Com ... 3C905
vmnic3  0000:02:02.00 3c59x       Down 0Mbps     Half   00:01:03:c2:34:ef 1500   3Com ... 3C905

And looks like ESX ignore simple.map, pcitable and other...


Sun Jul 03, 2011 11:33 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.