This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
groovy' to 'verification-done-groovy'. If the problem still exists,
change the tag 'verification-needed-groovy' to 'verification-failed-
groovy'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-groovy

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1906851

Title:
  Fix reading speed and duplex sysfs on igc device

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.10 package in Ubuntu:
  Invalid
Status in linux-oem-5.6 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Fix Committed
Status in linux-oem-5.10 source package in Focal:
  Fix Released
Status in linux-oem-5.6 source package in Focal:
  Confirmed
Status in linux source package in Groovy:
  Fix Committed
Status in linux-oem-5.10 source package in Groovy:
  Won't Fix
Status in linux-oem-5.6 source package in Groovy:
  Won't Fix

Bug description:
  [Impact]
  Reading speed and duplex sysfs on igc device when it's runtime suspended
  will make it stops working. Even kernel panic sometimes.

  [Fix]
  If igc device is runtime suspended, it means link isn't up, so we can
  just report speed as -1 and duplex as unknown.

  [Test]
  $ cat /sys/class/net/*/speed
  Then we'll see:
  [  123.449883] igc 0000:03:00.0 enp3s0: PCIe link lost, device now detached
  [  123.450052] BUG: kernel NULL pointer dereference, address: 0000000000000008

  With the fix applied,
  $ cat /sys/class/net/*/speed
  -1

  [Where problems could occur]
  Not at all. Reading register when device is runtime suspended is just
  wrong. The fix prevents it from happening.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1906851/+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