Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965702Ab3FTXch (ORCPT ); Thu, 20 Jun 2013 19:32:37 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:23431 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965307Ab3FTXcf (ORCPT ); Thu, 20 Jun 2013 19:32:35 -0400 Message-ID: <51C390FA.3080302@oracle.com> Date: Thu, 20 Jun 2013 19:32:10 -0400 From: Sasha Levin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: rubini@gnudd.com CC: LKML , gregkh@linuxfoundation.org Subject: FMC: BUG: scheduling while atomic on boot Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: acsinet22.oracle.com [141.146.126.238] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4467 Lines: 78 Hi guys, I compiled FMC in to test it out, but when booting with it I get: [ 22.120253] BUG: scheduling while atomic: swapper/0/1/0x00000002 [ 22.120371] 4 locks held by swapper/0/1: [ 22.120762] #0: (&__lockdep_no_validate__){......}, at: [] __dri ver_attach+0x40/0xa0 [ 22.121835] #1: (&__lockdep_no_validate__){......}, at: [] __driver_attach+0x4e/0xa0 [ 22.122916] #2: (fc_lock){+.+.+.}, at: [] fc_probe+0x9a/0x110 [ 22.123745] #3: (misc_mtx){+.+.+.}, at: [] misc_register+0x24/0x130 [ 22.124628] CPU: 3 PID: 1 Comm: swapper/0 Tainted: G W 3.10.0-rc6-next-20130620-sasha-00011-gb6e9296 #1044 [ 22.125646] 0000000000000003 ffff8801285597f8 ffffffff84058925 ffff8801285597f8 [ 22.126556] ffff880128555000 ffff880128559818 ffffffff81154a51 ffff880128559a20 [ 22.127367] ffff88012add7880 ffff8801285598a8 ffffffff8405b043 0000000000019190 [ 22.128161] Call Trace: [ 22.128429] [] dump_stack+0x52/0x87 [ 22.128991] [] __schedule_bug+0x71/0x90 [ 22.130363] [] __schedule+0xa3/0x8e0 [ 22.131298] [] schedule+0x55/0x60 [ 22.131492] [] schedule_timeout+0x38/0x2c0 [ 22.131492] [] ? mark_held_locks+0x109/0x140 [ 22.132033] [] ? _raw_spin_unlock_irq+0x2b/0x80 [ 22.132678] [] wait_for_completion+0xb7/0x110 [ 22.133277] [] ? try_to_wake_up+0x2a0/0x2a0 [ 22.133871] [] devtmpfs_create_node+0x128/0x170 [ 22.134474] [] ? complete+0x23/0x60 [ 22.135003] [] device_add+0x220/0x490 [ 22.135539] [] device_register+0x19/0x20 [ 22.136124] [] device_create_vargs+0xb5/0x100 [ 22.136732] [] device_create+0x2c/0x30 [ 22.137296] [] ? mutex_lock_nested+0x40/0x50 [ 22.137885] [] misc_register+0xce/0x130 [ 22.138426] [] fc_probe+0xa3/0x110 [ 22.138943] [] fmc_probe+0x12/0x20 [ 22.140280] [] really_probe+0x10f/0x2e0 [ 22.140280] [] driver_probe_device+0x7b/0xa0 [ 22.140734] [] __driver_attach+0x63/0xa0 [ 22.141302] [] ? driver_probe_device+0xa0/0xa0 [ 22.141917] [] ? driver_probe_device+0xa0/0xa0 [ 22.142515] [] bus_for_each_dev+0x66/0xc0 [ 22.143070] [] driver_attach+0x19/0x20 [ 22.143605] [] bus_add_driver+0x102/0x270 [ 22.144188] [] ? fc_probe+0x110/0x110 [ 22.144727] [] driver_register+0xa8/0x140 [ 22.145322] [] ? fc_probe+0x110/0x110 [ 22.145842] [] fmc_driver_register+0x34/0x40 [ 22.146447] [] fc_init+0x10/0x20 [ 22.146961] [] do_one_initcall+0xae/0x175 [ 22.147530] [] ? parse_args+0x1cb/0x310 [ 22.148081] [] ? kernel_init_freeable+0x288/0x288 [ 22.148723] [] do_basic_setup+0x9c/0xba [ 22.150280] [] ? kernel_init_freeable+0x288/0x288 [ 22.150333] [] ? smp_init+0x8a/0x92 [ 22.151432] [] kernel_init_freeable+0x208/0x288 [ 22.151970] [] ? rest_init+0x140/0x140 [ 22.152551] [] kernel_init+0x9/0xf0 [ 22.153120] [] ret_from_fork+0x7c/0xb0 [ 22.153689] [] ? rest_init+0x140/0x140 [ 22.154233] BUG: scheduling while atomic: swapper/0/1/0x00000002 [ 22.155496] 4 locks held by swapper/0/1: [ 22.155614] #0: (&__lockdep_no_validate__){......}, at: [] __driver_attach+0x40/0xa0 [ 22.155950] #1: (&__lockdep_no_validate__){......}, at: [] __driver_attach+0x4e/0xa0 [ 22.156971] #2: (fc_lock){+.+.+.}, at: [] fc_probe+0x9a/0x110 [ 22.157806] #3: (misc_mtx){+.+.+.}, at: [] misc_register+0x24/0x130 Thanks, Sasha -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/