lockdep splat with current 3.3 kernel in

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This showed when just moving around and doing normal activity.



[17580.856410] skge 0000:09:00.0: eth3: disabling interface
[18640.814641] 
[18640.814646] ======================================================
[18640.814649] [ INFO: possible circular locking dependency detected ]
[18640.814654] 3.2.0-net+ #7 Not tainted
[18640.814656] -------------------------------------------------------
[18640.814659] Xorg/2113 is trying to acquire lock:
[18640.814662]  (&rdev->ib_pool.mutex){+.+.+.}, at: [<ffffffffa01fa99f>] radeon_ib_get+0x6c/0x1f9 [radeon]
[18640.814700] 
[18640.814701] but task is already holding lock:
[18640.814704]  (&rdev->r600_blit.mutex){+.+.+.}, at: [<ffffffffa02109f8>] r600_copy_blit+0x38/0xa8 [radeon]
[18640.814736] 
[18640.814737] which lock already depends on the new lock.
[18640.814738] 
[18640.814741] 
[18640.814742] the existing dependency chain (in reverse order) is:
[18640.814745] 
[18640.814746] -> #2 (&rdev->r600_blit.mutex){+.+.+.}:
[18640.814753]        [<ffffffff810ada61>] lock_acquire+0xbf/0xfe
[18640.814760]        [<ffffffff81439942>] __mutex_lock_common+0x4c/0x360
[18640.814767]        [<ffffffff81439d29>] mutex_lock_nested+0x2f/0x36
[18640.814772]        [<ffffffffa02109f8>] r600_copy_blit+0x38/0xa8 [radeon]
[18640.814801]        [<ffffffffa01eabcf>] radeon_move_blit+0x230/0x275 [radeon]
[18640.814827]        [<ffffffffa01eb259>] radeon_bo_move+0x105/0x12c [radeon]
[18640.814850]        [<ffffffffa017d6e2>] ttm_bo_handle_move_mem+0x1b6/0x2bd [ttm]
[18640.814860]        [<ffffffffa017daa7>] ttm_bo_evict+0x2be/0x307 [ttm]
[18640.814869]        [<ffffffffa017dc60>] ttm_mem_evict_first+0x170/0x19c [ttm]
[18640.814879]        [<ffffffffa017e341>] ttm_bo_mem_space+0x284/0x2d4 [ttm]
[18640.814888]        [<ffffffffa017e454>] ttm_bo_move_buffer+0xc3/0x119 [ttm]
[18640.814898]        [<ffffffffa017e56c>] ttm_bo_validate+0xc2/0x100 [ttm]
[18640.814907]        [<ffffffffa017e8eb>] ttm_bo_init+0x341/0x37a [ttm]
[18640.814917]        [<ffffffffa01ebf04>] radeon_bo_create+0x1d9/0x262 [radeon]
[18640.814940]        [<ffffffffa01f9deb>] radeon_gem_object_create+0x56/0xe6 [radeon]
[18640.814969]        [<ffffffffa01fa1dc>] radeon_gem_create_ioctl+0x4b/0x81 [radeon]
[18640.814997]        [<ffffffffa0144949>] drm_ioctl+0x2bf/0x38b [drm]
[18640.815010]        [<ffffffff81157895>] do_vfs_ioctl+0x46e/0x4af
[18640.815017]        [<ffffffff8115792c>] sys_ioctl+0x56/0x7a
[18640.815022]        [<ffffffff81442469>] system_call_fastpath+0x16/0x1b
[18640.815028] 
[18640.815029] -> #1 (&rdev->vram_mutex){+.+.+.}:
[18640.815036]        [<ffffffff810ada61>] lock_acquire+0xbf/0xfe
[18640.815041]        [<ffffffff81439942>] __mutex_lock_common+0x4c/0x360
[18640.815047]        [<ffffffff81439d29>] mutex_lock_nested+0x2f/0x36
[18640.815052]        [<ffffffffa01ebebf>] radeon_bo_create+0x194/0x262 [radeon]
[18640.815077]        [<ffffffffa022ee22>] radeon_sa_bo_manager_init+0x42/0x64 [radeon]
[18640.815106]        [<ffffffffa01fb2d8>] radeon_ib_pool_init+0x55/0x115 [radeon]
[18640.815134]        [<ffffffffa0214c14>] rv770_init+0x186/0x227 [radeon]
[18640.815162]        [<ffffffffa01da0e9>] radeon_device_init+0x4df/0x571 [radeon]
[18640.815180]        [<ffffffffa01db4ac>] radeon_driver_load_kms+0x9c/0x101 [radeon]
[18640.815200]        [<ffffffffa014bc0e>] drm_get_pci_dev+0x164/0x269 [drm]
[18640.815216]        [<ffffffffa022fe69>] radeon_pci_probe+0x9d/0xa5 [radeon]
[18640.815239]        [<ffffffff81241163>] local_pci_probe+0x44/0x75
[18640.815246]        [<ffffffff812423e2>] pci_device_probe+0xd0/0xff
[18640.815251]        [<ffffffff812cc4d6>] driver_probe_device+0xb5/0x150
[18640.815257]        [<ffffffff812cc5cf>] __driver_attach+0x5e/0x81
[18640.815263]        [<ffffffff812cae76>] bus_for_each_dev+0x5c/0x88
[18640.815269]        [<ffffffff812cc190>] driver_attach+0x1e/0x20
[18640.815274]        [<ffffffff812cbdd3>] bus_add_driver+0xb0/0x206
[18640.815280]        [<ffffffff812cca96>] driver_register+0x98/0x105
[18640.815285]        [<ffffffff81242600>] __pci_register_driver+0x66/0xd2
[18640.815290]        [<ffffffffa014bd9d>] drm_pci_init+0x8a/0xef [drm]
[18640.815307]        [<ffffffffa02770ec>] loop_unregister_transfer+0x20/0x48 [loop]
[18640.815314]        [<ffffffff81002099>] do_one_initcall+0x7f/0x13a
[18640.815321]        [<ffffffff810b7f9d>] sys_init_module+0x114/0x267
[18640.815326]        [<ffffffff81442469>] system_call_fastpath+0x16/0x1b
[18640.815332] 
[18640.815332] -> #0 (&rdev->ib_pool.mutex){+.+.+.}:
[18640.815339]        [<ffffffff810ad329>] __lock_acquire+0xa29/0xd06
[18640.815344]        [<ffffffff810ada61>] lock_acquire+0xbf/0xfe
[18640.815349]        [<ffffffff81439942>] __mutex_lock_common+0x4c/0x360
[18640.815355]        [<ffffffff81439d29>] mutex_lock_nested+0x2f/0x36
[18640.815360]        [<ffffffffa01fa99f>] radeon_ib_get+0x6c/0x1f9 [radeon]
[18640.815389]        [<ffffffffa021c934>] r600_blit_prepare_copy+0x61/0xd4 [radeon]
[18640.815418]        [<ffffffffa0210a0e>] r600_copy_blit+0x4e/0xa8 [radeon]
[18640.815446]        [<ffffffffa01eabcf>] radeon_move_blit+0x230/0x275 [radeon]
[18640.815469]        [<ffffffffa01eb259>] radeon_bo_move+0x105/0x12c [radeon]
[18640.815492]        [<ffffffffa017d6e2>] ttm_bo_handle_move_mem+0x1b6/0x2bd [ttm]
[18640.815502]        [<ffffffffa017daa7>] ttm_bo_evict+0x2be/0x307 [ttm]
[18640.815511]        [<ffffffffa017dc60>] ttm_mem_evict_first+0x170/0x19c [ttm]
[18640.815520]        [<ffffffffa017e341>] ttm_bo_mem_space+0x284/0x2d4 [ttm]
[18640.815530]        [<ffffffffa017e454>] ttm_bo_move_buffer+0xc3/0x119 [ttm]
[18640.815539]        [<ffffffffa017e56c>] ttm_bo_validate+0xc2/0x100 [ttm]
[18640.815549]        [<ffffffffa017e8eb>] ttm_bo_init+0x341/0x37a [ttm]
[18640.815558]        [<ffffffffa01ebf04>] radeon_bo_create+0x1d9/0x262 [radeon]
[18640.815582]        [<ffffffffa01f9deb>] radeon_gem_object_create+0x56/0xe6 [radeon]
[18640.815610]        [<ffffffffa01fa1dc>] radeon_gem_create_ioctl+0x4b/0x81 [radeon]
[18640.815638]        [<ffffffffa0144949>] drm_ioctl+0x2bf/0x38b [drm]
[18640.815650]        [<ffffffff81157895>] do_vfs_ioctl+0x46e/0x4af
[18640.815656]        [<ffffffff8115792c>] sys_ioctl+0x56/0x7a
[18640.815661]        [<ffffffff81442469>] system_call_fastpath+0x16/0x1b
[18640.815667] 
[18640.815667] other info that might help us debug this:
[18640.815669] 
[18640.815671] Chain exists of:
[18640.815672]   &rdev->ib_pool.mutex --> &rdev->vram_mutex --> &rdev->r600_blit.mutex
[18640.815680] 
[18640.815682]  Possible unsafe locking scenario:
[18640.815684] 
[18640.815686]        CPU0                    CPU1
[18640.815688]        ----                    ----
[18640.815690]   lock(&rdev->r600_blit.mutex);
[18640.815695]                                lock(&rdev->vram_mutex);
[18640.815700]                                lock(&rdev->r600_blit.mutex);
[18640.815705]   lock(&rdev->ib_pool.mutex);
[18640.815709] 
[18640.815710]  *** DEADLOCK ***
[18640.815711] 
[18640.815714] 2 locks held by Xorg/2113:
[18640.815717]  #0:  (&rdev->vram_mutex){+.+.+.}, at: [<ffffffffa01ebebf>] radeon_bo_create+0x194/0x262 [radeon]
[18640.815747]  #1:  (&rdev->r600_blit.mutex){+.+.+.}, at: [<ffffffffa02109f8>] r600_copy_blit+0x38/0xa8 [radeon]
[18640.815781] 
[18640.815782] stack backtrace:
[18640.815786] Pid: 2113, comm: Xorg Not tainted 3.2.0-net+ #7
[18640.815789] Call Trace:
[18640.815795]  [<ffffffff81434926>] print_circular_bug+0x1f8/0x209
[18640.815800]  [<ffffffff810ad329>] __lock_acquire+0xa29/0xd06
[18640.815807]  [<ffffffff8104b2a5>] ? save_stack_trace+0x2c/0x49
[18640.815814]  [<ffffffff810ab531>] ? save_trace+0x3d/0xa7
[18640.815843]  [<ffffffffa01fa99f>] ? radeon_ib_get+0x6c/0x1f9 [radeon]
[18640.815848]  [<ffffffff810ada61>] lock_acquire+0xbf/0xfe
[18640.815876]  [<ffffffffa01fa99f>] ? radeon_ib_get+0x6c/0x1f9 [radeon]
[18640.815882]  [<ffffffff81439942>] __mutex_lock_common+0x4c/0x360
[18640.815910]  [<ffffffffa01fa99f>] ? radeon_ib_get+0x6c/0x1f9 [radeon]
[18640.815915]  [<ffffffff810add54>] ? mark_held_locks+0x6d/0x95
[18640.815921]  [<ffffffff8143b6c6>] ? _raw_write_unlock_irqrestore+0x45/0x52
[18640.815951]  [<ffffffffa01fa99f>] ? radeon_ib_get+0x6c/0x1f9 [radeon]
[18640.815956]  [<ffffffff810adea9>] ? trace_hardirqs_on_caller+0x12d/0x164
[18640.815961]  [<ffffffff81439d29>] mutex_lock_nested+0x2f/0x36
[18640.815991]  [<ffffffffa01fa99f>] radeon_ib_get+0x6c/0x1f9 [radeon]
[18640.816020]  [<ffffffffa021c934>] r600_blit_prepare_copy+0x61/0xd4 [radeon]
[18640.816049]  [<ffffffffa0210a0e>] r600_copy_blit+0x4e/0xa8 [radeon]
[18640.816073]  [<ffffffffa01eabcf>] radeon_move_blit+0x230/0x275 [radeon]
[18640.816096]  [<ffffffffa01eb259>] radeon_bo_move+0x105/0x12c [radeon]
[18640.816107]  [<ffffffffa017d6e2>] ttm_bo_handle_move_mem+0x1b6/0x2bd [ttm]
[18640.816117]  [<ffffffffa017daa7>] ttm_bo_evict+0x2be/0x307 [ttm]
[18640.816127]  [<ffffffffa017dc60>] ttm_mem_evict_first+0x170/0x19c [ttm]
[18640.816137]  [<ffffffffa017e341>] ttm_bo_mem_space+0x284/0x2d4 [ttm]
[18640.816142]  [<ffffffff810ad97f>] ? lock_release+0x166/0x189
[18640.816152]  [<ffffffffa017e454>] ttm_bo_move_buffer+0xc3/0x119 [ttm]
[18640.816169]  [<ffffffffa014df59>] ? kzalloc.constprop.6+0x2d/0x2f [drm]
[18640.816180]  [<ffffffffa017e56c>] ttm_bo_validate+0xc2/0x100 [ttm]
[18640.816189]  [<ffffffffa017e8eb>] ttm_bo_init+0x341/0x37a [ttm]
[18640.816214]  [<ffffffffa01ebf04>] radeon_bo_create+0x1d9/0x262 [radeon]
[18640.816237]  [<ffffffffa01ebc2b>] ? radeon_bo_clear_va+0xb3/0xb3 [radeon]
[18640.816261]  [<ffffffffa01ea94e>] ? radeon_ttm_fault+0x59/0x67 [radeon]
[18640.816289]  [<ffffffffa01f9deb>] radeon_gem_object_create+0x56/0xe6 [radeon]
[18640.816318]  [<ffffffffa01fa1dc>] radeon_gem_create_ioctl+0x4b/0x81 [radeon]
[18640.816324]  [<ffffffff8111b20f>] ? might_fault+0x8e/0x95
[18640.816337]  [<ffffffffa0144949>] drm_ioctl+0x2bf/0x38b [drm]
[18640.816365]  [<ffffffffa01fa191>] ? radeon_gem_pwrite_ioctl+0x28/0x28 [radeon]
[18640.816372]  [<ffffffff8108ce80>] ? up_read+0x20/0x37
[18640.816377]  [<ffffffff8143ef80>] ? do_page_fault+0x319/0x38b
[18640.816383]  [<ffffffff81157895>] do_vfs_ioctl+0x46e/0x4af
[18640.816389]  [<ffffffff810e89fb>] ? time_hardirqs_off+0x15/0x2a
[18640.816394]  [<ffffffff8143c336>] ? error_sti+0x5/0x6
[18640.816399]  [<ffffffff810aacbc>] ? trace_hardirqs_off_caller+0x3f/0x9c
[18640.816404]  [<ffffffff8143be59>] ? retint_swapgs+0x13/0x1b
[18640.816410]  [<ffffffff8115792c>] sys_ioctl+0x56/0x7a
[18640.816415]  [<ffffffff81442469>] system_call_fastpath+0x16/0x1b
[20583.954616] sky2 0000:04:00.0: eth1: remove debugfs

# lspci -vv -s 02:00.0
02:00.0 VGA compatible controller: ATI Technologies Inc RV710 [Radeon HD 4350] (prog-if 00 [VGA controller])
	Subsystem: PC Partner Limited Device 0e13
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 256 bytes
	Interrupt: pin A routed to IRQ 82
	Region 0: Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Region 2: Memory at fb8e0000 (64-bit, non-prefetchable) [size=64K]
	Region 4: I/O ports at 8000 [size=256]
	Expansion ROM at fb8c0000 [disabled] [size=128K]
	Capabilities: [50] Power Management version 3
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
			ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
			MaxPayload 128 bytes, MaxReadReq 128 bytes
		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <64ns, L1 <1us
			ClockPM- Surprise- LLActRep- BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
		DevCap2: Completion Timeout: Not Supported, TimeoutDis-
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
		LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-, Selectable De-emphasis: -6dB
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -6dB
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
		Address: 00000000fee00000  Data: 4082
	Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Kernel driver in use: radeon


_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux