How do I get Aquantia networks card working in Debian?

Getting your soundcard to work, using Debian on non-i386 hardware, etc

How do I get Aquantia networks card working in Debian?

Postby thelostswede » 2018-04-01 18:30

So, I'm having some major problems getting my Aquantia AQN-107 working in Debian.
I've downloaded their drivers which needs to be compiled and no matter what I do, I can't compile the drivers.
I was getting one problem at first, which has developed in to more problems that I've slowly but surely managed to get past by installing various things that are needed to run the make command, but now I'm stuck.

What I get is the following:
Code: Select all
make -j4 CC=gcc -C /lib/modules/4.14.0-0.bpo.3-amd64/build M=/home/test/Linux-200 modules
make[1]: Entering directory '/lib/modules/4.14.0-0.bpo.3-amd64/build'
make[1]: *** No rule to make target 'modules'.  Stop.
make[1]: Leaving directory '/lib/modules/4.14.0-0.bpo.3-amd64/build'
Makefile:62: recipe for target 'all' failed
make: *** [all] Error 2


Apparently it's not a unique problem and has something to do with the kernel. I tried using the latest kernel, as the drivers are supposed to have native support there, but apparently it's not that easy. I have installed build-essentials and kernel headers.

The card is seen by the OS, but obviously there are no drivers...
Code: Select all
01:00.0 Ethernet controller: Device 1d6a:d107 (rev 02)
        Subsystem: Device 1d6a:0001
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at f7440000 (64-bit, non-prefetchable) [size=64K]
        Memory at f7450000 (64-bit, non-prefetchable) [size=4K]
        Memory at f7000000 (64-bit, non-prefetchable) [size=4M]
        Expansion ROM at f7400000 [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] #19


Any suggestions at this point are welcome, as I've so far wasted a whole day and the better part of the night trying to get this working... :? :(
thelostswede
 
Posts: 7
Joined: 2018-04-01 18:24

Re: How do I get Aquantia networks card working in Debian?

Postby Bulkley » 2018-04-01 21:53

By "latest kernel" which one do you mean? Have you looked in the non-free repository for firmware?

This may or may not help but run lspci -v. What does that report about your Aquantia card?
Bulkley
 
Posts: 5617
Joined: 2006-02-11 18:35

Re: How do I get Aquantia networks card working in Debian?

Postby Segfault » 2018-04-01 22:35

https://cateee.net/lkddb/web-lkddb/AQTION.html

1d6a:d107 is in kernel since 4.11.
Segfault
 
Posts: 698
Joined: 2005-09-24 12:24

Re: How do I get Aquantia networks card working in Debian?

Postby thelostswede » 2018-04-02 05:53

Bulkley wrote:By "latest kernel" which one do you mean? Have you looked in the non-free repository for firmware?

This may or may not help but run lspci -v. What does that report about your Aquantia card?


4.14, which seems to be the latest available for Debian 9.
The card has completely open source drivers, but I can't compile them, as I keep running into issues I don't understand how to solve.

Code: Select all
00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 07)
        Subsystem: Gigabyte Technology Co., Ltd Skylake Host Bridge/DRAM Registers
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=10 <?>
        Kernel driver in use: skl_uncore

00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 07) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Memory behind bridge: f7000000-f74fffff
        Capabilities: [88] Subsystem: Gigabyte Technology Co., Ltd Skylake PCIe Controller (x16)
        Capabilities: [80] Power Management version 3
        Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [a0] Express Root Port (Slot+), MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [140] Root Complex Link
        Capabilities: [d94] #19
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06) (prog-if 00 [VGA controller])
        Subsystem: Gigabyte Technology Co., Ltd HD Graphics 530
        Flags: bus master, fast devsel, latency 0, IRQ 132
        Memory at f6000000 (64-bit, non-prefetchable) [size=16M]
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at f000 [size=64]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: [40] Vendor Specific Information: Len=0c <?>
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [100] Process Address Space ID (PASID)
        Capabilities: [200] Address Translation Service (ATS)
        Capabilities: [300] Page Request Interface (PRI)
        Kernel driver in use: i915
        Kernel modules: i915

00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model
        Subsystem: Gigabyte Technology Co., Ltd Skylake Gaussian Mixture Model
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at f774e000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [dc] Power Management version 2
        Capabilities: [f0] PCI Advanced Features

00:14.0 USB controller: Intel Corporation Device a2af (prog-if 30 [XHCI])
        Subsystem: Gigabyte Technology Co., Ltd Device 5007
        Flags: bus master, medium devsel, latency 0, IRQ 122
        Memory at f7730000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [70] Power Management version 2
        Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

00:16.0 Communication controller: Intel Corporation Device a2ba
        Subsystem: Gigabyte Technology Co., Ltd Device 1c3a
        Flags: bus master, fast devsel, latency 0, IRQ 130
        Memory at f774d000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: [50] Power Management version 3
        Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Kernel driver in use: mei_me
        Kernel modules: mei_me

00:17.0 SATA controller: Intel Corporation Device a282 (prog-if 01 [AHCI 1.0])
        Subsystem: Gigabyte Technology Co., Ltd Device b005
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 129
        Memory at f7748000 (32-bit, non-prefetchable) [size=8K]
        Memory at f774c000 (32-bit, non-prefetchable) [size=256]
        I/O ports at f090 [size=8]
        I/O ports at f080 [size=4]
        I/O ports at f060 [size=32]
        Memory at f774b000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [70] Power Management version 3
        Capabilities: [a8] SATA HBA v1.0
        Kernel driver in use: ahci
        Kernel modules: ahci

00:1b.0 PCI bridge: Intel Corporation Device a2e7 (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Capabilities: [40] Express Root Port (Slot-), MSI 00
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Capabilities: [a0] Power Management version 3
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1b.2 PCI bridge: Intel Corporation Device a2e9 (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Access Control Services
        Capabilities: [220] #19
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1b.4 PCI bridge: Intel Corporation Device a2eb (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Access Control Services
        Capabilities: [220] #19
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.0 PCI bridge: Intel Corporation Device a290 (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
        Capabilities: [40] Express Root Port (Slot-), MSI 00
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Capabilities: [a0] Power Management version 3
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.2 PCI bridge: Intel Corporation Device a292 (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Access Control Services
        Capabilities: [220] #19
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.4 PCI bridge: Intel Corporation Device a294 (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
        I/O behind bridge: 0000e000-0000efff
        Memory behind bridge: f7600000-f76fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Access Control Services
        Capabilities: [220] #19
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.5 PCI bridge: Intel Corporation Device a295 (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Bus: primary=00, secondary=08, subordinate=08, sec-latency=0
        Memory behind bridge: f7500000-f75fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Access Control Services
        Capabilities: [220] #19
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.6 PCI bridge: Intel Corporation Device a296 (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Bus: primary=00, secondary=09, subordinate=09, sec-latency=0
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Access Control Services
        Capabilities: [220] #19
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.7 PCI bridge: Intel Corporation Device a297 (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 19
        Bus: primary=00, secondary=0a, subordinate=0a, sec-latency=0
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Access Control Services
        Capabilities: [220] #19
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1d.0 PCI bridge: Intel Corporation Device a298 (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Bus: primary=00, secondary=0b, subordinate=0b, sec-latency=0
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Access Control Services
        Capabilities: [220] #19
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1f.0 ISA bridge: Intel Corporation Device a2c5
        Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Flags: bus master, medium devsel, latency 0

00:1f.2 Memory controller: Intel Corporation Device a2a1
        Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Flags: bus master, fast devsel, latency 0
        Memory at f7744000 (32-bit, non-prefetchable) [size=16K]

00:1f.3 Audio device: Intel Corporation Device a2f0
        Subsystem: Gigabyte Technology Co., Ltd Device a182
        Flags: bus master, fast devsel, latency 32, IRQ 133
        Memory at f7740000 (64-bit, non-prefetchable) [size=16K]
        Memory at f7720000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [50] Power Management version 3
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

00:1f.4 SMBus: Intel Corporation Device a2a3
        Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Flags: medium devsel, IRQ 16
        Memory at f774a000 (64-bit, non-prefetchable) [size=256]
        I/O ports at f040 [size=32]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801

00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V
        Subsystem: Gigabyte Technology Co., Ltd Ethernet Connection (2) I219-V
        Flags: bus master, fast devsel, latency 0, IRQ 123
        Memory at f7700000 (32-bit, non-prefetchable) [size=128K]
        Capabilities: [c8] Power Management version 3
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [e0] PCI Advanced Features
        Kernel driver in use: e1000e
        Kernel modules: e1000e

01:00.0 Ethernet controller: Device 1d6a:d107 (rev 02)
        Subsystem: Device 1d6a:0001
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at f7440000 (64-bit, non-prefetchable) [size=64K]
        Memory at f7450000 (64-bit, non-prefetchable) [size=4K]
        Memory at f7000000 (64-bit, non-prefetchable) [size=4M]
        Expansion ROM at f7400000 [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] #19

07:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
        Subsystem: Gigabyte Technology Co., Ltd I211 Gigabit Network Connection
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at f7600000 (32-bit, non-prefetchable) [size=128K]
        I/O ports at e000 [size=32]
        Memory at f7620000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
        Capabilities: [70] MSI-X: Enable+ Count=5 Masked-
        Capabilities: [a0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number 1c-1b-0d-ff-ff-99-bf-cb
        Capabilities: [1a0] Transaction Processing Hints
        Kernel driver in use: igb
        Kernel modules: igb

08:00.0 Network controller: Intel Corporation Device 24fd (rev 78)
        Subsystem: Intel Corporation Device 1010
        Flags: bus master, fast devsel, latency 0, IRQ 131
        Memory at f7500000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: [c8] Power Management version 3
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [40] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number 00-28-f8-ff-ff-3b-d7-a6
        Capabilities: [14c] Latency Tolerance Reporting
        Capabilities: [154] L1 PM Substates
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi


Segfault wrote:https://cateee.net/lkddb/web-lkddb/AQTION.html

1d6a:d107 is in kernel since 4.11.


But installing the new kernel alone doesn't seem to make the network card work, so I'm a bit of a loss, hence why I'm asking for help.
thelostswede
 
Posts: 7
Joined: 2018-04-01 18:24

Re: How do I get Aquantia networks card working in Debian?

Postby Segfault » 2018-04-02 12:56

Are you running the kernel you think you are?
Code: Select all
uname -a

Is the driver loaded or not?
Code: Select all
lspci -k

If the driver is loaded, is the interface created?
Code: Select all
ip a
Segfault
 
Posts: 698
Joined: 2005-09-24 12:24

Re: How do I get Aquantia networks card working in Debian?

Postby thelostswede » 2018-04-02 13:16

Yes, it's the only kernel installed.

No, the driver isn't loaded, I wouldn't be asking for help if it was.
thelostswede
 
Posts: 7
Joined: 2018-04-01 18:24

Re: How do I get Aquantia networks card working in Debian?

Postby Segfault » 2018-04-02 13:30

Anything in dmesg about NIC initialization?

Edit: I have no Debian installation here to verify, but it is possible atlantic module is not included with Debian stock kernel. In this case you need to get kernel sources, enable it and build the module yourself. Or you could file a bug.
Segfault
 
Posts: 698
Joined: 2005-09-24 12:24

Re: How do I get Aquantia networks card working in Debian?

Postby thelostswede » 2018-04-02 13:50

Just to show you the outputs

Code: Select all
Linux OMV 4.14.0-0.bpo.3-amd64 #1 SMP Debian 4.14.13-1~bpo9+1 (2018-01-14) x86_64 GNU/Linux

Code: Select all
00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 07)
        Subsystem: Gigabyte Technology Co., Ltd Skylake Host Bridge/DRAM Registers
        Kernel driver in use: skl_uncore
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 07)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
        Subsystem: Gigabyte Technology Co., Ltd HD Graphics 530
        Kernel driver in use: i915
        Kernel modules: i915
00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model
        Subsystem: Gigabyte Technology Co., Ltd Skylake Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Device a2af
        Subsystem: Gigabyte Technology Co., Ltd Device 5007
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation Device a2ba
        Subsystem: Gigabyte Technology Co., Ltd Device 1c3a
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Device a282
        Subsystem: Gigabyte Technology Co., Ltd Device b005
        Kernel driver in use: ahci
        Kernel modules: ahci
00:1b.0 PCI bridge: Intel Corporation Device a2e7 (rev f0)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1b.2 PCI bridge: Intel Corporation Device a2e9 (rev f0)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1b.4 PCI bridge: Intel Corporation Device a2eb (rev f0)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1c.0 PCI bridge: Intel Corporation Device a290 (rev f0)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1c.2 PCI bridge: Intel Corporation Device a292 (rev f0)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1c.4 PCI bridge: Intel Corporation Device a294 (rev f0)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1c.5 PCI bridge: Intel Corporation Device a295 (rev f0)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1c.6 PCI bridge: Intel Corporation Device a296 (rev f0)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1c.7 PCI bridge: Intel Corporation Device a297 (rev f0)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1d.0 PCI bridge: Intel Corporation Device a298 (rev f0)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1f.0 ISA bridge: Intel Corporation Device a2c5
        Subsystem: Gigabyte Technology Co., Ltd Device 5001
00:1f.2 Memory controller: Intel Corporation Device a2a1
        Subsystem: Gigabyte Technology Co., Ltd Device 5001
00:1f.3 Audio device: Intel Corporation Device a2f0
        Subsystem: Gigabyte Technology Co., Ltd Device a182
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:1f.4 SMBus: Intel Corporation Device a2a3
        Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V
        Subsystem: Gigabyte Technology Co., Ltd Ethernet Connection (2) I219-V
        Kernel driver in use: e1000e
        Kernel modules: e1000e
01:00.0 Ethernet controller: Device 1d6a:d107 (rev 02)
        Subsystem: Device 1d6a:0001
07:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
        Subsystem: Gigabyte Technology Co., Ltd I211 Gigabit Network Connection
        Kernel driver in use: igb
        Kernel modules: igb
08:00.0 Network controller: Intel Corporation Device 24fd (rev 78)
        Subsystem: Intel Corporation Device 1010
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

Code: Select all
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 1c:1b:0d:99:bf:cb brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.24/24 brd 192.168.1.255 scope global enp7s0
       valid_lft forever preferred_lft forever
3: enp0s31f6: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 1c:1b:0d:99:bf:cd brd ff:ff:ff:ff:ff:ff
4: wlp8s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:28:f8:3b:d7:a6 brd ff:ff:ff:ff:ff:ff


The output from dmesg is too long to post... It also got truncated before I got to all the network cards...
thelostswede
 
Posts: 7
Joined: 2018-04-01 18:24

Re: How do I get Aquantia networks card working in Debian?

Postby Segfault » 2018-04-02 14:20

It has been long time since I built a module for Debian, I've been running Gentoo for last 14 years. Check this out:
https://www.startpage.com/do/dsearch?qu ... ge=english
Segfault
 
Posts: 698
Joined: 2005-09-24 12:24

Re: How do I get Aquantia networks card working in Debian?

Postby thelostswede » 2018-04-02 14:23

Segfault wrote:It has been long time since I built a module for Debian, I've been running Gentoo for last 14 years. Check this out:
https://www.startpage.com/do/dsearch?qu ... ge=english


I've spent the last two days trying to figure this crap out at no avail.
I'm not the only one seemingly having this issue, but even the manufacturer of the chipset have been unable to help me so...
Love buying hardware that no-one knows how to make it work, despite there being "drivers" for it...
thelostswede
 
Posts: 7
Joined: 2018-04-01 18:24

Re: How do I get Aquantia networks card working in Debian?

Postby Segfault » 2018-04-02 14:30

Look, it is not rocket science. It is in kernel, the problem seems to be Debian developers haven't enabled it. So you have to do it yourself. Building kernel modules used to be a basic skill of any Unix admin. You can file a bug and wait until devs enable it for you. I could build it in less than 2 minutes in my Gentoo box, but it would be no use for you because the versions won't match.
Segfault
 
Posts: 698
Joined: 2005-09-24 12:24

Re: How do I get Aquantia networks card working in Debian?

Postby Segfault » 2018-04-02 15:41

Out of curiosity I built this module in a Devuan machine, against 4.15.11 sources, using gcc-7.3.0. It is not in a deb package, to use it you need to copy it in place manually and don't forget to run depmod or it won't load automatically. Linky.
Segfault
 
Posts: 698
Joined: 2005-09-24 12:24

Re: How do I get Aquantia networks card working in Debian?

Postby thelostswede » 2018-04-02 18:02

I decided to make my "own" kernel and using menuconfig allowed me to select the driver, as it was part of the 4.14.x kernel package.
Still compiling the kernel, but with a bit of luck, it'll all work.
Segfault wrote:Out of curiosity I built this module in a Devuan machine, against 4.15.11 sources, using gcc-7.3.0. It is not in a deb package, to use it you need to copy it in place manually and don't forget to run depmod or it won't load automatically. Linky.

Yeah, it's a generic Linux driver, but I simply couldn't make it compile for whatever reason...
Fingers crossed the custom kernel will do the job.
thelostswede
 
Posts: 7
Joined: 2018-04-01 18:24

Re: How do I get Aquantia networks card working in Debian?

Postby Segfault » 2018-04-02 18:21

You do not need to roll all your own kernel if you do not want to. You need the sources for your running kernel, then do 'make defconfig', followed by 'make nconfig', navigate to your driver, hit 'M', save and exit. Then 'make modules' and 'make modules_install'. That's what I did. Had to install ncurses and libssl dev packages. This all even does not require reboot, just modprobe your new driver.
Segfault
 
Posts: 698
Joined: 2005-09-24 12:24

Re: How do I get Aquantia networks card working in Debian?

Postby thelostswede » 2018-04-03 07:50

Thanks, I'll try that if/when there's a next time.
thelostswede
 
Posts: 7
Joined: 2018-04-01 18:24


Return to Hardware

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable