netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* net/sched/sch_generic.c stacktrace
@ 2020-02-26 13:00 Guido Trentalancia
  2020-02-26 20:08 ` Heiner Kallweit
  0 siblings, 1 reply; 2+ messages in thread
From: Guido Trentalancia @ 2020-02-26 13:00 UTC (permalink / raw)
  To: kuznet; +Cc: netdev

Here is a stacktrace I get with kernel 5.4.19 after unplugging and
replugging the Ethernet interface.

Most probably the issue also affects latest git from a couple of days
ago (at least the code in net/sched/sch_generic.c).

The crash is not critical and the network functionality does not seem
to be affected.

[ 6663.598726] r8169 0000:02:00.0 eth1: Link is Down
[ 6752.433571] r8169 0000:02:00.0 eth1: Link is Up - 10Mbps/Half - flow control off
[ 6763.194144] ------------[ cut here ]------------
[ 6763.194149] NETDEV WATCHDOG: eth1 (r8169): transmit queue 0 timed out
[ 6763.194177] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:447 dev_watchdog+0x1e3/0x1f0
[ 6763.194178] Modules linked in: nf_conntrack_netlink nfnetlink xt_iprange nf_conntrack_sip xt_CT ipv6 iptable_raw
[ 6763.194245] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G                T 5.4.19 #14
[ 6763.194254] RIP: 0010:dev_watchdog+0x1e3/0x1f0
[ 6763.194258] Code: 48 63 55 e0 eb 91 4c 89 ef c6 05 20 20 a6 00 01 e8 02 07 fc ff 48 89 c2 44 89 e1 4c 89 ee 48 c7 c7 60 3d dc a3 e8 39 42 a3 ff <0f> 0b eb bc 66 0f 1f 84 00 00 00 00 00 41 54 49 89 d4 55 48 89 f5
[ 6763.194260] RSP: 0018:ffff9ba340130ea8 EFLAGS: 00010286
[ 6763.194264] RAX: 0000000000000000 RBX: ffff8e009f856400 RCX: 0000000000000006
[ 6763.194266] RDX: 0000000000000007 RSI: 0000000000000082 RDI: ffff8e00a6a563d0
[ 6763.194268] RBP: ffff8e00a3c7c440 R08: 0000000000000001 R09: 0000000000000366
[ 6763.194269] R10: ffffffffa45309e0 R11: 0000000000000004 R12: 0000000000000000
[ 6763.194271] R13: ffff8e00a3c7c000 R14: ffff9ba340130ef0 R15: ffffffffa4005100
[ 6763.194274] FS:  0000000000000000(0000) GS:ffff8e00a6a40000(0000) knlGS:0000000000000000
[ 6763.194277] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 6763.194279] CR2: 00007fb9e2568000 CR3: 000000012000a002 CR4: 00000000003606e0
[ 6763.194281] Call Trace:
[ 6763.194284]  <IRQ>
[ 6763.194292]  ? qdisc_put_unlocked+0x30/0x30
[ 6763.194299]  call_timer_fn.isra.0+0x19/0x80
[ 6763.194304]  run_timer_softirq+0x310/0x360
[ 6763.194311]  ? timerqueue_add+0x6d/0xb0
[ 6763.194316]  ? __hrtimer_run_queues+0x125/0x180
[ 6763.194323]  __do_softirq+0xd7/0x216
[ 6763.194330]  irq_exit+0x9b/0xa0
[ 6763.194336]  smp_apic_timer_interrupt+0x5e/0x90
[ 6763.194342]  apic_timer_interrupt+0xf/0x20
[ 6763.194344]  </IRQ>
[ 6763.194350] RIP: 0010:cpuidle_enter_state+0x11f/0x2a0
[ 6763.194353] Code: e8 56 3d b0 ff 31 ff 49 89 c6 e8 8c 48 b0 ff 45 84 ff 74 12 9c 58 f6 c4 02 0f 85 65 01 00 00 31 ff e8 b5 05 b5 ff fb 45 85 ed <0f> 88 c0 00 00 00 49 63 f5 48 8d 04 76 48 c1 e0 05 4c 89 f1 8b 7c
[ 6763.194356] RSP: 0018:ffff9ba3400cbe88 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13
[ 6763.194359] RAX: ffff8e00a6a5fb00 RBX: ffffffffa4052460 RCX: 000000000000001f
[ 6763.194361] RDX: 0000000000000000 RSI: 00000000471c745e RDI: 0000000000000000
[ 6763.194363] RBP: 00000626adb99d58 R08: 00000626adc8a08b R09: 000000007fffffff
[ 6763.194365] R10: ffff8e00a6a5ec20 R11: ffff8e00a6a5ec00 R12: ffff8e00a6a68e10
[ 6763.194366] R13: 0000000000000004 R14: 00000626adc8a08b R15: 0000000000000000
[ 6763.194373]  ? cpuidle_enter_state+0x104/0x2a0
[ 6763.194377]  cpuidle_enter+0x24/0x40
[ 6763.194382]  do_idle+0x1bf/0x230
[ 6763.194387]  cpu_startup_entry+0x14/0x20
[ 6763.194392]  start_secondary+0x153/0x1a0
[ 6763.194397]  secondary_startup_64+0xa4/0xb0
[ 6763.194400] ---[ end trace 56803b552c779a28 ]---

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: net/sched/sch_generic.c stacktrace
  2020-02-26 13:00 net/sched/sch_generic.c stacktrace Guido Trentalancia
@ 2020-02-26 20:08 ` Heiner Kallweit
  0 siblings, 0 replies; 2+ messages in thread
From: Heiner Kallweit @ 2020-02-26 20:08 UTC (permalink / raw)
  To: Guido Trentalancia, kuznet; +Cc: netdev

On 26.02.2020 14:00, Guido Trentalancia wrote:
> Here is a stacktrace I get with kernel 5.4.19 after unplugging and
> replugging the Ethernet interface.
> 
Strange is that link comes up with 10Mbps/half. Most likely there's an
issue with the link, resulting in the tx timeout.
-> Is this reproducable?
-> What was the last known good kernel version?
-> Standard question: did you check with another cable?

Also a full dmesg log would be helpful.


> Most probably the issue also affects latest git from a couple of days
> ago (at least the code in net/sched/sch_generic.c).
> 
> The crash is not critical and the network functionality does not seem
> to be affected.
> 
> [ 6663.598726] r8169 0000:02:00.0 eth1: Link is Down
> [ 6752.433571] r8169 0000:02:00.0 eth1: Link is Up - 10Mbps/Half - flow control off
> [ 6763.194144] ------------[ cut here ]------------
> [ 6763.194149] NETDEV WATCHDOG: eth1 (r8169): transmit queue 0 timed out
> [ 6763.194177] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:447 dev_watchdog+0x1e3/0x1f0
> [ 6763.194178] Modules linked in: nf_conntrack_netlink nfnetlink xt_iprange nf_conntrack_sip xt_CT ipv6 iptable_raw
> [ 6763.194245] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G                T 5.4.19 #14
> [ 6763.194254] RIP: 0010:dev_watchdog+0x1e3/0x1f0
> [ 6763.194258] Code: 48 63 55 e0 eb 91 4c 89 ef c6 05 20 20 a6 00 01 e8 02 07 fc ff 48 89 c2 44 89 e1 4c 89 ee 48 c7 c7 60 3d dc a3 e8 39 42 a3 ff <0f> 0b eb bc 66 0f 1f 84 00 00 00 00 00 41 54 49 89 d4 55 48 89 f5
> [ 6763.194260] RSP: 0018:ffff9ba340130ea8 EFLAGS: 00010286
> [ 6763.194264] RAX: 0000000000000000 RBX: ffff8e009f856400 RCX: 0000000000000006
> [ 6763.194266] RDX: 0000000000000007 RSI: 0000000000000082 RDI: ffff8e00a6a563d0
> [ 6763.194268] RBP: ffff8e00a3c7c440 R08: 0000000000000001 R09: 0000000000000366
> [ 6763.194269] R10: ffffffffa45309e0 R11: 0000000000000004 R12: 0000000000000000
> [ 6763.194271] R13: ffff8e00a3c7c000 R14: ffff9ba340130ef0 R15: ffffffffa4005100
> [ 6763.194274] FS:  0000000000000000(0000) GS:ffff8e00a6a40000(0000) knlGS:0000000000000000
> [ 6763.194277] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [ 6763.194279] CR2: 00007fb9e2568000 CR3: 000000012000a002 CR4: 00000000003606e0
> [ 6763.194281] Call Trace:
> [ 6763.194284]  <IRQ>
> [ 6763.194292]  ? qdisc_put_unlocked+0x30/0x30
> [ 6763.194299]  call_timer_fn.isra.0+0x19/0x80
> [ 6763.194304]  run_timer_softirq+0x310/0x360
> [ 6763.194311]  ? timerqueue_add+0x6d/0xb0
> [ 6763.194316]  ? __hrtimer_run_queues+0x125/0x180
> [ 6763.194323]  __do_softirq+0xd7/0x216
> [ 6763.194330]  irq_exit+0x9b/0xa0
> [ 6763.194336]  smp_apic_timer_interrupt+0x5e/0x90
> [ 6763.194342]  apic_timer_interrupt+0xf/0x20
> [ 6763.194344]  </IRQ>
> [ 6763.194350] RIP: 0010:cpuidle_enter_state+0x11f/0x2a0
> [ 6763.194353] Code: e8 56 3d b0 ff 31 ff 49 89 c6 e8 8c 48 b0 ff 45 84 ff 74 12 9c 58 f6 c4 02 0f 85 65 01 00 00 31 ff e8 b5 05 b5 ff fb 45 85 ed <0f> 88 c0 00 00 00 49 63 f5 48 8d 04 76 48 c1 e0 05 4c 89 f1 8b 7c
> [ 6763.194356] RSP: 0018:ffff9ba3400cbe88 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13
> [ 6763.194359] RAX: ffff8e00a6a5fb00 RBX: ffffffffa4052460 RCX: 000000000000001f
> [ 6763.194361] RDX: 0000000000000000 RSI: 00000000471c745e RDI: 0000000000000000
> [ 6763.194363] RBP: 00000626adb99d58 R08: 00000626adc8a08b R09: 000000007fffffff
> [ 6763.194365] R10: ffff8e00a6a5ec20 R11: ffff8e00a6a5ec00 R12: ffff8e00a6a68e10
> [ 6763.194366] R13: 0000000000000004 R14: 00000626adc8a08b R15: 0000000000000000
> [ 6763.194373]  ? cpuidle_enter_state+0x104/0x2a0
> [ 6763.194377]  cpuidle_enter+0x24/0x40
> [ 6763.194382]  do_idle+0x1bf/0x230
> [ 6763.194387]  cpu_startup_entry+0x14/0x20
> [ 6763.194392]  start_secondary+0x153/0x1a0
> [ 6763.194397]  secondary_startup_64+0xa4/0xb0
> [ 6763.194400] ---[ end trace 56803b552c779a28 ]---
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-26 20:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-26 13:00 net/sched/sch_generic.c stacktrace Guido Trentalancia
2020-02-26 20:08 ` Heiner Kallweit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).