Modify

Opened 7 years ago

Closed 6 years ago

Last modified 4 years ago

#9802 closed defect (fixed)

ar71xx: kernel warning with QOS enabled

Reported by: awilchak@… Owned by: jow
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: Cc:

Description (last modified by jow)

Hi folks, I'm getting a repeated kernel warning with trunk build r27524 on a WZR-HP-G300NH.

Jul 25 16:45:27 OpenWrt kern.warn kernel: Call Trace:[<80252500>] 0x80252500
Jul 25 16:45:27 OpenWrt kern.warn kernel: [<80252500>] 0x80252500
Jul 25 16:45:27 OpenWrt kern.warn kernel: [<80074e70>] 0x80074e70
Jul 25 16:45:27 OpenWrt kern.warn kernel: [<832169b4>] 0x832169b4
Jul 25 16:45:27 OpenWrt kern.warn kernel: [<80074eb4>] 0x80074eb4
Jul 25 16:45:27 OpenWrt kern.warn kernel: [<832169b4>] 0x832169b4
Jul 25 16:45:27 OpenWrt kern.warn kernel: [<801e5b00>] 0x801e5b00
Jul 25 16:45:27 OpenWrt kern.warn kernel: [<801ce344>] 0x801ce344
Jul 25 16:45:28 OpenWrt kern.warn kernel: ------------[ cut here ]------------
Jul 25 16:45:28 OpenWrt kern.warn kernel: WARNING: at net/sched/sch_hfsc.c:1427 0x832169b4()
Jul 25 16:45:28 OpenWrt kern.warn kernel: Modules linked in: sch_red sch_sfq sch_hfsc cls_fw sch_ingress act_mirred act_connmark em_u32 cls_u32 ifb ledtrig_usbdev nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp xt_HL xt_hl ipt_ECN xt_CLASSIFY xt_time xt_tcpmss x
Jul 25 16:45:28 OpenWrt kern.warn kernel: Call Trace:[<80252500>] 0x80252500
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<80252500>] 0x80252500
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<80074e70>] 0x80074e70
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<832169b4>] 0x832169b4
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<80074eb4>] 0x80074eb4
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<832169b4>] 0x832169b4
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<80069360>] 0x80069360
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<801e5b00>] 0x801e5b00
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<8007a624>] 0x8007a624
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<802d0000>] 0x802d0000
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<802d0000>] 0x802d0000
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<8007a82c>] 0x8007a82c
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<800610e0>] 0x800610e0
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<80062760>] 0x80062760
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<8006258c>] 0x8006258c
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<80062760>] 0x80062760
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<802d0000>] 0x802d0000
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<8006151c>] 0x8006151c
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<80063fcc>] 0x80063fcc
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<80062780>] 0x80062780
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<802b78d0>] 0x802b78d0
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<802b721c>] 0x802b721c
Jul 25 16:45:28 OpenWrt kern.warn kernel: ---[ end trace f729c45b359f4a13 ]---
Jul 25 16:45:28 OpenWrt kern.warn kernel: ------------[ cut here ]------------
Jul 25 16:45:28 OpenWrt kern.warn kernel: WARNING: at net/sched/sch_hfsc.c:1427 0x832169b4()
Jul 25 16:45:28 OpenWrt kern.warn kernel: Modules linked in: sch_red sch_sfq sch_hfsc cls_fw sch_ingress act_mirred act_connmark em_u32 cls_u32 ifb ledtrig_usbdev nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp xt_HL xt_hl ipt_ECN xt_CLASSIFY xt_time xt_tcpmss x
Jul 25 16:45:28 OpenWrt kern.warn kernel: Call Trace:[<80252500>] 0x80252500
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<80252500>] 0x80252500
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<80074e70>] 0x80074e70
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<832169b4>] 0x832169b4
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<80074eb4>] 0x80074eb4
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<832169b4>] 0x832169b4
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<801e5b00>] 0x801e5b00
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<801ce344>] 0x801ce344
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<800a2514>] 0x800a2514
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<8007a624>] 0x8007a624
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<802d0000>] 0x802d0000
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<802d0000>] 0x802d0000
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<8007a82c>] 0x8007a82c
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<800610e0>] 0x800610e0
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<80062760>] 0x80062760
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<8006258c>] 0x8006258c
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<80062760>] 0x80062760
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<802d0000>] 0x802d0000
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<8006151c>] 0x8006151c
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<80063fcc>] 0x80063fcc
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<80062780>] 0x80062780
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<802b78d0>] 0x802b78d0
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<802b721c>] 0x802b721c
Jul 25 16:45:28 OpenWrt kern.warn kernel: ---[ end trace f729c45b359f4a14 ]---
Jul 25 16:45:28 OpenWrt kern.warn kernel: ------------[ cut here ]------------
Jul 25 16:45:28 OpenWrt kern.warn kernel: WARNING: at net/sched/sch_hfsc.c:1427 0x832169b4()
Jul 25 16:45:28 OpenWrt kern.warn kernel: Modules linked in: sch_red sch_sfq sch_hfsc cls_fw sch_ingress act_mirred act_connmark em_u32 cls_u32 ifb ledtrig_usbdev nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp xt_HL xt_hl ipt_ECN xt_CLASSIFY xt_time xt_tcpmss x
Jul 25 16:45:28 OpenWrt kern.warn kernel: Call Trace:[<80252500>] 0x80252500
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<80252500>] 0x80252500
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<80074e70>] 0x80074e70
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<832169b4>] 0x832169b4
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<80074eb4>] 0x80074eb4
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<832169b4>] 0x832169b4
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<801e5b00>] 0x801e5b00
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<801ce344>] 0x801ce344
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<800a2514>] 0x800a2514
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<8007a624>] 0x8007a624
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<802d0000>] 0x802d0000
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<802d0000>] 0x802d0000
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<8007a82c>] 0x8007a82c
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<800610e0>] 0x800610e0
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<80062760>] 0x80062760
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<8006258c>] 0x8006258c
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<80062760>] 0x80062760
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<802d0000>] 0x802d0000
Jul 25 16:45:28 OpenWrt kern.warn kernel: [<8006151c>] 0x8006151c
Jul 25 16:45:29 OpenWrt kern.warn kernel: ------------[ cut here ]------------
Jul 25 16:45:29 OpenWrt kern.warn kernel: WARNING: at net/sched/sch_hfsc.c:1427 0x832169b4()
Jul 25 16:45:29 OpenWrt kern.warn kernel: Modules linked in: sch_red sch_sfq sch_hfsc cls_fw sch_ingress act_mirred act_connmark em_u32 cls_u32 ifb ledtrig_usbdev nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp xt_HL xt_hl ipt_ECN xt_CLASSIFY xt_time xt_tcpmss x
Jul 25 16:45:29 OpenWrt kern.warn kernel: Call Trace:[<80252500>] 0x80252500
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<80252500>] 0x80252500
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<80074e70>] 0x80074e70
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<832169b4>] 0x832169b4
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<80074eb4>] 0x80074eb4
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<83216934>] 0x83216934
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<832169b4>] 0x832169b4
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<801e5b00>] 0x801e5b00
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<801ce344>] 0x801ce344
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<8007a274>] 0x8007a274
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<8007a624>] 0x8007a624
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<802d0000>] 0x802d0000
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<802d0000>] 0x802d0000
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<8007a82c>] 0x8007a82c
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<800610e0>] 0x800610e0
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<8006258c>] 0x8006258c
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<80062760>] 0x80062760
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<802d0000>] 0x802d0000
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<80236a4c>] 0x80236a4c
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<80063fcc>] 0x80063fcc
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<80062780>] 0x80062780
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<802b78d0>] 0x802b78d0
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<802b721c>] 0x802b721c
Jul 25 16:45:29 OpenWrt kern.warn kernel: ---[ end trace f729c45b359f4a16 ]---
Jul 25 16:45:29 OpenWrt kern.warn kernel: ------------[ cut here ]------------
Jul 25 16:45:29 OpenWrt kern.warn kernel: WARNING: at net/sched/sch_hfsc.c:1427 0x832169b4()
Jul 25 16:45:29 OpenWrt kern.warn kernel: Modules linked in: sch_red sch_sfq sch_hfsc cls_fw sch_ingress act_mirred act_connmark em_u32 cls_u32 ifb ledtrig_usbdev nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp xt_HL xt_hl ipt_ECN xt_CLASSIFY xt_time xt_tcpmss x
Jul 25 16:45:29 OpenWrt kern.warn kernel: Call Trace:[<80252500>] 0x80252500
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<80252500>] 0x80252500
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<80074e70>] 0x80074e70
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<832169b4>] 0x832169b4
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<80074eb4>] 0x80074eb4
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<832169b4>] 0x832169b4
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<801e5b00>] 0x801e5b00
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<801ce344>] 0x801ce344
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<800a2514>] 0x800a2514
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<8007a624>] 0x8007a624
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<802d0000>] 0x802d0000
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<802d0000>] 0x802d0000
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<8007a82c>] 0x8007a82c
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<800610e0>] 0x800610e0
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<8006258c>] 0x8006258c
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<80062760>] 0x80062760
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<802d0000>] 0x802d0000
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<8006151c>] 0x8006151c
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<80063fcc>] 0x80063fcc
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<80062780>] 0x80062780
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<802b78d0>] 0x802b78d0
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<802b721c>] 0x802b721c
Jul 25 16:45:29 OpenWrt kern.warn kernel: ---[ end trace f729c45b359f4a17 ]---
Jul 25 16:45:29 OpenWrt kern.warn kernel: ------------[ cut here ]------------
Jul 25 16:45:29 OpenWrt kern.warn kernel: WARNING: at net/sched/sch_hfsc.c:1427 0x832169b4()
Jul 25 16:45:29 OpenWrt kern.warn kernel: Modules linked in: sch_red sch_sfq sch_hfsc cls_fw sch_ingress act_mirred act_connmark em_u32 cls_u32 ifb ledtrig_usbdev nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp xt_HL xt_hl ipt_ECN xt_CLASSIFY xt_time xt_tcpmss x
Jul 25 16:45:29 OpenWrt kern.warn kernel: Call Trace:[<80252500>] 0x80252500
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<80252500>] 0x80252500
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<80074e70>] 0x80074e70
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<832169b4>] 0x832169b4
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<80074eb4>] 0x80074eb4
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<832169b4>] 0x832169b4
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<830430a0>] 0x830430a0
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<801e5b00>] 0x801e5b00
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<830441cc>] 0x830441cc
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<801ce344>] 0x801ce344
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<8007a624>] 0x8007a624
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<802d0000>] 0x802d0000
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<802d0000>] 0x802d0000
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<8007a82c>] 0x8007a82c
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<800610e0>] 0x800610e0
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<8006258c>] 0x8006258c
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<80062760>] 0x80062760
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<802d0000>] 0x802d0000
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<8006151c>] 0x8006151c
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<80063fcc>] 0x80063fcc
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<80062780>] 0x80062780
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<802b78d0>] 0x802b78d0
Jul 25 16:45:29 OpenWrt kern.warn kernel: [<802b721c>] 0x802b721c
Jul 25 16:45:29 OpenWrt kern.warn kernel: ---[ end trace f729c45b359f4a18 ]---
Jul 25 16:45:30 OpenWrt kern.warn kernel: ------------[ cut here ]------------
Jul 25 16:45:30 OpenWrt kern.warn kernel: WARNING: at net/sched/sch_hfsc.c:1427 0x832169b4()
Jul 25 16:45:30 OpenWrt kern.warn kernel: Modules linked in: sch_red sch_sfq sch_hfsc cls_fw sch_ingress act_mirred act_connmark em_u32 cls_u32 ifb ledtrig_usbdev nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp xt_HL xt_hl ipt_ECN xt_CLASSIFY xt_time xt_tcpmss x
Jul 25 16:45:30 OpenWrt kern.warn kernel: Call Trace:[<80252500>] 0x80252500
Jul 25 16:45:30 OpenWrt kern.warn kernel: [<80252500>] 0x80252500
Jul 25 16:45:30 OpenWrt kern.warn kernel: [<80074e70>] 0x80074e70
Jul 25 16:45:30 OpenWrt kern.warn kernel: [<832169b4>] 0x832169b4
Jul 25 16:45:30 OpenWrt kern.warn kernel: [<80074eb4>] 0x80074eb4
Jul 25 16:45:30 OpenWrt kern.warn kernel: [<832169b4>] 0x832169b4
Jul 25 16:45:30 OpenWrt kern.warn kernel: [<801e5b00>] 0x801e5b00
Jul 25 16:45:30 OpenWrt kern.warn kernel: [<801ce344>] 0x801ce344
Jul 25 16:45:30 OpenWrt kern.warn kernel: [<800a2514>] 0x800a2514
Jul 25 16:45:30 OpenWrt kern.warn kernel: [<8007a624>] 0x8007a624
Jul 25 16:45:30 OpenWrt kern.warn kernel: [<802d0000>] 0x802d0000
Jul 25 16:45:30 OpenWrt kern.warn kernel: [<802d0000>] 0x802d0000
Jul 25 16:45:30 OpenWrt kern.warn kernel: [<8007a82c>] 0x8007a82c
Jul 25 16:45:30 OpenWrt kern.warn kernel: [<800610e0>] 0x800610e0
Jul 25 16:45:30 OpenWrt kern.warn kernel: [<8006258c>] 0x8006258c
Jul 25 16:45:30 OpenWrt kern.warn kernel: [<80062760>] 0x80062760
Jul 25 16:45:30 OpenWrt kern.warn kernel: [<802d0000>] 0x802d0000
Jul 25 16:45:30 OpenWrt kern.warn kernel: [<80236a4c>] 0x80236a4c
Jul 25 16:45:30 OpenWrt kern.warn kernel: [<80063fcc>] 0x80063fcc
Jul 25 16:45:30 OpenWrt kern.warn kernel: [<80062780>] 0x80062780
Jul 25 16:45:30 OpenWrt kern.warn kernel: [<802b78d0>] 0x802b78d0
Jul 25 16:45:30 OpenWrt kern.warn kernel: [<802b721c>] 0x802b721c
Jul 25 16:45:30 OpenWrt kern.warn kernel: ---[ end trace f729c45b359f4a19 ]---

They stop, however, when qos-stop is issued. It definitely is some sort of bug in upstream qos code because of "WARNING: at net/sched/sch_hfsc.c:1427". Apparently the Debian folks are having similiar issues: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631945. Anyway, it would be great to see a patch or have the platform kernel updated to a version without this problem (3.0?).

Thanks very much.

Attachments (0)

Change History (17)

comment:1 Changed 7 years ago by anonymous

Oh crap. I thought I was doing the log formatting correctly. I'm dumb.

comment:2 Changed 7 years ago by jow

  • Description modified (diff)

"" and "" must be on a line by itself

comment:3 Changed 7 years ago by jow

That should've read "{ { {" and "} } }" ;)

comment:4 Changed 6 years ago by Tobias Wolf <towolf@…>

I got into that situation today as well. And since I forward syslog via UDP to another host, its syslog files blew up to 122MB within hours.

My neighbor is using some Chinese streaming App called PPStream, which I found really aggressive in terms of bandwidth and opening concurrent UDP connections.

[...]
-rw-r----- 1 syslog              adm      122M Aug 20 19:46 kern.log
-rw-r--r-- 1 debian-transmission root      12M Aug 20 19:47 transmission-daemon
-rw-r----- 1 syslog              adm      122M Aug 20 19:48 syslog
$ tail /var/log/syslog
Aug 20 19:32:49 winder.lan kernel: [<800d3eec>] 0x800d3eec
Aug 20 19:32:49 winder.lan kernel: [<8013f748>] 0x8013f748
Aug 20 19:32:49 winder.lan kernel: [<801c447c>] 0x801c447c
Aug 20 19:32:49 winder.lan kernel: [<800694a4>] 0x800694a4
Aug 20 19:32:49 winder.lan kernel: ---[ end trace 24a2bbca9841336f ]---
Aug 20 19:32:49 winder.lan kernel: ------------[ cut here ]------------
Aug 20 19:32:49 winder.lan kernel: WARNING: at net/sched/sch_hfsc.c:1427 0x82c9a9b4()
Aug 20 19:32:49 winder.lan kernel: [truncated] Modules linked in: sch_red sch_sfq sch_hfsc cls_fw sch_ingress act_mirred act_connmark em_u32 cls_u32 ifb leds_wndr3700_usb ledtrig_usbdev nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp xt_HL xt_hl ipt_ECN x
Aug 20 19:32:49 winder.lan kernel: Call Trace:[<80256e24>] 0x80256e24
Aug 20 19:32:49 winder.lan kernel: [<80256e24>] 0x80256e24

comment:5 Changed 6 years ago by Tobias Wolf <towolf@…>

The linked Debian bug has a patch for this.

comment:6 Changed 6 years ago by Stijn Tintel <stijn@…>

Noticed this issue as well, on ar71xx/rspro, trunk r27930:

Aug 10 13:40:30 wrt0 kernel: WARNING: at net/sched/sch_hfsc.c:1427 0x8683a9b4()
Aug 10 13:40:30 wrt0 kernel: [truncated] Modules linked in: mmc_spi gpio_buttons ip6t_REJECT ip6t_LOG ip6t_rt ip6t_hbh ip6t_mh ip6t_ipv6header ip6t_frag ip6t_eui64 ip6t_ah ip6table_raw ip6_queue ip6table_mangle ip6table_filter ip6_tables nf_conntrack_ipv6 n
Aug 10 13:40:30 wrt0 kernel: Call Trace:
Aug 10 13:40:30 wrt0 kernel: [<802674d0>] dump_stack+0x8/0x34
Aug 10 13:40:30 wrt0 kernel: [<80075210>] warn_slowpath_common+0x78/0xa4
Aug 10 13:40:30 wrt0 kernel: [<80075254>] warn_slowpath_null+0x18/0x24
Aug 10 13:40:30 wrt0 kernel: [<8683a9b4>] 0x8683a9b4
Aug 10 13:40:30 wrt0 kernel: ---[ end trace 22c07791507b7dec ]---

This keeps appearing until the device reboots. Internet connection is not usable because of this. I also disabled qos-scripts as a temporary workaround.

Now I built r28057, and put the patch from https://patchwork.kernel.org/patch/1065742/ in target/linux/generic/patches-2.6.39/999-fix_sfq_enqueue.patch. With this image, I haven't seen the problem after 1h of uptime while generating some traffic.

comment:7 Changed 6 years ago by Stijn Tintel <stijn@…>

FWIW:

root@wrt0:~# uptime 
 02:51:11 up 5 days,  6:28, load average: 0.02, 0.06, 0.11

Still haven't seen this problem again.

comment:8 Changed 6 years ago by towolf <towolf@…>

I'm testing that patch as well. It seems to work fine here as well.

comment:9 Changed 6 years ago by hechacker1@…

I'm also getting this bug while using Transmission with qos enabled.

sirq's use up most of the router, and I get errors about hfsc in dmesg.

Did this patch make it into the trunk? Can anybody post an alternative link to the patch? kernel.org is down.

comment:10 Changed 6 years ago by Sharkys

Could someone fix this please ? I'm having these as well with build r29456 on TP-LINK TL-WR741ND

comment:11 Changed 6 years ago by jow

  • Owner changed from developers to jow
  • Status changed from new to accepted

Unfortunately the referenced patch appears to be inaccesible, can someone provide a copy? I might look into it then.

comment:12 Changed 6 years ago by anonymous

b.d.o is sometimes a little slow. Maybe try again?

If not, here it is:

Reported-by: Lucas Bocchi <lucas.bocchi@gmail.com>
Reported-and-bisected-by: Michal Pokrywka <wolfmoon@o2.pl>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Michal Soltys <soltys@ziu.info>
Acked-by: Patrick McHardy <kaber@trash.net>
---
 net/sched/sch_sfq.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/net/sched/sch_sfq.c b/net/sched/sch_sfq.c
index 4536ee6..2a2d287 100644
--- a/net/sched/sch_sfq.c
+++ b/net/sched/sch_sfq.c
@@ -410,7 +410,12 @@ sfq_enqueue(struct sk_buff *skb, struct Qdisc *sch)
 	/* Return Congestion Notification only if we dropped a packet
 	 * from this flow.
 	 */
-	return (qlen != slot->qlen) ? NET_XMIT_CN : NET_XMIT_SUCCESS;
+	if (qlen != slot->qlen)
+		return NET_XMIT_CN;
+
+	/* As we dropped a packet, better let upper stack know this */
+	qdisc_tree_decrease_qlen(sch, 1);
+	return NET_XMIT_SUCCESS;
 }
 
 static struct sk_buff *

comment:13 Changed 6 years ago by hechacker1@…

I just want to confirm a month ago I built a kernel with these
changes posted above, and I no longer get lockups/slow downs during heavy traffic
with QoS enabled.

Transmission seemed to reproduce the bug easily without the patch.

comment:14 Changed 6 years ago by Nikolay Martynov <mar.kolya@…>

I have been experiencing same problem on tew-632. Router would log 'WARNING: at net/sched/sch_hfsc.c:1427' messages and then completely stop in about a minute of actively downloading stuff from Internet.

I didn't experience this problem in openwrt trunk before December, and I started seeing these lockups with yesterdays update.

I can confirm that patch mentioned above fixes the problem for me.

comment:15 Changed 6 years ago by hechacker1@…

Did this patch ever make it into trunk? Or get fixed upstream?

Because I just built with an unpatched version of trunk, and I think under heavy P2P load I am getting reboots again, and QoS stalls traffic when enabled with lots of classification happening.

comment:16 Changed 6 years ago by jow

  • Resolution set to fixed
  • Status changed from accepted to closed

Patch added with r29642 - thanks!

comment:17 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.