I could see this issue with same Call trace pasted above with ubuntu
20.04/20.10/21.04.
Had a look at relevant kernel code and found all of them disable only ASPM L1.1
rather than ASPM completely.Rebuilt the kernel by disabling whole ASPM feature
this NETDEV WATCHDOG call trace disappears.
code hacked was like below:
pci_disable_link_state(pdev, PCIE_LINK_STATE_L1_1);//issue appears
pci_disable_link_state(pdev, PCIE_LINK_STATE_L0S |
PCIE_LINK_STATE_L1);//issue
disappears
I believe the experiment shows there is ASPM issue with r8169 driver.Can
anyone share your view on this problem which may shed some light on the
way forward.Is there a Realtek contact window we could reach out
ot.Thanks for anyone who can help.
--
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/1874464
Title:
NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out
Status in linux package in Ubuntu:
Confirmed
Status in linux source package in Focal:
Incomplete
Status in linux source package in Groovy:
Confirmed
Bug description:
Running focal on a desktop, I accidentally clicked "Enable networking"
in nm-applet, disabling my networking. When I clicked it again to
reenable it, my networking did not return. After unsuccessfully
poking at it for a while, I rebooted and saw the below (and still no
networking). `rmmod r8169; modprobe r8169` had no (apparent) effect,
nor did further reboots. I rebooted onto two different kernels, both
exhibited the same behaviour: 5.4.0-21-generic, 5.4.0-26-generic.
I was finally only able to restore networking by _rebooting into
Windows_ and then rebooting back into Ubuntu.
(My supposition is that NetworkManager/the kernel set *waves hands*
something on the network card that persists across boots when it was
disabled, and that wasn't correctly unset when I reenabled networking
(or on following boots), but Windows _does_ correctly handle that case
on boot, and reset it to a working state.)
Apr 23 10:07:43 surprise kernel: ------------[ cut here ]------------
Apr 23 10:07:43 surprise kernel: NETDEV WATCHDOG: enp5s0 (r8169): transmit
queue 0 timed out
Apr 23 10:07:43 surprise kernel: WARNING: CPU: 9 PID: 0 at
net/sched/sch_generic.c:447 dev_watchdog+0x258/0x260
Apr 23 10:07:43 surprise kernel: Modules linked in: zfs(PO) zunicode(PO)
zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) zlua(PO) xt_comment dummy
xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp
ip6table_mangle ip6table_nat iptable_mangle iptable_nat nf_>
Apr 23 10:07:43 surprise kernel: autofs4 btrfs xor zstd_compress raid6_pq
libcrc32c dm_crypt hid_microsoft ff_memless hid_logitech_hidpp hid_logitech_dj
hid_generic usbhid hid nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE)
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel drm_km>
Apr 23 10:07:43 surprise kernel: CPU: 9 PID: 0 Comm: swapper/9 Tainted: P
OE 5.4.0-26-generic #30-Ubuntu
Apr 23 10:07:43 surprise kernel: Hardware name: Gigabyte Technology Co., Ltd.
B450M DS3H/B450M DS3H-CF, BIOS F4 01/25/2019
Apr 23 10:07:43 surprise kernel: RIP: 0010:dev_watchdog+0x258/0x260
Apr 23 10:07:43 surprise kernel: Code: 85 c0 75 e5 eb 9f 4c 89 ff c6 05 bf 06
e8 00 01 e8 6d bb fa ff 44 89 e9 4c 89 fe 48 c7 c7 50 6d a3 b4 48 89 c2 e8 83
3f 71 ff <0f> 0b eb 80 0f 1f 40 00 0f 1f 44 00 00 55 48 89 e5 41 57 49 89 d7
Apr 23 10:07:43 surprise kernel: RSP: 0018:ffffa90d40378e30 EFLAGS: 00010286
Apr 23 10:07:43 surprise kernel: RAX: 0000000000000000 RBX: ffff8a7578b00400
RCX: 0000000000000000
Apr 23 10:07:43 surprise kernel: RDX: ffff8a758ee67740 RSI: ffff8a758ee578c8
RDI: 0000000000000300
Apr 23 10:07:43 surprise kernel: RBP: ffffa90d40378e60 R08: ffff8a758ee578c8
R09: 0000000000000004
Apr 23 10:07:43 surprise kernel: R10: 0000000000000000 R11: 0000000000000001
R12: 0000000000000001
Apr 23 10:07:43 surprise kernel: R13: 0000000000000000 R14: ffff8a758cadc480
R15: ffff8a758cadc000
Apr 23 10:07:43 surprise kernel: FS: 0000000000000000(0000)
GS:ffff8a758ee40000(0000) knlGS:0000000000000000
Apr 23 10:07:43 surprise kernel: CS: 0010 DS: 0000 ES: 0000 CR0:
0000000080050033
Apr 23 10:07:43 surprise kernel: CR2: 00007f4d2000d5eb CR3: 00000003fcfe2000
CR4: 00000000003406e0
Apr 23 10:07:43 surprise kernel: Call Trace:
Apr 23 10:07:43 surprise kernel: <IRQ>
Apr 23 10:07:43 surprise kernel: ? pfifo_fast_enqueue+0x150/0x150
Apr 23 10:07:43 surprise kernel: call_timer_fn+0x32/0x130
Apr 23 10:07:43 surprise kernel: __run_timers.part.0+0x180/0x280
Apr 23 10:07:43 surprise kernel: ? tick_sched_handle+0x33/0x60
Apr 23 10:07:43 surprise kernel: ? tick_sched_timer+0x3d/0x80
Apr 23 10:07:43 surprise kernel: ? ktime_get+0x3e/0xa0
Apr 23 10:07:43 surprise kernel: run_timer_softirq+0x2a/0x50
Apr 23 10:07:43 surprise kernel: __do_softirq+0xe1/0x2d6
Apr 23 10:07:43 surprise kernel: ? hrtimer_interrupt+0x13b/0x220
Apr 23 10:07:43 surprise kernel: irq_exit+0xae/0xb0
Apr 23 10:07:43 surprise kernel: smp_apic_timer_interrupt+0x7b/0x140
Apr 23 10:07:43 surprise kernel: apic_timer_interrupt+0xf/0x20
Apr 23 10:07:43 surprise kernel: </IRQ>
Apr 23 10:07:43 surprise kernel: RIP: 0010:cpuidle_enter_state+0xc5/0x450
Apr 23 10:07:43 surprise kernel: Code: ff e8 df 0d 81 ff 80 7d c7 00 74 17 9c
58 0f 1f 44 00 00 f6 c4 02 0f 85 65 03 00 00 31 ff e8 32 7a 87 ff fb 66 0f 1f
44 00 00 <45> 85 ed 0f 88 8f 02 00 00 49 63 cd 4c 8b 7d d0 4c 2b 7d c8 48 8d
Apr 23 10:07:43 surprise kernel: RSP: 0018:ffffa90d4016fe38 EFLAGS: 00000246
ORIG_RAX: ffffffffffffff13
Apr 23 10:07:43 surprise kernel: RAX: ffff8a758ee6ad00 RBX: ffffffffb4d69160
RCX: 000000000000001f
Apr 23 10:07:43 surprise kernel: RDX: 0000000000000000 RSI: 00000000239f52d0
RDI: 0000000000000000
Apr 23 10:07:43 surprise kernel: RBP: ffffa90d4016fe78 R08: 0000011276ac078f
R09: 00000000000148ba
Apr 23 10:07:43 surprise kernel: R10: ffff8a758ee69a00 R11: ffff8a758ee699e0
R12: ffff8a757a318000
Apr 23 10:07:43 surprise kernel: R13: 0000000000000002 R14: 0000000000000002
R15: ffff8a757a318000
Apr 23 10:07:43 surprise kernel: ? cpuidle_enter_state+0xa1/0x450
Apr 23 10:07:43 surprise kernel: cpuidle_enter+0x2e/0x40
Apr 23 10:07:43 surprise kernel: call_cpuidle+0x23/0x40
Apr 23 10:07:43 surprise kernel: do_idle+0x1dd/0x270
Apr 23 10:07:43 surprise kernel: cpu_startup_entry+0x20/0x30
Apr 23 10:07:43 surprise kernel: start_secondary+0x167/0x1c0
Apr 23 10:07:43 surprise kernel: secondary_startup_64+0xa4/0xb0
Apr 23 10:07:43 surprise kernel: ---[ end trace cf93a9794ecfd126 ]---
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-generic 5.4.0.26.32
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset
nvidia
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: i3
Date: Thu Apr 23 10:38:05 2020
InstallationDate: Installed on 2019-05-07 (351 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64
(20190210)
MachineType: Gigabyte Technology Co., Ltd. B450M DS3H
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-26-generic
root=/dev/mapper/ubuntu--vg-root ro quiet splash
resume=UUID=73909634-a75d-42c9-8f66-a69138690756 vt.handoff=7
RelatedPackageVersions:
linux-restricted-modules-5.4.0-26-generic N/A
linux-backports-modules-5.4.0-26-generic N/A
linux-firmware 1.187
RfKill:
SourcePackage: linux
UpgradeStatus: Upgraded to focal on 2019-11-15 (159 days ago)
dmi.bios.date: 01/25/2019
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F4
dmi.board.asset.tag: Default string
dmi.board.name: B450M DS3H-CF
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias:
dmi:bvnAmericanMegatrendsInc.:bvrF4:bd01/25/2019:svnGigabyteTechnologyCo.,Ltd.:pnB450MDS3H:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB450MDS3H-CF:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:
dmi.product.family: Default string
dmi.product.name: B450M DS3H
dmi.product.sku: Default string
dmi.product.version: Default string
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1874464/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp