From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755343Ab3EQHbf (ORCPT ); Fri, 17 May 2013 03:31:35 -0400 Received: from szxga01-in.huawei.com ([119.145.14.64]:50503 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754466Ab3EQHbd (ORCPT ); Fri, 17 May 2013 03:31:33 -0400 Message-ID: <5195DCBC.4010506@huawei.com> Date: Fri, 17 May 2013 15:31:08 +0800 From: Li Zefan User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: LKML CC: , Dave Airlie , Daniel Vetter , Andrew Morton Subject: Can someone please fix this ? Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.135.68.215] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I've been seeing this since 3.8-rcX. It's very annoying... [ 634.543378] ====================================================== [ 634.543378] [ INFO: possible circular locking dependency detected ] [ 634.543380] 3.10.0-rc1-0.7-default+ #8 Not tainted [ 634.543381] ------------------------------------------------------- [ 634.543382] kworker/3:1/66 is trying to acquire lock: [ 634.543392] (&fb_info->lock){+.+.+.}, at: [] lock_fb_info+0x27/0x60 [ 634.543393] [ 634.543393] but task is already holding lock: [ 634.543401] (console_lock){+.+.+.}, at: [] console_callback+0x13/0x130 [ 634.543401] [ 634.543401] which lock already depends on the new lock. [ 634.543401] [ 634.543402] [ 634.543402] the existing dependency chain (in reverse order) is: [ 634.543404] [ 634.543404] -> #1 (console_lock){+.+.+.}: [ 634.543409] [] lock_acquire+0xdc/0x110 [ 634.543413] [] console_lock+0x5f/0x70 [ 634.543416] [] register_framebuffer+0x262/0x350 [ 634.543422] [] vesafb_probe+0x654/0x928 [ 634.543427] [] platform_drv_probe+0x3d/0x70 [ 634.543430] [] driver_probe_device+0xc1/0x3e0 [ 634.543433] [] __driver_attach+0x9b/0xa0 [ 634.543435] [] bus_for_each_dev+0x98/0xc0 [ 634.543437] [] driver_attach+0x21/0x30 [ 634.543440] [] bus_add_driver+0x111/0x270 [ 634.543442] [] driver_register+0x68/0x150 [ 634.543444] [] platform_driver_register+0x46/0x50 [ 634.543447] [] platform_driver_probe+0x1b/0xb0 [ 634.543449] [] vesafb_init+0xff/0x258 [ 634.543455] [] do_one_initcall+0x15a/0x1c0 [ 634.543459] [] kernel_init_freeable+0x15d/0x1f3 [ 634.543464] [] kernel_init+0xe/0x180 [ 634.543470] [] ret_from_fork+0x7c/0xb0 [ 634.543472] [ 634.543472] -> #0 (&fb_info->lock){+.+.+.}: [ 634.543474] [] __lock_acquire+0x14dd/0x18a0 [ 634.543476] [] lock_acquire+0xdc/0x110 [ 634.543479] [] mutex_lock_nested+0x40/0x390 [ 634.543481] [] lock_fb_info+0x27/0x60 [ 634.543484] [] fbcon_blank+0x289/0x2d0 [ 634.543486] [] do_blank_screen+0x1c3/0x260 [ 634.543488] [] console_callback+0x9c/0x130 [ 634.543494] [] process_one_work+0x205/0x570 [ 634.543496] [] worker_thread+0x133/0x420 [ 634.543499] [] kthread+0xde/0xf0 [ 634.543502] [] ret_from_fork+0x7c/0xb0 [ 634.543502] [ 634.543502] other info that might help us debug this: [ 634.543502] [ 634.543503] Possible unsafe locking scenario: [ 634.543503] [ 634.543503] CPU0 CPU1 [ 634.543504] ---- ---- [ 634.543505] lock(console_lock); [ 634.543507] lock(&fb_info->lock); [ 634.543508] lock(console_lock); [ 634.543509] lock(&fb_info->lock); [ 634.543510] [ 634.543510] *** DEADLOCK *** [ 634.543510] [ 634.543511] 3 locks held by kworker/3:1/66: [ 634.543516] #0: (events){.+.+.+}, at: [] process_one_work+0x16e/0x570 [ 634.543520] #1: (console_work){+.+...}, at: [] process_one_work+0x16e/0x570 [ 634.543523] #2: (console_lock){+.+.+.}, at: [] console_callback+0x13/0x130 [ 634.543524] [ 634.543524] stack backtrace: [ 634.543526] CPU: 3 PID: 66 Comm: kworker/3:1 Not tainted 3.10.0-rc1-0.7-default+ #8 [ 634.543527] Hardware name: Huawei Technologies Co., Ltd. Tecal RH2285 /BC11BTSA , BIOS CTSAV036 04/27/2011 [ 634.543530] Workqueue: events console_callback [ 634.543534] ffffffff81e498a0 ffff880bf910f9f8 ffffffff814984cc ffff880bf910fa38 [ 634.543536] ffffffff810a71f3 0000000000000003 0000000000000050 0000000000000003 [ 634.543539] 0000000000000000 ffff880bf91426d0 0000878a84046138 ffff880bf910fb18 [ 634.543540] Call Trace: [ 634.543543] [] dump_stack+0x19/0x1d [ 634.543545] [] print_circular_bug+0x223/0x330 [ 634.543547] [] __lock_acquire+0x14dd/0x18a0 [ 634.543552] [] ? bitfill_aligned+0xe2/0x140 [ 634.543554] [] lock_acquire+0xdc/0x110 [ 634.543556] [] ? lock_fb_info+0x27/0x60 [ 634.543559] [] mutex_lock_nested+0x40/0x390 [ 634.543561] [] ? lock_fb_info+0x27/0x60 [ 634.543563] [] ? bit_clear+0xd9/0xf0 [ 634.543567] [] ? blocking_notifier_call_chain+0x16/0x20 [ 634.543570] [] ? fbcon_clear+0x12c/0x1e0 [ 634.543572] [] lock_fb_info+0x27/0x60 [ 634.543575] [] fbcon_blank+0x289/0x2d0 [ 634.543578] [] ? _raw_spin_unlock_irqrestore+0x44/0x70 [ 634.543580] [] ? trace_hardirqs_on_caller+0x14d/0x1f0 [ 634.543582] [] ? trace_hardirqs_on+0xd/0x10 [ 634.543587] [] ? try_to_del_timer_sync+0x5b/0x70 [ 634.543589] [] ? trace_hardirqs_on_caller+0x14d/0x1f0 [ 634.543592] [] do_blank_screen+0x1c3/0x260 [ 634.543594] [] console_callback+0x9c/0x130 [ 634.543597] [] process_one_work+0x205/0x570 [ 634.543599] [] ? process_one_work+0x16e/0x570 [ 634.543601] [] worker_thread+0x133/0x420 [ 634.543603] [] ? trace_hardirqs_on+0xd/0x10 [ 634.543605] [] ? manage_workers+0x320/0x320 [ 634.543607] [] kthread+0xde/0xf0 [ 634.543610] [] ? __init_kthread_worker+0x70/0x70 [ 634.543613] [] ret_from_fork+0x7c/0xb0 [ 634.543615] [] ? __init_kthread_worker+0x70/0x70