Marvell / Aquantia AQC-107 driver

196 views
Skip to first unread message

Secan Cristian

unread,
Jul 26, 2023, 4:18:35 AM7/26/23
to esos-users
Hello all,

I would like to know if this Marvell/Aquantia AQC-107 10GBe NIC is supported, and if not, how can I add it?

I have a 2 bay TerraMaster NAS F2-422 which has 3 NICs from which, one is a 10GBe NIC.

Thanks.

Marc Smith

unread,
Jul 30, 2023, 11:46:59 AM7/30/23
to esos-...@googlegroups.com
It appears there is an in-tree driver in Linux 5.4.x for this, so see
my previous message about enabling an in-tree driver... you'll need to
build ESOS from source, but modify misc/linux-5.4.229.config first and
set CONFIG_AQTION=y.

--Marc


>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups "esos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to esos-users+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/esos-users/80e2adfc-7da2-47ee-b315-3a07fb4c177fn%40googlegroups.com.

Secan Cristian

unread,
Jul 30, 2023, 2:01:45 PM7/30/23
to esos-users
Yes, I've managed to clone the source code from esos git. But when I run make pkg_dist, I receive the following error:

 [root@localhost]# make pkg_dist
make: *** No rule to make target '/esos/esos-4.1.8.img.tar.bz2', needed by 'pkg_dist'.  Stop.

Any suggestions, on how to proceed further?

Marc Smith

unread,
Jul 30, 2023, 2:04:02 PM7/30/23
to esos-...@googlegroups.com
On Sun, Jul 30, 2023 at 2:01 PM Secan Cristian <secan...@gmail.com> wrote:
Yes, I've managed to clone the source code from esos git. But when I run make pkg_dist, I receive the following error:

 [root@localhost]# make pkg_dist
make: *** No rule to make target '/esos/esos-4.1.8.img.tar.bz2', needed by 'pkg_dist'.  Stop.

Any suggestions, on how to proceed further?

The other targets all have to complete without error first.




On Sunday, July 30, 2023 at 6:46:59 PM UTC+3 Marc Smith wrote:
On Wed, Jul 26, 2023 at 4:18 AM Secan Cristian <secan...@gmail.com> wrote:
>
> Hello all,
>
> I would like to know if this Marvell/Aquantia AQC-107 10GBe NIC is supported, and if not, how can I add it?
>
> I have a 2 bay TerraMaster NAS F2-422 which has 3 NICs from which, one is a 10GBe NIC.

It appears there is an in-tree driver in Linux 5.4.x for this, so see
my previous message about enabling an in-tree driver... you'll need to
build ESOS from source, but modify misc/linux-5.4.229.config first and
set CONFIG_AQTION=y.

--Marc


>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups "esos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to esos-users+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/esos-users/80e2adfc-7da2-47ee-b315-3a07fb4c177fn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "esos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to esos-users+...@googlegroups.com.

Secan Cristian

unread,
Jul 30, 2023, 2:18:00 PM7/30/23
to esos-users
Sorry mate, I'm still trying to understand what's happening here. I've followed all the steps described in "11_Building" everything went well, without any errors. I've also found that the AQ driver is set to y in 5.4.229.config, so no need to modify the misc/linux-5.4.229.config . Now, if I run make pkg_dist I receive the above error message. I don't understand why, and how to build the new image.

Marc Smith

unread,
Jul 30, 2023, 4:01:40 PM7/30/23
to esos-...@googlegroups.com
On Sun, Jul 30, 2023 at 2:18 PM Secan Cristian <secan...@gmail.com> wrote:
>
> Sorry mate, I'm still trying to understand what's happening here. I've followed all the steps described in "11_Building" everything went well, without any errors. I've also found that the AQ driver is set to y in 5.4.229.config, so no need to modify the misc/linux-5.4.229.config . Now, if I run make pkg_dist I receive the above error message. I don't understand why, and how to build the new image.

Check the outcome of each build step using "echo $?" and ensure it's
non-zero. If you're using copy/paste from the wiki page, and those
redirect stdout + stderr to a file, you'll need to examine the file.

--Marc
> To view this discussion on the web visit https://groups.google.com/d/msgid/esos-users/9654170a-3447-442e-b916-ccaa7522f6can%40googlegroups.com.

Secan Cristian

unread,
Jul 30, 2023, 6:18:19 PM7/30/23
to esos-users
So I've manage to make it work (make pkg_dist) by downloading the original image. I've created the image, install it on the USB. ESOS is booting properly, but the driver is not loaded. I can see the device in lspci, but I don't see any kernel driver (modules) loaded.

01:00.0 Ethernet controller: Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] (rev 02)
        Subsystem: Aquantia Corp. Device 0001
        Flags: bus master, fast devsel, latency 0, IRQ 10
        Memory at 91440000 (64-bit, non-prefetchable) [size=64K]
        Memory at 91450000 (64-bit, non-prefetchable) [size=4K]
        Memory at 91000000 (64-bit, non-prefetchable) [size=4M]
        Expansion ROM at 91400000 [disabled] [size=256K]
        Capabilities: [40] Express Endpoint, MSI 00
        Capabilities: [80] Power Management version 3
        Capabilities: [90] MSI-X: Enable- Count=32 Masked-
        Capabilities: [a0] MSI: Enable- Count=1/32 Maskable- 64bit+
        Capabilities: [c0] Vital Product Data
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [150] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Capabilities: [180] Secondary PCI Express <?>

Any tips? :)

Marc Smith

unread,
Aug 4, 2023, 10:19:20 PM8/4/23
to esos-...@googlegroups.com
On Sun, Jul 30, 2023 at 6:18 PM Secan Cristian <secan...@gmail.com> wrote:
>
> So I've manage to make it work (make pkg_dist) by downloading the original image. I've created the image, install it on the USB. ESOS is booting properly, but the driver is not loaded. I can see the device in lspci, but I don't see any kernel driver (modules) loaded.
>
> 01:00.0 Ethernet controller: Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] (rev 02)
> Subsystem: Aquantia Corp. Device 0001
> Flags: bus master, fast devsel, latency 0, IRQ 10
> Memory at 91440000 (64-bit, non-prefetchable) [size=64K]
> Memory at 91450000 (64-bit, non-prefetchable) [size=4K]
> Memory at 91000000 (64-bit, non-prefetchable) [size=4M]
> Expansion ROM at 91400000 [disabled] [size=256K]
> Capabilities: [40] Express Endpoint, MSI 00
> Capabilities: [80] Power Management version 3
> Capabilities: [90] MSI-X: Enable- Count=32 Masked-
> Capabilities: [a0] MSI: Enable- Count=1/32 Maskable- 64bit+
> Capabilities: [c0] Vital Product Data
> Capabilities: [100] Advanced Error Reporting
> Capabilities: [150] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
> Capabilities: [180] Secondary PCI Express <?>
>
> Any tips? :)

Try rebuilding, I assuming you didn't enable it properly in the kernel
config before building. In your running ESOS image you can check with
"zcat /proc/config.gz | grep CONFIG_XXX" where CONFIG_XXX is the
kernel driver option.
> To view this discussion on the web visit https://groups.google.com/d/msgid/esos-users/d6bee32b-5b95-41a5-bb12-3bdef631d358n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages