From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932076AbaEVXKG (ORCPT ); Thu, 22 May 2014 19:10:06 -0400 Received: from www.meduna.org ([92.240.244.38]:57893 "EHLO meduna.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753560AbaEVXKC (ORCPT ); Thu, 22 May 2014 19:10:02 -0400 Message-ID: <537E83C0.9040406@meduna.org> Date: Fri, 23 May 2014 01:09:52 +0200 From: Stanislav Meduna User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: "linux-rt-users@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Linux ARM Kernel Subject: BUG: sleeping function called from invalid context (do_force_sig_info) X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Authenticated-User: stano@meduna.org X-Authenticator: dovecot_plain X-Spam-Score: -6.9 X-Spam-Score-Int: -68 X-Exim-Version: 4.72 (build at 25-Oct-2012 18:35:58) X-Date: 2014-05-23 01:09:58 X-Connected-IP: 95.105.163.217:16524 X-Message-Linecount: 45 X-Body-Linecount: 32 X-Message-Size: 2514 X-Body-Size: 1908 X-Received-Count: 1 X-Recipient-Count: 3 X-Local-Recipient-Count: 3 X-Local-Recipient-Defer-Count: 0 X-Local-Recipient-Fail-Count: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, this is on a i.MX28 running a 3.12.19-rt30 [27284.008123] BUG: sleeping function called from invalid context at /home/nxtdev/Kernels/linux-stable-rt/kernel/rtmutex.c:673 [27284.008143] in_atomic(): 0, irqs_disabled(): 128, pid: 1335, name: nxt [27284.008170] CPU: 0 PID: 1335 Comm: nxt Not tainted 3.12.19-rt30+ #178 [27284.008255] [] (unwind_backtrace+0x0/0xf4) from [] (show_stack+0x10/0x14) [27284.008306] [] (show_stack+0x10/0x14) from [] (rt_spin_lock+0x18/0x2c) [27284.008348] [] (rt_spin_lock+0x18/0x2c) from [] (do_force_sig_info+0x20/0xd8) [27284.008387] [] (do_force_sig_info+0x20/0xd8) from [] (__do_user_fault+0x88/0xc8) [27284.008419] [] (__do_user_fault+0x88/0xc8) from [] (do_bad_area+0x64/0x70) [27284.008452] [] (do_bad_area+0x64/0x70) from [] (do_translation_fault+0x6c/0xa8) [27284.008483] [] (do_translation_fault+0x6c/0xa8) from [] (do_DataAbort+0x34/0x98) [27284.008520] [] (do_DataAbort+0x34/0x98) from [] (__dabt_usr+0x3c/0x40) [27284.008531] Exception stack(0xc1173fb0 to 0xc1173ff8) [27284.008554] 3fa0: b6634b48 d6634b44 d6634a94 07ffffff [27284.008583] 3fc0: b6634c1c b6ef1160 b6ef1000 00000152 b6635460 b6ee6b34 00000000 b6634b4c [27284.008605] 3fe0: 00000152 b6634a80 001f813c 00203888 60000010 ffffffff There are some changes to the stock 3.12.19-rt30 (added drivers) where I can not exclude that there is some bug lurking, and a bug in userspace is even more probable; I am just forwarding it because of the sleeping from invalid context thing. After a reboot I am unfortunately not able to easily reproduce it. There was no core dump (they are enabled) and the application did not exit (there is no SEGV handler). Thanks -- Stano