David E
Contributor
- Joined
- Nov 1, 2013
- Messages
- 119
The vmxnet3.ko in VMware's ESXi 5.5 tools does not work with FreeNAS 9.2.X or 9.3, I have recompiled the (unmodified) source code for this driver, and am making available a ready to go kernel module for the FreeNAS versions listed below. You will want to temporarily use the E1000 NIC type so you can copy the driver into FreeNAS, then change it to VMXNET3 on the next boot.
For instructions on how to install the driver, see the latter part of the following post:
http://itanalyses.blogspot.com/2013/02/jumbo-frames-in-virtual-freenas-831-on.html
Instructions for compiling yourself
Rough guide of the necessary steps, substitute 9.2.1-RELEASE below with the FreeNAS version you are interested in. Updated to include ajohnson's faster build below:
Determining your kernel version for FreeNAS 9.3
As of 9.3 FreeNAS has moved to a much more frequent release process, that is revving the kernel across patches, but not updating the overall version number. To determine what version of the TrueOS kernel you are using, you'll need to find the MANIFEST file for the version of FreeNAS you are using. Start here: http://download.freenas.org/9.3/ pick the release train, ie STABLE, then the date of the ISO you installed, then the MANIFEST file. Inside it look for the line:
git@gitserver.ixsystems.com:/git/repos/freenas-build/trueos.git 4663c83
The last group of letters and numbers indicates the git revision, and corresponds to a revision at the Github repository https://github.com/trueos/trueos
Armed with this revision, follow the same instructions above for building, but instead of checking out a tag revision, check out the exact revision for your build, ie:
git checkout 4663c83
Available Kernel Modules
For instructions on how to install the driver, see the latter part of the following post:
http://itanalyses.blogspot.com/2013/02/jumbo-frames-in-virtual-freenas-831-on.html
Instructions for compiling yourself
Rough guide of the necessary steps, substitute 9.2.1-RELEASE below with the FreeNAS version you are interested in. Updated to include ajohnson's faster build below:
- Set up a FreeBSD 9.2 VM in VirtualBox
- Create and attach a second hard drive to the VM (20G or so)
- Find the disk, ls /dev look for ada*
- zpool create tank ada1
- Install Dependencies
- cd /usr/ports/devel/git
- make install clean
- cd /usr/ports/sysutils/cdrtools
- make install clean
- cd /usr/ports/ports-mgmt/pbi-manager
- make install clean
- Check out FreeNAS
- cd /tank
- git clone git://github.com/trueos/trueos.git
- cd trueos
- Find version to build against
- git tag -l
- git checkout 9.2.1-RELEASE
- Unpack vmware tools
- scp the tools to the vm in /root (vmware-freebsd-tools.tar.gz)
- cd /root
- gunzip vmware-freebsd-tools.tar.gz
- tar xf vmware-freebsd-tools.tar
- tar xf /root/vmware-tools-distrib/lib/modules/source/vmxnet3.tar
- Build
- cd /tank/trueos
- make buildenv
- cd /root/vmxnet3-only
- SYSDIR=/tank/trueos/sys make
Determining your kernel version for FreeNAS 9.3
As of 9.3 FreeNAS has moved to a much more frequent release process, that is revving the kernel across patches, but not updating the overall version number. To determine what version of the TrueOS kernel you are using, you'll need to find the MANIFEST file for the version of FreeNAS you are using. Start here: http://download.freenas.org/9.3/ pick the release train, ie STABLE, then the date of the ISO you installed, then the MANIFEST file. Inside it look for the line:
git@gitserver.ixsystems.com:/git/repos/freenas-build/trueos.git 4663c83
The last group of letters and numbers indicates the git revision, and corresponds to a revision at the Github repository https://github.com/trueos/trueos
Armed with this revision, follow the same instructions above for building, but instead of checking out a tag revision, check out the exact revision for your build, ie:
git checkout 4663c83
Available Kernel Modules
- ESXi 5.5 FreeNAS 9.3-STABLE-201503270027 (Git rev e006356) shasum: 0ec8c6b4992432cc438a1f03b201eac10645eabe
- ESXi 5.5 FreeNAS 9.3 x64 shasum: 4ea6e8dc8069fbcbb735599bf76286bb8a58b721
- ESXi 5.5 FreeNAS 9.2.1.6 x64 shasum: ff156321029d71f353f8752878a2e6d157f93f22
- ESXi 5.5 FreeNAS 9.2.1.3 x64 - use the module from 9.2.1.1
- ESXi 5.5 FreeNAS 9.2.1.1 x64 shasum: 378cf7b6d4267991b31e412cc90ddc4b1a6afb59
- ESXi 5.5 FreeNAS 9.2.1 x64 shasum: 69baa7d0621ee604277cb6768a504f79cb72b872
- ESXi 5.5 FreeNAS 9.2.0 x64 shasum: 831f99c967713c88a02fa240c2542cf3b41cbd7d
Attachments
-
vmxnet3-ESXi-5.5-FreeNAS-9.2.0-x64.zip26 KB · Views: 1,045
-
vmxnet3-ESXi-5.5-FreeNAS-9.2.1-x64.zip25.2 KB · Views: 1,010
-
vmxnet3-ESXi-5.5-FreeNAS-9.2.1.1-x64.zip25.9 KB · Views: 1,142
-
vmxnet3-ESXi-5.5-FreeNAS-9.2.1.6-x64.zip15.3 KB · Views: 1,074
-
vmxnet3-ESXi-5.5-FreeNAS-9.3-x64.zip15.3 KB · Views: 1,320
-
vmxnet3-ESXi-5.5-FreeNAS-9.3-STABLE-201503270027.zip15.3 KB · Views: 1,006
Last edited: