Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932560Ab3CDVQ0 (ORCPT ); Mon, 4 Mar 2013 16:16:26 -0500 Received: from mail.skyhub.de ([78.46.96.112]:57448 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932160Ab3CDVQX (ORCPT ); Mon, 4 Mar 2013 16:16:23 -0500 Date: Mon, 4 Mar 2013 22:16:08 +0100 From: Borislav Petkov To: dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org Cc: linux-kernel@vger.kernel.org Subject: nouveau lockdep splat Message-ID: <20130304211608.GD22274@pd.tnic> Mail-Followup-To: Borislav Petkov , dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 6619 Lines: 115 New -rc1, so let the stabilization games begin. I see the following on rc1, let me know if you need more info. [ 0.633617] ============================================= [ 0.633618] [ INFO: possible recursive locking detected ] [ 0.633618] 3.9.0-rc1 #2 Not tainted [ 0.633619] --------------------------------------------- [ 0.633619] swapper/0/1 is trying to acquire lock: [ 0.633623] (&dmac->lock){+.+...}, at: [] evo_wait+0x43/0xf0 [ 0.633624] [ 0.633624] but task is already holding lock: [ 0.633626] (&dmac->lock){+.+...}, at: [] evo_wait+0x43/0xf0 [ 0.633626] [ 0.633626] other info that might help us debug this: [ 0.633626] Possible unsafe locking scenario: [ 0.633626] [ 0.633626] CPU0 [ 0.633627] ---- [ 0.633627] lock(&dmac->lock); [ 0.633628] lock(&dmac->lock); [ 0.633628] [ 0.633628] *** DEADLOCK *** [ 0.633628] [ 0.633628] May be due to missing lock nesting notation [ 0.633628] [ 0.633629] 10 locks held by swapper/0/1: [ 0.633632] #0: (&__lockdep_no_validate__){......}, at: [] __driver_attach+0x5b/0xb0 [ 0.633633] #1: (&__lockdep_no_validate__){......}, at: [] __driver_attach+0x69/0xb0 [ 0.633636] #2: (drm_global_mutex){+.+.+.}, at: [] drm_get_pci_dev+0xc6/0x2d0 [ 0.633640] #3: (registration_lock){+.+.+.}, at: [] register_framebuffer+0x25/0x310 [ 0.633642] #4: (&fb_info->lock){+.+.+.}, at: [] lock_fb_info+0x26/0x60 [ 0.633644] #5: (console_lock){+.+.+.}, at: [] register_framebuffer+0x1ba/0x310 [ 0.633646] #6: ((fb_notifier_list).rwsem){.+.+.+}, at: [] __blocking_notifier_call_chain+0x42/0x80 [ 0.633648] #7: (&dev->mode_config.mutex){+.+.+.}, at: [] drm_modeset_lock_all+0x2a/0x70 [ 0.633650] #8: (&crtc->mutex){+.+.+.}, at: [] drm_modeset_lock_all+0x54/0x70 [ 0.633652] #9: (&dmac->lock){+.+...}, at: [] evo_wait+0x43/0xf0 [ 0.633652] [ 0.633652] stack backtrace: [ 0.633653] Pid: 1, comm: swapper/0 Not tainted 3.9.0-rc1 #2 [ 0.633654] Call Trace: [ 0.633656] [] __lock_acquire+0x76b/0x1c20 [ 0.633658] [] ? dcb_table+0x1ac/0x2a0 [ 0.633659] [] ? evo_wait+0x43/0xf0 [ 0.633660] [] lock_acquire+0x8a/0x120 [ 0.633662] [] ? evo_wait+0x43/0xf0 [ 0.633664] [] ? mutex_lock_nested+0x292/0x330 [ 0.633665] [] mutex_lock_nested+0x6e/0x330 [ 0.633667] [] ? evo_wait+0x43/0xf0 [ 0.633668] [] ? __mutex_unlock_slowpath+0xc7/0x150 [ 0.633669] [] evo_wait+0x43/0xf0 [ 0.633671] [] nv50_display_flip_next+0x749/0x7d0 [ 0.633672] [] ? evo_kick+0x37/0x40 [ 0.633674] [] nv50_crtc_commit+0x10e/0x230 [ 0.633676] [] drm_crtc_helper_set_mode+0x365/0x510 [ 0.633677] [] drm_crtc_helper_set_config+0xa4e/0xb70 [ 0.633679] [] drm_mode_set_config_internal+0x31/0x70 [ 0.633680] [] drm_fb_helper_set_par+0x71/0xf0 [ 0.633682] [] fbcon_init+0x514/0x5a0 [ 0.633683] [] visual_init+0xbc/0x120 [ 0.633685] [] do_bind_con_driver+0x163/0x320 [ 0.633686] [] do_take_over_console+0x61/0x70 [ 0.633687] [] do_fbcon_takeover+0x63/0xc0 [ 0.633689] [] fbcon_event_notify+0x5fd/0x700 [ 0.633690] [] notifier_call_chain+0x4d/0x70 [ 0.633691] [] __blocking_notifier_call_chain+0x58/0x80 [ 0.633692] [] blocking_notifier_call_chain+0x16/0x20 [ 0.633694] [] fb_notifier_call_chain+0x1b/0x20 [ 0.633695] [] register_framebuffer+0x1c8/0x310 [ 0.633696] [] drm_fb_helper_initial_config+0x371/0x520 [ 0.633697] [] ? drm_fb_helper_single_add_all_connectors+0x47/0xf0 [ 0.633700] [] ? kmem_cache_alloc_trace+0xee/0x150 [ 0.633701] [] nouveau_fbcon_init+0x10e/0x160 [ 0.633703] [] nouveau_drm_load+0x40a/0x5d0 [ 0.633705] [] ? device_register+0x1e/0x30 [ 0.633706] [] ? drm_sysfs_device_add+0x86/0xb0 [ 0.633708] [] drm_get_pci_dev+0x186/0x2d0 [ 0.633710] [] ? __pci_set_master+0x2b/0x90 [ 0.633711] [] nouveau_drm_probe+0x26a/0x2c0 [ 0.633713] [] ? pci_match_device+0xd5/0xe0 [ 0.633714] [] pci_device_probe+0x136/0x150 [ 0.633715] [] driver_probe_device+0x76/0x210 [ 0.633716] [] __driver_attach+0xab/0xb0 [ 0.633717] [] ? driver_probe_device+0x210/0x210 [ 0.633718] [] bus_for_each_dev+0x5d/0xa0 [ 0.633719] [] driver_attach+0x1e/0x20 [ 0.633720] [] bus_add_driver+0x111/0x280 [ 0.633722] [] ? ttm_init+0x62/0x62 [ 0.633724] [] driver_register+0x77/0x170 [ 0.633725] [] ? ttm_init+0x62/0x62 [ 0.633726] [] __pci_register_driver+0x64/0x70 [ 0.633728] [] drm_pci_init+0x115/0x130 [ 0.633729] [] ? ttm_init+0x62/0x62 [ 0.633730] [] ? ttm_init+0x62/0x62 [ 0.633731] [] nouveau_drm_init+0x4d/0x4f [ 0.633732] [] do_one_initcall+0x122/0x170 [ 0.633734] [] kernel_init_freeable+0x108/0x197 [ 0.633735] [] ? do_early_param+0x8c/0x8c [ 0.633737] [] ? rest_init+0xe0/0xe0 [ 0.633738] [] kernel_init+0xe/0xf0 [ 0.633740] [] ret_from_fork+0x7c/0xb0 [ 0.633741] [] ? rest_init+0xe0/0xe0 -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- 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/