View unanswered posts | View active topics It is currently Tue Oct 22, 2019 4:38 pm



Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
 Help with driver compiling and vm open source 
Author Message

Joined: Mon Feb 07, 2011 5:06 pm
Posts: 8
Reply with quote
Post Help with driver compiling and vm open source
Hello,

I have been investigating trying to compile my own NIC driver for esxi 3.5. I have been reading the following links:

http://www.kernelcrash.com/blog/using-a ... 009/08/14/

http://sourceforge.net/projects/open-vd ... ge=7548991

VMware seems to have removed some of the necessary directories from the 3.5u5 OSS download. Is there anyway to get a copy of the old 3.5u4 distro, so it would be possible to try and follow the steps in the sites I posted above?

Thanks.


Mon Feb 07, 2011 5:17 pm
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Help with driver compiling and vm open source
I took a look at the download site and all I have access is to the 3.5U5 downloads. What components are you missing?

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


Mon Feb 07, 2011 6:35 pm
Profile

Joined: Mon Feb 07, 2011 5:06 pm
Posts: 8
Reply with quote
Post Re: Help with driver compiling and vm open source
Hi Dave,

I extracted all the archives and all I end up with are three directories:

source
build
VMware-eesx-drivers-public-source-3.5.0-<build #> (forgot the exact #)

On the webpage about the Marvell LAN driver, the author states there should be two directories:

VMware-esx-drivers-public-source-3.5.0-153875
VMware-esx-public-source-3.5.0-153875

I have the drivers directory with the build script, but the download seems to be missing the esx-public-source directory. Since I am missing the other directory, I'm not sure where to place the symbolic links.

Maybe I should try downloading again?


Mon Feb 07, 2011 7:56 pm
Profile

Joined: Mon Feb 07, 2011 5:06 pm
Posts: 8
Reply with quote
Post Re: Help with driver compiling and vm open source
The 3.5u5 OSS download is missing the VMware-esx-public-source-3.5.0-153875/include/lkhdrs/asm-i386 directory. Do you think I could link to this directory in my Linux platform for compiling the drivers? It appears to be present on my CentOS 3 platform as ../../include/lkhdrs/asm-i386, but I'm not sure if it differs from what VMware provided in previous distributions???


Tue Feb 08, 2011 12:06 pm
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Help with driver compiling and vm open source
I would think they would not be compatible.


> On the webpage about the Marvell LAN driver, the author states there should be two directories:

VMware-esx-drivers-public-source-3.5.0-153875
VMware-esx-public-source-3.5.0-153875

Did you download 3 different ZIP packages for this?

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


Tue Feb 08, 2011 12:56 pm
Profile

Joined: Mon Feb 07, 2011 5:06 pm
Posts: 8
Reply with quote
Post Re: Help with driver compiling and vm open source
No, the page with the Marvel LAN driver instructions says to download the OSS source code and extract it, which gives you three tar.gz files.

I downloaded the OSS source code for ESXi 3.5u5. I extract that and I get the three tar.gz files, but they do not contain the correct directories when I extract them.

Without the header files in that directory, I'm worried I'm not going to be able to compile my NIC driver. I've combed the internet looking for the 3.5u4 OSS download, but I cannot find it...


Tue Feb 08, 2011 1:08 pm
Profile

Joined: Mon Feb 07, 2011 5:06 pm
Posts: 8
Reply with quote
Post Re: Help with driver compiling and vm open source
Dave,

Thanks for your responses, but I found the problem. I was reading the process for compiling drivers on ESXi-4 on the page linked below, and I noticed the directories mentioned seem to match what I am seeing in the OSS files for 3.5u5.

I guess VMware made some changes, but it looks like I can probably proceed. I'll add any info I find to this thread.

http://www.kernelcrash.com/blog/using-a ... 009/08/22/


Tue Feb 08, 2011 1:34 pm
Profile

Joined: Mon Feb 07, 2011 5:06 pm
Posts: 8
Reply with quote
Post Re: Help with driver compiling and vm open source
Dave,

Do you know where I could get a copy of the older VMware OSS source build? I looked for this file, but it's no longer available on the v downloads site.

VMware-eesx-public-source-3.5.0-153875.tar.gz


Fri Feb 11, 2011 9:36 pm
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Help with driver compiling and vm open source
I don't have it, but I'm checking with some others. I should have a yes / no in a couple of days.

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


Fri Feb 18, 2011 2:02 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Help with driver compiling and vm open source
Try this - http://download3.vmware.com/software/vi ... 875.tar.gz

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


Fri Feb 18, 2011 2:16 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ]  Go to page 1, 2  Next

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.