Testing on QDF2400 ARM64 platform. == With the patch ==
ubuntu@ubuntu:~$ lsmod | grep -E "qcom_emac|at803x" at803x 16384 0 qcom_emac 49152 0 ubuntu@ubuntu:~$ ubuntu@ubuntu:~$ sudo ifup eth0 Jun 6 17:47:26 ubuntu kernel: [ 176.658581] Atheros 8031 ethernet QCOM8070:00:04: attached PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=QCOM8070:00:04, irq=-1) Jun 6 17:47:26 ubuntu kernel: [ 176.658649] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready Jun 6 17:47:27 ubuntu kernel: [ 177.687890] qcom-emac QCOM8070:00 eth0: Link is Down Jun 6 17:47:30 ubuntu kernel: [ 179.735532] qcom-emac QCOM8070:00 eth0: Link is Up - 1Gbps/Full - flow control rx/tx Jun 6 17:47:30 ubuntu kernel: [ 179.735544] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Listening on LPF/eth0/8c:fd:f0:06:92:a5 Sending on LPF/eth0/8c:fd:f0:06:92:a5 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0x1108047b) ... DHCPREQUEST of 10.228.66.113 on eth0 to 255.255.255.255 port 67 (xid=0x7b040811) DHCPOFFER of 10.228.66.113 from 10.228.66.3 DHCPACK of 10.228.66.113 from 10.228.66.3 bound to 10.228.66.113 -- renewal in 278 seconds. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1696143 Title: [SRU][Zesty] qcom_emac is unable to get ip address with at803x phy driver. Status in linux package in Ubuntu: Incomplete Bug description: [Impact] qcom_emac is unable to get ip address with at803x phy driver. Use software polling (PHY_POLL) to check for link state changes instead of relying on the EMAC's hardware polling feature. Some PHY drivers are unable to get a functioning link because the HW polling is not robust enough. The emac interface is the onboard nic on the QDF2400 platform. A non working emac would be a cert blocker for this platform. [Test] Boot the netboot DI installer on QDF2400, and chose the emac interface, the install will fail because the emac interface is unable to get an IP lease. Also, on an installed system the emac driver is unable to get ip address. [Fix] Patch is in Dave Miller's 'net' repo: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/id=246096690be0742d9bb5f3456d2cb95b68f7b46d [Regression] The patch is to emac driver which is only available on the QDF2400 platform so there is no risk of regression to other ARM64 platforms or platforms based on other architectures. You can see detailed test results on the comments sections below. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1696143/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp