lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 30 Jan 2018 18:46:52 +0100
From:   "Roland Franke" <fli4l@...nke-prem.de>
To:     "Cong Wang" <xiyou.wangcong@...il.com>,
        "Stephen Hemminger" <stephen@...workplumber.org>
Cc:     "Eric Dumazet" <eric.dumazet@...il.com>,
        "Linux Kernel Network Developers" <netdev@...r.kernel.org>
Subject: Re: iproute2 4.14.1 tc class add come to kernel-panic

Hello,

> On Mon, Jan 29, 2018 at 9:03 AM, Cong Wang <xiyou.wangcong@...il.com> 
> wrote:
>> On Mon, Jan 29, 2018 at 8:00 AM, Stephen Hemminger
>> <stephen@...workplumber.org> wrote:
>>> On Mon, 29 Jan 2018 16:18:07 +0100
>>> "Roland Franke" <fli4l@...nke-prem.de> wrote:
>>>
>>>> Hello,
>>>>
>>>> > To: Roland Franke ; netdev@...r.kernel.org
>>>> > Subject: Re: BUG: iproute2 4.14.1 tc class add come to kernel-panic
>>>> >>
>>>> >> tc qdisc add dev eth0 root handle 20: htb default 4 r2q 1
>>>> >> tc class add dev eth0 parent 20: classid 20:7 htb rate 10000kbit
>>>> >> tc qdisc add dev eth0 parent 20:7 sfq perturb 10
>>>> >> tc class add dev eth0 parent 20:7 classid 20:1 htb rate 200kbit ceil
>>>> >> 10000kbit prio 0
>>>> >>
>>>> >> I become an Kernel-panic with the following output:
>>>> >> kern.err kernel: BUG: scheduling while atomic: tc/1036/0x00000200
>>>> >
>>>>
>>>> > Would you have a stack trace to share with us ?
>>>>
>>>> As i will be an absolute newby here, i will not know how to
>>>> get the stack trace out.
>>>> When i will get some information how to get this, i can try to
>>>> give you this information.
>>>> But by my last tests i made the first 3 commands on an console
>>>> and had no error. Only by typing the last line i will get the error and
>>>> here i get actally only the "kern.err kernel: BUG: ....." message.
>>>>
>>>> Roland
>>>
>>> It generates this with lockdep (on 4.15)
>>>
>>> [  151.355076] HTB: quantum of class 200007 is big. Consider r2q change.
>>
>>
>> We hold qdisc tree spinlock but call rcu_barrier() in
>> mini_qdisc_pair_swap()...

> Well, not min_qdisc things, but it should be resolved by:

> commit efbf78973978b0d25af59bc26c8013a942af6e64
> Author: Cong Wang <xiyou.wangcong@...il.com>
> Date:   Mon Dec 4 10:48:18 2017 -0800

>     net_sched: get rid of rcu_barrier() in tcf_block_put_ext()

Against what kernel-version was this be made?
patch from https://patchwork.ozlabs.org/patch/844372/
will not fit against kernel 4.14.15

Powered by blists - more mailing lists