Testing on QDF2400 ARM64 platform.

== Without the patch ==

ubuntu@ubuntu:~$ sudo ifconfig eth0 up

Jun  6 17:29:38 ubuntu kernel: [ 2362.299292] Atheros 8031 ethernet 
QCOM8070:00:04: attached PHY driver [Atheros 8031 ethernet] 
(mii_bus:phy_addr=QCOM8070:00:04, irq=-2)
Jun  6 17:29:38 ubuntu kernel: [ 2362.299360] IPv6: ADDRCONF(NETDEV_UP): eth0: 
link is not ready
Jun  6 17:29:41 ubuntu kernel: [ 2365.028452] 803x_aneg_done: SGMII link is not 
ok

ubuntu@ubuntu:~$ sudo dhclient -v eth0
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=0x75753944)
...
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

ubuntu@ubuntu:~$ ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 8c:fd:f0:06:92:a5  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:40 


** Description changed:

  [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.
+ 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.

-- 
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

Reply via email to