Re: [Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2023-11-04 Thread Heiner Kallweit
On 04.11.2023 18:01, frank wrote:
> hi, i have the same on ubuntu 22.4 / kernel 6.2.0-35
> 
> [Sa Nov  4 16:05:18 2023] [ cut here ]
> [Sa Nov  4 16:05:18 2023] NETDEV WATCHDOG: enp3s0 (r8169): transmit queue 0 
> timed out
> [Sa Nov  4 16:05:18 2023] WARNING: CPU: 4 PID: 0 at 
> net/sched/sch_generic.c:525 dev_watchdog+0x21f/0x230
> [Sa Nov  4 16:05:18 2023] Modules linked in: tls rfcomm xt_conntrack 
> nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlink nf_conntrack 
> nf_defrag_ipv6 nf_defrag_ipv
> 4 xfrm_user xfrm_algo xt_addrtype nft_compat nf_tables libcrc32c nfnetlink 
> br_netfilter bridge stp llc cmac algif_hash algif_skcipher af_alg snd_ctl_led 
> snd_hda_codec
> _realtek bnep snd_hda_codec_generic overlay binfmt_misc snd_sof_pci_intel_cnl 
> snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation 
> soundwire_cadence 
> snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils 
> snd_soc_hdac_hda snd_hda_ext_core intel_tcc_cooling snd_soc_acpi_intel_match 
> x86_pkg_temp_therm
> al intel_powerclamp snd_soc_acpi coretemp soundwire_bus snd_soc_core 
> kvm_intel snd_compress ac97_bus nls_iso8859_1 snd_hda_codec_hdmi 
> snd_pcm_dmaengine kvm snd_hda_in
> tel snd_intel_dspcfg snd_intel_sdw_acpi irqbypass crct10dif_pclmul 
> polyval_clmulni snd_hda_codec polyval_generic ghash_clmulni_intel 
> sha512_ssse3 snd_hda_core aesni_i
> ntel crypto_simd
> [Sa Nov  4 16:05:18 2023]  iwlmvm dell_laptop mei_hdcp mei_pxp intel_rapl_msr 
> snd_hwdep cryptd dell_smm_hwmon i915 nouveau mac80211 snd_pcm uvcvideo btusb 
> btrtl video
> buf2_vmalloc rapl btbcm videobuf2_memops snd_seq_midi drm_ttm_helper 
> drm_buddy btintel joydev videobuf2_v4l2 snd_seq_midi_event input_leds 
> dell_wmi_sysman btmtk intel
> _cstate libarc4 serio_raw snd_rawmidi ttm dell_wmi videodev bluetooth 
> firmware_attributes_class drm_display_helper snd_seq ftdi_sio iwlwifi cec 
> cmdlinepart usbserial videobuf2_common dell_smbios ecdh_generic 
> snd_seq_device rc_core snd_timer spi_nor mc dcdbas ecc alienware_wmi 
> drm_kms_helper ledtrig_audio mei_me dell_wmi_descriptor 
> processor_thermal_device_pci_legacy i2c_algo_bit intel_wmi_thunderbolt 
> wmi_bmof mxm_wmi mtd ee1004 hid_multitouch cfg80211 snd 
> processor_thermal_device syscopyarea mei sysfillrect processor_thermal_rfim 
> processor_thermal_mbox sysimgblt soundcore processor_thermal_rapl 
> intel_rapl_common intel_soc_dts_iosf intel_pch_thermal mac_hid int3403_thermal
> [Sa Nov  4 16:05:18 2023]  int340x_thermal_zone intel_hid int3400_thermal 
> acpi_pad acpi_thermal_rel sparse_keymap sch_fq_codel msr parport_pc ppdev lp 
> drm parport efi_pstore ip_tables x_tables autofs4 hid_generic nvme 
> crc32_pclmul psmouse nvme_core i2c_i801 spi_intel_pci r8169 spi_intel 
> ucsi_acpi i2c_smbus intel_lpss_pci ahci typec_ucsi xhci_pci intel_lpss 
> realtek nvme_common libahci xhci_pci_renesas idma64 typec i2c_hid_acpi 
> i2c_hid hid video wmi pinctrl_cannonlake
> [Sa Nov  4 16:05:18 2023] CPU: 4 PID: 0 Comm: swapper/4 Not tainted 
> 6.2.0-35-generic #35~22.04.1-Ubuntu
> [Sa Nov  4 16:05:18 2023] Hardware name: Dell Inc. G5 5590/0KW84T, BIOS 
> 1.25.0 06/01/2023
> [Sa Nov  4 16:05:18 2023] RIP: 0010:dev_watchdog+0x21f/0x230
> [Sa Nov  4 16:05:18 2023] Code: 00 e9 31 ff ff ff 4c 89 e7 c6 05 36 6d 78 01 
> 01 e8 26 00 f8 ff 44 89 f1 4c 89 e6 48 c7 c7 38 5c 84 b1 48 89 c2 e8 a1 d6 2b 
> ff <0f> 0b e9 22 ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90
> [Sa Nov  4 16:05:18 2023] RSP: 0018:b4e4c024ce70 EFLAGS: 00010246
> [Sa Nov  4 16:05:18 2023] RAX:  RBX: 8900090804c8 RCX: 
> 
> [Sa Nov  4 16:05:18 2023] RDX:  RSI:  RDI: 
> 
> [Sa Nov  4 16:05:18 2023] RBP: b4e4c024ce98 R08:  R09: 
> 
> [Sa Nov  4 16:05:18 2023] R10:  R11:  R12: 
> 89000908
> [Sa Nov  4 16:05:18 2023] R13: 89000908041c R14:  R15: 
> 
> [Sa Nov  4 16:05:18 2023] FS:  () 
> GS:89036e30() knlGS:
> [Sa Nov  4 16:05:18 2023] CS:  0010 DS:  ES:  CR0: 80050033
> [Sa Nov  4 16:05:18 2023] CR2: 7f72b6e21000 CR3: 000418a10005 CR4: 
> 003706e0
> [Sa Nov  4 16:05:18 2023] Call Trace:
> [Sa Nov  4 16:05:18 2023]  
> [Sa Nov  4 16:05:18 2023]  ? show_regs+0x72/0x90
> [Sa Nov  4 16:05:18 2023]  ? dev_watchdog+0x21f/0x230
> [Sa Nov  4 16:05:18 2023]  ? __warn+0x8d/0x160
> [Sa Nov  4 16:05:18 2023]  ? dev_watchdog+0x21f/0x230
> [Sa Nov  4 16:05:18 2023]  ? report_bug+0x1bb/0x1d0
> [Sa Nov  4 16:05:18 2023]  ? irq_work_queue+0x32/0x80
> [Sa Nov  4 16:05:18 2023]  ? handle_bug+0x46/0x90
> [Sa Nov  4 16:05:18 2023]  ? exc_invalid_op+0x19/0x80
> [Sa Nov  4 16:05:18 2023]  ? asm_exc_invalid_op+0x1b/0x20
> [Sa Nov  4 16:05:18 2023]  ? dev_watchdog+0x21f/0x230
> [Sa Nov  4 16:05:18 2023]  ? __pfx_dev_watchdog+0x10/0x10
> 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2023-11-04 Thread frank
hi, i have the same on ubuntu 22.4 / kernel 6.2.0-35

[Sa Nov  4 16:05:18 2023] [ cut here ]
[Sa Nov  4 16:05:18 2023] NETDEV WATCHDOG: enp3s0 (r8169): transmit queue 0 
timed out
[Sa Nov  4 16:05:18 2023] WARNING: CPU: 4 PID: 0 at net/sched/sch_generic.c:525 
dev_watchdog+0x21f/0x230
[Sa Nov  4 16:05:18 2023] Modules linked in: tls rfcomm xt_conntrack 
nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlink nf_conntrack 
nf_defrag_ipv6 nf_defrag_ipv
4 xfrm_user xfrm_algo xt_addrtype nft_compat nf_tables libcrc32c nfnetlink 
br_netfilter bridge stp llc cmac algif_hash algif_skcipher af_alg snd_ctl_led 
snd_hda_codec
_realtek bnep snd_hda_codec_generic overlay binfmt_misc snd_sof_pci_intel_cnl 
snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation 
soundwire_cadence 
snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils 
snd_soc_hdac_hda snd_hda_ext_core intel_tcc_cooling snd_soc_acpi_intel_match 
x86_pkg_temp_therm
al intel_powerclamp snd_soc_acpi coretemp soundwire_bus snd_soc_core kvm_intel 
snd_compress ac97_bus nls_iso8859_1 snd_hda_codec_hdmi snd_pcm_dmaengine kvm 
snd_hda_in
tel snd_intel_dspcfg snd_intel_sdw_acpi irqbypass crct10dif_pclmul 
polyval_clmulni snd_hda_codec polyval_generic ghash_clmulni_intel sha512_ssse3 
snd_hda_core aesni_i
ntel crypto_simd
[Sa Nov  4 16:05:18 2023]  iwlmvm dell_laptop mei_hdcp mei_pxp intel_rapl_msr 
snd_hwdep cryptd dell_smm_hwmon i915 nouveau mac80211 snd_pcm uvcvideo btusb 
btrtl video
buf2_vmalloc rapl btbcm videobuf2_memops snd_seq_midi drm_ttm_helper drm_buddy 
btintel joydev videobuf2_v4l2 snd_seq_midi_event input_leds dell_wmi_sysman 
btmtk intel
_cstate libarc4 serio_raw snd_rawmidi ttm dell_wmi videodev bluetooth 
firmware_attributes_class drm_display_helper snd_seq ftdi_sio iwlwifi cec 
cmdlinepart usbserial videobuf2_common dell_smbios ecdh_generic snd_seq_device 
rc_core snd_timer spi_nor mc dcdbas ecc alienware_wmi drm_kms_helper 
ledtrig_audio mei_me dell_wmi_descriptor processor_thermal_device_pci_legacy 
i2c_algo_bit intel_wmi_thunderbolt wmi_bmof mxm_wmi mtd ee1004 hid_multitouch 
cfg80211 snd processor_thermal_device syscopyarea mei sysfillrect 
processor_thermal_rfim processor_thermal_mbox sysimgblt soundcore 
processor_thermal_rapl intel_rapl_common intel_soc_dts_iosf intel_pch_thermal 
mac_hid int3403_thermal
[Sa Nov  4 16:05:18 2023]  int340x_thermal_zone intel_hid int3400_thermal 
acpi_pad acpi_thermal_rel sparse_keymap sch_fq_codel msr parport_pc ppdev lp 
drm parport efi_pstore ip_tables x_tables autofs4 hid_generic nvme crc32_pclmul 
psmouse nvme_core i2c_i801 spi_intel_pci r8169 spi_intel ucsi_acpi i2c_smbus 
intel_lpss_pci ahci typec_ucsi xhci_pci intel_lpss realtek nvme_common libahci 
xhci_pci_renesas idma64 typec i2c_hid_acpi i2c_hid hid video wmi 
pinctrl_cannonlake
[Sa Nov  4 16:05:18 2023] CPU: 4 PID: 0 Comm: swapper/4 Not tainted 
6.2.0-35-generic #35~22.04.1-Ubuntu
[Sa Nov  4 16:05:18 2023] Hardware name: Dell Inc. G5 5590/0KW84T, BIOS 1.25.0 
06/01/2023
[Sa Nov  4 16:05:18 2023] RIP: 0010:dev_watchdog+0x21f/0x230
[Sa Nov  4 16:05:18 2023] Code: 00 e9 31 ff ff ff 4c 89 e7 c6 05 36 6d 78 01 01 
e8 26 00 f8 ff 44 89 f1 4c 89 e6 48 c7 c7 38 5c 84 b1 48 89 c2 e8 a1 d6 2b ff 
<0f> 0b e9 22 ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90
[Sa Nov  4 16:05:18 2023] RSP: 0018:b4e4c024ce70 EFLAGS: 00010246
[Sa Nov  4 16:05:18 2023] RAX:  RBX: 8900090804c8 RCX: 

[Sa Nov  4 16:05:18 2023] RDX:  RSI:  RDI: 

[Sa Nov  4 16:05:18 2023] RBP: b4e4c024ce98 R08:  R09: 

[Sa Nov  4 16:05:18 2023] R10:  R11:  R12: 
89000908
[Sa Nov  4 16:05:18 2023] R13: 89000908041c R14:  R15: 

[Sa Nov  4 16:05:18 2023] FS:  () GS:89036e30() 
knlGS:
[Sa Nov  4 16:05:18 2023] CS:  0010 DS:  ES:  CR0: 80050033
[Sa Nov  4 16:05:18 2023] CR2: 7f72b6e21000 CR3: 000418a10005 CR4: 
003706e0
[Sa Nov  4 16:05:18 2023] Call Trace:
[Sa Nov  4 16:05:18 2023]  
[Sa Nov  4 16:05:18 2023]  ? show_regs+0x72/0x90
[Sa Nov  4 16:05:18 2023]  ? dev_watchdog+0x21f/0x230
[Sa Nov  4 16:05:18 2023]  ? __warn+0x8d/0x160
[Sa Nov  4 16:05:18 2023]  ? dev_watchdog+0x21f/0x230
[Sa Nov  4 16:05:18 2023]  ? report_bug+0x1bb/0x1d0
[Sa Nov  4 16:05:18 2023]  ? irq_work_queue+0x32/0x80
[Sa Nov  4 16:05:18 2023]  ? handle_bug+0x46/0x90
[Sa Nov  4 16:05:18 2023]  ? exc_invalid_op+0x19/0x80
[Sa Nov  4 16:05:18 2023]  ? asm_exc_invalid_op+0x1b/0x20
[Sa Nov  4 16:05:18 2023]  ? dev_watchdog+0x21f/0x230
[Sa Nov  4 16:05:18 2023]  ? __pfx_dev_watchdog+0x10/0x10
[Sa Nov  4 16:05:18 2023]  call_timer_fn+0x29/0x160
[Sa Nov  4 16:05:18 2023]  ? __pfx_dev_watchdog+0x10/0x10
[Sa Nov  4 16:05:18 2023]  __run_timers.part.0+0x1fb/0x2b0
[Sa Nov  4 16:05:18 2023]  ? 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2021-12-07 Thread Gustavo A . Díaz
Hi,

I am facing the same problem in Focal, but not with the onboard
TL8111/8168/8411 PCI Express Gigabit Ethernet Controller, but with  the
USB 3.0 one I have (SIX Electronics Corp. AX88179 Gigabit Ethernet):

[ cut here ]
[94104.121581] NETDEV WATCHDOG: waneth (ax88179_178a): transmit queue 0 timed 
out
[94104.121606] WARNING: CPU: 2 PID: 217952 at net/sched/sch_generic.c:467 
dev_watchdog+0x24f/0x260
[94104.121615] Modules linked in: binfmt_misc xt_recent nfnetlink nls_iso8859_1 
dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua snd_sof_pci_intel_apl 
snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation 
soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof 
soundwire_bus snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core intel_rapl_msr 
snd_soc_sst_ipc intel_rapl_common 8814au(OE) mei_hdcp snd_soc_sst_dsp 
snd_soc_acpi_intel_match snd_soc_acpi intel_pmc_bxt snd_soc_core 
intel_telemetry_pltdrv intel_punit_ipc snd_compress intel_telemetry_core 
snd_hda_codec_hdmi x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_realtek 
coretemp snd_hda_codec_generic ac97_bus ledtrig_audio snd_pcm_dmaengine 
kvm_intel snd_hda_intel kvm snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec 
rapl intel_cstate snd_hda_core snd_hwdep snd_pcm snd_timer ax88179_178a 
cfg80211 efi_pstore mei_me usbnet ee1004 snd mii soundcore mei mac_hid bridge 
ip6t_REJECT nf_reject_ipv6 stp llc xt_hl
[94104.121696]  ip6t_rt ipt_REJECT nf_reject_ipv4 xt_LOG nf_log_syslog xt_limit 
xt_addrtype xt_tcpudp xt_MASQUERADE iptable_nat nf_nat xt_conntrack 
nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6table_filter ip6_tables 
sch_fq_codel iptable_filter bpfilter msr ip_tables x_tables autofs4 btrfs 
blake2b_generic zstd_compress raid10 raid456 async_raid6_recov async_memcpy 
async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear 
uas usb_storage i915 i2c_algo_bit drm_kms_helper crct10dif_pclmul crc32_pclmul 
ghash_clmulni_intel syscopyarea sysfillrect sysimgblt fb_sys_fops cec rc_core 
aesni_intel crypto_simd i2c_i801 xhci_pci i2c_smbus cryptd r8169 realtek 
xhci_pci_renesas drm sdhci_pci ahci cqhci sdhci libahci video
[94104.121771] CPU: 2 PID: 217952 Comm: PLUGIN[cgroups] Tainted: G   OE 
5.13.0-22-generic #22~20.04.1-Ubuntu
[94104.121775] Hardware name: GIGABYTE MZGLKDP-00/MZGLKDP-00, BIOS F1 12/21/2017
[94104.121777] RIP: 0010:dev_watchdog+0x24f/0x260
[94104.121782] Code: c7 36 fd ff eb ab 4c 89 ff c6 05 60 f1 6e 01 01 e8 86 11 
fa ff 44 89 e9 4c 89 fe 48 c7 c7 20 9c ca 89 48 89 c2 e8 38 17 17 00 <0f> 0b eb 
8c 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1f 44 00 00
[94104.121785] RSP: 0018:b515c0138e88 EFLAGS: 00010282
[94104.121788] RAX:  RBX: 91214fc45e00 RCX: 0027
[94104.121790] RDX: 0027 RSI: dfff RDI: 9124b05189c8
[94104.121792] RBP: b515c0138eb8 R08: 9124b05189c0 R09: b515c0138c60
[94104.121794] R10: 0001 R11: 0001 R12: 0001
[94104.121795] R13:  R14: 912154a7d480 R15: 912154a7d000
[94104.121797] FS:  7f74619e5700() GS:9124b050() 
knlGS:
[94104.121800] CS:  0010 DS:  ES:  CR0: 80050033
[94104.121802] CR2: 5635dd41b584 CR3: 00020592a000 CR4: 00350ee0
[94104.121805] Call Trace:
[94104.121807]  
[94104.121812]  ? pfifo_fast_enqueue+0x150/0x150
[94104.121816]  call_timer_fn+0x2c/0x100
[94104.121821]  run_timer_softirq+0x3d7/0x480
[94104.121824]  ? perf_trace_softirq+0x9d/0xd0
[94104.121829]  __do_softirq+0xdd/0x29b
[94104.121835]  irq_exit_rcu+0xa4/0xb0
[94104.121837]  sysvec_apic_timer_interrupt+0x7c/0x90
[94104.121841]  
[94104.121843]  asm_sysvec_apic_timer_interrupt+0x12/0x20
[94104.121846] RIP: 0010:errseq_sample+0x2/0x10
[94104.121850] Code: ff 48 d3 e2 48 f7 d2 48 21 d0 0f 01 ca 48 85 c0 0f 94 c0 
0f b6 c0 c3 b8 01 00 00 00 c3 b8 f2 ff ff ff c3 cc cc cc cc cc 8b 07  00 00 
00 00 f6 c4 10 0f 44 c2 c3 66 90 8b 17 31 c0 39 16 74 1b
[94104.121853] RSP: 0018:b515c29cfb68 EFLAGS: 0286
[94104.121855] RAX:  RBX: 91214298e500 RCX: 0002
[94104.121857] RDX: 0001 RSI: 0002 RDI: 91218c293c88
[94104.121859] RBP: b515c29cfba0 R08: 91221987a160 R09: 9121e1e8c180
[94104.121860] R10: 00746174 R11: 8196e1bd R12: 91218c293a98
[94104.121862] R13:  R14: 91214298e510 R15: 91214298e500
[94104.121869]  ? do_dentry_open+0x44/0x370
[94104.121873]  vfs_open+0x2d/0x30
[94104.121877]  do_open.isra.0+0x205/0x3e0
[94104.121881]  path_openat+0x18e/0xc80
[94104.121884]  ? do_sys_openat2+0x1/0x310
[94104.121887]  ? page_counter_cancel+0x2c/0x70
[94104.121891]  do_filp_open+0xa2/0x110
[94104.121895]  ? __check_object_size+0x13f/0x150
[94104.121898]  ? alloc_fd+0x58/0x190
[94104.121903]  do_sys_openat2+0x245/0x310
[94104.121906]  do_sys_open+0x46/0x80

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2021-08-17 Thread Bruce.Zhao1
Probably you need to hack BIOS code to keep monitoring clkreq# as an
interrupt.If not possible,I believe you can capture it by the Scope.

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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
 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2021-07-25 Thread Kai-Heng Feng
Bruce, how do you observe APSM L1 residency? I'd like to do the same.

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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:a90d4016fe38 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2021-07-16 Thread seekerZ
Inadvertently,I found Realtek NIC came in and out of the aspm L1 state
in an unreasonably high frequency even during downloading something.For
a NVME device,it does not show this symptom during it's working and
having workloads in flight which can be indicated by monitoring clkreq#
being asserted/deasserted.To dig deeper for this issue,is someone
familiar with Realtek NIC internal logic of aspm,maybe it will do the
trick by tweaking some of the specific registers?

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2021-07-15 Thread Kai-Heng Feng
The distro kernel also needs to think of laptop power consumption, so we
need to enable ASPM by default to achieve maximum battery life.

So it's a choice between keep the blacklist in the distro kernel or in a
distro udev rule file.

Let me think about it...

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2021-07-15 Thread Heiner Kallweit
ASPM issues come with quite different symptoms. Sometimes there's just a
number of rx_missed errors and performance is significantly reduced, w/o
tx timeout. Therefore at least in mainline I'd like to keep ASPM
disabled per default. But every user or distro can use sysfs to enable
selected ASPM states by using the attributes under
/sys/class/net//device/link (provided that BIOS allows OS to control
ASPM).

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  Apr 23 10:07:43 surprise kernel: RIP: 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2021-07-15 Thread Kai-Heng Feng
Is it possible to defaults to ASPM enabled, and disable ASPM in
rtl8169_tx_timeout()?

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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: 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2021-07-13 Thread Heiner Kallweit
For mainline that's too risky, because there has been a number of
different symptoms of ASPM-related problems. And it would take time to
assemble a blacklist, in the meantime users would complain about network
problems.

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2021-07-13 Thread Kai-Heng Feng
I mean keep the default ASPM L0/L1 set by PCI, and create a blacklist in
r8169.

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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: 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2021-07-12 Thread Heiner Kallweit
Blacklist for what? ASPM L1? In mainline this wouldn't be needed because
L1 is disabled per default. Downstream this could be an option, of
course.

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2021-07-12 Thread Kai-Heng Feng
Heiner, can we use something like DMI-based blacklist in the r8169
driver? Whitelist doesn't scale that well...

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2021-07-06 Thread seekerZ
If problem happens on certain platform,SOC/BIOS/NIC chipset are
something we know of,which combination of them causing the issue could
also be known by regression test.

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2021-07-05 Thread Bruce Pieterse
Forgot to mention this problem also exists in hirsute with
5.11.0-7620-generic.

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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: 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2021-07-05 Thread Bruce Pieterse
I just want to share a quick observation related to this bug. I've
noticed that when there is a kernel update and doing a soft-reboot, this
problem shows up. When this occurs, I do a soft-shutdown and power up
and the problem is resolved.

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2021-07-05 Thread Heiner Kallweit
That's why mainline r8169 disables ASPM completely. Users still have the option 
to re-enable individual ASPM states per sysfs, but that's at own risk.
It's not known why and which combinations of board chipset / BIOS / NIC chipset 
version have an issue when ASPM L1 is enabled. All three components may 
contribute, unfortunately Realtek doesn't release errata information.

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  Apr 23 10:07:43 surprise kernel: RIP: 0010:cpuidle_enter_state+0xc5/0x450

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2021-07-05 Thread seekerZ
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-11-12 Thread Dan Watkins
Trace from that mainline kernel:

kernel: [ cut here ]
kernel: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out
kernel: WARNING: CPU: 2 PID: 0 at net/sched/sch_generic.c:442 
dev_watchdog+0x24c/0x250
kernel: Modules linked in: scsi_transport_iscsi binfmt_misc veth nft_masq 
xt_comment iptable_mangle iptable_nat bpfilter dummy xt_CHECKSUM xt_MASQUERADE 
xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_counter 
nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables 
nfnetlink rdma_ucm ib_uverbs rdma_cm iw_cm ib_cm ib_core overlay 
snd_hda_codec_realtek nls_iso8859_1 snd_hda_codec_generic ledtrig_audio 
snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_usb_audio 
snd_hda_core snd_usbmidi_lib snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event 
uvcvideo snd_raw>
kernel:  autofs4 btrfs blake2b_generic xor raid6_pq libcrc32c dm_crypt 
hid_logitech_hidpp hid_microsoft ff_memless hid_logitech_dj hid_generic usbhid 
hid crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel crypto_simd 
cryptd glue_helper i2c_piix4 r8169 nvme ahci i2c_nvidia_gpu xhci_pci realtek 
nvme_core libahci xhci_pci_renesas wmi gpio_amdpt gpio_generic
kernel: CPU: 2 PID: 0 Comm: swapper/2 Not tainted 5.10.0-051000rc2-generic 
#202011012330
kernel: Hardware name: Gigabyte Technology Co., Ltd. B450M DS3H/B450M DS3H-CF, 
BIOS F4 01/25/2019
kernel: RIP: 0010:dev_watchdog+0x24c/0x250
kernel: Code: 5a 94 fd ff eb ab 4c 89 ff c6 05 e2 58 4d 01 01 e8 99 4c fa ff 44 
89 e9 4c 89 fe 48 c7 c7 48 35 48 97 48 89 c2 e8 2a 69 16 00 <0f> 0b eb 8c 0f 1f 
44 00 00 55 48 89 e5 41 57 49 89 ff 41 56 41 55
kernel: RSP: 0018:a5e700210e90 EFLAGS: 00010286
kernel: RAX:  RBX: 9a1800d12e00 RCX: 
kernel: RDX: 9a1b0eea8ca0 RSI: 9a1b0ee98980 RDI: 0300
kernel: RBP: a5e700210ec0 R08:  R09: a5e700210c70
kernel: R10: a5e700210c68 R11: 97b52ca8 R12: 9a1800d12e80
kernel: R13:  R14: 9a18008164c0 R15: 9a1800816000
kernel: FS:  () GS:9a1b0ee8() 
knlGS:
kernel: CS:  0010 DS:  ES:  CR0: 80050033
kernel: CR2: 55cfd3d2d008 CR3: 000107f48000 CR4: 003506e0
kernel: Call Trace:
kernel:  
kernel:  ? pfifo_fast_enqueue+0x150/0x150
kernel:  call_timer_fn+0x2e/0x100
kernel:  __run_timers.part.0+0x1d8/0x250
kernel:  ? ktime_get+0x3e/0xa0
kernel:  ? lapic_next_event+0x21/0x30
kernel:  ? clockevents_program_event+0x8f/0xe0
kernel:  run_timer_softirq+0x2a/0x50
kernel:  __do_softirq+0xce/0x281
kernel:  asm_call_irq_on_stack+0x12/0x20
kernel:  
kernel:  do_softirq_own_stack+0x3d/0x50
kernel:  irq_exit_rcu+0x95/0xd0
kernel:  sysvec_apic_timer_interrupt+0x3d/0x90
kernel:  asm_sysvec_apic_timer_interrupt+0x12/0x20
kernel: RIP: 0010:cpuidle_enter_state+0xcc/0x360
kernel: Code: 3d e9 64 88 69 e8 64 31 75 ff 49 89 c6 0f 1f 44 00 00 31 ff e8 f5 
3c 75 ff 80 7d d7 00 0f 85 01 01 00 00 fb 66 0f 1f 44 00 00 <45> 85 ff 0f 88 0d 
01 00 00 49 63 cf 4c 2b 75 c8 48 8d 04 49 48 89
kernel: RSP: 0018:a5e700137e60 EFLAGS: 0246
kernel: RAX: 9a1b0eeac480 RBX: 0002 RCX: 001f
kernel: RDX:  RSI: 239f5376 RDI: 
kernel: RBP: a5e700137e98 R08: 0009851dc34e R09: 0400
kernel: R10: 000321ae R11:  R12: 9a1801249800
kernel: R13: 97c6c6a0 R14: 0009851dc34e R15: 0002
kernel:  cpuidle_enter+0x2e/0x40
kernel:  cpuidle_idle_call+0x132/0x1d0
kernel:  do_idle+0x7a/0xe0
kernel:  cpu_startup_entry+0x20/0x30
kernel:  start_secondary+0x90/0xa0
kernel:  secondary_startup_64_no_verify+0xb8/0xbb
kernel: CPU: 2 PID: 0 Comm: swapper/2 Not tainted 5.10.0-051000rc2-generic 
#202011012330
kernel: Hardware name: Gigabyte Technology Co., Ltd. B450M DS3H/B450M DS3H-CF, 
BIOS F4 01/25/2019
kernel: Call Trace:
kernel:  
kernel:  show_stack+0x52/0x58
kernel:  dump_stack+0x70/0x8b
kernel:  ? dev_watchdog+0x24c/0x250
kernel:  __warn.cold+0x24/0x77
kernel:  ? dev_watchdog+0x24c/0x250
kernel:  report_bug+0xa1/0xc0
kernel:  ? __irq_work_queue_local+0x48/0x60
kernel:  handle_bug+0x3e/0xa0
kernel:  exc_invalid_op+0x19/0x70
kernel:  asm_exc_invalid_op+0x12/0x20
kernel: RIP: 0010:dev_watchdog+0x24c/0x250
kernel: Code: 5a 94 fd ff eb ab 4c 89 ff c6 05 e2 58 4d 01 01 e8 99 4c fa ff 44 
89 e9 4c 89 fe 48 c7 c7 48 35 48 97 48 89 c2 e8 2a 69 16 00 <0f> 0b eb 8c 0f 1f 
44 00 00 55 48 89 e5 41 57 49 89 ff 41 56 41 55
kernel: RSP: 0018:a5e700210e90 EFLAGS: 00010286
kernel: RAX:  RBX: 9a1800d12e00 RCX: 
kernel: RDX: 9a1b0eea8ca0 RSI: 9a1b0ee98980 RDI: 0300
kernel: RBP: a5e700210ec0 R08:  R09: a5e700210c70
kernel: R10: a5e700210c68 R11: 97b52ca8 R12: 9a1800d12e80
kernel: R13:  R14: 9a18008164c0 R15: 9a1800816000

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-11-09 Thread Heiner Kallweit
Well, reason could by anything. Most users of this chip version don't
have this problem, so it may be the BIOS. Is known meanwhile whether any
(mainline) kernel version is fine on this system (so that issue can be
bisected)? Also interesting would be whether the issue happens with
r8168 too.

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-11-09 Thread Kai-Heng Feng
Subscribe r8169 maintainer Heiner Kallweit...

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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:a90d4016fe38 EFLAGS: 0246 
ORIG_RAX: 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-11-09 Thread Dan Watkins
Hi Kai-Heng,

Here is the (much longer) trace from that kernel.


Thanks!

kernel: [ cut here ]
kernel: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out
kernel: WARNING: CPU: 2 PID: 0 at net/sched/sch_generic.c:442 
dev_watchdog+0x24c/0x250
kernel: Modules linked in: scsi_transport_iscsi binfmt_misc veth nft_masq 
xt_comment iptable_mangle iptable_nat bpfilter dummy xt_CHECKSUM xt_MASQUERADE 
xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_counter 
nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables 
nfnetlink rdma_ucm ib_uverbs rdma_cm iw_cm ib_cm ib_core overlay 
snd_hda_codec_realtek nls_iso8859>
kernel:  autofs4 btrfs blake2b_generic xor raid6_pq libcrc32c dm_crypt 
hid_logitech_hidpp hid_microsoft ff_memless hid_logitech_dj hid_generic usbhid 
hid crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel crypto_simd 
cryptd glue_helper i2c_piix4 r8169 nvme ahci i2c_nvidia_gpu xhci_pci realtek 
nvme_core libahci xhci_pci_renesas wmi gpio_amdpt gpio_generic
kernel: CPU: 2 PID: 0 Comm: swapper/2 Not tainted 5.10.0-051000rc2-generic 
#202011012330
kernel: Hardware name: Gigabyte Technology Co., Ltd. B450M DS3H/B450M DS3H-CF, 
BIOS F4 01/25/2019
kernel: RIP: 0010:dev_watchdog+0x24c/0x250
kernel: Code: 5a 94 fd ff eb ab 4c 89 ff c6 05 e2 58 4d 01 01 e8 99 4c fa ff 44 
89 e9 4c 89 fe 48 c7 c7 48 35 48 97 48 89 c2 e8 2a 69 16 00 <0f> 0b eb 8c 0f 1f 
44 00 00 55 48 89 e5 41 57 49 89 ff 41 56 41 55
kernel: RSP: 0018:a5e700210e90 EFLAGS: 00010286
kernel: RAX:  RBX: 9a1800d12e00 RCX: 
kernel: RDX: 9a1b0eea8ca0 RSI: 9a1b0ee98980 RDI: 0300
kernel: RBP: a5e700210ec0 R08:  R09: a5e700210c70
kernel: R10: a5e700210c68 R11: 97b52ca8 R12: 9a1800d12e80
kernel: R13:  R14: 9a18008164c0 R15: 9a1800816000
kernel: FS:  () GS:9a1b0ee8() 
knlGS:
kernel: CS:  0010 DS:  ES:  CR0: 80050033
kernel: CR2: 55cfd3d2d008 CR3: 000107f48000 CR4: 003506e0
kernel: Call Trace:
kernel:  
kernel:  ? pfifo_fast_enqueue+0x150/0x150
kernel:  call_timer_fn+0x2e/0x100
kernel:  __run_timers.part.0+0x1d8/0x250
kernel:  ? ktime_get+0x3e/0xa0
kernel:  ? lapic_next_event+0x21/0x30
kernel:  ? clockevents_program_event+0x8f/0xe0
kernel:  run_timer_softirq+0x2a/0x50
kernel:  __do_softirq+0xce/0x281
kernel:  asm_call_irq_on_stack+0x12/0x20
kernel:  
kernel:  do_softirq_own_stack+0x3d/0x50
kernel:  irq_exit_rcu+0x95/0xd0
kernel:  sysvec_apic_timer_interrupt+0x3d/0x90
kernel:  asm_sysvec_apic_timer_interrupt+0x12/0x20
kernel: RIP: 0010:cpuidle_enter_state+0xcc/0x360
kernel: Code: 3d e9 64 88 69 e8 64 31 75 ff 49 89 c6 0f 1f 44 00 00 31 ff e8 f5 
3c 75 ff 80 7d d7 00 0f 85 01 01 00 00 fb 66 0f 1f 44 00 00 <45> 85 ff 0f 88 0d 
01 00 00 49 63 cf 4c 2b 75 c8 48 8d 04 49 48 89
kernel: RSP: 0018:a5e700137e60 EFLAGS: 0246
kernel: RAX: 9a1b0eeac480 RBX: 0002 RCX: 001f
kernel: RDX:  RSI: 239f5376 RDI: 
kernel: RBP: a5e700137e98 R08: 0009851dc34e R09: 0400
kernel: R10: 000321ae R11:  R12: 9a1801249800
kernel: R13: 97c6c6a0 R14: 0009851dc34e R15: 0002
kernel:  cpuidle_enter+0x2e/0x40
kernel:  cpuidle_idle_call+0x132/0x1d0
kernel:  do_idle+0x7a/0xe0
kernel:  cpu_startup_entry+0x20/0x30
kernel:  start_secondary+0x90/0xa0
kernel:  secondary_startup_64_no_verify+0xb8/0xbb
kernel: CPU: 2 PID: 0 Comm: swapper/2 Not tainted 5.10.0-051000rc2-generic 
#202011012330
kernel: Hardware name: Gigabyte Technology Co., Ltd. B450M DS3H/B450M DS3H-CF, 
BIOS F4 01/25/2019
kernel: Call Trace:
kernel:  
kernel:  show_stack+0x52/0x58
kernel:  dump_stack+0x70/0x8b
kernel:  ? dev_watchdog+0x24c/0x250
kernel:  __warn.cold+0x24/0x77
kernel:  ? dev_watchdog+0x24c/0x250
kernel:  report_bug+0xa1/0xc0
kernel:  ? __irq_work_queue_local+0x48/0x60
kernel:  handle_bug+0x3e/0xa0
kernel:  exc_invalid_op+0x19/0x70
kernel:  asm_exc_invalid_op+0x12/0x20
kernel: RIP: 0010:dev_watchdog+0x24c/0x250
kernel: Code: 5a 94 fd ff eb ab 4c 89 ff c6 05 e2 58 4d 01 01 e8 99 4c fa ff 44 
89 e9 4c 89 fe 48 c7 c7 48 35 48 97 48 89 c2 e8 2a 69 16 00 <0f> 0b eb 8c 0f 1f 
44 00 00 55 48 89 e5 41 57 49 89 ff 41 56 41 55
kernel: RSP: 0018:a5e700210e90 EFLAGS: 00010286
kernel: RAX:  RBX: 9a1800d12e00 RCX: 
kernel: RDX: 9a1b0eea8ca0 RSI: 9a1b0ee98980 RDI: 0300
kernel: RBP: a5e700210ec0 R08:  R09: a5e700210c70
kernel: R10: a5e700210c68 R11: 97b52ca8 R12: 9a1800d12e80
kernel: R13:  R14: 9a18008164c0 R15: 9a1800816000
kernel:  ? pfifo_fast_enqueue+0x150/0x150
kernel:  call_timer_fn+0x2e/0x100
kernel:  __run_timers.part.0+0x1d8/0x250
kernel:  ? ktime_get+0x3e/0xa0
kernel:  ? 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-11-05 Thread Kai-Heng Feng
Dan, let's try latest mainline kernel again:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.10-rc2/amd64/

... and report the issue to upstream if issue persists.

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-11-03 Thread Kai-Heng Feng
Dan,
Given that it's a kernel regression, would it be possible to try mainline 
kernel and do a kernel bisection if issue persists?

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-10-28 Thread Dan Watkins
Still seeing this with that kernel:

kernel: [ cut here ]
kernel: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out
kernel: WARNING: CPU: 8 PID: 0 at net/sched/sch_generic.c:442 
dev_watchdog+0x25b/0x270
kernel: Modules linked in: xt_comment iptable_mangle iptable_nat bpfilter 
xt_CHECKSUM xt_MASQUERADE dummy xt_conntrack ipt_REJECT nf_reject_ipv4 
xt_tcpudp nft_compat nft_counter nft_chain_nat nf_nat nf_conntrack 
nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfne>
kernel:  xor raid6_pq libcrc32c dm_crypt hid_logitech_hidpp hid_microsoft 
hid_logitech_dj ff_memless hid_generic usbhid hid nvidia_drm(POE) 
nvidia_modeset(POE) nvidia(POE) drm_kms_helper crct10dif_pclmul syscopyarea 
crc32_pclmul sysfillrect ghash_clmulni_i>
kernel: CPU: 8 PID: 0 Comm: swapper/8 Tainted: P   OE 
5.8.0-24-generic #25~lp1874464
kernel: Hardware name: Gigabyte Technology Co., Ltd. B450M DS3H/B450M DS3H-CF, 
BIOS F4 01/25/2019
kernel: RIP: 0010:dev_watchdog+0x25b/0x270
kernel: Code: 85 c0 75 e5 eb 9c 4c 89 ff c6 05 36 85 1c 01 01 e8 2a 93 fa ff 44 
89 e9 4c 89 fe 48 c7 c7 50 7c e8 8c 48 89 c2 e8 ca 30 64 ff <0f> 0b e9 7a ff ff 
ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 0f
kernel: RSP: 0018:bd1800348e78 EFLAGS: 00010286
kernel: RAX:  RBX: 95808d02dc00 RCX: 95808ee18cd8
kernel: RDX: ffd8 RSI: 0027 RDI: 95808ee18cd0
kernel: RBP: bd1800348ea8 R08: 0004 R09: 0554
kernel: R10:  R11: 0001 R12: 95808d02dc80
kernel: R13:  R14: 95808c9be480 R15: 95808c9be000
kernel: FS:  () GS:95808ee0() 
knlGS:
kernel: CS:  0010 DS:  ES:  CR0: 80050033
kernel: CR2: 7ffd799aee88 CR3: 0003ac6d8000 CR4: 003406e0
kernel: Call Trace:
kernel:  
kernel:  ? pfifo_fast_enqueue+0x150/0x150
kernel:  call_timer_fn+0x32/0x130
kernel:  __run_timers.part.0+0x184/0x280
kernel:  ? lapic_next_event+0x21/0x30
kernel:  ? clockevents_program_event+0x8f/0xe0
kernel:  run_timer_softirq+0x2a/0x50
kernel:  __do_softirq+0xd0/0x2a1
kernel:  asm_call_irq_on_stack+0x12/0x20
kernel:  
kernel:  do_softirq_own_stack+0x3d/0x50
kernel:  irq_exit_rcu+0x95/0xd0
kernel:  sysvec_apic_timer_interrupt+0x3b/0x90
kernel:  asm_sysvec_apic_timer_interrupt+0x12/0x20
kernel: RIP: 0010:cpuidle_enter_state+0xb7/0x3f0
kernel: Code: 4f fb c6 73 e8 5a 5d 74 ff 48 89 45 d0 0f 1f 44 00 00 31 ff e8 0a 
69 74 ff 80 7d c7 00 0f 85 d3 01 00 00 fb 66 0f 1f 44 00 00 <45> 85 e4 0f 88 df 
01 00 00 49 63 d4 48 8d 04 52 48 8d 0c d5 00 00
kernel: RSP: 0018:bd1800167e48 EFLAGS: 0246
kernel: RAX: 95808ee2c6c0 RBX: 958079782400 RCX: 001f
kernel: RDX:  RSI: 239f5376 RDI: 
kernel: RBP: bd1800167e88 R08: 000853f09bec R09: 
kernel: R10: 0a06 R11: 95808ee2b364 R12: 0002
kernel: R13: 8d577ba0 R14: 0002 R15: 
kernel:  ? cpuidle_enter_state+0xa6/0x3f0
kernel:  cpuidle_enter+0x2e/0x40
kernel:  cpuidle_idle_call+0x145/0x200
kernel:  do_idle+0x7a/0xe0
kernel:  cpu_startup_entry+0x20/0x30
kernel:  start_secondary+0xe6/0x100
kernel:  secondary_startup_64+0xb6/0xc0
kernel: ---[ end trace 7dcae081a07b21ec ]---

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

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-10-27 Thread Kai-Heng Feng
Sorry, I pasted the wrong link, here it is:
https://people.canonical.com/~khfeng/lp1874464/

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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: 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-10-26 Thread Bruce Pieterse
I'd like to add that I'm seeing this with Groovy as well:

Oct 26 19:08:40 ubuntu kernel: [ cut here ]
Oct 26 19:08:40 ubuntu kernel: NETDEV WATCHDOG: enp3s0 (r8169): transmit queue 
0 timed out
Oct 26 19:08:40 ubuntu kernel: WARNING: CPU: 6 PID: 0 at 
net/sched/sch_generic.c:442 dev_watchdog+0x25b/0x270
Oct 26 19:08:40 ubuntu kernel: Modules linked in: cfg80211 8021q garp mrp stp 
llc nls_iso8859_1 snd_hda_codec_realtek snd_hda_codec_generic intel_rapl_msr 
mei_hdcp ledtrig_audio snd_hda_codec_hdmi snd_hda_intel in>
Oct 26 19:08:40 ubuntu kernel:  hid_generic usbhid hid uas usb_storage amdgpu 
iommu_v2 gpu_sched i2c_algo_bit ttm drm_kms_helper syscopyarea sysfillrect 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_inte>
Oct 26 19:08:40 ubuntu kernel: CPU: 6 PID: 0 Comm: swapper/6 Tainted: G 
  OE 5.8.0-7625-generic #26~1603126178~20.10~210fe73-Ubuntu
Oct 26 19:08:40 ubuntu kernel: Hardware name: MSI MS-7850/H97 PC Mate(MS-7850), 
BIOS V5.9 02/16/2016
Oct 26 19:08:40 ubuntu kernel: RIP: 0010:dev_watchdog+0x25b/0x270
Oct 26 19:08:40 ubuntu kernel: Code: 85 c0 75 e5 eb 9c 4c 89 ff c6 05 26 85 1c 
01 01 e8 2a 93 fa ff 44 89 e9 4c 89 fe 48 c7 c7 c0 7a a8 b1 48 89 c2 e8 ba 30 
64 ff <0f> 0b e9 7a ff ff ff 66 66 2e 0f 1f 84 00 00 00 >
Oct 26 19:08:40 ubuntu kernel: RSP: 0018:ad1500210e78 EFLAGS: 00010286
Oct 26 19:08:40 ubuntu kernel: RAX:  RBX: 9b0179912200 RCX: 
9b018dd98cd8
Oct 26 19:08:40 ubuntu kernel: RDX: ffd8 RSI: 0027 RDI: 
9b018dd98cd0
Oct 26 19:08:40 ubuntu kernel: RBP: ad1500210ea8 R08: 0004 R09: 
047a
Oct 26 19:08:40 ubuntu kernel: R10:  R11: 0001 R12: 
9b0179912280
Oct 26 19:08:40 ubuntu kernel: R13:  R14: 9b01788da480 R15: 
9b01788da000
Oct 26 19:08:40 ubuntu kernel: FS:  () 
GS:9b018dd8() knlGS:
Oct 26 19:08:40 ubuntu kernel: CS:  0010 DS:  ES:  CR0: 80050033
Oct 26 19:08:40 ubuntu kernel: CR2: 7f7677e18c90 CR3: a5c0a005 CR4: 
001606e0
Oct 26 19:08:40 ubuntu kernel: Call Trace:
Oct 26 19:08:40 ubuntu kernel:  
Oct 26 19:08:40 ubuntu kernel:  ? pfifo_fast_enqueue+0x150/0x150
Oct 26 19:08:40 ubuntu kernel:  call_timer_fn+0x32/0x130
Oct 26 19:08:40 ubuntu kernel:  __run_timers.part.0+0x184/0x280
Oct 26 19:08:40 ubuntu kernel:  ? lapic_next_deadline+0x26/0x30
Oct 26 19:08:40 ubuntu kernel:  ? clockevents_program_event+0x8f/0xe0
Oct 26 19:08:40 ubuntu kernel:  run_timer_softirq+0x2a/0x50
Oct 26 19:08:40 ubuntu kernel:  __do_softirq+0xd0/0x2a1
Oct 26 19:08:40 ubuntu kernel:  asm_call_irq_on_stack+0x12/0x20
Oct 26 19:08:40 ubuntu kernel:  
Oct 26 19:08:40 ubuntu kernel:  do_softirq_own_stack+0x3d/0x50
Oct 26 19:08:40 ubuntu kernel:  irq_exit_rcu+0x95/0xd0
Oct 26 19:08:40 ubuntu kernel:  sysvec_apic_timer_interrupt+0x3b/0x90
Oct 26 19:08:40 ubuntu kernel:  asm_sysvec_apic_timer_interrupt+0x12/0x20
Oct 26 19:08:40 ubuntu kernel: RIP: 0010:cpuidle_enter_state+0xb7/0x3f0
Oct 26 19:08:40 ubuntu kernel: Code: 3f fb 06 4f e8 4a 5d 74 ff 48 89 45 d0 0f 
1f 44 00 00 31 ff e8 fa 68 74 ff 80 7d c7 00 0f 85 d3 01 00 00 fb 66 0f 1f 44 
00 00 <45> 85 e4 0f 88 df 01 00 00 49 63 d4 48 8d 04 52 >
Oct 26 19:08:40 ubuntu kernel: RSP: 0018:ad15000c7e48 EFLAGS: 0246
Oct 26 19:08:40 ubuntu kernel: RAX: 9b018ddac6c0 RBX: 9b018ddb7900 RCX: 
001f
Oct 26 19:08:40 ubuntu kernel: RDX:  RSI: 229f RDI: 

Oct 26 19:08:40 ubuntu kernel: RBP: ad15000c7e88 R08: 000aae6ba9e9 R09: 

Oct 26 19:08:40 ubuntu kernel: R10: 011b R11: 9b018ddab364 R12: 
0005
Oct 26 19:08:40 ubuntu kernel: R13: b216adc0 R14: 0005 R15: 

Oct 26 19:08:40 ubuntu kernel:  ? cpuidle_enter_state+0xa6/0x3f0
Oct 26 19:08:40 ubuntu kernel:  cpuidle_enter+0x2e/0x40
Oct 26 19:08:40 ubuntu kernel:  cpuidle_idle_call+0x145/0x200
Oct 26 19:08:40 ubuntu kernel:  do_idle+0x7a/0xe0
Oct 26 19:08:40 ubuntu kernel:  cpu_startup_entry+0x20/0x30
Oct 26 19:08:40 ubuntu kernel:  start_secondary+0xe6/0x100
Oct 26 19:08:40 ubuntu kernel:  secondary_startup_64+0xb6/0xc0
Oct 26 19:08:40 ubuntu kernel: ---[ end trace ef40ba07e8939a6f ]---
Oct 26 19:08:40 ubuntu kernel: r8169 :03:00.0 enp3s0: rtl_rxtx_empty_cond 
== 0 (loop: 42, delay: 100).

I'm currently running 5.4.0-7642.46~1598628707~20.04~040157c (Pop_OS!)
to mitigate this issue, but it's currently present in
5.8.0-7625.26~1603126178~20.10~210fe73.

Same symptoms as the original reporter.

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

Re: [Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-10-16 Thread Dan Watkins
On Fri, Oct 16, 2020 at 03:05:09AM -, Kai-Heng Feng wrote:
> Can you please test this kernel:
> https://people.canonical.com/~khfeng/lp1896576/

Thanks for the kernel!  Still seeing this, unfortunately:

kernel: [ cut here ]
kernel: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out
kernel: WARNING: CPU: 8 PID: 0 at net/sched/sch_generic.c:442 
dev_watchdog+0x25e/0x270
kernel: Modules linked in: nft_compat nft_counter nft_chain_nat nf_tables 
nfnetlink ipt_REJECT nf_reject_ipv4 xt_conntrack xt_MASQUERADE xt_CHECKSUM 
xt_comment xt_tcpudp iptable_mangle iptable_nat nf_nat nf_conntrack 
nf_defrag_ipv6 nf_defrag_ipv4 bpfilter >
kernel:  bridge stp llc arp_tables parport_pc ppdev lp parport drm ip_tables 
x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c 
dm_crypt hid_logitech_hidpp hid_microsoft hid_logitech_dj ff_memless 
hid_generic usbhid hid crct10dif_p>
kernel: CPU: 8 PID: 0 Comm: swapper/8 Tainted: P   OE 
5.6.0-2030-oem #30~lp1896576
kernel: Hardware name: Gigabyte Technology Co., Ltd. B450M DS3H/B450M DS3H-CF, 
BIOS F4 01/25/2019
kernel: RIP: 0010:dev_watchdog+0x25e/0x270
kernel: Code: 85 c0 75 e5 eb 9c 4c 89 ff c6 05 1f a5 e7 00 01 e8 a7 00 fb ff 44 
89 e9 4c 89 fe 48 c7 c7 f0 3b 07 9e 48 89 c2 e8 57 95 6e ff <0f> 0b e9 7a ff ff 
ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00
kernel: RSP: 0018:b0eb40344e30 EFLAGS: 00010286
kernel: RAX:  RBX: 89ae4bd0f200 RCX: 0007
kernel: RDX: 0007 RSI: 0096 RDI: 89ae4f019800
kernel: RBP: b0eb40344e60 R08: 0545 R09: 0004
kernel: R10:  R11: 0001 R12: 0001
kernel: R13:  R14: 89ae4a660480 R15: 89ae4a66
kernel: FS:  () GS:89ae4f00() 
knlGS:
kernel: CS:  0010 DS:  ES:  CR0: 80050033
kernel: CR2: 562e21d43b88 CR3: 00023960a000 CR4: 003406e0
kernel: Call Trace:
kernel:  
kernel:  ? pfifo_fast_enqueue+0x150/0x150
kernel:  call_timer_fn+0x32/0x130
kernel:  __run_timers.part.0+0x180/0x280
kernel:  ? timerqueue_add+0x9b/0xb0
kernel:  ? enqueue_hrtimer+0x3d/0x90
kernel:  ? ktime_get+0x3e/0xa0
kernel:  run_timer_softirq+0x2a/0x50
kernel:  __do_softirq+0xe1/0x2d6
kernel:  ? hrtimer_interrupt+0x13b/0x220
kernel:  irq_exit+0xae/0xb0
kernel:  smp_apic_timer_interrupt+0x7b/0x140
kernel:  apic_timer_interrupt+0xf/0x20
kernel:  
kernel: RIP: 0010:cpuidle_enter_state+0xca/0x3e0
kernel: Code: ff e8 fa 69 7e ff 80 7d c7 00 74 17 9c 58 0f 1f 44 00 00 f6 c4 02 
0f 85 ea 02 00 00 31 ff e8 7d ed 84 ff fb 66 0f 1f 44 00 00 <45> 85 e4 0f 88 3f 
02 00 00 49 63 d4 4c 8b 7d d0 4c 2b 7d c8 48 8d
kernel: RSP: 0018:b0eb40167e38 EFLAGS: 0246 ORIG_RAX: ff13
kernel: RAX: 89ae4f02ce00 RBX: 89ae3b54f800 RCX: 001f
kernel: RDX:  RSI: 239f541c RDI: 
kernel: RBP: b0eb40167e78 R08: 00090b4aca5a R09: 0e17
kernel: R10: 89ae4f02bac4 R11: 89ae4f02baa4 R12: 0002
kernel: R13: 9e378700 R14: 0002 R15: 89ae3b54f800
kernel:  ? cpuidle_enter_state+0xa6/0x3e0
kernel:  cpuidle_enter+0x2e/0x40
kernel:  call_cpuidle+0x23/0x40
kernel:  do_idle+0x1e7/0x280
kernel:  cpu_startup_entry+0x20/0x30
kernel:  start_secondary+0x167/0x1c0
kernel:  secondary_startup_64+0xa4/0xb0
kernel: ---[ end trace aa1f3700fccaa705 ]---

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

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-10-15 Thread Kai-Heng Feng
Can you please test this kernel:
https://people.canonical.com/~khfeng/lp1896576/

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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: 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-10-13 Thread Dan Watkins
Actually, looks like I spoke too soon.  I just upgraded to
5.8.0-22-generic and I'm seeing the issue still:

Oct 13 10:43:37 surprise kernel: [ cut here ]
Oct 13 10:43:37 surprise kernel: NETDEV WATCHDOG: enp5s0 (r8169): transmit 
queue 0 timed out
Oct 13 10:43:37 surprise kernel: WARNING: CPU: 1 PID: 0 at 
net/sched/sch_generic.c:442 dev_watchdog+0x25b/0x270
Oct 13 10:43:37 surprise kernel: Modules linked in: nft_compat ipt_REJECT 
nf_reject_ipv4 xt_conntrack nft_counter xt_MASQUERADE xt_CHECKSUM xt_comment 
xt_tcpudp iptable_mangle iptable_nat bpfilter nft_chain_nat nf_nat nf_conntrack 
nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink >
Oct 13 10:43:37 surprise kernel:  xor raid6_pq libcrc32c dm_crypt 
hid_logitech_hidpp hid_microsoft hid_logitech_dj ff_memless hid_generic usbhid 
hid nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) drm_kms_helper syscopyarea 
sysfillrect sysimgblt crct10dif_pclmul crc32_pclmul ghash>
Oct 13 10:43:37 surprise kernel: CPU: 1 PID: 0 Comm: swapper/1 Tainted: P   
OE 5.8.0-22-generic #23-Ubuntu
Oct 13 10:43:37 surprise kernel: Hardware name: Gigabyte Technology Co., Ltd. 
B450M DS3H/B450M DS3H-CF, BIOS F4 01/25/2019
Oct 13 10:43:37 surprise kernel: RIP: 0010:dev_watchdog+0x25b/0x270
Oct 13 10:43:37 surprise kernel: Code: 85 c0 75 e5 eb 9c 4c 89 ff c6 05 46 85 
1c 01 01 e8 2a 93 fa ff 44 89 e9 4c 89 fe 48 c7 c7 48 7a e8 84 48 89 c2 e8 da 
30 64 ff <0f> 0b e9 7a ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 0f
Oct 13 10:43:37 surprise kernel: RSP: 0018:b770401dce78 EFLAGS: 00010286
Oct 13 10:43:37 surprise kernel: RAX:  RBX: 8ed4b848a000 
RCX: 8ed4cee58cd8
Oct 13 10:43:37 surprise kernel: RDX: ffd8 RSI: 0027 
RDI: 8ed4cee58cd0
Oct 13 10:43:37 surprise kernel: RBP: b770401dcea8 R08: 0004 
R09: 0551
Oct 13 10:43:37 surprise kernel: R10:  R11: 0001 
R12: 8ed4b848a080
Oct 13 10:43:37 surprise kernel: R13:  R14: 8ed4b8952480 
R15: 8ed4b8952000
Oct 13 10:43:37 surprise kernel: FS:  () 
GS:8ed4cee4() knlGS:
Oct 13 10:43:37 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
Oct 13 10:43:37 surprise kernel: CR2: 7f738e845d90 CR3: 00010960a000 
CR4: 003406e0
Oct 13 10:43:37 surprise kernel: Call Trace:
Oct 13 10:43:37 surprise kernel:  
Oct 13 10:43:37 surprise kernel:  ? pfifo_fast_enqueue+0x150/0x150
Oct 13 10:43:37 surprise kernel:  call_timer_fn+0x32/0x130
Oct 13 10:43:37 surprise kernel:  __run_timers.part.0+0x184/0x280
Oct 13 10:43:37 surprise kernel:  ? lapic_next_event+0x21/0x30
Oct 13 10:43:37 surprise kernel:  ? clockevents_program_event+0x8f/0xe0
Oct 13 10:43:37 surprise kernel:  run_timer_softirq+0x2a/0x50
Oct 13 10:43:37 surprise kernel:  __do_softirq+0xd0/0x2a1
Oct 13 10:43:37 surprise kernel:  asm_call_irq_on_stack+0x12/0x20
Oct 13 10:43:37 surprise kernel:  
Oct 13 10:43:37 surprise kernel:  do_softirq_own_stack+0x3d/0x50
Oct 13 10:43:37 surprise kernel:  irq_exit_rcu+0x95/0xd0
Oct 13 10:43:37 surprise kernel:  sysvec_apic_timer_interrupt+0x3b/0x90
Oct 13 10:43:37 surprise kernel:  asm_sysvec_apic_timer_interrupt+0x12/0x20
Oct 13 10:43:37 surprise kernel: RIP: 0010:cpuidle_enter_state+0xb7/0x3f0
Oct 13 10:43:37 surprise kernel: Code: 5f fb c6 7b e8 6a 5d 74 ff 48 89 45 d0 
0f 1f 44 00 00 31 ff e8 1a 69 74 ff 80 7d c7 00 0f 85 d3 01 00 00 fb 66 0f 1f 
44 00 00 <45> 85 e4 0f 88 df 01 00 00 49 63 d4 48 8d 04 52 48 8d 0c d5 00 00
Oct 13 10:43:37 surprise kernel: RSP: 0018:b7704012fe48 EFLAGS: 0246
Oct 13 10:43:37 surprise kernel: RAX: 8ed4cee6c6c0 RBX: 8ed4cc7cf800 
RCX: 001f
Oct 13 10:43:37 surprise kernel: RDX:  RSI: 239f52d0 
RDI: 
Oct 13 10:43:37 surprise kernel: RBP: b7704012fe88 R08: 00073205d070 
R09: 
Oct 13 10:43:37 surprise kernel: R10: 3cd7 R11: 8ed4cee6b364 
R12: 0002
Oct 13 10:43:37 surprise kernel: R13: 85577ba0 R14: 0002 
R15: 
Oct 13 10:43:37 surprise kernel:  ? cpuidle_enter_state+0xa6/0x3f0
Oct 13 10:43:37 surprise kernel:  cpuidle_enter+0x2e/0x40
Oct 13 10:43:37 surprise kernel:  cpuidle_idle_call+0x145/0x200
Oct 13 10:43:37 surprise kernel:  do_idle+0x7a/0xe0
Oct 13 10:43:37 surprise kernel:  cpu_startup_entry+0x20/0x30
Oct 13 10:43:37 surprise kernel:  start_secondary+0xe6/0x100
Oct 13 10:43:37 surprise kernel:  secondary_startup_64+0xb6/0xc0
Oct 13 10:43:37 surprise kernel: ---[ end trace fb1d7fe519360584 ]---

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

Re: [Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-10-13 Thread Dan Watkins
On Sat, Oct 10, 2020 at 09:01:15PM -, Kai-Heng Feng wrote:
> Dan, it will be great if you can revert workaround [1] and apply
> possible fix [2] to see if it helps.
> 
> I guess you no longer see the issue because of the workaround.
> 
> [1] 
> https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/unstable/commit/?id=759bc16ddfd4d7f3e195a9662d9d067625b805b6
> [2] 
> https://patchwork.ozlabs.org/project/linux-pci/patch/20201007132808.647589-1-ian.kuml...@gmail.com/

I'm happy to help, but I haven't compiled a kernel before; what's the
process for going about it?

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-10-10 Thread Kai-Heng Feng
Dan, it will be great if you can revert workaround [1] and apply
possible fix [2] to see if it helps.

I guess you no longer see the issue because of the workaround.

[1] 
https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/unstable/commit/?id=759bc16ddfd4d7f3e195a9662d9d067625b805b6
[2] 
https://patchwork.ozlabs.org/project/linux-pci/patch/20201007132808.647589-1-ian.kuml...@gmail.com/

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  Apr 23 10:07:43 surprise kernel: RIP: 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-10-10 Thread Kai-Heng Feng
Oh the workaround actually enables L0s and L1. Please just comment the
line out.

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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: 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-10-08 Thread Dan Watkins
Thanks for the test kernel!  I can no longer reproduce this on the most
recent two kernels in groovy (5.8.0-19-generic, 5.8.0-20-generic) nor
with that test kernel.

I think we can mark this Incomplete for groovy too, and I'll respond if
I see this again.

Thanks to you and Kai-Heng for all your help throughout this process!

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  Apr 23 10:07:43 surprise kernel: RIP: 0010:cpuidle_enter_state+0xc5/0x450
  Apr 23 10:07:43 surprise kernel: Code: ff e8 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-10-07 Thread AceLan Kao
Could you try this test kernel to see if it helps.
I applied one commit[1] on top of focal kernel master-next branch
https://people.canonical.com/~acelan/bugs/lp1874464

1. https://patchwork.ozlabs.org/project/linux-
pci/patch/20201007132808.647589-1-ian.kuml...@gmail.com/

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-10-01 Thread Dan Watkins
I'm still seeing this issue, and it now sometimes appears on boot
without me having done anything.  What can I do to help move this
forward?

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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 

Re: [Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-09-08 Thread Dan Watkins
On Sat, Sep 05, 2020 at 08:46:51PM -, Kreisch István András wrote:
> I'm using a really old kernel with this same error: v3.13.170 with
> Ubuntu 14.04.6. I could circumvent the issue by reduce the speed of the
> ethernet interface from 1Gb to 100Mb using ethtool.
> 
> ethtool –s eth3 speed 100 duplex full autoneg on
> 
> Maybe it helps to operate until the fix is implemented and released.

Unfortunately, this did not address the issue I was seeing.  (Thanks for
the suggestion!)

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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
  

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-09-05 Thread Kreisch István András
Hi!

I'm using a really old kernel with this same error: v3.13.170 with
Ubuntu 14.04.6. I could circumvent the issue by reduce the speed of the
ethernet interface from 1Gb to 100Mb using ethtool.

ethtool –s eth3 speed 100 duplex full autoneg on

Maybe it helps to operate until the fix is implemented and released.

Br,
István

-- 
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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  Apr 23 10:07:43 surprise kernel: RIP: 0010:cpuidle_enter_state+0xc5/0x450
  Apr 23 10:07:43 surprise kernel: Code: ff e8 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-09-04 Thread Dan Watkins
(Moved the groovy task back to New, not sure if that's the right
process!)

-- 
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:
  New
Status in linux source package in Focal:
  Incomplete
Status in linux source package in Groovy:
  New

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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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:a90d4016fe38 EFLAGS: 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-09-04 Thread Dan Watkins
And this is what I see on 5.9.0-050900rc3-generic:

Sep 04 15:05:02 surprise kernel: [ cut here ]
Sep 04 15:05:02 surprise kernel: NETDEV WATCHDOG: enp5s0 (r8169): transmit 
queue 0 timed out
Sep 04 15:05:02 surprise kernel: WARNING: CPU: 0 PID: 0 at 
net/sched/sch_generic.c:442 dev_watchdog+0x25b/0x270
Sep 04 15:05:02 surprise kernel: Modules linked in: xt_comment iptable_mangle 
iptable_nat bpfilter dummy xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT 
nf_reject_ipv4 xt_tcpudp nft_compat nft_counter nft_chain_nat nf_nat 
nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfne>
Sep 04 15:05:02 surprise kernel:  xor raid6_pq libcrc32c dm_crypt 
hid_logitech_hidpp hid_logitech_dj hid_microsoft ff_memless hid_generic usbhid 
hid crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel crypto_simd 
cryptd glue_helper i2c_piix4 r8169 nvme i2c_nvidia_gpu rea>
Sep 04 15:05:02 surprise kernel: CPU: 0 PID: 0 Comm: swapper/0 Not tainted 
5.9.0-050900rc3-generic #202008302030
Sep 04 15:05:02 surprise kernel: Hardware name: Gigabyte Technology Co., Ltd. 
B450M DS3H/B450M DS3H-CF, BIOS F4 01/25/2019
Sep 04 15:05:02 surprise kernel: RIP: 0010:dev_watchdog+0x25b/0x270
Sep 04 15:05:02 surprise kernel: Code: 85 c0 75 e5 eb 9c 4c 89 ff c6 05 3a 29 
1d 01 01 e8 5a 7c fa ff 44 89 e9 4c 89 fe 48 c7 c7 b0 9b a5 ac 48 89 c2 e8 aa 
21 64 ff <0f> 0b e9 7a ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 0f
Sep 04 15:05:02 surprise kernel: RSP: 0018:b1c340003e78 EFLAGS: 00010286
Sep 04 15:05:02 surprise kernel: RAX:  RBX: 9a27782a 
RCX: 
Sep 04 15:05:02 surprise kernel: RDX: 9a278cc28fe0 RSI: 9a278cc18cc0 
RDI: 0300
Sep 04 15:05:02 surprise kernel: RBP: b1c340003ea8 R08: 0004 
R09: 053a
Sep 04 15:05:02 surprise kernel: R10:  R11: 0001 
R12: 9a27782a0080
Sep 04 15:05:02 surprise kernel: R13:  R14: 9a278ab9a480 
R15: 9a278ab9a000
Sep 04 15:05:02 surprise kernel: FS:  () 
GS:9a278cc0() knlGS:
Sep 04 15:05:02 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
Sep 04 15:05:02 surprise kernel: CR2: 55b1cb035468 CR3: 000400f86000 
CR4: 003506f0
Sep 04 15:05:02 surprise kernel: Call Trace:
Sep 04 15:05:02 surprise kernel:  
Sep 04 15:05:02 surprise kernel:  ? pfifo_fast_enqueue+0x150/0x150
Sep 04 15:05:02 surprise kernel:  call_timer_fn+0x32/0x130
Sep 04 15:05:02 surprise kernel:  __run_timers.part.0+0x1eb/0x270
Sep 04 15:05:02 surprise kernel:  run_timer_softirq+0x2a/0x50
Sep 04 15:05:02 surprise kernel:  __do_softirq+0xd0/0x2a5
Sep 04 15:05:02 surprise kernel:  asm_call_on_stack+0x12/0x20
Sep 04 15:05:02 surprise kernel:  
Sep 04 15:05:02 surprise kernel:  do_softirq_own_stack+0x3f/0x50
Sep 04 15:05:02 surprise kernel:  irq_exit_rcu+0x95/0xd0
Sep 04 15:05:02 surprise kernel:  sysvec_call_function_single+0x3d/0xa0
Sep 04 15:05:02 surprise kernel:  asm_sysvec_call_function_single+0x12/0x20
Sep 04 15:05:02 surprise kernel: RIP: 0010:cpuidle_enter_state+0xc2/0x390
Sep 04 15:05:02 surprise kernel: Code: f4 22 07 54 e8 ff 77 74 ff 48 89 45 d0 
0f 1f 44 00 00 31 ff e8 bf 83 74 ff 80 7d c7 00 0f 85 48 01 00 00 fb 66 0f 1f 
44 00 00 <45> 85 ed 0f 88 54 01 00 00 49 63 d5 48 8d 04 52 48 8d 0c d5 00 00
Sep 04 15:05:02 surprise kernel: RSP: 0018:ad003de8 EFLAGS: 0246
Sep 04 15:05:02 surprise kernel: RAX: 9a278cc2c680 RBX: 9a2779308c00 
RCX: 001f
Sep 04 15:05:02 surprise kernel: RDX:  RSI: 239f5376 
RDI: 
Sep 04 15:05:02 surprise kernel: RBP: ad003e28 R08: 000a3c3a75d2 
R09: 
Sep 04 15:05:02 surprise kernel: R10: 0f5e R11: 9a278cc2b324 
R12: ad180b80
Sep 04 15:05:02 surprise kernel: R13: 0002 R14: ad180c68 
R15: 0002
Sep 04 15:05:02 surprise kernel:  ? cpuidle_enter_state+0xb1/0x390
Sep 04 15:05:02 surprise kernel:  cpuidle_enter+0x2e/0x40
Sep 04 15:05:02 surprise kernel:  cpuidle_idle_call+0x132/0x1d0
Sep 04 15:05:02 surprise kernel:  do_idle+0x7a/0xe0
Sep 04 15:05:02 surprise kernel:  cpu_startup_entry+0x20/0x30
Sep 04 15:05:02 surprise kernel:  rest_init+0xae/0xb0
Sep 04 15:05:02 surprise kernel:  arch_call_rest_init+0xe/0x1b
Sep 04 15:05:02 surprise kernel:  start_kernel+0x43a/0x45a
Sep 04 15:05:02 surprise kernel:  x86_64_start_reservations+0x24/0x26
Sep 04 15:05:02 surprise kernel:  x86_64_start_kernel+0x8b/0x8f
Sep 04 15:05:02 surprise kernel:  secondary_startup_64+0xb6/0xc0
Sep 04 15:05:02 surprise kernel: ---[ end trace 02799b4d7b644ce5 ]---

** Changed in: linux (Ubuntu Groovy)
   Status: Incomplete => New

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

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-09-04 Thread Dan Watkins
I saw this traceback on the 4.15.18 mainline build:

Sep 04 14:47:41 surprise kernel: [ cut here ]
Sep 04 14:47:41 surprise kernel: NETDEV WATCHDOG: enp5s0 (r8169): transmit 
queue 0 timed out
Sep 04 14:47:41 surprise kernel: WARNING: CPU: 11 PID: 0 at 
/home/kernel/COD/linux/net/sched/sch_generic.c:323 dev_watchdog+0x221/0x230
Sep 04 14:47:41 surprise kernel: Modules linked in: devlink nft_meta nft_compat 
ipt_REJECT nf_reject_ipv4 xt_conntrack ipt_MASQUERADE nf_nat_masquerade_ipv4 
xt_CHECKSUM xt_comment xt_tcpudp nft_chain_route_ipv6 iptable_mangle 
iptable_nat nft_chain_nat_ipv6 nf_conntrack_ipv6 nf_def>
Sep 04 14:47:41 surprise kernel:  videodev joydev input_leds media snd_seq 
snd_seq_device irqbypass snd_timer k10temp wmi_bmof snd ccp nvidia_uvm(OE) 8250 
soundcore 8250_base shpchp mac_hid wmi iptable_filter ip6table_filter 
ip6_tables br_netfilter bridge stp llc arp_tables parpor>
Sep 04 14:47:41 surprise kernel: CPU: 11 PID: 0 Comm: swapper/11 Tainted: P 
  OE4.15.18-041518-generic #201804190330
Sep 04 14:47:41 surprise kernel: Hardware name: Gigabyte Technology Co., Ltd. 
B450M DS3H/B450M DS3H-CF, BIOS F4 01/25/2019
Sep 04 14:47:41 surprise kernel: RIP: 0010:dev_watchdog+0x221/0x230
Sep 04 14:47:41 surprise kernel: RSP: 0018:96204e8c3e58 EFLAGS: 00010286
Sep 04 14:47:41 surprise kernel: RAX:  RBX:  
RCX: 
Sep 04 14:47:41 surprise kernel: RDX: 00040400 RSI: 00f6 
RDI: 0300
Sep 04 14:47:41 surprise kernel: RBP: 96204e8c3e88 R08: 0001 
R09: 04c6
Sep 04 14:47:41 surprise kernel: R10: 96204e8c3ee0 R11:  
R12: 0001
Sep 04 14:47:41 surprise kernel: R13: 96204e32e000 R14: 96204e32e478 
R15: 96203bd19880
Sep 04 14:47:41 surprise kernel: FS:  () 
GS:96204e8c() knlGS:
Sep 04 14:47:41 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
Sep 04 14:47:41 surprise kernel: CR2: 7f564479a0c0 CR3: 00040adb 
CR4: 003406e0
Sep 04 14:47:41 surprise kernel: Call Trace:
Sep 04 14:47:41 surprise kernel:  
Sep 04 14:47:41 surprise kernel:  ? dev_deactivate_queue.constprop.33+0x60/0x60
Sep 04 14:47:41 surprise kernel:  call_timer_fn+0x30/0x130
Sep 04 14:47:41 surprise kernel:  run_timer_softirq+0x3fb/0x450
Sep 04 14:47:41 surprise kernel:  ? ktime_get+0x43/0xa0
Sep 04 14:47:41 surprise kernel:  ? lapic_next_event+0x20/0x30
Sep 04 14:47:41 surprise kernel:  __do_softirq+0xdf/0x2b2
Sep 04 14:47:41 surprise kernel:  irq_exit+0xb6/0xc0
Sep 04 14:47:41 surprise kernel:  smp_apic_timer_interrupt+0x71/0x130
Sep 04 14:47:41 surprise kernel:  apic_timer_interrupt+0x84/0x90
Sep 04 14:47:41 surprise kernel:  
Sep 04 14:47:41 surprise kernel: RIP: 0010:cpuidle_enter_state+0xa7/0x2f0
Sep 04 14:47:41 surprise kernel: RSP: 0018:abdc019fbe68 EFLAGS: 0246 
ORIG_RAX: ff11
Sep 04 14:47:41 surprise kernel: RAX: 96204e8e2880 RBX: 0013b8893c67 
RCX: 001f
Sep 04 14:47:41 surprise kernel: RDX: 0013b8893c67 RSI: fffc216ba992 
RDI: 
Sep 04 14:47:41 surprise kernel: RBP: abdc019fbea8 R08: 000105ec 
R09: 0018
Sep 04 14:47:41 surprise kernel: R10: abdc019fbe38 R11: 386e 
R12: 96203cae1800
Sep 04 14:47:41 surprise kernel: R13: 0002 R14: b1f80098 
R15: 
Sep 04 14:47:41 surprise kernel:  ? cpuidle_enter_state+0x97/0x2f0
Sep 04 14:47:41 surprise kernel:  cpuidle_enter+0x17/0x20
Sep 04 14:47:41 surprise kernel:  call_cpuidle+0x23/0x40
Sep 04 14:47:41 surprise kernel:  do_idle+0x18c/0x1f0
Sep 04 14:47:41 surprise kernel:  cpu_startup_entry+0x73/0x80
Sep 04 14:47:41 surprise kernel:  start_secondary+0x1a6/0x200
Sep 04 14:47:41 surprise kernel:  secondary_startup_64+0xa5/0xb0
Sep 04 14:47:41 surprise kernel: Code: 39 00 49 63 4e e8 eb 92 4c 89 ef c6 05 
87 d7 d9 00 01 e8 83 39 fd ff 89 d9 48 89 c2 4c 89 ee 48 c7 c7 c8 68 b8 b1 e8 
ff a4 81 ff <0f> 0b eb c0 90 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 
Sep 04 14:47:41 surprise kernel: ---[ end trace a02a9c8ad08e0a55 ]---

-- 
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:
  Incomplete
Status in linux source package in Focal:
  Incomplete
Status in linux source package in Groovy:
  Incomplete

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 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-09-04 Thread Dan Watkins
I just saw this again on 5.8.0-18-generic, and this time I did not
manually modify my networking state; I installed the new kernel and
rebooted into it, and the problem exhibited immediately.  (Fortunately,
for whatever reason, a reboot into Windows and back to -18 _has_ come up
with networking, so it isn't happening on every boot.)

I'll try a 4.15 kernel as requested in the last comment, and see what
happens.

-- 
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:
  Incomplete
Status in linux source package in Focal:
  Incomplete
Status in linux source package in Groovy:
  Incomplete

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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  Apr 23 10:07:43 surprise kernel: 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-09-04 Thread Dan Watkins
I just saw this again on 5.8.0-18-generic, and this time I did not
manually modify my networking state; I installed the new kernel and
rebooted into it, and the problem exhibited immediately.  (Fortunately,
for whatever reason, a reboot into Windows and back to -18 _has_ come up
with networking, so it isn't happening on every boot.)

I'll try a 4.15 kernel as requested in the last comment, and see what
happens.

-- 
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:
  Incomplete
Status in linux source package in Focal:
  Incomplete
Status in linux source package in Groovy:
  Incomplete

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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  Apr 23 10:07:43 surprise kernel: 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-07-06 Thread Kai-Heng Feng
https://wiki.ubuntu.com/Kernel/MainlineBuilds

-- 
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:
  Incomplete
Status in linux source package in Focal:
  Incomplete
Status in linux source package in Groovy:
  Incomplete

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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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:a90d4016fe38 EFLAGS: 0246 
ORIG_RAX: 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-07-06 Thread Dan Watkins
> Possible to try older kernel releases? Like 4.15?

I'm happy to try; how would I go about installing them on groovy?

-- 
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:
  Incomplete
Status in linux source package in Focal:
  Incomplete
Status in linux source package in Groovy:
  Incomplete

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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-07-06 Thread Kai-Heng Feng
Dan,

Possible to try older kernel releases? Like 4.15?

-- 
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:
  Incomplete
Status in linux source package in Focal:
  Incomplete
Status in linux source package in Groovy:
  Incomplete

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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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:a90d4016fe38 EFLAGS: 0246 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-07-06 Thread Dan Watkins
(I'm now running groovy on this system, in case that changes anything.)

-- 
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:
  Incomplete
Status in linux source package in Focal:
  Incomplete
Status in linux source package in Groovy:
  Incomplete

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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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:a90d4016fe38 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-07-06 Thread Dan Watkins
I have tested both rc3 and rc4; neither addresses the issue for me.  I
am seeing a slightly different call trace now though (this is from an
rc3 boot):

Jul 06 08:44:48 surprise kernel: [ cut here ]
Jul 06 08:44:48 surprise kernel: NETDEV WATCHDOG: enp5s0 (r8169): transmit 
queue 0 timed out
Jul 06 08:44:48 surprise kernel: WARNING: CPU: 15 PID: 0 at 
net/sched/sch_generic.c:442 dev_watchdog+0x25e/0x270
Jul 06 08:44:48 surprise kernel: Modules linked in: 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_nat nf_conntrack 
nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink bpfilter rdma_ucm ib_uverbs 
rdma_cm iw_cm ib_cm ib_core overlay snd_hda_codec_realtek snd_hda_codec_generic 
nls_iso8859_1 ledtrig_audio snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg 
snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event 
snd_rawmidi snd_seq snd_seq_device joydev snd_timer edac_mce_amd ucsi_ccg 
mousedev input_leds amd_energy typec_ucsi rapl wmi_bmof efi_pstore snd typec 
k10temp soundcore mac_hid sch_fq_codel kvm_amd ccp kvm iptable_filter 
ip6table_filter ip6_tables br_netfilter bridge stp llc arp_tables parport_pc 
ppdev lp parport drm backlight ip_tables x_tables autofs4 btrfs blake2b_generic 
xor raid6_pq libcrc32c dm_crypt hid_microsoft ff_memless hid_logitech_hidpp 
hid_logitech_dj hid_generic usbhid hid
Jul 06 08:44:48 surprise kernel:  crct10dif_pclmul crc32_pclmul 
ghash_clmulni_intel aesni_intel crypto_simd cryptd glue_helper r8169 i2c_piix4 
nvme ahci i2c_nvidia_gpu realtek xhci_pci nvme_core libahci xhci_pci_renesas 
wmi gpio_amdpt gpio_generic
Jul 06 08:44:48 surprise kernel: CPU: 15 PID: 0 Comm: swapper/15 Not tainted 
5.8.0-050800-generic #202006282330
Jul 06 08:44:48 surprise kernel: Hardware name: Gigabyte Technology Co., Ltd. 
B450M DS3H/B450M DS3H-CF, BIOS F4 01/25/2019
Jul 06 08:44:48 surprise kernel: RIP: 0010:dev_watchdog+0x25e/0x270
Jul 06 08:44:48 surprise kernel: Code: 85 c0 75 e5 eb 9c 4c 89 ff c6 05 eb ef 
22 01 01 e8 d7 d1 fa ff 44 89 e9 4c 89 fe 48 c7 c7 90 28 e8 b7 48 89 c2 e8 17 
1a 6a ff <0f> 0b e9 7a ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00
Jul 06 08:44:48 surprise kernel: RSP: 0018:a29e404b4e70 EFLAGS: 00010282
Jul 06 08:44:48 surprise kernel: RAX:  RBX: 943bca232600 
RCX: 
Jul 06 08:44:48 surprise kernel: RDX: 943bccfe9020 RSI: 943bccfd8cd0 
RDI: 0300
Jul 06 08:44:48 surprise kernel: RBP: a29e404b4ea0 R08: 0545 
R09: 0004
Jul 06 08:44:48 surprise kernel: R10:  R11: 0001 
R12: 0001
Jul 06 08:44:48 surprise kernel: R13:  R14: 943bca938480 
R15: 943bca938000
Jul 06 08:44:48 surprise kernel: FS:  () 
GS:943bccfc() knlGS:
Jul 06 08:44:48 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
Jul 06 08:44:48 surprise kernel: CR2: 7f507eb35160 CR3: 0003d81f4000 
CR4: 003406e0
Jul 06 08:44:48 surprise kernel: Call Trace:
Jul 06 08:44:48 surprise kernel:  
Jul 06 08:44:48 surprise kernel:  ? pfifo_fast_enqueue+0x150/0x150
Jul 06 08:44:48 surprise kernel:  call_timer_fn+0x32/0x130
Jul 06 08:44:48 surprise kernel:  run_timer_softirq+0x19b/0x4d0
Jul 06 08:44:48 surprise kernel:  ? lapic_next_event+0x21/0x30
Jul 06 08:44:48 surprise kernel:  ? clockevents_program_event+0x8f/0xe0
Jul 06 08:44:48 surprise kernel:  __do_softirq+0xe1/0x2d6
Jul 06 08:44:48 surprise kernel:  asm_call_on_stack+0x12/0x20
Jul 06 08:44:48 surprise kernel:  
Jul 06 08:44:48 surprise kernel:  do_softirq_own_stack+0x3f/0x50
Jul 06 08:44:48 surprise kernel:  irq_exit_rcu+0xa4/0xb0
Jul 06 08:44:48 surprise kernel:  sysvec_apic_timer_interrupt+0x3b/0x90
Jul 06 08:44:48 surprise kernel:  asm_sysvec_apic_timer_interrupt+0x12/0x20
Jul 06 08:44:48 surprise kernel: RIP: 0010:cpuidle_enter_state+0xca/0x3e0
Jul 06 08:44:48 surprise kernel: Code: ff e8 ea d9 79 ff 80 7d c7 00 74 17 9c 
58 0f 1f 44 00 00 f6 c4 02 0f 85 e4 02 00 00 31 ff e8 bd 93 80 ff fb 66 0f 1f 
44 00 00 <45> 85 e4 0f 88 39 02 00 00 49 63 d4 4c 8b 7d d0 4c 2b 7d c8 48 8d
Jul 06 08:44:48 surprise kernel: RSP: 0018:a29e4019fe38 EFLAGS: 0246
Jul 06 08:44:48 surprise kernel: RAX: 943bccfec6c0 RBX: 943bb94aa000 
RCX: 001f
Jul 06 08:44:48 surprise kernel: RDX:  RSI: 239f52d0 
RDI: 
Jul 06 08:44:48 surprise kernel: RBP: a29e4019fe78 R08: 000853f1dacf 
R09: 
Jul 06 08:44:48 surprise kernel: R10: 000f R11: 943bccfeb364 
R12: 0002
Jul 06 08:44:48 surprise kernel: R13: b857a1a0 R14: 0002 
R15: 943bb94aa000
Jul 06 08:44:48 surprise kernel:  ? cpuidle_enter_state+0xa6/0x3e0
Jul 06 08:44:48 surprise kernel:  cpuidle_enter+0x2e/0x40
Jul 06 08:44:48 surprise 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-07-02 Thread Kai-Heng Feng
Would it be possible for you to do a reverse kernel bisection?

First, find the first -rc kernel works and the last -rc kernel doesn’t
work from http://kernel.ubuntu.com/~kernel-ppa/mainline/

Then,
$ sudo apt build-dep linux
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
$ cd linux
$ git bisect start
$ git bisect new $(the working version you found)
$ git bisect old $(the non-working version found)
$ make localmodconfig
$ make -j`nproc` deb-pkg
Install the newly built kernel, then reboot with it.
If it doesn’t work,
$ git bisect old
Otherwise,
$ git bisect new
Repeat to "make -j`nproc` deb-pkg" until you find the commit fixes the issue.

-- 
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:
  Incomplete
Status in linux source package in Focal:
  Incomplete
Status in linux source package in Groovy:
  Incomplete

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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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
  

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-06-29 Thread Rene Meier
I tried the mainline kernel and the error is gone. What next?

-- 
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:
  Incomplete
Status in linux source package in Focal:
  Incomplete
Status in linux source package in Groovy:
  Incomplete

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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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:a90d4016fe38 EFLAGS: 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-06-29 Thread Kai-Heng Feng
If latest kernel doesn't work then we need to bisect between Bionic
kernel and Focal kernel.

-- 
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:
  Incomplete
Status in linux source package in Focal:
  Incomplete
Status in linux source package in Groovy:
  Incomplete

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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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: 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-06-29 Thread Kai-Heng Feng
Please test latest mainline kernel:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8-rc3/

-- 
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:
  Incomplete
Status in linux source package in Focal:
  Incomplete
Status in linux source package in Groovy:
  Incomplete

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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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: 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-06-04 Thread Dan Watkins
OK, I just did the following (all on 5.4.0-33-generic):

* modified /etc/default/grub to include " pcie_aspm=off" in the kernel command 
line
* `update-grub`
* `reboot`
* double-checked that "pcie_aspm=off" was in the kernel command line, then 
booted
* once booted and logged in, I disabled networking

Unfortunately:

* re-enabling networking did not restore my network connection
* rebooting did not restore my network connection
* only rebooting into Windows fixed my network connection
* I see the same trace on the boots with broken networking as in the original 
report

AFAICT, the kernel command line option had no effect on the issue at
hand.

Anything else I can try?

-- 
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:
  Incomplete
Status in linux source package in Focal:
  Incomplete
Status in linux source package in Groovy:
  Incomplete

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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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
 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-06-04 Thread Dan Watkins
I'll try the command line change after my morning meetings; here's the
requested debug output:

$ sudo lspci -xxxs 00:01.3
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
00h-0fh) PCIe GPP Bridge
00: 22 10 53 14 07 04 10 00 00 00 04 06 10 00 81 00
10: 00 00 00 00 00 00 00 00 00 02 06 00 f1 f1 00 20
20: 50 f7 60 f7 21 f2 21 f2 00 00 00 00 00 00 00 00
30: 00 00 00 00 50 00 00 00 00 00 00 00 ff 00 12 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 01 58 03 c8 00 00 00 00 10 a0 42 01 22 80 00 00
60: 1f 29 00 00 43 f8 72 02 40 00 43 70 00 00 04 00
70: 00 00 40 01 18 00 01 00 00 00 00 00 bf 01 70 00
80: 06 00 00 00 0e 00 00 00 03 00 1f 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 05 c0 81 00 00 00 e0 fe 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 0d c8 00 00 22 10 53 14 08 00 03 a8 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

$ sudo lspci -xxxs 05:00.0
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 
PCI Express Gigabit Ethernet Controller (rev 0c)
00: ec 10 68 81 07 04 10 00 0c 00 00 02 10 00 00 00
10: 01 f0 00 00 00 00 00 00 04 00 50 f7 00 00 00 00
20: 0c 00 20 f2 00 00 00 00 00 00 00 00 58 14 00 e0
30: 00 00 00 00 40 00 00 00 00 00 00 00 0a 01 00 00
40: 01 50 c3 ff 08 00 00 00 00 00 00 00 00 00 00 00
50: 05 70 80 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 10 b0 02 02 c0 8c 68 00 10 50 19 00 11 7c 47 00
80: 40 00 11 10 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 1f 08 0c 00 00 00 00 00 02 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 11 d0 03 80 04 00 00 00 04 08 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

-- 
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:
  Incomplete
Status in linux source package in Focal:
  Incomplete
Status in linux source package in Groovy:
  Incomplete

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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-06-04 Thread Rene Meier
I can confirm this error on my system after upgrade from bionic to
focal. System works "normaly" but error appears in the logs.

Adding "pcie_aspm=off" does not help in my case.

-- 
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:
  Incomplete
Status in linux source package in Focal:
  Incomplete
Status in linux source package in Groovy:
  Incomplete

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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-06-04 Thread Rene Meier
here comes the error:

[   60.259403] [ cut here ]
[   60.259405] NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out
[   60.259416] WARNING: CPU: 6 PID: 0 at net/sched/sch_generic.c:447 
dev_watchdog+0x258/0x260
[   60.259417] Modules linked in: vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) 
nf_tables nfnetlink ip6table_filter ip6_tables iptable_filter bpfilter aufs 
overlay nls_iso8859_1 snd_hda_codec_hdmi intel_rapl_msr mei_hdcp 
snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_intel 
snd_intel_dspcfg snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi 
snd_seq_midi_event snd_rawmidi intel_rapl_common bridge x86_pkg_temp_thermal 
intel_powerclamp stp snd_seq llc coretemp kvm_intel snd_seq_device kvm 
input_leds snd_timer intel_cstate intel_rapl_perf eeepc_wmi asus_wmi 
sparse_keymap wmi_bmof snd soundcore mei_me mei mac_hid acpi_pad sch_fq_codel 
parport_pc ppdev lp parport nfsd auth_rpcgss nfs_acl lockd grace sunrpc 
ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov 
async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 
multipath linear hid_generic usbhid hid uas usb_storage crct10dif_pclmul 
crc32_pclmul ghash_clmulni_intel aesni_intel
[   60.259438]  crypto_simd i915 mxm_wmi i2c_algo_bit cryptd glue_helper 
drm_kms_helper nvme syscopyarea sysfillrect sysimgblt fb_sys_fops r8169 
i2c_i801 drm nvme_core ahci realtek libahci wmi video
[   60.259444] CPU: 6 PID: 0 Comm: swapper/6 Tainted: G   OE 
5.4.0-33-generic #37-Ubuntu
[   60.259445] Hardware name: bluechip Computer AG BUSINESSline/Z170-K, BIOS 
3805 05/16/2018
[   60.259446] RIP: 0010:dev_watchdog+0x258/0x260
[   60.259447] Code: 85 c0 75 e5 eb 9f 4c 89 ff c6 05 ef f6 e7 00 01 e8 6d bb 
fa ff 44 89 e9 4c 89 fe 48 c7 c7 40 73 e3 8f 48 89 c2 e8 03 30 71 ff <0f> 0b eb 
80 0f 1f 40 00 0f 1f 44 00 00 55 48 89 e5 41 57 49 89 d7
[   60.259448] RSP: 0018:af7200234e30 EFLAGS: 00010286
[   60.259448] RAX:  RBX: 9c6ded99fa00 RCX: 0006
[   60.259449] RDX: 0007 RSI: 0096 RDI: 9c6df6b978c0
[   60.259449] RBP: af7200234e60 R08: 04a0 R09: 0004
[   60.259450] R10:  R11: 0001 R12: 0001
[   60.259450] R13:  R14: 9c6defed4480 R15: 9c6defed4000
[   60.259451] FS:  () GS:9c6df6b8() 
knlGS:
[   60.259451] CS:  0010 DS:  ES:  CR0: 80050033
[   60.259452] CR2: 1a62928112d0 CR3: 0009e1e0a002 CR4: 003606e0
[   60.259452] DR0:  DR1:  DR2: 
[   60.259453] DR3:  DR6: fffe0ff0 DR7: 0400
[   60.259453] Call Trace:
[   60.259454]  
[   60.259456]  ? pfifo_fast_enqueue+0x150/0x150
[   60.259458]  call_timer_fn+0x32/0x130
[   60.259459]  __run_timers.part.0+0x180/0x280
[   60.259461]  ? timerqueue_add+0x68/0xb0
[   60.259462]  ? enqueue_hrtimer+0x3d/0x90
[   60.259464]  ? recalibrate_cpu_khz+0x10/0x10
[   60.259465]  ? ktime_get+0x3e/0xa0
[   60.259466]  run_timer_softirq+0x2a/0x50
[   60.259467]  __do_softirq+0xe1/0x2d6
[   60.259468]  ? hrtimer_interrupt+0x13b/0x220
[   60.259469]  irq_exit+0xae/0xb0
[   60.259470]  smp_apic_timer_interrupt+0x7b/0x140
[   60.259472]  apic_timer_interrupt+0xf/0x20
[   60.259472]  
[   60.259473] RIP: 0010:cpuidle_enter_state+0xc5/0x450
[   60.259474] Code: ff e8 9f 04 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 f2 74 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
[   60.259475] RSP: 0018:af72000efe38 EFLAGS: 0246 ORIG_RAX: 
ff13
[   60.259475] RAX: 9c6df6baad00 RBX: 90159dc0 RCX: 001f
[   60.259476] RDX:  RSI: 1fef9fcd RDI: 
[   60.259476] RBP: af72000efe78 R08: 000e07bd779e R09: 0335
[   60.259477] R10: 9c6df6ba9a00 R11: 9c6df6ba99e0 R12: 9c6df6bb5700
[   60.259477] R13: 0002 R14: 0002 R15: 9c6df6bb5700
[   60.259478]  ? cpuidle_enter_state+0xa1/0x450
[   60.259479]  cpuidle_enter+0x2e/0x40
[   60.259480]  call_cpuidle+0x23/0x40
[   60.259481]  do_idle+0x1dd/0x270
[   60.259482]  cpu_startup_entry+0x20/0x30
[   60.259483]  start_secondary+0x167/0x1c0
[   60.259485]  secondary_startup_64+0xa4/0xb0
[   60.259486] ---[ end trace acbef11636a70d66 ]---

-- 
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:
  Incomplete
Status in linux source package in Focal:
  Incomplete
Status in linux source package in Groovy:
  Incomplete

Bug description:
  Running focal on a desktop, I 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-06-04 Thread AceLan Kao
** Also affects: linux (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Groovy)
   Importance: Undecided
   Status: Incomplete

** Changed in: linux (Ubuntu Focal)
   Status: New => Incomplete

-- 
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:
  Incomplete
Status in linux source package in Focal:
  Incomplete
Status in linux source package in Groovy:
  Incomplete

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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-06-03 Thread Kai-Heng Feng
Ok, it's LP: #1874464.

Does this issue also happen on System76 platforms?
In addition to L1.1, does it help if L1.2 gets disabled?

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

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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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:a90d4016fe38 EFLAGS: 0246 
ORIG_RAX: ff13
  Apr 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-06-03 Thread Kai-Heng Feng
Jeremy, the link you provided is the same as this bug.

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

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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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:a90d4016fe38 EFLAGS: 0246 
ORIG_RAX: ff13
  Apr 23 10:07:43 surprise kernel: RAX: 8a758ee6ad00 RBX: b4d69160 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-06-03 Thread AceLan Kao
Dan,

Please try Kai-Heng's suggestion adding "pcie_aspm=off" to see if it helps
If it does, please also attach the following logs
   1. sudo lspci -xxxs 00:01.3
   2. sudo lspci -xxxs 05:00.0

Thanks.

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

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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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: 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-06-03 Thread Jeremy Soller
I believe https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1874464/
is the cause.

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

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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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:a90d4016fe38 EFLAGS: 0246 
ORIG_RAX: ff13
  Apr 23 10:07:43 surprise kernel: RAX: 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-05-26 Thread Kai-Heng Feng
Can you please test kernel parameter "pcie_aspm=off"?

** Changed in: linux (Ubuntu)
   Status: Confirmed => Incomplete

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

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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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:a90d4016fe38 EFLAGS: 0246 
ORIG_RAX: ff13
  Apr 23 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-05-26 Thread Nisalon Caje
I have the exact same bug on focal.

But it happens randomly to me, while my server is under load. 
2 of the servers I migrated to focal have the same issue (not in the same DC), 
so it excludes a hardware issue from ths particular machine.

Here is my syslog
May 26 10:04:15 service01K kernel: [161735.901135] [ cut here 
]
May 26 10:04:15 service01K kernel: [161735.901136] NETDEV WATCHDOG: eth1 
(ixgbe): transmit queue 2 timed out
May 26 10:04:15 service01K kernel: [161735.901145] WARNING: CPU: 1 PID: 0 at 
net/sched/sch_generic.c:447 dev_watchdog+0x258/0x260
May 26 10:04:15 service01K kernel: [161735.901146] Modules linked in: 
ipt_REJECT nf_reject_ipv4 xt_multiport isofs ip6table_filter ip6_tables 
xt_tcpudp xt_state xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 
iptable_filter bpfilter nls_iso8859_1 dm_multipath scsi_dh_rdac scsi_dh_emc 
scsi_dh_alua ipmi_ssif kvm_intel kvm joydev input_leds ipmi_si ipmi_devintf 
ipmi_msghandler video acpi_pad acpi_tad sch_fq_codel ip_tables x_tables autofs4 
raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor 
raid6_pq libcrc32c raid0 multipath linear hid_generic uas usbhid hid 
usb_storage raid1 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel 
i2c_algo_bit drm_vram_helper ttm drm_kms_helper syscopyarea aesni_intel 
sysfillrect sysimgblt crypto_simd fb_sys_fops ixgbe cryptd glue_helper nvme drm 
xfrm_algo ahci dca mdio libahci nvme_core
May 26 10:04:15 service01K kernel: [161735.901163] CPU: 1 PID: 0 Comm: 
swapper/1 Not tainted 5.4.0-31-generic #35-Ubuntu
May 26 10:04:15 service01K kernel: [161735.901163] Hardware name: To Be Filled 
By O.E.M. To Be Filled By O.E.M./E3C246D4U2-2T, BIOS L2.02K 12/18/2019
May 26 10:04:15 service01K kernel: [161735.901164] RIP: 
0010:dev_watchdog+0x258/0x260
May 26 10:04:15 service01K kernel: [161735.901165] Code: 85 c0 75 e5 eb 9f 4c 
89 ff c6 05 ef f6 e7 00 01 e8 6d bb fa ff 44 89 e9 4c 89 fe 48 c7 c7 40 73 43 
ba 48 89 c2 e8 03 30 71 ff <0f> 0b eb 80 0f 1f 40 00 0f 1f 44 00 00 55 48 89 e5 
41 57 49 89 d7
May 26 10:04:15 service01K kernel: [161735.901165] RSP: 0018:b8774003ce30 
EFLAGS: 00010286
May 26 10:04:15 service01K kernel: [161735.901166] RAX:  RBX: 
891bdf924ec0 RCX: 0006
May 26 10:04:15 service01K kernel: [161735.901166] RDX: 0007 RSI: 
0096 RDI: 891bee8578c0
May 26 10:04:15 service01K kernel: [161735.901167] RBP: b8774003ce60 R08: 
046b R09: 0004
May 26 10:04:15 service01K kernel: [161735.901167] R10:  R11: 
0001 R12: 0040
May 26 10:04:15 service01K kernel: [161735.901167] R13: 0002 R14: 
891bdf980480 R15: 891bdf98
May 26 10:04:15 service01K kernel: [161735.901168] FS:  () 
GS:891bee84() knlGS:
May 26 10:04:15 service01K kernel: [161735.901168] CS:  0010 DS:  ES:  
CR0: 80050033
May 26 10:04:15 service01K kernel: [161735.901169] CR2: 7fb0077d6148 CR3: 
000894f1c006 CR4: 003606e0
May 26 10:04:15 service01K kernel: [161735.901169] DR0:  DR1: 
 DR2: 
May 26 10:04:15 service01K kernel: [161735.901169] DR3:  DR6: 
fffe0ff0 DR7: 0400
May 26 10:04:15 service01K kernel: [161735.901170] Call Trace:
May 26 10:04:15 service01K kernel: [161735.901171]  
May 26 10:04:15 service01K kernel: [161735.901173]  ? 
pfifo_fast_enqueue+0x150/0x150
May 26 10:04:15 service01K kernel: [161735.901175]  call_timer_fn+0x32/0x130
May 26 10:04:15 service01K kernel: [161735.901176]  
__run_timers.part.0+0x180/0x280
May 26 10:04:15 service01K kernel: [161735.901177]  ? enqueue_hrtimer+0x3d/0x90
May 26 10:04:15 service01K kernel: [161735.901178]  ? 
recalibrate_cpu_khz+0x10/0x10
May 26 10:04:15 service01K kernel: [161735.901179]  ? ktime_get+0x3e/0xa0
May 26 10:04:15 service01K kernel: [161735.901180]  run_timer_softirq+0x2a/0x50
May 26 10:04:15 service01K kernel: [161735.901181]  __do_softirq+0xe1/0x2d6
May 26 10:04:15 service01K kernel: [161735.901182]  ? 
hrtimer_interrupt+0x13b/0x220
May 26 10:04:15 service01K kernel: [161735.901183]  irq_exit+0xae/0xb0
May 26 10:04:15 service01K kernel: [161735.901184]  
smp_apic_timer_interrupt+0x7b/0x140
May 26 10:04:15 service01K kernel: [161735.901185]  
apic_timer_interrupt+0xf/0x20
May 26 10:04:15 service01K kernel: [161735.901186]  
May 26 10:04:15 service01K kernel: [161735.901187] RIP: 
0010:cpuidle_enter_state+0xc5/0x450
May 26 10:04:15 service01K kernel: [161735.901187] Code: ff e8 9f 04 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 f2 74 
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
May 26 10:04:15 service01K kernel: [161735.901188] RSP: 0018:b877400e3e38 
EFLAGS: 0246 ORIG_RAX: ff13
May 26 10:04:15 service01K kernel: 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-04-27 Thread You-Sheng Yang
** Tags added: hwe-networking-ethernet

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

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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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:a90d4016fe38 EFLAGS: 0246 
ORIG_RAX: ff13
  Apr 23 10:07:43 surprise kernel: RAX: 8a758ee6ad00 RBX: b4d69160 
RCX: 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-04-27 Thread Dan Watkins
I'd be happy to assist in debugging this, is there anything I can do to
help track it down?

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

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:a90d40378e30 EFLAGS: 00010286
  Apr 23 10:07:43 surprise kernel: RAX:  RBX: 8a7578b00400 
RCX: 
  Apr 23 10:07:43 surprise kernel: RDX: 8a758ee67740 RSI: 8a758ee578c8 
RDI: 0300
  Apr 23 10:07:43 surprise kernel: RBP: a90d40378e60 R08: 8a758ee578c8 
R09: 0004
  Apr 23 10:07:43 surprise kernel: R10:  R11: 0001 
R12: 0001
  Apr 23 10:07:43 surprise kernel: R13:  R14: 8a758cadc480 
R15: 8a758cadc000
  Apr 23 10:07:43 surprise kernel: FS:  () 
GS:8a758ee4() knlGS:
  Apr 23 10:07:43 surprise kernel: CS:  0010 DS:  ES:  CR0: 
80050033
  Apr 23 10:07:43 surprise kernel: CR2: 7f4d2000d5eb CR3: 0003fcfe2000 
CR4: 003406e0
  Apr 23 10:07:43 surprise kernel: Call Trace:
  Apr 23 10:07:43 surprise kernel:  
  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:  
  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:a90d4016fe38 EFLAGS: 0246 
ORIG_RAX: ff13
  Apr 23 10:07:43 surprise kernel: RAX: 

[Kernel-packages] [Bug 1874464] Re: NETDEV WATCHDOG: enp5s0 (r8169): transmit queue 0 timed out

2020-04-23 Thread Dan Watkins
Here are the NetworkManager logs when I first disabled my networking
(note that ensp5s0 does get its link up reported correctly, but no
traffic seems to go over it):

Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.1626] 
manager: disable requested (sleeping: no  enabled: yes)
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.1627] 
manager: NetworkManager state is now ASLEEP
Apr 23 09:42:54 surprise dbus-daemon[1280]: [system] Activating via systemd: 
service name='org.freedesktop.nm_dispatcher' 
unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.9' (uid=0 
pid=1281 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.1654] device 
(enp5s0): state change: activated -> deactivating (reason 'sleeping', 
sys-iface-state: 'managed')
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.1695] device 
(virbr0): state change: activated -> deactivating (reason 'sleeping', 
sys-iface-state: 'external')
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.1703] device 
(lxdbr0): state change: activated -> deactivating (reason 'sleeping', 
sys-iface-state: 'external')
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.1711] device 
(docker0): state change: activated -> deactivating (reason 'sleeping', 
sys-iface-state: 'external')
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.1718] device 
(tun0): state change: activated -> deactivating (reason 'sleeping', 
sys-iface-state: 'external')
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.1744] device 
(mpqemubr0): state change: activated -> deactivating (reason 'sleeping', 
sys-iface-state: 'external')
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.1754] device 
(tap-2eb5e2d1a05): state change: activated -> deactivating (reason 'sleeping', 
sys-iface-state: 'external')
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.1756] device 
(mpqemubr0): bridge port tap-2eb5e2d1a05 was detached
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.1756] device 
(tap-2eb5e2d1a05): released from master device mpqemubr0
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.1764] device 
(tap-8b9ffd8bf3f): state change: activated -> deactivating (reason 'sleeping', 
sys-iface-state: 'external')
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.1765] device 
(mpqemubr0): bridge port tap-8b9ffd8bf3f was detached
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.1765] device 
(tap-8b9ffd8bf3f): released from master device mpqemubr0
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.2065] device 
(enp5s0): state change: deactivating -> disconnected (reason 'sleeping', 
sys-iface-state: 'managed')
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.2124] dhcp4 
(enp5s0): canceled DHCP transaction
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.2124] dhcp4 
(enp5s0): state changed extended -> done
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.2132] dhcp6 
(enp5s0): canceled DHCP transaction
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.2133] dhcp6 
(enp5s0): state changed bound -> done
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.2455] 
vpn-connection[0x55a3ea09c330,6c36b60c-84e0-42b3-85d0-8ddb549add83,"us-dwatkins",0]:
 VPN plugin: state changed: stopping (5)
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.2455] 
vpn-connection[0x55a3ea09c330,6c36b60c-84e0-42b3-85d0-8ddb549add83,"us-dwatkins",0]:
 VPN plugin: state changed: stopped (6)
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.2466] device 
(enp5s0): state change: disconnected -> unmanaged (reason 'sleeping', 
sys-iface-state: 'managed')
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.3121] device 
(virbr0): state change: deactivating -> disconnected (reason 'sleeping', 
sys-iface-state: 'external')
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.3588] device 
(lxdbr0): state change: deactivating -> disconnected (reason 'sleeping', 
sys-iface-state: 'external')
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.3655] device 
(docker0): state change: deactivating -> disconnected (reason 'sleeping', 
sys-iface-state: 'external')
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.3760] device 
(tun0): state change: deactivating -> disconnected (reason 'sleeping', 
sys-iface-state: 'external')
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.3819] device 
(mpqemubr0): state change: deactivating -> disconnected (reason 'sleeping', 
sys-iface-state: 'external')
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.4358] device 
(tap-2eb5e2d1a05): state change: deactivating -> disconnected (reason 
'sleeping', sys-iface-state: 'external')
Apr 23 09:42:54 surprise NetworkManager[1281]:   [1587649374.4381] device 
(tap-8b9ffd8bf3f): state change: