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] [day] [month] [year] [list]
Message-ID: <20201215160747.zzi3jxfy6kv25c2n@linutronix.de>
Date:   Tue, 15 Dec 2020 17:07:47 +0100
From:   Sebastian Andrzej Siewior <bigeasy@...utronix.de>
To:     Ming Lei <ming.lei@...hat.com>
Cc:     Steven Rostedt <rostedt@...dmis.org>, Jens Axboe <axboe@...nel.dk>,
        linux-block@...r.kernel.org, Christoph Hellwig <hch@....de>,
        Ingo Molnar <mingo@...hat.com>, linux-kernel@...r.kernel.org,
        linux-rt-users <linux-rt-users@...r.kernel.org>
Subject: Re: [PATCH] blktrace: fix 'BUG: sleeping function called from
 invalid context' in case of PREEMPT_RT

On 2020-12-15 20:06:04 [+0800], Ming Lei wrote:
> 
> [  284.527619] BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:968
> [  284.527626] in_atomic(): 1, irqs_disabled(): 0, pid: 6705, name: mandb
> [  284.527631] 4 locks held by mandb/6705:
> [  284.527634]  #0: ffff88853f4f2eb0 (&f->f_pos_lock){+.+.}-{0:0}, at: __fdget_pos+0xaf/0xe0
> [  284.527662]  #1: ffff8885eb814048 (&sb->s_type->i_mutex_key#13){++++}-{0:0}, at: xfs_ilock+0x17d/0x590 [xfs]
> [  284.527838]  #2: ffffffffa24d22c0 (rcu_read_lock){....}-{1:2}, at: blk_add_trace_bio+0x0/0x2f0
> [  284.527859]  #3: ffffffffa22177a0 (running_trace_lock){+.+.}-{2:2}, at: __blk_add_trace+0x9ea/0xdf0
> [  284.527877] Preemption disabled at:
> [  284.527886] [<ffffffff9f936743>] get_lock_stats+0x13/0x120
> [  284.527897] CPU: 53 PID: 6705 Comm: mandb Kdump: loaded Not tainted 4.18.0-259.rt7.24.el8.x86_64+debug #1

4.18?
I just gave it a try with 5.10-RT and I don't see a splat. Please retest
with v5.10-RT.

> 
> Thanks,
> Ming

Sebastian

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ