V2 change and built kernel image.

 Heiner Kallweit 2024-10-17 21:25:46 UTC

I found that the proposed patch causes issues under heavy load. Reason isn't 
clear yet. Could you please test whether the following fixes the issue for you 
as well?
This change should have no side effects.

diff --git a/drivers/net/ethernet/realtek/r8169_main.c 
b/drivers/net/ethernet/realtek/r8169_main.c
index 4166f1ab8..56ff450ad 100644
--- a/drivers/net/ethernet/realtek/r8169_main.c
+++ b/drivers/net/ethernet/realtek/r8169_main.c
@@ -4749,7 +4749,8 @@ static irqreturn_t rtl8169_interrupt(int irq, void 
*dev_instance)
        if ((status & 0xffff) == 0xffff || !(status & tp->irq_mask))
                return IRQ_NONE;
 
-       if (unlikely(status & SYSErr)) {
+       if (unlikely(status & SYSErr &&
+           tp->mac_version <= RTL_GIGA_MAC_VER_06)) {
                rtl8169_pcierr_interrupt(tp->dev);
                goto out;
        }
-- 
2.47.0

** Attachment added: 
"linux-image-6.12.0-rc3+_6.12.0-rc3-00049-g917cf2ced138-23_amd64.deb"
   
https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe-6.8/+bug/2080454/+attachment/5829239/+files/linux-image-6.12.0-rc3+_6.12.0-rc3-00049-g917cf2ced138-23_amd64.deb

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

Title:
  NIC(r8169) didn't link up after resuming from suspend

Status in linux-signed-hwe-6.8 package in Ubuntu:
  In Progress

Bug description:
  [Summary]

  During the SRU testing, I found a hp laptop always timeout after
  suspend test, after checking I found that the NIC didn't link up.

  Part of journal log as follows:
  Sep 12 11:13:01 ubuntu kernel: PM: suspend entry (s2idle)
  ...
  ...
  Sep 12 11:13:10 ubuntu kernel: PM: suspend exit
  ...
  Sep 12 11:13:14 ubuntu kernel: r8169 0000:02:00.1 enp2s0f1: PCI error (cmd = 
0x0407, status_errs = 0x0000)

  [Expected result]

  SRU test can continue after suspend test.

  [Actual result]

  SRU test times out and NIC is down.

  [Additional information]

  Following are the DUTs that are impacted.
  https://certification.canonical.com/hardware/202304-31463/

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-image-6.8.0-44-generic 6.8.0-44.44~22.04.1
  ProcVersionSignature: Ubuntu 6.8.0-44.44~22.04.1-generic 6.8.12
  Uname: Linux 6.8.0-44-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.6
  Architecture: amd64
  CasperMD5CheckMismatches: ./preseed/project.cfg
  CasperMD5CheckResult: fail
  Date: Thu Sep 12 11:16:43 2024
  DistributionChannelDescriptor:
   # This is the distribution channel descriptor for the OEM CDs
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-stella-jammy-amd64-20230920-537
  InstallationDate: Installed on 2024-09-11 (0 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - 
pc-stella-jammy-amd64-20230920-537
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: linux-signed-hwe-6.8
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe-6.8/+bug/2080454/+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