[Cake] cake infinite loop(?) with hfsc on one-armed router

Pete Heist pete at heistp.net
Sat Jan 5 08:20:34 EST 2019


> On Jan 5, 2019, at 2:10 PM, Toke Høiland-Jørgensen <toke at toke.dk> wrote:
> 
> Hmm, that's odd. Could you try adding this debugging line in
> adjust_parent_qlen(), right before the sch->q.qlen += n line:
> 
> 		net_info_ratelimited("Adjusting parent qdisc %d with pkt += %d, len += %d",
> 				     parentid, n, len);
> 
> And see if you actually get any of those lines in your dmesg?


I do see the messages twice, then not after that in the rest of the output...

root at apu1a:~# [ 1740.883957] Adjusting parent qdisc 65537 with pkt += 3, len += 0
[ 1740.889856] ------------[ cut here ]------------
[ 1740.894710] WARNING: CPU: 1 PID: 0 at net/sched/sch_hfsc.c:1427 0xf9fe74ef()
[ 1740.901802] Modules linked in: em_meta cls_basic sch_hfsc sch_cake(O) xt_ACCOUNT(O) ipt_Rn
[ 1740.952881] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G           O  3.16.7-ckt9-voyage #1
[ 1740.960891] Hardware name: PC Engines APU/APU, BIOS 4.0 09/08/2014
[ 1740.967079]  00000000 00000000 f5c99d94 c13167e9 00000000 f5c99dac c102a7dd f9fe74ef
[ 1740.975032]  f547a400 00000000 00000000 f5c99dbc c102a803 00000009 00000000 f5c99ddc
[ 1740.982981]  f9fe74ef f547a7c8 52ee0901 00000006 f547a400 00000000 00000040 f5c99df8
[ 1740.990936] Call Trace:
[ 1740.993411]  [<c13167e9>] dump_stack+0x41/0x52
[ 1740.997870]  [<c102a7dd>] warn_slowpath_common+0x5c/0x73
[ 1741.003196]  [<f9fe74ef>] ? 0xf9fe74ee
[ 1741.006960]  [<c102a803>] warn_slowpath_null+0xf/0x13
[ 1741.012018]  [<f9fe74ef>] 0xf9fe74ee
[ 1741.015608]  [<c129edf2>] __qdisc_run+0x81/0xf0
[ 1741.020149]  [<c128b655>] __dev_queue_xmit+0x23d/0x35f
[ 1741.025296]  [<c128b78b>] dev_queue_xmit+0xa/0xc
[ 1741.029927]  [<c12afa93>] ip_finish_output+0x345/0x73d
[ 1741.035081]  [<c12b0e19>] ip_output+0x73/0xaf
[ 1741.039449]  [<c12ad986>] ip_forward_finish+0x66/0x6b
[ 1741.044511]  [<c12adc3b>] ip_forward+0x2b0/0x36d
[ 1741.049138]  [<c12ac467>] ip_rcv_finish+0x267/0x29a
[ 1741.054026]  [<c12aca4c>] ip_rcv+0x2b4/0x338
[ 1741.058312]  [<c12895dd>] __netif_receive_skb_core+0x467/0x4b6
[ 1741.064159]  [<c1289674>] __netif_receive_skb+0x48/0x59
[ 1741.069395]  [<c1289cb9>] netif_receive_skb_internal+0x59/0x85
[ 1741.075244]  [<c1289d6c>] napi_gro_complete+0x87/0x8c
[ 1741.080305]  [<c128a020>] napi_gro_flush+0x3e/0x53
[ 1741.085107]  [<c128a04c>] napi_complete+0x17/0x27
[ 1741.089823]  [<f81161a3>] 0xf81161a2
[ 1741.093420]  [<c128a0b2>] net_rx_action+0x56/0x10e
[ 1741.098230]  [<c102d689>] __do_softirq+0x91/0x175
[ 1741.102953]  [<c102d5f8>] ? __hrtimer_tasklet_trampoline+0x1a/0x1a
[ 1741.109149]  [<c10033c3>] do_softirq_own_stack+0x1d/0x23
[ 1741.114463]  <IRQ>  [<c102d8a9>] irq_exit+0x34/0x75
[ 1741.119397]  [<c1002f30>] do_IRQ+0x92/0xa6
[ 1741.123509]  [<c131a4ec>] common_interrupt+0x2c/0x40
[ 1741.128485]  [<c126add1>] ? cpuidle_enter_state+0x37/0x96
[ 1741.133900]  [<c126aee8>] cpuidle_enter+0xf/0x12
[ 1741.138528]  [<c1051e54>] cpu_startup_entry+0x135/0x1e1
[ 1741.143764]  [<c101d553>] start_secondary+0x1a6/0x1ab
[ 1741.148830] ---[ end trace 88c72563cbf4d106 ]---
[ 1741.153570] Adjusting parent qdisc 65537 with pkt += 5, len += 0
[ 1741.159457] ------------[ cut here ]------------
[ 1741.164287] WARNING: CPU: 1 PID: 0 at net/sched/sch_hfsc.c:1427 0xf9fe74ef()
[ 1741.171342] Modules linked in: em_meta cls_basic sch_hfsc sch_cake(O) xt_ACCOUNT(O) ipt_Rn
[ 1741.222421] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G        W  O  3.16.7-ckt9-voyage #1
[ 1741.230423] Hardware name: PC Engines APU/APU, BIOS 4.0 09/08/2014
[ 1741.236611]  00000000 00000000 f5c99d70 c13167e9 00000000 f5c99d88 c102a7dd f9fe74ef
[ 1741.244566]  f547a400 00000000 00000000 f5c99d98 c102a803 00000009 00000000 f5c99db8
[ 1741.252512]  f9fe74ef f547a7c8 532e51d6 00000006 f547a400 00000000 00000040 f5c99dd4
[ 1741.260462] Call Trace:
[ 1741.262932]  [<c13167e9>] dump_stack+0x41/0x52
[ 1741.267394]  [<c102a7dd>] warn_slowpath_common+0x5c/0x73
[ 1741.272719]  [<f9fe74ef>] ? 0xf9fe74ee
[ 1741.276487]  [<c102a803>] warn_slowpath_null+0xf/0x13
[ 1741.281552]  [<f9fe74ef>] 0xf9fe74ee
[ 1741.285141]  [<c129edf2>] __qdisc_run+0x81/0xf0
[ 1741.289682]  [<c128b655>] __dev_queue_xmit+0x23d/0x35f
[ 1741.294829]  [<c128b78b>] dev_queue_xmit+0xa/0xc
[ 1741.299485]  [<c12afa93>] ip_finish_output+0x345/0x73d
[ 1741.304644]  [<c12b0e19>] ip_output+0x73/0xaf
[ 1741.309028]  [<c12ad986>] ip_forward_finish+0x66/0x6b
[ 1741.314097]  [<c12adc3b>] ip_forward+0x2b0/0x36d
[ 1741.318735]  [<c12ac467>] ip_rcv_finish+0x267/0x29a
[ 1741.323628]  [<c12aca4c>] ip_rcv+0x2b4/0x338
[ 1741.327922]  [<c12895dd>] __netif_receive_skb_core+0x467/0x4b6
[ 1741.333781]  [<c1289674>] __netif_receive_skb+0x48/0x59
[ 1741.339034]  [<c1289cb9>] netif_receive_skb_internal+0x59/0x85
[ 1741.344891]  [<c1289d6c>] napi_gro_complete+0x87/0x8c
[ 1741.349968]  [<c1289f42>] dev_gro_receive+0x1d1/0x271
[ 1741.355040]  [<c128a2b4>] napi_gro_receive+0x19/0x6d
[ 1741.360033]  [<c10065ec>] ? text_poke_bp+0xa0/0xa0
[ 1741.364850]  [<f811604a>] 0xf8116049
[ 1741.368460]  [<c128a0b2>] net_rx_action+0x56/0x10e
[ 1741.373273]  [<c102d689>] __do_softirq+0x91/0x175
[ 1741.377998]  [<c102d5f8>] ? __hrtimer_tasklet_trampoline+0x1a/0x1a
[ 1741.384203]  [<c10033c3>] do_softirq_own_stack+0x1d/0x23
[ 1741.389533]  <IRQ>  [<c102d8a9>] irq_exit+0x34/0x75
[ 1741.394480]  [<c1002f30>] do_IRQ+0x92/0xa6
[ 1741.398598]  [<c131a4ec>] common_interrupt+0x2c/0x40
[ 1741.403590]  [<c126add1>] ? cpuidle_enter_state+0x37/0x96
[ 1741.409013]  [<c126aee8>] cpuidle_enter+0xf/0x12
[ 1741.413652]  [<c1051e54>] cpu_startup_entry+0x135/0x1e1
[ 1741.418905]  [<c101d553>] start_secondary+0x1a6/0x1ab
[ 1741.423977] ---[ end trace 88c72563cbf4d107 ]---
[ 1741.428715] ------------[ cut here ]------------
[ 1741.433361] WARNING: CPU: 1 PID: 0 at net/sched/sch_hfsc.c:1427 0xf9fe74ef()
[ 1741.440425] Modules linked in: em_meta cls_basic sch_hfsc sch_cake(O) xt_ACCOUNT(O) ipt_Rn
[ 1741.491884] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G        W  O  3.16.7-ckt9-voyage #1
[ 1741.499897] Hardware name: PC Engines APU/APU, BIOS 4.0 09/08/2014
[ 1741.506091]  00000000 00000000 f5c99dbc c13167e9 00000000 f5c99dd4 c102a7dd f9fe74ef
[ 1741.514083]  f547a400 00000000 00000000 f5c99de4 c102a803 00000009 00000000 f5c99e04
[ 1741.522074]  f9fe74ef f547a7c8 536e858e 00000006 f547a400 00000000 00000040 f5c99e20
[ 1741.530073] Call Trace:
[ 1741.532550]  [<c13167e9>] dump_stack+0x41/0x52
[ 1741.537022]  [<c102a7dd>] warn_slowpath_common+0x5c/0x73
[ 1741.542348]  [<f9fe74ef>] ? 0xf9fe74ee
[ 1741.546121]  [<c102a803>] warn_slowpath_null+0xf/0x13
[ 1741.551187]  [<f9fe74ef>] 0xf9fe74ee
[ 1741.554785]  [<c129edf2>] __qdisc_run+0x81/0xf0
[ 1741.559337]  [<c128b655>] __dev_queue_xmit+0x23d/0x35f
[ 1741.564495]  [<c128b78b>] dev_queue_xmit+0xa/0xc
[ 1741.569137]  [<c12afe0c>] ip_finish_output+0x6be/0x73d
[ 1741.574298]  [<c12b0e19>] ip_output+0x73/0xaf
[ 1741.578680]  [<c12ad986>] ip_forward_finish+0x66/0x6b
[ 1741.583750]  [<c12adc3b>] ip_forward+0x2b0/0x36d
[ 1741.588389]  [<c12ac467>] ip_rcv_finish+0x267/0x29a
[ 1741.593284]  [<c12aca4c>] ip_rcv+0x2b4/0x338
[ 1741.597577]  [<c12895dd>] __netif_receive_skb_core+0x467/0x4b6
[ 1741.603435]  [<c1289674>] __netif_receive_skb+0x48/0x59
[ 1741.608677]  [<c1289cb9>] netif_receive_skb_internal+0x59/0x85
[ 1741.614529]  [<c128a2cc>] napi_gro_receive+0x31/0x6d
[ 1741.619520]  [<c10065ec>] ? text_poke_bp+0xa0/0xa0
[ 1741.624338]  [<f811604a>] 0xf8116049
[ 1741.627935]  [<c128a0b2>] net_rx_action+0x56/0x10e
[ 1741.632743]  [<c102d689>] __do_softirq+0x91/0x175
[ 1741.637468]  [<c102d5f8>] ? __hrtimer_tasklet_trampoline+0x1a/0x1a
[ 1741.643664]  [<c10033c3>] do_softirq_own_stack+0x1d/0x23
[ 1741.648989]  <IRQ>  [<c102d8a9>] irq_exit+0x34/0x75
[ 1741.653931]  [<c1002f30>] do_IRQ+0x92/0xa6
[ 1741.658052]  [<c131a4ec>] common_interrupt+0x2c/0x40
[ 1741.663045]  [<c126add1>] ? cpuidle_enter_state+0x37/0x96
[ 1741.668469]  [<c126aee8>] cpuidle_enter+0xf/0x12
[ 1741.673105]  [<c1051e54>] cpu_startup_entry+0x135/0x1e1
[ 1741.678351]  [<c101d553>] start_secondary+0x1a6/0x1ab
[ 1741.683423] ---[ end trace 88c72563cbf4d108 ]---



More information about the Cake mailing list