Aquantia network cards on OMV

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Aquantia network cards on OMV

      I've tried, tried and tried again, but I can't get their drivers to compile on Debian/OMV.
      Has anyone else gotten Aquantia's AQC108 or AQC107 working on Debian/OMV?
      With Debian 8 I get one error and Debian 9 another, but I haven't done any programming in years, so I'm a bit lost.
      I even updated OMV 4.x to kernel 4.14 using OMV Extras, as there should be native drivers by now, but alas, still no luck.

      Source Code

      1. 01:00.0 Ethernet controller: Device 1d6a:d107 (rev 02)
      2. Subsystem: Device 1d6a:0001
      3. Flags: bus master, fast devsel, latency 0, IRQ 11
      4. Memory at f7440000 (64-bit, non-prefetchable) [size=64K]
      5. Memory at f7450000 (64-bit, non-prefetchable) [size=4K]
      6. Memory at f7000000 (64-bit, non-prefetchable) [size=4M]
      7. Expansion ROM at f7400000 [disabled] [size=256K]
      8. Capabilities: [40] Express Endpoint, MSI 00
      9. Capabilities: [80] Power Management version 3
      10. Capabilities: [90] MSI-X: Enable- Count=32 Masked-
      11. Capabilities: [a0] MSI: Enable- Count=1/32 Maskable- 64bit+
      12. Capabilities: [c0] Vital Product Data
      13. Capabilities: [100] Advanced Error Reporting
      14. Capabilities: [150] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
      15. Capabilities: [180] #19
      Display All

      Any help would be appreciated. :thumbsup:
      OMV 4.x Gigabyte Z270N-WiFi, i7-6700K@3GHz, 16GB DDR4-3000, 4x 4TB Toshiba N300, 1x 60GB Corsair GT SSD

      The post was edited 1 time, last by TheLostSwede ().

    • So from what I can tell, the OMV 4.13 image at the very least, it somewhat broken, as it doesn't seem to want to compile anything.
      It's possible that I'm doing something wrong, but I fired up a live image of Debian 9 and it compiled the driver just fine...
      OMV 4.x Gigabyte Z270N-WiFi, i7-6700K@3GHz, 16GB DDR4-3000, 4x 4TB Toshiba N300, 1x 60GB Corsair GT SSD
    • TheLostSwede wrote:

      the OMV 4.13 image at the very least, it somewhat broken, as it doesn't seem to want to compile anything.
      Did you install anything to compile? I would think the build-essential package would be very helpful.
      omv 4.1.9 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.10
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • TheLostSwede wrote:

      Yeah, otherwise it's impossible to compile anything.
      I wasn't sure if you just installed gcc or something. OMV is debian but I don't know what packages are installed in the Debian 9 live image. If you looked at the package list and compared them, I'm sure you could find what is missing.

      TheLostSwede wrote:

      Trust me, I've spent the last two days trying to figure out what's wrong...
      I've written quite a few scripts to make compiling drivers easier for people using OMV... Not my first time either.
      omv 4.1.9 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.10
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Yeah, no luck, straight back to the same situation with a clean install.

      Source Code

      1. make -j4 CC=gcc -C /lib/modules/4.14.0-0.bpo.3-amd64/build M=/home/test/Linux-200 modules
      2. make[1]: *** /lib/modules/4.14.0-0.bpo.3-amd64/build: No such file or directory. Stop.
      3. Makefile:62: recipe for target 'all' failed
      4. make: *** [all] Error 2
      Any suggestions at this point are welcome, as I'm going bald from all the frustration and tearing my hair out...

      The problem with the live image is that it's using kernel 4.9, not 4.14, so if I'm not missing something, the driver I compiled there, won't work either.
      OMV 4.x Gigabyte Z270N-WiFi, i7-6700K@3GHz, 16GB DDR4-3000, 4x 4TB Toshiba N300, 1x 60GB Corsair GT SSD
    • TheLostSwede wrote:

      The problem with the live image is that it's using kernel 4.9, not 4.14, so if I'm not missing something, the driver I compiled there, won't work either.
      There are plenty of drivers that need to be updated for newer kernels. So, it is very possible that your driver will not compile on 4.14. You could install the 4.9 kernel on your system and remove the 4.14 kernel. Then you won't have the problem.
      omv 4.1.9 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.10
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Well, it works on other distributions, so I don't see why it should be an issue with Debian/OMV.

      In fact, the drivers should already be included from 4.11, but alas, not with the OMV images.

      Is there any way you can install a driver that's part of the same kernel you're on without making it yourself? I can't seem to find any information about doing it.
      OMV 4.x Gigabyte Z270N-WiFi, i7-6700K@3GHz, 16GB DDR4-3000, 4x 4TB Toshiba N300, 1x 60GB Corsair GT SSD
    • TheLostSwede wrote:

      Well, it works on other distributions, so I don't see why it should be an issue with Debian/OMV.
      In fact, the drivers should already be included from 4.11, but alas, not with the OMV images.
      Other distros enable the module in their kernel builds. File an issue with Debian if you think it should be in their standard kernel.

      TheLostSwede wrote:

      Is there any way you can install a driver that's part of the same kernel you're on without making it yourself? I can't seem to find any information about doing it.

      $ grep AQTION /boot/config-4.14.0-0.bpo.3-amd64
      # CONFIG_AQTION is not set

      Nope. You need to compile your own kernel or just a get a common network card.
      omv 4.1.9 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.10
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Well, this isn't exactly an uncommon product, there's a handful of companies that make cards based on the same chip...
      New, yes, but due to its relatively affordable cost, it's quite a popular solution.
      Would be great to get native support in OMV for it. Anywhere I can ask for support?
      OMV 4.x Gigabyte Z270N-WiFi, i7-6700K@3GHz, 16GB DDR4-3000, 4x 4TB Toshiba N300, 1x 60GB Corsair GT SSD
    • TheLostSwede wrote:

      Well, this isn't exactly an uncommon product, there's a handful of companies that make cards based on the same chip...
      I've never heard of it.

      TheLostSwede wrote:

      Would be great to get native support in OMV for it. Anywhere I can ask for support?
      OMV doesn't maintain its own kernel. So, you need to ask Debian. Otherwise, you could install the 4.13 proxmox kernel since the module is enabled in their kernel.
      omv 4.1.9 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.10
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Well, it's part of the 4.11 kernel, so I guess once Debian gets their act together, it'll part of OMV as well.

      I'm afraid I don't know you, but Aquantia isn't a new company. In fact, they've single handedly managed to bring down the cost of 10Gbps network cards to a much more reasonable level than it has been to date.
      You can get cards from Asus, Gigabyte and QNAP at the very least for around US$100, with other manufacturers charging no more than $150, unless it's an older card with a controller from Tehuti, but I guess those use a different driver, as the PHY from Aquantia is different.
      This year we should also see quite a few 10Gbps switches using Aquanti tech.
      OMV 4.x Gigabyte Z270N-WiFi, i7-6700K@3GHz, 16GB DDR4-3000, 4x 4TB Toshiba N300, 1x 60GB Corsair GT SSD
    • TheLostSwede wrote:

      Well, it's part of the 4.11 kernel, so I guess once Debian gets their act together, it'll part of OMV as well.
      Debian doesn't remove the code from the 4.14 kernel. They just don't make it as a module or compile it in. And if they haven't added it in 4.11 thru 4.14, I wouldn't hold your breath...

      TheLostSwede wrote:

      I'm afraid I don't know you, but Aquantia isn't a new company. In fact, they've single handedly managed to bring down the cost of 10Gbps network cards to a much more reasonable level than it has been to date.
      You can get cards from Asus, Gigabyte and QNAP at the very least for around US$100, with other manufacturers charging no more than $150, unless it's an older card with a controller from Tehuti, but I guess those use a different driver, as the PHY from Aquantia is different.
      This year we should also see quite a few 10Gbps switches using Aquanti tech.
      None of the people I asked (four others and they all know enterprise hardware very well) have ever heard of them either.
      omv 4.1.9 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.10
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Well, I'm sorry to hear that you and your friends don't keep up to date with tech ;)
      Had they heard about Tehuti?
      And just because someone hasn't heard about something doesn't mean it's not popular.

      Sure, Aquantia isn't as famous as Intel, Marvell or Broadcom, but they might give them all a run for their money if they can continue to put out affordable 5/10Gbps hardware.

      They also make two and four port versions of both their 5Gbps and 10Gbps network chips and as I said, they have switch solutions on the way too.

      That said, they had some issues with these cards, as they had to issue a firmware update or they stopped working in Windows after a few days.

      As you can see, the drivers are native to Linux - github.com/torvalds/linux/tree…ers/net/ethernet/aquantia
      As to why Debian chose not to include them, I couldn't say.
      OMV 4.x Gigabyte Z270N-WiFi, i7-6700K@3GHz, 16GB DDR4-3000, 4x 4TB Toshiba N300, 1x 60GB Corsair GT SSD
    • TheLostSwede wrote:

      Well, I'm sorry to hear that you and your friends don't keep up to date with tech
      I won't comment on that.........

      TheLostSwede wrote:

      Sure, Aquantia isn't as famous as Intel, Marvell or Broadcom, but they might give them all a run for their money if they can continue to put out affordable 5/10Gbps hardware.
      You forgot the big one - Mellanox. Until Aquantia are on the VMware Hardware compatibility list, they will never be at my place of work. Cost means nothing. Reliability (most important) and performance are everything.

      Do you work for Aquantia???
      omv 4.1.9 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.10
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Sorry, it was a bad attempt at a joke.

      That's way out of my price range and I don't work with server grade stuff so...

      No I do not.

      I think for now their products are more of a client solution rather than a server solution, but I'm willing to at least to try and support companies that can make better hardware more affordable. We've been stuck using Gigabit networking for way too long.
      Consider USB 3.1 has hit 10Gbps and Thunderbolt (admittedly not quite comparable) is at 40Gbps, yet costs a fraction of what 10Gbps Ethernet costs, something has to change. The established companies haven't exactly cared about making the tech more affordable, as they've enjoyed high margins and are clearly selling quite well as it is.
      Maybe we'll see more affordable 2.5 and 5Gbps solutions, which in itself would be a step in the right direction imho.

      Anyhow, this is now way off topic...
      OMV 4.x Gigabyte Z270N-WiFi, i7-6700K@3GHz, 16GB DDR4-3000, 4x 4TB Toshiba N300, 1x 60GB Corsair GT SSD
    • Ok, problem solved, the long way around.

      I ended up installing Debian 9.4, then rolling my own kernel, including the Aquantia driver which was part of the kernel, then finally installing OVM on top of that.

      Now I just need to figure out how to make my Windows PC work ad-hoc with the NAS properly and not send the network traffic over the Gigabit Ethernet to the NAS.
      OMV 4.x Gigabyte Z270N-WiFi, i7-6700K@3GHz, 16GB DDR4-3000, 4x 4TB Toshiba N300, 1x 60GB Corsair GT SSD
    • Don't know what was your issue, just ssh into my develop VM.

      Display Spoiler

      Source Code

      1. root@debian9:~# cd Linux-200/
      2. root@debian9:~/Linux-200# ls -la
      3. total 184
      4. drwxr-xr-x 3 root root 4096 Apr 4 19:08 .
      5. drwx------ 11 root root 4096 Apr 4 19:08 ..
      6. -rw-r--r-- 1 1073748441 1073742337 2609 Nov 11 23:04 aq_cfg.h
      7. -rw-r--r-- 1 1073748441 1073742337 1664 Nov 11 22:46 aq_common.h
      8. -rw-r--r-- 1 1073748441 1073742337 9162 Nov 11 22:46 aq_ethtool.c
      9. -rw-r--r-- 1 1073748441 1073742337 535 Nov 10 22:15 aq_ethtool.h
      10. -rw-r--r-- 1 1073748441 1073742337 5292 Nov 17 19:45 aq_hw.h
      11. -rw-r--r-- 1 1073748441 1073742337 1597 Nov 10 22:15 aq_hw_utils.c
      12. -rw-r--r-- 1 1073748441 1073742337 1402 Nov 17 19:45 aq_hw_utils.h
      13. -rw-r--r-- 1 1073748441 1073742337 3655 Nov 10 22:15 aq_main.c
      14. -rw-r--r-- 1 1073748441 1073742337 508 Nov 10 22:15 aq_main.h
      15. -rw-r--r-- 1 1073748441 1073742337 25234 Nov 11 22:52 aq_nic.c
      16. -rw-r--r-- 1 1073748441 1073742337 4261 Nov 11 22:46 aq_nic.h
      17. -rw-r--r-- 1 1073748441 1073742337 10801 Nov 11 22:50 aq_pci_func.c
      18. -rw-r--r-- 1 1073748441 1073742337 928 Nov 11 22:46 aq_pci_func.h
      19. -rw-r--r-- 1 1073748441 1073742337 8040 Nov 10 22:15 aq_ring.c
      20. -rw-r--r-- 1 1073748441 1073742337 3769 Nov 10 22:15 aq_ring.h
      21. -rw-r--r-- 1 1073748441 1073742337 707 Nov 10 22:15 aq_rss.h
      22. -rw-r--r-- 1 1073748441 1073742337 1073 Nov 10 22:15 aq_utils.h
      23. -rw-r--r-- 1 1073748441 1073742337 8888 Nov 11 22:46 aq_vec.c
      24. -rw-r--r-- 1 1073748441 1073742337 1447 Nov 10 22:15 aq_vec.h
      25. drwxr-xr-x 2 1073748441 1073742337 4096 Nov 17 19:45 hw_atl
      26. -rw-r--r-- 1 1073748441 1073742337 190 Nov 10 22:15 Kconfig
      27. -rw-r--r-- 1 1073748441 1073742337 2293 Nov 11 22:46 Makefile
      28. -rw-r--r-- 1 1073748441 1073742337 11055 Nov 11 22:46 README.txt
      29. -rw-r--r-- 1 1073748441 1073742337 4509 Nov 17 19:49 release_notes.txt
      30. -rw-r--r-- 1 1073748441 1073742337 803 Nov 11 22:46 rpm-src.spec
      31. -rw-r--r-- 1 1073748441 1073742337 590 Nov 17 19:46 ver.h
      32. root@debian9:~/Linux-200# nano README.txt
      33. root@debian9:~/Linux-200# make
      34. make -j4 CC=gcc -C /lib/modules/4.9.0-4-amd64/build M=/root/Linux-200 modules
      35. make[1]: Entering directory '/usr/src/linux-headers-4.9.0-4-amd64'
      36. CC [M] /root/Linux-200/aq_nic.o
      37. CC [M] /root/Linux-200/aq_main.o
      38. CC [M] /root/Linux-200/aq_pci_func.o
      39. CC [M] /root/Linux-200/aq_vec.o
      40. CC [M] /root/Linux-200/aq_ring.o
      41. CC [M] /root/Linux-200/aq_hw_utils.o
      42. CC [M] /root/Linux-200/aq_ethtool.o
      43. CC [M] /root/Linux-200/hw_atl/hw_atl_a0.o
      44. CC [M] /root/Linux-200/hw_atl/hw_atl_b0.o
      45. CC [M] /root/Linux-200/hw_atl/hw_atl_utils.o
      46. CC [M] /root/Linux-200/hw_atl/hw_atl_utils_fw2x.o
      47. CC [M] /root/Linux-200/hw_atl/hw_atl_llh.o
      48. LD [M] /root/Linux-200/atlantic.o
      49. Building modules, stage 2.
      50. MODPOST 1 modules
      51. CC /root/Linux-200/atlantic.mod.o
      52. LD [M] /root/Linux-200/atlantic.ko
      53. make[1]: Leaving directory '/usr/src/linux-headers-4.9.0-4-amd64'
      54. root@debian9:~/Linux-200#
      Display All



      You're probably missing the headers
      New wiki
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server
    • subzero79 wrote:

      Don't know what was your issue, just ssh into my develop VM.

      You're probably missing the headers
      I have no idea either, I installed the kernel headers and did everything possible that's supposed to make it work.

      Anyhow, I solved the problem the long way around...
      If nothing else, I learnt a bunch of things doing it, even though I do feel like I wasted a lot of time.

      Performance is at least living up to my expectations and then some.


      Images
      • NAS-performance.png

        26.68 kB, 502×458, viewed 247 times
      • 2018-04-03.png

        187.17 kB, 767×907, viewed 270 times
      OMV 4.x Gigabyte Z270N-WiFi, i7-6700K@3GHz, 16GB DDR4-3000, 4x 4TB Toshiba N300, 1x 60GB Corsair GT SSD