Ethernet Aquantia AQN-107 does not work with 4.15.0-15-generic #16~16.04.1-Ubuntu SMP

Bug #1768904 reported by Andre Schlegel
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-hwe-edge (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

After upgrading to new kernel image:

Linux 4.15.0-15-generic #16~16.04.1-Ubuntu SMP Thu Apr 5 12:19:23 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Description: Ubuntu 16.04.4 LTS
Release: 16.04

The aquantia driver (Asus XG-C100C 10G NIC card) is loaded but does not work as expected (link state not detected by software):

# modinfo aquantia
filename: /lib/modules/4.15.0-15-generic/kernel/drivers/net/phy/aquantia.ko
license: GPL v2
author: Shaohui Xie <email address hidden>
description: Aquantia PHY driver
srcversion: 8554F7363E5CBCDD59B9D58
alias: mdio:0000001110100001101101001011????
alias: mdio:0000001110100001101101001110????
alias: mdio:0000001110100001101101001101????
alias: mdio:0000001110100001101101001010????
alias: mdio:0000001110100001101101000110????
alias: mdio:0000001110100001101101000100????
depends:
retpoline: Y
intree: Y
name: aquantia
vermagic: 4.15.0-15-generic SMP mod_unload

# modinfo atlantic
filename: /lib/modules/4.15.0-15-generic/kernel/drivers/net/ethernet/aquantia/atlantic/atlantic.ko
description: aQuantia Corporation(R) Network Driver
author: aQuantia
version: 2.0.2.1-kern
license: GPL v2
srcversion: 8EA26BF7AA1C199E61986E6
alias: pci:v00001D6Ad000052B1sv*sd*bc*sc*i*
alias: pci:v00001D6Ad000051B1sv*sd*bc*sc*i*
alias: pci:v00001D6Ad000092B1sv*sd*bc*sc*i*
alias: pci:v00001D6Ad000091B1sv*sd*bc*sc*i*
alias: pci:v00001D6Ad000089B1sv*sd*bc*sc*i*
alias: pci:v00001D6Ad000088B1sv*sd*bc*sc*i*
alias: pci:v00001D6Ad000087B1sv*sd*bc*sc*i*
alias: pci:v00001D6Ad000080B1sv*sd*bc*sc*i*
alias: pci:v00001D6Ad000012B1sv*sd*bc*sc*i*
alias: pci:v00001D6Ad000011B1sv*sd*bc*sc*i*
alias: pci:v00001D6Ad000009B1sv*sd*bc*sc*i*
alias: pci:v00001D6Ad000008B1sv*sd*bc*sc*i*
alias: pci:v00001D6Ad000007B1sv*sd*bc*sc*i*
alias: pci:v00001D6Ad000000B1sv*sd*bc*sc*i*
alias: pci:v00001D6Ad0000D109sv*sd*bc*sc*i*
alias: pci:v00001D6Ad0000D108sv*sd*bc*sc*i*
alias: pci:v00001D6Ad0000D107sv*sd*bc*sc*i*
alias: pci:v00001D6Ad0000D100sv*sd*bc*sc*i*
alias: pci:v00001D6Ad00000001sv*sd*bc*sc*i*
depends:
retpoline: Y
intree: Y
name: atlantic
vermagic: 4.15.0-15-generic SMP mod_unload
parm: aq_itr:Interrupt throttling mode (uint)
parm: aq_itr_tx:TX interrupt throttle rate (uint)
parm: aq_itr_rx:RX interrupt throttle rate (uint)

# lsmod | grep atlantic
atlantic 69632 0

# ip a
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
2: p1p1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 10:7b:44:e8:dc:36 brd ff:ff:ff:ff:ff:ff
    inet 192.168.21.107/24 brd 192.168.61.255 scope global p1p1
       valid_lft forever preferred_lft forever

"p1p1" is the interface name shown as up.

# ping 192.168.21.107
PING 192.168.21.107 (192.168.21.107) 56(84) bytes of data.
64 bytes from 192.168.21.107: icmp_seq=1 ttl=64 time=0.015 ms
64 bytes from 192.168.21.107: icmp_seq=2 ttl=64 time=0.032 ms
64 bytes from 192.168.21.107: icmp_seq=3 ttl=64 time=0.027 ms

Ping to its own address works.

# ethtool p1p1
Settings for p1p1:
        Supported ports: [ TP ]
        Supported link modes: 100baseT/Full
                                1000baseT/Full
                                10000baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Advertised link modes: 100baseT/Full
                                1000baseT/Full
                                10000baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Speed: Unknown!
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
        Link detected: no

The link state is not detected, but the led on the rj45 connector shows "link detected" (turns on).

# ping 192.168.21.108
PING 192.168.21.108 (192.168.21.108) 56(84) bytes of data.
From 192.168.21.107 icmp_seq=1 Destination Host Unreachable
From 192.168.21.107 icmp_seq=2 Destination Host Unreachable
From 192.168.21.107 icmp_seq=3 Destination Host Unreachable
^C

--- 192.168.21.108 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2047ms

Ping to the other end of the ethernet cable failed.

Booting the previous kernel image:

Linux 4.15.0-13-generic #14~16.04.1-Ubuntu SMP Sat Mar 17 03:04:59 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Then the link state is detected and everythink works fine:

# ping 192.168.21.108
PING 192.168.21.108 (192.168.21.108) 56(84) bytes of data.
64 bytes from 192.168.21.108: icmp_seq=1 ttl=64 time=0.191 ms
64 bytes from 192.168.21.108: icmp_seq=2 ttl=64 time=0.175 ms
64 bytes from 192.168.21.108: icmp_seq=3 ttl=64 time=0.176 ms

# modinfo aquantia
filename: /lib/modules/4.15.0-13-generic/kernel/drivers/net/phy/aquantia.ko
license: GPL v2
author: Shaohui Xie <email address hidden>
description: Aquantia PHY driver
srcversion: 8554F7363E5CBCDD59B9D58
alias: mdio:0000001110100001101101001011????
alias: mdio:0000001110100001101101001110????
alias: mdio:0000001110100001101101001101????
alias: mdio:0000001110100001101101001010????
alias: mdio:0000001110100001101101000110????
alias: mdio:0000001110100001101101000100????
depends:
retpoline: Y
intree: Y
name: aquantia
vermagic: 4.15.0-13-generic SMP mod_unload

# modinfo atlantic
filename: /lib/modules/4.15.0-13-generic/kernel/drivers/net/ethernet/aquantia/atlantic/atlantic.ko
description: aQuantia Corporation(R) Network Driver
author: aQuantia
version: 1.6.13.0-kern
license: GPL v2
srcversion: B0ABCBBC8009CC9AF6B353D
alias: pci:v00001D6Ad0000D109sv*sd*bc*sc*i*
alias: pci:v00001D6Ad0000D108sv*sd*bc*sc*i*
alias: pci:v00001D6Ad0000D107sv*sd*bc*sc*i*
alias: pci:v00001D6Ad0000D100sv*sd*bc*sc*i*
alias: pci:v00001D6Ad00000001sv*sd*bc*sc*i*
depends:
retpoline: Y
intree: Y
name: atlantic
vermagic: 4.15.0-13-generic SMP mod_unload
parm: aq_itr:Interrupt throttling mode (uint)
parm: aq_itr_tx:TX interrupt throttle rate (uint)
parm: aq_itr_rx:RX interrupt throttle rate (uint)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-hwe-edge (Ubuntu):
status: New → Confirmed
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Hello,
do you still have this issue with the latest linux-hwe-edge kernel?
Thanks

Changed in linux-hwe-edge (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Andre Schlegel (andre-schlegel) wrote :

Testing with:

Linux baufix 4.15.0-51-generic #55~16.04.1-Ubuntu SMP Thu May 16 09:24:37 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

I don't have any issues at the current kernel. The bug is gone away. Thank you for your support.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux-hwe-edge (Ubuntu) because there has been no activity for 60 days.]

Changed in linux-hwe-edge (Ubuntu):
status: Incomplete → Expired
Po-Hsu Lin (cypressyew)
Changed in linux-hwe-edge (Ubuntu):
status: Expired → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.