[WARNING v3.9-rc2] [nouveau] possible recursive locking detected in evo_wait()

Konstantin Khlebnikov khlebnikov at openvz.org
Wed Mar 13 03:58:03 PDT 2013


I see this right after modprobe nouveau

[  893.765750] wmi: Mapper loaded
[  893.882484] ACPI: PCI Interrupt Link [APC8] enabled at IRQ 16
[  893.897628] nouveau  [  DEVICE][0000:02:00.0] BOOT0  : 0x086100a2
[  893.897684] nouveau  [  DEVICE][0000:02:00.0] Chipset: G86 (NV86)
[  893.897733] nouveau  [  DEVICE][0000:02:00.0] Family : NV50
[  893.903637] nouveau  [   VBIOS][0000:02:00.0] checking PRAMIN for image...
[  893.967500] nouveau  [   VBIOS][0000:02:00.0] ... appears to be valid
[  893.967549] nouveau  [   VBIOS][0000:02:00.0] using image from PRAMIN
[  893.967972] nouveau  [   VBIOS][0000:02:00.0] BIT signature found
[  893.968429] nouveau  [   VBIOS][0000:02:00.0] version 60.86.34.00.13
[  894.004418] nouveau  [     PFB][0000:02:00.0] RAM type: DDR2
[  894.004460] nouveau  [     PFB][0000:02:00.0] RAM size: 256 MiB
[  894.004497] nouveau  [     PFB][0000:02:00.0]    ZCOMP: 1292 tags
[  894.032167] nouveau  [  PTHERM][0000:02:00.0] FAN control: PWM
[  894.032213] nouveau  [  PTHERM][0000:02:00.0] Thermal management: disabled
[  894.032313] nouveau  [  PTHERM][0000:02:00.0] Programmed thresholds [ 90(3), 95(3), 125(2), 130(10) ]
[  894.033316] [TTM] Zone  kernel: Available graphics memory: 954266 kiB
[  894.033360] [TTM] Initializing pool allocator
[  894.033469] [TTM] Initializing DMA pool allocator
[  894.034451] nouveau  [     DRM] VRAM: 256 MiB
[  894.034551] nouveau  [     DRM] GART: 512 MiB
[  894.034643] nouveau  [     DRM] TMDS table version 2.0
[  894.034736] nouveau  [     DRM] DCB version 4.0
[  894.034826] nouveau  [     DRM] DCB outp 00: 02000300 00000028
[  894.034916] nouveau  [     DRM] DCB outp 01: 01000302 00100030
[  894.035031] nouveau  [     DRM] DCB outp 02: 04011320 00000028
[  894.035127] nouveau  [     DRM] DCB outp 03: 010223f1 00c0c080
[  894.035222] nouveau  [     DRM] DCB conn 00: 1030
[  894.035341] nouveau  [     DRM] DCB conn 01: 0100
[  894.035458] nouveau  [     DRM] DCB conn 02: 0210
[  894.035576] nouveau  [     DRM] DCB conn 03: 0211
[  894.035694] nouveau  [     DRM] DCB conn 04: 0213
[  894.036070] nouveau E[  PTHERM][0000:02:00.0] unhandled intr 0x000000e1
[  894.048895] nouveau W[     DRM] failed to create encoder 0/1/0: -19
[  894.049109] nouveau W[     DRM] TV-1 has no encoders, removing
[  894.050184] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[  894.050275] [drm] No driver support for vblank timestamp query.
[  894.050772] nouveau  [     DRM] 1 available performance level(s)
[  894.050864] nouveau  [     DRM] 0: core 500MHz shader 1400MHz memory 400MHz fanspeed 100%
[  894.051023] nouveau  [     DRM] c: core 459MHz shader 918MHz memory 399MHz voltage 1320mV
[  894.327037] nouveau  [     DRM] MM: using CRYPT for buffer copies
[  894.368364] nouveau  [     DRM] allocated 1600x1200 fb: 0x60000, bo ffff88007a0459c8
[  894.373961] fbcon: nouveaufb (fb0) is primary device
[  894.379252]
[  894.379254] =============================================
[  894.379255] [ INFO: possible recursive locking detected ]
[  894.379260] 3.9.0-rc2-zurg-00195-gab5d113 #23 Not tainted
[  894.379261] ---------------------------------------------
[  894.379263] modprobe/4180 is trying to acquire lock:
[  894.379364]  (&dmac->lock){+.+...}, at: [<ffffffffa0339aa9>] evo_wait+0x49/0xf0 [nouveau]
[  894.379366]
[  894.379366] but task is already holding lock:
[  894.379425]  (&dmac->lock){+.+...}, at: [<ffffffffa0339aa9>] evo_wait+0x49/0xf0 [nouveau]
[  894.379426]
[  894.379426] other info that might help us debug this:
[  894.379428]  Possible unsafe locking scenario:
[  894.379428]
[  894.379429]        CPU0
[  894.379430]        ----
[  894.379433]   lock(&dmac->lock);
[  894.379437]   lock(&dmac->lock);
[  894.379438]
[  894.379438]  *** DEADLOCK ***
[  894.379438]
[  894.379439]  May be due to missing lock nesting notation
[  894.379439]
[  894.379442] 10 locks held by modprobe/4180:
[  894.379457]  #0:  (&__lockdep_no_validate__){......}, at: [<ffffffff8140c09b>] __driver_attach+0x5b/0xb0
[  894.379468]  #1:  (&__lockdep_no_validate__){......}, at: [<ffffffff8140c0a9>] __driver_attach+0x69/0xb0
[  894.379479]  #2:  (drm_global_mutex){+.+.+.}, at: [<ffffffff813f1be6>] drm_get_pci_dev+0xc6/0x2d0
[  894.379490]  #3:  (registration_lock){+.+.+.}, at: [<ffffffff8134b605>] register_framebuffer+0x25/0x300
[  894.379499]  #4:  (&fb_info->lock){+.+.+.}, at: [<ffffffff81349ab6>] lock_fb_info+0x26/0x60
[  894.379509]  #5:  (console_lock){+.+.+.}, at: [<ffffffff8134b798>] register_framebuffer+0x1b8/0x300
[  894.379520]  #6:  ((fb_notifier_list).rwsem){.+.+.+}, at: [<ffffffff810786b2>] __blocking_notifier_call_chain+0x42/0x80
[  894.379531]  #7:  (&dev->mode_config.mutex){+.+.+.}, at: [<ffffffff813f58da>] drm_modeset_lock_all+0x2a/0x70
[  894.379540]  #8:  (&crtc->mutex){+.+.+.}, at: [<ffffffff813f5904>] drm_modeset_lock_all+0x54/0x70
[  894.379601]  #9:  (&dmac->lock){+.+...}, at: [<ffffffffa0339aa9>] evo_wait+0x49/0xf0 [nouveau]
[  894.379602]
[  894.379602] stack backtrace:
[  894.379606] Pid: 4180, comm: modprobe Not tainted 3.9.0-rc2-zurg-00195-gab5d113 #23
[  894.379607] Call Trace:
[  894.379615]  [<ffffffff8109b049>] __lock_acquire+0x6c9/0x1b00
[  894.379621]  [<ffffffff8109d2bb>] ? mark_held_locks+0x9b/0x100
[  894.379626]  [<ffffffff8109c9e5>] lock_acquire+0x85/0x120
[  894.379682]  [<ffffffffa0339aa9>] ? evo_wait+0x49/0xf0 [nouveau]
[  894.379691]  [<ffffffff8171ee82>] ? mutex_lock_nested+0x292/0x330
[  894.379696]  [<ffffffff8171ec5e>] mutex_lock_nested+0x6e/0x330
[  894.379752]  [<ffffffffa0339aa9>] ? evo_wait+0x49/0xf0 [nouveau]
[  894.379756]  [<ffffffff8109d2bb>] ? mark_held_locks+0x9b/0x100
[  894.379812]  [<ffffffffa0339aa9>] evo_wait+0x49/0xf0 [nouveau]
[  894.379868]  [<ffffffffa033c543>] nv50_display_flip_next+0x713/0x7a0 [nouveau]
[  894.379874]  [<ffffffff8171f07e>] ? mutex_unlock+0xe/0x10
[  894.379930]  [<ffffffffa0339b87>] ? evo_kick+0x37/0x40 [nouveau]
[  894.379985]  [<ffffffffa033c7ce>] nv50_crtc_commit+0x10e/0x230 [nouveau]
[  894.379997]  [<ffffffffa027d0f5>] drm_crtc_helper_set_mode+0x335/0x4c0 [drm_kms_helper]
[  894.380008]  [<ffffffffa027e4ce>] drm_crtc_helper_set_config+0xa4e/0xb70 [drm_kms_helper]
[  894.380013]  [<ffffffff813f6a41>] drm_mode_set_config_internal+0x31/0x70
[  894.380013]  [<ffffffffa027c621>] drm_fb_helper_set_par+0x71/0xf0 [drm_kms_helper]
[  894.380013]  [<ffffffff81356e34>] fbcon_init+0x514/0x5a0
[  894.380013]  [<ffffffff813c136c>] visual_init+0xbc/0x120
[  894.380013]  [<ffffffff813c3a23>] do_bind_con_driver+0x163/0x320
[  894.380013]  [<ffffffff813c3cb1>] do_take_over_console+0x61/0x70
[  894.380013]  [<ffffffff81355353>] do_fbcon_takeover+0x63/0xc0
[  894.380013]  [<ffffffff81358f15>] fbcon_event_notify+0x715/0x820
[  894.380013]  [<ffffffff8172614d>] notifier_call_chain+0x4d/0x70
[  894.380013]  [<ffffffff810786c8>] __blocking_notifier_call_chain+0x58/0x80
[  894.380013]  [<ffffffff81078706>] blocking_notifier_call_chain+0x16/0x20
[  894.380013]  [<ffffffff813495bb>] fb_notifier_call_chain+0x1b/0x20
[  894.380013]  [<ffffffff8134b7a8>] register_framebuffer+0x1c8/0x300
[  894.380013]  [<ffffffffa027c351>] drm_fb_helper_initial_config+0x371/0x520 [drm_kms_helper]
[  894.380013]  [<ffffffffa027b487>] ? drm_fb_helper_single_add_all_connectors+0x47/0xf0 [drm_kms_helper]
[  894.380013]  [<ffffffffa027b487>] ? drm_fb_helper_single_add_all_connectors+0x47/0xf0 [drm_kms_helper]
[  894.380013]  [<ffffffff8112ad03>] ? kmem_cache_alloc_trace+0x163/0x180
[  894.380013]  [<ffffffffa03236de>] nouveau_fbcon_init+0x10e/0x160 [nouveau]
[  894.380013]  [<ffffffffa0313eea>] nouveau_drm_load+0x40a/0x5d0 [nouveau]
[  894.380013]  [<ffffffff8140915e>] ? device_register+0x1e/0x30
[  894.380013]  [<ffffffff813f3376>] ? drm_sysfs_device_add+0x86/0xb0
[  894.380013]  [<ffffffff813f1ca6>] drm_get_pci_dev+0x186/0x2d0
[  894.380013]  [<ffffffffa031431a>] nouveau_drm_probe+0x26a/0x2c0 [nouveau]
[  894.380013]  [<ffffffff8132e76c>] pci_device_probe+0x9c/0xe0
[  894.380013]  [<ffffffff8140bd3b>] driver_probe_device+0x8b/0x390
[  894.380013]  [<ffffffff8140c0eb>] __driver_attach+0xab/0xb0
[  894.380013]  [<ffffffff8140c040>] ? driver_probe_device+0x390/0x390
[  894.380013]  [<ffffffff81409cad>] bus_for_each_dev+0x5d/0xa0
[  894.380013]  [<ffffffff8140b69e>] driver_attach+0x1e/0x20
[  894.380013]  [<ffffffff8140b231>] bus_add_driver+0x121/0x2b0
[  894.380013]  [<ffffffffa038d000>] ? 0xffffffffa038cfff
[  894.380013]  [<ffffffff8140c7d7>] driver_register+0x77/0x170
[  894.380013]  [<ffffffffa038d000>] ? 0xffffffffa038cfff
[  894.380013]  [<ffffffff8132d8d4>] __pci_register_driver+0x64/0x70
[  894.380013]  [<ffffffff813f1f05>] drm_pci_init+0x115/0x130
[  894.380013]  [<ffffffffa038d000>] ? 0xffffffffa038cfff
[  894.380013]  [<ffffffffa038d000>] ? 0xffffffffa038cfff
[  894.380013]  [<ffffffffa038d04d>] nouveau_drm_init+0x4d/0x4f [nouveau]
[  894.380013]  [<ffffffff81000312>] do_one_initcall+0x122/0x170
[  894.380013]  [<ffffffff810a92fd>] load_module+0x1b5d/0x26e0
[  894.380013]  [<ffffffff81322b80>] ? ddebug_proc_open+0xe0/0xe0
[  894.380013]  [<ffffffff8172245c>] ? retint_restore_args+0xe/0xe
[  894.380013]  [<ffffffff810a9f2e>] sys_init_module+0xae/0x110
[  894.380013]  [<ffffffff8172a942>] system_call_fastpath+0x16/0x1b
[  894.435597] Console: switching to colour frame buffer device 200x75
[  894.513780] nouveau 0000:02:00.0: fb0: nouveaufb frame buffer device
[  894.516082] nouveau 0000:02:00.0: registered panic notifier
[  894.517288] [drm] Initialized nouveau 1.1.0 20120801 for 0000:02:00.0 on minor 0
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: .config
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130313/e7e4cf2f/attachment-0001.ksh>


More information about the dri-devel mailing list