Sep 9 13:11:25 localhost kernel: [46891.942057] [ INFO: possible circular locking dependency detected ] Sep 9 13:11:25 localhost kernel: [46891.942057] 2.6.31-rc9 #1 Sep 9 13:11:25 localhost kernel: [46891.942057] ------------------------------------------------------- Sep 9 13:11:25 localhost kernel: [46891.942057] links/16613 is trying to acquire lock: Sep 9 13:11:25 localhost kernel: [46891.942057] (&fb_info->lock){+.+.+.}, at: [] fb_release+0x26/0x70 Sep 9 13:11:25 localhost kernel: [46891.942057] Sep 9 13:11:25 localhost kernel: [46891.942057] but task is already holding lock: Sep 9 13:11:25 localhost kernel: [46891.942057] (&mm->mmap_sem){++++++}, at: [] sys_munmap+0x43/0x80 Sep 9 13:11:25 localhost kernel: [46891.942057] Sep 9 13:11:25 localhost kernel: [46891.942057] which lock already depends on the new lock. Sep 9 13:11:25 localhost kernel: [46891.942057] Sep 9 13:11:25 localhost kernel: [46891.942057] Sep 9 13:11:25 localhost kernel: [46891.942057] the existing dependency chain (in reverse order) is: Sep 9 13:11:25 localhost kernel: [46891.942057] Sep 9 13:11:25 localhost kernel: [46891.942057] -> #3 (&mm->mmap_sem){++++++}: Sep 9 13:11:25 localhost kernel: [46891.942057] [] __lock_acquire+0xe6d/0x11e0 Sep 9 13:11:25 localhost kernel: [46891.942057] [] lock_acquire+0x9c/0x190 Sep 9 13:11:25 localhost kernel: [46891.942057] [] might_fault+0x8f/0xc0 Sep 9 13:11:25 localhost kernel: [46891.942057] [] drm_mode_getresources+0x1a2/0x620 Sep 9 13:11:25 localhost kernel: [46891.942057] [] drm_ioctl+0x174/0x380 Sep 9 13:11:25 localhost kernel: [46891.942057] [] vfs_ioctl+0x7c/0xa0 Sep 9 13:11:25 localhost kernel: [46891.942057] [] do_vfs_ioctl+0x82/0x590 Sep 9 13:11:25 localhost kernel: [46891.942057] [] sys_ioctl+0x79/0x90 Sep 9 13:11:25 localhost kernel: [46891.942057] [] system_call_fastpath+0x16/0x1b Sep 9 13:11:25 localhost kernel: [46891.942057] [] 0xffffffffffffffff Sep 9 13:11:25 localhost kernel: [46891.942057] Sep 9 13:11:25 localhost kernel: [46891.942057] -> #2 (&dev->mode_config.mutex){+.+.+.}: Sep 9 13:11:25 localhost kernel: [46891.942057] [] __lock_acquire+0xe6d/0x11e0 Sep 9 13:11:25 localhost kernel: [46891.942057] [] lock_acquire+0x9c/0x190 Sep 9 13:11:25 localhost kernel: [46891.942057] [] __mutex_lock_common+0x59/0x4c0 Sep 9 13:11:25 localhost kernel: [46891.942057] [] mutex_lock_nested+0x3c/0x50 Sep 9 13:11:25 localhost kernel: [46891.942057] [] drm_fb_helper_pan_display+0xc6/0x120 Sep 9 13:11:25 localhost kernel: [46891.942057] [] fb_pan_display+0xee/0x150 Sep 9 13:11:25 localhost kernel: [46891.942057] [] bit_update_start+0x25/0x60 Sep 9 13:11:25 localhost kernel: [46891.942057] [] fbcon_switch+0x466/0x480 Sep 9 13:11:25 localhost kernel: [46891.942057] [] redraw_screen+0x156/0x220 Sep 9 13:11:25 localhost kernel: [46891.942057] [] vc_do_resize+0x426/0x480 Sep 9 13:11:25 localhost kernel: [46891.942057] [] vc_resize+0x1a/0x20 Sep 9 13:11:25 localhost kernel: [46891.942057] [] fbcon_init+0x29d/0x520 Sep 9 13:11:25 localhost kernel: [46891.942057] [] visual_init+0xec/0x150 Sep 9 13:11:25 localhost kernel: [46891.942057] [] bind_con_driver+0x1cd/0x380 Sep 9 13:11:25 localhost kernel: [46891.942057] [] take_over_console+0x44/0x60 Sep 9 13:11:25 localhost kernel: [46891.942057] [] fbcon_takeover+0x52/0x90 Sep 9 13:11:25 localhost kernel: [46891.942057] [] fbcon_event_notify+0x62b/0x660 Sep 9 13:11:25 localhost kernel: [46891.942057] [] notifier_call_chain+0x47/0x90 Sep 9 13:11:25 localhost kernel: [46891.942057] [] __blocking_notifier_call_chain+0x51/0x70 Sep 9 13:11:25 localhost kernel: [46891.942057] [] blocking_notifier_call_chain+0x11/0x20 Sep 9 13:11:25 localhost kernel: [46891.942057] [] fb_notifier_call_chain+0x16/0x20 Sep 9 13:11:25 localhost kernel: [46891.942057] [] register_framebuffer+0x232/0x340 Sep 9 13:11:25 localhost kernel: [46891.942057] [] drm_fb_helper_single_fb_probe+0x2c9/0x380 Sep 9 13:11:25 localhost kernel: [46891.942057] [] radeonfb_probe+0x10/0x20 Sep 9 13:11:25 localhost kernel: [46891.942057] [] drm_helper_initial_config+0x36/0x60 Sep 9 13:11:25 localhost kernel: [46891.942057] [] radeon_modeset_init+0x295/0x5c0 Sep 9 13:11:25 localhost kernel: [46891.942057] [] radeon_device_init+0x439/0x630 Sep 9 13:11:25 localhost kernel: [46891.942057] [] radeon_driver_load_kms+0x9e/0x1b0 Sep 9 13:11:25 localhost kernel: [46891.942057] [] drm_get_dev+0x35f/0x5b0 Sep 9 13:11:25 localhost kernel: [46891.942057] [] radeon_pci_probe+0x10/0x12 Sep 9 13:11:25 localhost kernel: [46891.942057] [] local_pci_probe+0x12/0x20 Sep 9 13:11:25 localhost kernel: [46891.942057] [] pci_device_probe+0x109/0x110 Sep 9 13:11:25 localhost kernel: [46891.942057] [] driver_probe_device+0x90/0x280 Sep 9 13:11:25 localhost kernel: [46891.942057] [] __driver_attach+0x93/0xa0 Sep 9 13:11:25 localhost kernel: [46891.942057] [] bus_for_each_dev+0x68/0x90 Sep 9 13:11:25 localhost kernel: [46891.942057] [] driver_attach+0x19/0x20 Sep 9 13:11:25 localhost kernel: [46891.942057] [] bus_add_driver+0x1f0/0x320 Sep 9 13:11:25 localhost kernel: [46891.942057] [] driver_register+0x78/0x140 Sep 9 13:11:25 localhost kernel: [46891.942057] [] __pci_register_driver+0x61/0xe0 Sep 9 13:11:25 localhost kernel: [46891.942057] [] drm_init+0x103/0x110 Sep 9 13:11:25 localhost kernel: [46891.942057] [] radeon_init+0xbf/0xc1 Sep 9 13:11:25 localhost kernel: [46891.942057] [] do_one_initcall+0x37/0x190 Sep 9 13:11:25 localhost kernel: [46891.942057] [] kernel_init+0x14a/0x1a0 Sep 9 13:11:25 localhost kernel: [46891.942057] [] child_rip+0xa/0x20 Sep 9 13:11:25 localhost kernel: [46891.942057] [] 0xffffffffffffffff Sep 9 13:11:25 localhost kernel: [46891.942057] Sep 9 13:11:25 localhost kernel: [46891.942057] -> #1 ((fb_notifier_list).rwsem){.+.+.+}: Sep 9 13:11:25 localhost kernel: [46891.942057] [] __lock_acquire+0xe6d/0x11e0 Sep 9 13:11:25 localhost kernel: [46891.942057] [] lock_acquire+0x9c/0x190 Sep 9 13:11:25 localhost kernel: [46891.942057] [] down_read+0x45/0x80 Sep 9 13:11:25 localhost kernel: [46891.942057] [] __blocking_notifier_call_chain+0x3a/0x70 Sep 9 13:11:25 localhost kernel: [46891.942057] [] blocking_notifier_call_chain+0x11/0x20 Sep 9 13:11:25 localhost kernel: [46891.942057] [] fb_notifier_call_chain+0x16/0x20 Sep 9 13:11:25 localhost kernel: [46891.942057] [] register_framebuffer+0x232/0x340 Sep 9 13:11:25 localhost kernel: [46891.942057] [] drm_fb_helper_single_fb_probe+0x2c9/0x380 Sep 9 13:11:25 localhost kernel: [46891.942057] [] radeonfb_probe+0x10/0x20 Sep 9 13:11:25 localhost kernel: [46891.942057] [] drm_helper_initial_config+0x36/0x60 Sep 9 13:11:25 localhost kernel: [46891.942057] [] radeon_modeset_init+0x295/0x5c0 Sep 9 13:11:25 localhost kernel: [46891.942057] [] radeon_device_init+0x439/0x630 Sep 9 13:11:25 localhost kernel: [46891.942057] [] radeon_driver_load_kms+0x9e/0x1b0 Sep 9 13:11:25 localhost kernel: [46891.942057] [] drm_get_dev+0x35f/0x5b0 Sep 9 13:11:25 localhost kernel: [46891.942057] [] radeon_pci_probe+0x10/0x12 Sep 9 13:11:25 localhost kernel: [46891.942057] [] local_pci_probe+0x12/0x20 Sep 9 13:11:25 localhost kernel: [46891.942057] [] pci_device_probe+0x109/0x110 Sep 9 13:11:25 localhost kernel: [46891.942057] [] driver_probe_device+0x90/0x280 Sep 9 13:11:25 localhost kernel: [46891.942057] [] __driver_attach+0x93/0xa0 Sep 9 13:11:25 localhost kernel: [46891.942057] [] bus_for_each_dev+0x68/0x90 Sep 9 13:11:25 localhost kernel: [46891.942057] [] driver_attach+0x19/0x20 Sep 9 13:11:25 localhost kernel: [46891.942057] [] bus_add_driver+0x1f0/0x320 Sep 9 13:11:25 localhost kernel: [46891.942057] [] driver_register+0x78/0x140 Sep 9 13:11:25 localhost kernel: [46891.942057] [] __pci_register_driver+0x61/0xe0 Sep 9 13:11:25 localhost kernel: [46891.942057] [] drm_init+0x103/0x110 Sep 9 13:11:25 localhost kernel: [46891.942057] [] radeon_init+0xbf/0xc1 Sep 9 13:11:25 localhost kernel: [46891.942057] [] do_one_initcall+0x37/0x190 Sep 9 13:11:25 localhost kernel: [46891.942057] [] kernel_init+0x14a/0x1a0 Sep 9 13:11:25 localhost kernel: [46891.942057] [] child_rip+0xa/0x20 Sep 9 13:11:25 localhost kernel: [46891.942057] [] 0xffffffffffffffff Sep 9 13:11:25 localhost kernel: [46891.942057] Sep 9 13:11:25 localhost kernel: [46891.942057] -> #0 (&fb_info->lock){+.+.+.}: Sep 9 13:11:25 localhost kernel: [46891.942057] [] __lock_acquire+0xef5/0x11e0 Sep 9 13:11:25 localhost kernel: [46891.942057] [] lock_acquire+0x9c/0x190 Sep 9 13:11:25 localhost kernel: [46891.942057] [] __mutex_lock_common+0x59/0x4c0 Sep 9 13:11:25 localhost kernel: [46891.942057] [] mutex_lock_nested+0x3c/0x50 Sep 9 13:11:25 localhost kernel: [46891.942057] [] fb_release+0x26/0x70 Sep 9 13:11:25 localhost kernel: [46891.942057] [] __fput+0xfc/0x220 Sep 9 13:11:25 localhost kernel: [46891.942057] [] fput+0x1d/0x30 Sep 9 13:11:25 localhost kernel: [46891.942057] [] remove_vma+0x4a/0x90 Sep 9 13:11:25 localhost kernel: [46891.942057] [] do_munmap+0x2bf/0x350 Sep 9 13:11:25 localhost kernel: [46891.942057] [] sys_munmap+0x51/0x80 Sep 9 13:11:25 localhost kernel: [46891.942057] [] system_call_fastpath+0x16/0x1b Sep 9 13:11:25 localhost kernel: [46891.942057] [] 0xffffffffffffffff Sep 9 13:11:25 localhost kernel: [46891.942057] Sep 9 13:11:25 localhost kernel: [46891.942057] other info that might help us debug this: Sep 9 13:11:25 localhost kernel: [46891.942057] Sep 9 13:11:25 localhost kernel: [46891.942057] 1 lock held by links/16613: Sep 9 13:11:25 localhost kernel: [46891.942057] #0: (&mm->mmap_sem){++++++}, at: [] sys_munmap+0x43/0x80 Sep 9 13:11:25 localhost kernel: [46891.942057] Sep 9 13:11:25 localhost kernel: [46891.942057] stack backtrace: Sep 9 13:11:25 localhost kernel: [46891.942057] Pid: 16613, comm: links Tainted: G C 2.6.31-rc9 #1 Sep 9 13:11:25 localhost kernel: [46891.942057] Call Trace: Sep 9 13:11:25 localhost kernel: [46891.942057] [] print_circular_bug_tail+0xac/0x100 Sep 9 13:11:25 localhost kernel: [46891.942057] [] __lock_acquire+0xef5/0x11e0 Sep 9 13:11:25 localhost kernel: [46891.942057] [] lock_acquire+0x9c/0x190 Sep 9 13:11:25 localhost kernel: [46891.942057] [] ? fb_release+0x26/0x70 Sep 9 13:11:25 localhost kernel: [46891.942057] [] __mutex_lock_common+0x59/0x4c0 Sep 9 13:11:25 localhost kernel: [46891.942057] [] ? fb_release+0x26/0x70 Sep 9 13:11:25 localhost kernel: [46891.942057] [] ? fb_release+0x26/0x70 Sep 9 13:11:25 localhost kernel: [46891.942057] [] mutex_lock_nested+0x3c/0x50 Sep 9 13:11:25 localhost kernel: [46891.942057] [] fb_release+0x26/0x70 Sep 9 13:11:25 localhost kernel: [46891.942057] [] __fput+0xfc/0x220 Sep 9 13:11:25 localhost kernel: [46891.942057] [] fput+0x1d/0x30 Sep 9 13:11:25 localhost kernel: [46891.942057] [] remove_vma+0x4a/0x90 Sep 9 13:11:25 localhost kernel: [46891.942057] [] do_munmap+0x2bf/0x350 Sep 9 13:11:25 localhost kernel: [46891.942057] [] sys_munmap+0x51/0x80 Sep 9 13:11:25 localhost kernel: [46891.942057] [] system_call_fastpath+0x16/0x1b