Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

How to install drivers for a NIC? (AQtion AQC107/XG-C100C)

Joined
Aug 12, 2015
Messages
56
Thanks
2
#1
Hey guys,

so I recently got the aboved mentioned 10GBE Card. At that point I didn't knew that there is now driver for this card/s.

So I got in contact with the support and they told me to they are working on it.
A few weeks later and I got the driver now:

https://www.dropbox.com/s/1j0ybm6nj8gj1n8/freebsd-drv-v0.0.2.zip?dl=0

So my question? Can I compile the driver on the CLI and test it/installed the driver or should I test that on a fresh FreeBSD system?
If so which FreeBSD version is FreeNAS running on?

Or do you guys have better ideas?
 

jgreco

Resident Grinch
Moderator
Joined
May 29, 2011
Messages
11,781
Thanks
3,036
#2
It may be possible to do this, but FreeNAS is really an appliance and isn't meant to be hacked on. Things will break when you run an update, for example.

You may be better off requesting that the driver be added. Submit requests like this through the "Report a Bug" link found at the top of the page.
 
Joined
Aug 12, 2015
Messages
56
Thanks
2
#3
It may be possible to do this, but FreeNAS is really an appliance and isn't meant to be hacked on. Things will break when you run an update, for example.

You may be better off requesting that the driver be added. Submit requests like this through the "Report a Bug" link found at the top of the page.
Okay, I created a bug report.
Hope that will help :)
https://jira.ixsystems.com/browse/NAS-101990
 
Joined
Jun 11, 2019
Messages
3
Thanks
0
#4
So glad this is happening. I bought two of them and was going to sell one to get one that is compatible with FreeNAS.
 
Joined
Aug 12, 2015
Messages
56
Thanks
2
#5
So glad this is happening. I bought two of them and was going to sell one to get one that is compatible with FreeNAS.
I bought mine a few months ago :D But I think It will still take some time till the driver will be in FreeBSD or FreeNAS.

Till then I'm gonna hack around and try to get it working. And update here ofc.
 
Joined
Aug 12, 2015
Messages
56
Thanks
2
#6
Joined
Jun 28, 2019
Messages
2
Thanks
1
#7
Hello,
I've send a few messages to Aquantia and I've finally found how to compile the driver.
The last github version is here (now v0.0.4): https://github.com/Aquantia/aqtion-freebsd/archive/master.zip
I've compiled the driver and obtained the if_atlantic.ko file.
The instructions to compile are:
  1. Load sources: fetch -o /tmp ftp://ftp.freebsd.org/pub/`uname -s`/releases/`uname -m`/`uname -r | cut -d'-' -f1,2`/src.txz
  2. Become superuser: su
  3. Unzip sources: tar xzf /tmp/src.txz -C /
  4. Download archive with driver and extract it
  5. Build driver: make
  6. Load driver: kldload ./if_atlantic.ko
I've attached here the if_atlantic.ko result file.
 

Attachments

kdragon75

FreeNAS Expert
Joined
Aug 7, 2016
Messages
2,383
Thanks
554
#9
Anyone load the drive yet? I'd try it but I'm not that fluent with shell for FreeNas.
Look into the kldload command in the FreeBSD hand book. Don't forget to add the enable line in you rc.conf file.
 

kdragon75

FreeNAS Expert
Joined
Aug 7, 2016
Messages
2,383
Thanks
554
#10
Also this WILL break with every update.
 
Joined
Jun 11, 2019
Messages
3
Thanks
0
#11
Look into the kldload command in the FreeBSD hand book. Don't forget to add the enable line in you rc.conf file.
I was able to load the driver using kldload, and see it as a network interface but no luck with finding the command that you are talking about. Sorry I am super new at FreeBSD.
 
Joined
Jul 15, 2014
Messages
11
Thanks
1
#13
Hi,

I was wondering how can I make the driver load after a restart? I tried the commands below as pre init and post init script but it did not work.
Code:
cd /
kldload usr/if_atlantic.ko


Edit:

Seems like I found the problem. The Script used Line Ending Windows Style (CRLF) and I had to change it to Unix (LF).
 
Last edited:
Top