Bug 110581

Summary: HFSC Dequeue Warning
Product: Networking Reporter: Lucas Bocchi (lucas.bocchi)
Component: IPV4Assignee: Stephen Hemminger (stephen)
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 4.3.3 Subsystem:
Regression: No Bisected commit-id:
Attachments: Kernel Config File

Description Lucas Bocchi 2016-01-09 20:47:48 UTC
Created attachment 199151 [details]
Kernel Config File

Hello Friends.

I found the follow WARNING on Linux Kernel to HSFC dequeue algorithm. Is like a previous bug related 
https://bugzilla.kernel.org/show_bug.cgi?id=39372. Really, the configuration have minor changes (above).


Linux Info

Linux vserver 4.3.3 #1 SMP PREEMPT Fri Jan 8 18:51:54 BRST 2016 x86_64 GNU/Linux

Gnu C                  5.3.1
Gnu make               4.0
binutils               2.25.90.20160101
util-linux             2.27.1
mount                  debug
module-init-tools      21
e2fsprogs              1.42.13
xfsprogs               4.3.0
PPP                    2.4.7
Linux C Library        2.21
Dynamic linker (ldd)   2.21
Net-tools              2.10-alpha
Kbd                    2.0.3
Sh-utils               8.23
Modules Loaded         nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE nf_nat_masquerade_ipv4 xt_nat cls_u32 sch_sfq sch_hfsc xt_TCPMSS xt_tcpudp iptable_mangle pppoe pppox ppp_generic slhc iptable_filter iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables tun nls_utf8 nls_cp437 vfat fat snd_hda_codec_hdmi i915 xfs x86_pkg_temp_thermal coretemp kvm_intel kvm libcrc32c drm_kms_helper drm aesni_intel intel_gtt aes_x86_64 snd_hda_intel snd_hda_codec glue_helper lrw gf128mul snd_hda_core ablk_helper cryptd fb_sys_fops snd_pcm syscopyarea sysfillrect sysimgblt iTCO_wdt snd_timer microcode snd serio_raw soundcore lpc_ich evdev mfd_core i2c_i801 sg pcspkr efivars tpm_infineon tpm_tis tpm acpi_cpufreq rtc_cmos video battery processor wmi button ipv6 autofs4 ext4 crc16 jbd2 mbcache btrfs xor zlib_deflate usb_storage raid6_pq sd_mod igb i2c_algo_bit e1000e dca ptp ahci libahci crc32c_intel libata scsi_mod ehci_pci ehci_hcd pps_core i2c_core fan thermal



Sched Config
/sbin/tc qdisc del dev ppp0 root
/sbin/tc qdisc add dev ppp0 root handle 1: stab linklayer adsl hfsc default 15
/sbin/tc class add dev ppp0 parent 1: classid 1:1 hfsc sc rate 1000kbit ul rate 1000kbit
/sbin/tc class add dev ppp0 parent 1:1 classid 1:15 hfsc ls rate 280kbit ul rate 1000kbit
/sbin/tc class add dev ppp0 parent 1:1 classid 1:14 hfsc sc umax 1492b dmax 92ms rate 150kbit ul rate 1000kbit
/sbin/tc class add dev ppp0 parent 1:1 classid 1:13 hfsc sc umax 1492b dmax 72ms rate 200kbit ul rate 1000kbit
/sbin/tc class add dev ppp0 parent 1:1 classid 1:12 hfsc sc umax 1492b dmax 92ms rate 150kbit ul rate 1000kbit
/sbin/tc class add dev ppp0 parent 1:1 classid 1:11 hfsc sc umax 1492b dmax 67ms rate 220kbit ul rate 1000kbit
/sbin/tc qdisc add dev ppp0 parent 1:13 handle 113: sfq
/sbin/tc qdisc add dev ppp0 parent 1:14 handle 114: sfq





Jan  9 13:58:50 vserver kernel: [61804.105138] WARNING: CPU: 5 PID: 0 at net/sched/sch_hfsc.c:1429 hfsc_dequeue+0x272/0x29d [sch_hfsc]()
Jan  9 13:58:50 vserver kernel: [61804.105160] Modules linked in: nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE nf_nat_masquerade_ipv4 xt_nat cls_u32 sch_sfq sch_hfsc xt_TCPMSS xt_tcpudp iptable_mangle pppoe pppox ppp_generic slhc iptable_filter iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables tun nls_utf8 nls_cp437 vfat fat snd_hda_codec_hdmi i915 xfs x86_pkg_temp_thermal coretemp kvm_intel kvm libcrc32c drm_kms_helper drm aesni_intel intel_gtt aes_x86_64 snd_hda_intel snd_hda_codec glue_helper lrw gf128mul snd_hda_core ablk_helper cryptd fb_sys_fops snd_pcm syscopyarea sysfillrect sysimgblt iTCO_wdt snd_timer microcode snd serio_raw soundcore lpc_ich evdev mfd_core i2c_i801 sg pcspkr efivars tpm_infineon tpm_tis tpm acpi_cpufreq rtc_cmos video battery processor wmi button ipv6 autofs4 ext4 crc16 jbd2 mbcache btrfs xor zlib_deflate usb_storage raid6_pq sd_mod igb i2c_algo_bit e1000e dca ptp ahci libahci crc32c_intel libata scsi_mod ehci_pci ehci_hcd pps_core i2c_core fan thermal
Jan  9 13:58:50 vserver kernel: [61804.105168] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G        W       4.3.3 #1
Jan  9 13:58:50 vserver kernel: [61804.105168] Hardware name: ASUS All Series/H97-PRO, BIOS 2904 10/24/2015
Jan  9 13:58:50 vserver kernel: [61804.105170]  000000000000003c ffffffff811e604a 0000000000000000 ffffffff81044f26
Jan  9 13:58:50 vserver kernel: [61804.105171]  ffffffffa013a070 0000000000000000 ffff8805d6526800 000000e0f8e2f198
Jan  9 13:58:50 vserver kernel: [61804.105173]  0000000000000001 ffffffffa013a070 ffff8805d6526800 0000000000000000
Jan  9 13:58:50 vserver kernel: [61804.105173] Call Trace:
Jan  9 13:58:50 vserver kernel: [61804.105175]  <IRQ>  [<ffffffff811e604a>] ? dump_stack+0x4a/0x74
Jan  9 13:58:50 vserver kernel: [61804.105176]  [<ffffffff81044f26>] ? warn_slowpath_common+0x8e/0xa3
Jan  9 13:58:50 vserver kernel: [61804.105177]  [<ffffffffa013a070>] ? hfsc_dequeue+0x272/0x29d [sch_hfsc]
Jan  9 13:58:50 vserver kernel: [61804.105179]  [<ffffffffa013a070>] ? hfsc_dequeue+0x272/0x29d [sch_hfsc]
Jan  9 13:58:50 vserver kernel: [61804.105181]  [<ffffffff81324467>] ? __qdisc_run+0x86/0x162
Jan  9 13:58:50 vserver kernel: [61804.105182]  [<ffffffff8130561b>] ? net_tx_action+0x11b/0x20e
Jan  9 13:58:50 vserver kernel: [61804.105184]  [<ffffffff81048256>] ? __do_softirq+0xeb/0x275
Jan  9 13:58:50 vserver kernel: [61804.105185]  [<ffffffff8104854b>] ? irq_exit+0x38/0x44
Jan  9 13:58:50 vserver kernel: [61804.105186]  [<ffffffff8102d2e6>] ? smp_apic_timer_interrupt+0x39/0x43
Jan  9 13:58:50 vserver kernel: [61804.105188]  [<ffffffff81396132>] ? apic_timer_interrupt+0x82/0x90
Jan  9 13:58:50 vserver kernel: [61804.105192]  <EOI>  [<ffffffff812e2749>] ? cpuidle_enter_state+0x12d/0x20c
Jan  9 13:58:50 vserver kernel: [61804.105194]  [<ffffffff81072ac3>] ? cpu_startup_entry+0x1d9/0x2c6
Jan  9 13:58:50 vserver kernel: [61804.105195] ---[ end trace 40cb5c4156d4b150 ]---
Comment 1 Stephen Hemminger 2016-01-10 00:54:05 UTC

*** This bug has been marked as a duplicate of bug 109581 ***