From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6022CC48BD5 for ; Tue, 25 Jun 2019 08:08:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3F7D3214DA for ; Tue, 25 Jun 2019 08:08:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728465AbfFYIIV convert rfc822-to-8bit (ORCPT ); Tue, 25 Jun 2019 04:08:21 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:41045 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726663AbfFYIIV (ORCPT ); Tue, 25 Jun 2019 04:08:21 -0400 Received: from bigeasy by Galois.linutronix.de with local (Exim 4.80) (envelope-from ) id 1hfgV0-0008A6-Fi; Tue, 25 Jun 2019 10:08:18 +0200 Date: Tue, 25 Jun 2019 10:08:18 +0200 From: Sebastian Andrzej Siewior To: Yann COLLETTE Cc: linux-rt-users@vger.kernel.org Subject: Re: BUG kernel 5.0.21rt12 Message-ID: <20190625080818.plcqwdhux5nhx3xg@linutronix.de> References: <20190530025254.GE23690@uudg.org> <20190624180115.GC4902@uudg.org> <58aace7a-295c-c20e-4dc6-5d74a2b58545@free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <58aace7a-295c-c20e-4dc6-5d74a2b58545@free.fr> User-Agent: NeoMutt/20180716 Sender: linux-rt-users-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rt-users@vger.kernel.org On 2019-06-24 20:29:14 [+0200], Yann COLLETTE wrote: > Hello, Hi, > > I have compiled a vanilla kernel 5.0.21rt12 on Fedora 30 64 bits. > > I use this kernel for music (jack-audio oriented). > > I meet a bug with the last RT kernel. > > I was just able to get a kernel oops (this is my first "bug report") ... formatted: > juin 24 18:38:08 localhost.localdomain kernel: BUG: scheduling while atomic: Xorg:rcs0/1129/0x00000003 > juin 24 18:38:08 localhost.localdomain kernel: Modules linked in: snd_seq_midi snd_seq_midi_event snd_seq_dummy fuse xt_CHECKSUM ipt_MASQUERADE tun bridge stp llc cc> > juin 24 18:38:08 localhost.localdomain kernel:  wmi_bmof mac80211 snd_seq snd_seq_device snd_pcm cfg80211 sp5100_tco snd_timer rfkill pcc_cpufreq snd soundcore fam15> > juin 24 18:38:08 localhost.localdomain kernel: Preemption disabled at: > juin 24 18:38:08 localhost.localdomain kernel: [] reservation_object_add_shared_fence+0x3e/0x1b0 > juin 24 18:38:08 localhost.localdomain kernel: CPU: 1 PID: 1129 Comm: Xorg:rcs0 Not tainted 5.0.21-rt12.fc30.x86_64 #1 > juin 24 18:38:08 localhost.localdomain kernel: Hardware name: HP 450-a121nf/2B29, BIOS A0.11 01/15/2016 > juin 24 18:38:08 localhost.localdomain kernel: Call Trace: > juin 24 18:38:08 localhost.localdomain kernel: dump_stack+0x5c/0x80 > juin 24 18:38:08 localhost.localdomain kernel:  ? reservation_object_add_shared_fence+0x3e/0x1b0 > juin 24 18:38:08 localhost.localdomain kernel: __schedule_bug.cold+0x44/0x51 > juin 24 18:38:08 localhost.localdomain kernel: __schedule+0x5c6/0x6f0 > juin 24 18:38:08 localhost.localdomain kernel:  ? unpin_current_cpu+0x3a/0x80 > juin 24 18:38:08 localhost.localdomain kernel:  schedule+0x43/0xd0 > juin 24 18:38:08 localhost.localdomain kernel: rt_spin_lock_slowlock_locked+0x114/0x2b0 > juin 24 18:38:08 localhost.localdomain kernel: rt_spin_lock_slowlock+0x51/0x80 > juin 24 18:38:08 localhost.localdomain kernel: __wake_up_common_lock+0x61/0xb0 and there is the wake_up() > juin 24 18:38:08 localhost.localdomain kernel: radeon_fence_is_signaled+0x74/0x90 [radeon] > juin 24 18:38:08 localhost.localdomain kernel: reservation_object_add_shared_fence+0x97/0x1b0 This one does preempt_disable() + write_seqcount_begin() I'm not yet sure what to do about this. > juin 24 18:38:08 localhost.localdomain kernel: ttm_eu_fence_buffer_objects+0x49/0xa0 [ttm] > juin 24 18:38:08 localhost.localdomain kernel: radeon_cs_parser_fini+0x10f/0x120 [radeon] > juin 24 18:38:08 localhost.localdomain kernel: radeon_cs_ioctl+0x22b/0x800 [radeon] > juin 24 18:38:08 localhost.localdomain kernel:  ? radeon_cs_parser_init+0x20/0x20 [radeon] > juin 24 18:38:08 localhost.localdomain kernel: drm_ioctl_kernel+0xa7/0xf0 [drm] > juin 24 18:38:08 localhost.localdomain kernel: drm_ioctl+0x208/0x390 [drm] > juin 24 18:38:08 localhost.localdomain kernel:  ? radeon_cs_parser_init+0x20/0x20 [radeon] > juin 24 18:38:08 localhost.localdomain kernel:  ? migrate_enable+0x235/0x400 > juin 24 18:38:08 localhost.localdomain kernel:  ? _raw_spin_unlock_irqrestore+0x1f/0x60 > juin 24 18:38:08 localhost.localdomain kernel: radeon_drm_ioctl+0x49/0x80 [radeon] > juin 24 18:38:08 localhost.localdomain kernel: do_vfs_ioctl+0x40c/0x670 > juin 24 18:38:08 localhost.localdomain kernel: ksys_ioctl+0x5e/0x90 > juin 24 18:38:08 localhost.localdomain kernel: __x64_sys_ioctl+0x16/0x20 > juin 24 18:38:08 localhost.localdomain kernel: do_syscall_64+0x5b/0x180 > juin 24 18:38:08 localhost.localdomain kernel: entry_SYSCALL_64_after_hwframe+0x44/0xa9 > juin 24 18:38:08 localhost.localdomain kernel: RIP: 0033:0x7f9c10a221fb > juin 24 18:38:08 localhost.localdomain kernel: Code: 0f 1e fa 48 8b 05 8d dc 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 0> > > Best regards, > > > YC Sebastian