Bug 71191 - WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:264 dev_watchdog+0x266/0x270()
Summary: WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:264 dev_watchdog+0x266/0x270()
Status: ASSIGNED
Alias: None
Product: Drivers
Classification: Unclassified
Component: Network (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Francois Romieu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-26 20:51 UTC by Mikhail
Modified: 2020-05-07 11:54 UTC (History)
5 users (show)

See Also:
Kernel Version: 3.13.5
Subsystem:
Regression: No
Bisected commit-id:


Attachments
kernel log (91.57 KB, text/x-log)
2014-02-26 20:51 UTC, Mikhail
Details
r8169 debug helper (2.72 KB, patch)
2014-02-26 23:08 UTC, Francois Romieu
Details | Diff

Description Mikhail 2014-02-26 20:51:12 UTC
Created attachment 127491 [details]
kernel log

[ 3909.248291] ------------[ cut here ]------------
[ 3909.248297] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:264 dev_watchdog+0x266/0x270()
[ 3909.248298] NETDEV WATCHDOG: p4p1 (r8169): transmit queue 0 timed out
[ 3909.248299] Modules linked in: rfcomm nls_utf8 isofs fuse ip6t_rpfilter ip6t_REJECT xt_conntrack cfg80211 ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw bnep btusb bluetooth hid_logitech_dj joydev rfkill usb_storage iTCO_wdt iTCO_vendor_support ppdev snd_hda_codec_realtek x86_pkg_temp_thermal coretemp kvm_intel vfat kvm fat snd_hda_codec_hdmi snd_hda_intel crct10dif_pclmul crc32_pclmul snd_hda_codec crc32c_intel snd_hwdep ghash_clmulni_intel snd_seq snd_seq_device snd_pcm r8169 mii microcode mei_me mei snd_page_alloc snd_timer lpc_ich
[ 3909.248322]  shpchp snd i2c_i801 soundcore mfd_core serio_raw parport_pc parport binfmt_misc i915 i2c_algo_bit drm_kms_helper drm i2c_core video
[ 3909.248329] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.13.5-200.fc20.x86_64 #1
[ 3909.248340] Hardware name: Gigabyte Technology Co., Ltd. Z87M-D3H/Z87M-D3H, BIOS F9 01/20/2014
[ 3909.248341]  0000000000000009 ffff88083f203db0 ffffffff81686fdc ffff88083f203df8
[ 3909.248343]  ffff88083f203de8 ffffffff8106d47d 0000000000000000 ffff8800b8848000
[ 3909.248344]  0000000000000001 0000000000000000 ffff8800b8848000 ffff88083f203e48
[ 3909.248346] Call Trace:
[ 3909.248347]  <IRQ>  [<ffffffff81686fdc>] dump_stack+0x45/0x56
[ 3909.248354]  [<ffffffff8106d47d>] warn_slowpath_common+0x7d/0xa0
[ 3909.248355]  [<ffffffff8106d4ec>] warn_slowpath_fmt+0x4c/0x50
[ 3909.248358]  [<ffffffff815a4a96>] dev_watchdog+0x266/0x270
[ 3909.248359]  [<ffffffff815a4830>] ? dev_graft_qdisc+0x80/0x80
[ 3909.248362]  [<ffffffff81078eb6>] call_timer_fn+0x36/0x100
[ 3909.248373]  [<ffffffff815a4830>] ? dev_graft_qdisc+0x80/0x80
[ 3909.248375]  [<ffffffff8107955a>] run_timer_softirq+0x1ea/0x290
[ 3909.248377]  [<ffffffff8107257c>] __do_softirq+0xec/0x280
[ 3909.248378]  [<ffffffff81072a1d>] irq_exit+0xbd/0xd0
[ 3909.248381]  [<ffffffff81698285>] smp_apic_timer_interrupt+0x45/0x60
[ 3909.248383]  [<ffffffff81696c1d>] apic_timer_interrupt+0x6d/0x80
[ 3909.248384]  <EOI>  [<ffffffff815317d2>] ? cpuidle_enter_state+0x52/0xc0
[ 3909.248387]  [<ffffffff815318f9>] cpuidle_idle_call+0xb9/0x1f0
[ 3909.248390]  [<ffffffff8101c8fe>] arch_cpu_idle+0xe/0x30
[ 3909.248393]  [<ffffffff810c05e5>] cpu_startup_entry+0xc5/0x290
[ 3909.248395]  [<ffffffff81678d27>] rest_init+0x77/0x80
[ 3909.248398]  [<ffffffff81d22f5c>] start_kernel+0x439/0x444
[ 3909.248399]  [<ffffffff81d2292c>] ? repair_env_string+0x5c/0x5c
[ 3909.248401]  [<ffffffff81d22120>] ? early_idt_handlers+0x120/0x120
[ 3909.248402]  [<ffffffff81d225de>] x86_64_start_reservations+0x2a/0x2c
[ 3909.248403]  [<ffffffff81d2271e>] x86_64_start_kernel+0x13e/0x14d
[ 3909.248404] ---[ end trace ec86fade884a2d17 ]---
[ 3909.322070] r8169 0000:02:00.0 p4p1: rtl_txcfg_empty_cond == 0 (loop: 666, delay: 100).
[ 3909.324191] r8169 0000:02:00.0 p4p1: link up
[ 3963.292670] r8169 0000:02:00.0 p4p1: rtl_txcfg_empty_cond == 0 (loop: 666, delay: 100).
[ 3963.294785] r8169 0000:02:00.0 p4p1: link up
[ 3986.303736] r8169 0000:02:00.0 p4p1: link down
[ 4017.856241] r8169 0000:02:00.0 p4p1: link up
Comment 1 Francois Romieu 2014-02-26 23:08:33 UTC
Created attachment 127541 [details]
r8169 debug helper
Comment 2 Francois Romieu 2014-02-26 23:25:25 UTC
Mikhail,(In reply to Francois Romieu from comment #1)
> Created attachment 127541 [details]
> r8169 debug helper

Please send dmesg when watchdog triggers with debug patch applied. It may be
verbose.

You can try to increase the "666" value in rtl8169_hw_reset, say four or
tenfold, if the network device is not able to recover.

-- 
Ueimor
Comment 3 q4break 2015-07-11 19:25:21 UTC
I might be experiencing the same issue, added stack traces here https://bugzilla.kernel.org/show_bug.cgi?id=99521
Comment 4 ilmostro7 2015-11-04 10:10:38 UTC
[88870.062137] e1000e 0000:00:19.0 enp0s25: Detected Hardware Unit Hang:                                                                                                                                                              [99/1970]
  TDH                  <12>
  TDT                  <5e>
  next_to_use          <5e>
  next_to_clean        <10>
buffer_info[next_to_clean]:
  time_stamp           <105475086>
  next_to_watch        <12>
  jiffies              <105475c14>
  next_to_watch.status <0>
MAC Status             <80083>
PHY Status             <796d>
PHY 1000BASE-T Status  <7800>
PHY Extended Status    <3000>
PCI Status             <10>
[88872.062317] e1000e 0000:00:19.0 enp0s25: Detected Hardware Unit Hang:
  TDH                  <12>
  TDT                  <5e>
  next_to_use          <5e>
  next_to_clean        <10>
buffer_info[next_to_clean]:
  time_stamp           <105475086>
  next_to_watch        <12>
  jiffies              <1054763e4>
  next_to_watch.status <0>
MAC Status             <80083>
PHY Status             <796d>
PHY 1000BASE-T Status  <7800>
PHY Extended Status    <3000>
PCI Status             <10>
[88874.062495] e1000e 0000:00:19.0 enp0s25: Detected Hardware Unit Hang:
  TDH                  <12>
  TDT                  <5e>
  next_to_use          <5e>
  next_to_clean        <10>
buffer_info[next_to_clean]:
  time_stamp           <105475086>
  next_to_watch        <12>
  jiffies              <105476bb4>
  next_to_watch.status <0>
MAC Status             <80083>
PHY Status             <796d>
PHY 1000BASE-T Status  <7800>
PHY Extended Status    <3000>
PCI Status             <10>
[88876.062628] e1000e 0000:00:19.0 enp0s25: Detected Hardware Unit Hang:
  TDH                  <12>
  TDT                  <5e>
  next_to_use          <5e>
  next_to_clean        <10>
buffer_info[next_to_clean]:
  time_stamp           <105475086>
  next_to_watch        <12>
  jiffies              <105477384>
  next_to_watch.status <0>
MAC Status             <80083>
PHY Status             <796d>
PHY 1000BASE-T Status  <7800>
PHY Extended Status    <3000>
PCI Status             <10>
[88877.065971] ------------[ cut here ]------------
[88877.066010] WARNING: at net/sched/sch_generic.c:259 dev_watchdog+0x270/0x280()                                                                                                                                                     [38/1970]
[88877.066018] NETDEV WATCHDOG: enp0s25 (e1000e): transmit queue 0 timed out
[88877.066023] Modules linked in: cdc_acm hidp rfcomm fuse cmac rmd160 crypto_null ip_vti ip_tunnel af_key ah6 ah4 esp6 esp4 xfrm4_mode_beet xfrm4_tunnel tunnel4 xfrm4_mode_tunnel xfrm4_mode_transport xfrm6_mode_transport xfrm6_mode_ro xfr
m6_mode_beet xfrm6_mode_tunnel ipcomp ipcomp6 xfrm6_tunnel tunnel6 xfrm_ipcomp sha1_ssse3 xt_set salsa20_x86_64 xt_multiport ip_set_hash_ip ip_set nfnetlink camellia_generic camellia_aesni_avx_x86_64 camellia_x86_64 xt_CHECKSUM cast6_avx_x
86_64 cast6_generic cast5_avx_x86_64 cast5_generic cast_common deflate zlib_deflate cts tun gcm serpent_avx_x86_64 serpent_sse2_x86_64 serpent_generic blowfish_generic blowfish_x86_64 blowfish_common twofish_generic twofish_avx_x86_64 twof
ish_x86_64_3way xts twofish_x86_64 twofish_common xcbc sha256_ssse3 sha512_ssse3 sha512_generic
[88877.066096]  des_generic tpm_rng timeriomem_rng ccm ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ftp ip6t_rpfilter ip6t_REJECT ipt_REJECT xt_conntrack ebtable_nat ebtable_broute bridg
e stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntr
ack iptable_mangle iptable_security iptable_raw iptable_filter bnep dm_crypt drbg ansi_cprng snd_hda_codec_hdmi ext4 mbcache jbd2 intel_powerclamp coretemp iTCO_wdt iTCO_vendor_support intel_rapl kvm_intel kvm arc4 crc32_pclmul crc32c_inte
l ghash_clmulni_intel iwldvm aesni_intel lrw gf128mul glue_helper ablk_helper cryptd mac80211
[88877.066126]  snd_hda_codec_conexant snd_hda_codec_generic btusb uvcvideo videobuf2_vmalloc snd_hda_intel videobuf2_memops videobuf2_core snd_hda_controller bluetooth videodev snd_hda_codec pcspkr i2c_i801 sg sdhci_pci snd_hwdep iwlwifi 
snd_seq sdhci r8169 snd_seq_device cfg80211 mmc_core lpc_ich snd_pcm mfd_core mii mei_me mei thinkpad_acpi snd_timer shpchp snd soundcore rfkill sch_fq_codel binfmt_misc virtio_blk nfsd nfs_acl lockd auth_rpcgss sunrpc ip_tables xfs libcrc
32c sd_mod crc_t10dif crct10dif_generic nvidia(POF) ahci libahci crct10dif_pclmul libata crct10dif_common serio_raw firewire_ohci drm e1000e firewire_core crc_itu_t wmi video dm_mirror dm_region_hash dm_log dm_mod virtio_pci virtio_net vir
tio_rng virtio_ring virtio igb dca ptp pps_core i2c_algo_bit i2c_core
[88877.066165] CPU: 0 PID: 0 Comm: swapper/0 Tainted: PF          O--------------   3.10.0-229.14.1.el7.x86_64 #1
[88877.066166] Hardware name: LENOVO 42762QU/42762QU, BIOS 8BET62WW (1.42 ) 07/26/2013
[88877.066168]  ffff88043dc03d88 ec97c01d2b64c953 ffff88043dc03d40 ffffffff81604516
[88877.066171]  ffff88043dc03d78 ffffffff8106e29b 0000000000000000 ffff8800b7728000
[88877.066174]  ffff88041e84c480 0000000000000001 0000000000000000 ffff88043dc03de0
[88877.066176] Call Trace:
[88877.066178]  <IRQ>  [<ffffffff81604516>] dump_stack+0x19/0x1b
[88877.066187]  [<ffffffff8106e29b>] warn_slowpath_common+0x6b/0xb0
[88877.066189]  [<ffffffff8106e33c>] warn_slowpath_fmt+0x5c/0x80
[88877.066196]  [<ffffffff8151d790>] dev_watchdog+0x270/0x280
[88877.066198]  [<ffffffff8151d520>] ? dev_graft_qdisc+0x80/0x80
[88877.066202]  [<ffffffff8107df66>] call_timer_fn+0x36/0x110
[88877.066204]  [<ffffffff8151d520>] ? dev_graft_qdisc+0x80/0x80
[88877.066207]  [<ffffffff8107fddf>] run_timer_softirq+0x21f/0x320
[88877.066209]  [<ffffffff81077b3f>] __do_softirq+0xef/0x280
[88877.066212]  [<ffffffff81615c9c>] call_softirq+0x1c/0x30
[88877.066216]  [<ffffffff81015d95>] do_softirq+0x65/0xa0
[88877.066218]  [<ffffffff81077ed5>] irq_exit+0x115/0x120
[88877.066221]  [<ffffffff81616915>] smp_apic_timer_interrupt+0x45/0x60
[88877.066224]  [<ffffffff81614fdd>] apic_timer_interrupt+0x6d/0x80
[88877.066233]  <EOI>  [<ffffffff814aa1bf>] ? cpuidle_enter_state+0x4f/0xc0
[88877.066239]  [<ffffffff814aa2f5>] cpuidle_idle_call+0xc5/0x200
[88877.066242]  [<ffffffff8101d14e>] arch_cpu_idle+0xe/0x30
[88877.066245]  [<ffffffff810c6921>] cpu_startup_entry+0xf1/0x290
[88877.066249]  [<ffffffff815f2ac7>] rest_init+0x77/0x80
[88877.066252]  [<ffffffff81a45057>] start_kernel+0x429/0x44a
[88877.066256]  [<ffffffff81a44a37>] ? repair_env_string+0x5c/0x5c
[88877.066259]  [<ffffffff81a44120>] ? early_idt_handlers+0x120/0x120
[88877.066261]  [<ffffffff81a445ee>] x86_64_start_reservations+0x2a/0x2c
[88877.066264]  [<ffffffff81a44742>] x86_64_start_kernel+0x152/0x175
[88877.066266] ---[ end trace cf565c69e9b62b60 ]---
[88877.066284] e1000e 0000:00:19.0 enp0s25: Reset adapter unexpectedly
[88880.606593] e1000e: enp0s25 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[88968.067893] SELinux: initialized (dev proc, type proc), uses genfs_contexts
[88968.107058] SELinux: initialized (dev proc, type proc), uses genfs_contexts

Note You need to log in before you can comment on or make changes to this bug.