[ 876.961477] Console: switching to colour VGA+ 80x25 [ 877.108611] [ 877.108611] ====================================================== [ 877.108612] [ INFO: possible circular locking dependency detected ] [ 877.108613] 3.12.0-rc4_nightlytop_4e1044_debug_20131010_+ #673 Not tainted [ 877.108613] ------------------------------------------------------- [ 877.108614] rmmod/15501 is trying to acquire lock: [ 877.108619] (s_active#114){++++.+}, at: [] sysfs_addrm_finish+0x2e/0x57 [ 877.108619] [ 877.108619] but task is already holding lock: [ 877.108623] ((fb_notifier_list).rwsem){++++.+}, at: [] __blocking_notifier_call_chain+0x2e/0x5f [ 877.108623] [ 877.108623] which lock already depends on the new lock. [ 877.108623] [ 877.108623] [ 877.108623] the existing dependency chain (in reverse order) is: [ 877.108625] [ 877.108625] -> #2 ((fb_notifier_list).rwsem){++++.+}: [ 877.108627] [] lock_acquire+0xcc/0x106 [ 877.108630] [] down_read+0x39/0x4e [ 877.108631] [] __blocking_notifier_call_chain+0x2e/0x5f [ 877.108633] [] blocking_notifier_call_chain+0x14/0x16 [ 877.108635] [] fb_notifier_call_chain+0x1b/0x1d [ 877.108637] [] register_framebuffer+0x237/0x2a0 [ 877.108640] [] drm_fb_helper_initial_config+0x393/0x445 [drm_kms_helper] [ 877.108655] [] intel_fbdev_initial_config+0x21/0x23 [i915] [ 877.108660] [] i915_driver_load+0xc97/0xf07 [i915] [ 877.108668] [] drm_dev_register+0x108/0x1d0 [drm] [ 877.108673] [] drm_get_pci_dev+0xa5/0x12f [drm] [ 877.108678] [] i915_pci_probe+0x6d/0x76 [i915] [ 877.108680] [] local_pci_probe+0x20/0x32 [ 877.108682] [] pci_device_probe+0xbf/0xe5 [ 877.108683] [] driver_probe_device+0x96/0x1a3 [ 877.108684] [] __driver_attach+0x62/0x85 [ 877.108686] [] bus_for_each_dev+0x5f/0x91 [ 877.108688] [] driver_attach+0x1e/0x20 [ 877.108688] [] bus_add_driver+0xf9/0x245 [ 877.108690] [] driver_register+0x8c/0xc3 [ 877.108691] [] __pci_register_driver+0x61/0x65 [ 877.108696] [] drm_pci_init+0x8b/0xf1 [drm] [ 877.108697] [] 0xffffffffa0118066 [ 877.108699] [] do_one_initcall+0x84/0x10f [ 877.108701] [] load_module+0x1a96/0x1d86 [ 877.108702] [] SyS_init_module+0xa7/0xb6 [ 877.108705] [] system_call_fastpath+0x16/0x1b [ 877.108706] [ 877.108706] -> #1 (console_lock){+.+.+.}: [ 877.108707] [] lock_acquire+0xcc/0x106 [ 877.108709] [] console_lock+0x5e/0x60 [ 877.108711] [] store_bind+0x1ea/0x21c [ 877.108712] [] dev_attr_store+0x18/0x24 [ 877.108713] [] sysfs_write_file+0xee/0x126 [ 877.108715] [] vfs_write+0xcb/0x198 [ 877.108716] [] SyS_write+0x4c/0x85 [ 877.108717] [] system_call_fastpath+0x16/0x1b [ 877.108718] [ 877.108718] -> #0 (s_active#114){++++.+}: [ 877.108720] [] __lock_acquire+0x108d/0x17fd [ 877.108721] [] lock_acquire+0xcc/0x106 [ 877.108722] [] sysfs_deactivate+0x95/0xcc [ 877.108723] [] sysfs_addrm_finish+0x2e/0x57 [ 877.108724] [] sysfs_hash_and_remove+0x7b/0x8f [ 877.108725] [] sysfs_remove_file+0x34/0x3b [ 877.108727] [] device_remove_file+0x17/0x19 [ 877.108728] [] do_unregister_con_driver+0x53/0xc2 [ 877.108730] [] fbcon_event_notify+0x3a8/0x5f1 [ 877.108731] [] notifier_call_chain+0x37/0x61 [ 877.108733] [] __blocking_notifier_call_chain+0x46/0x5f [ 877.108734] [] blocking_notifier_call_chain+0x14/0x16 [ 877.108736] [] fb_notifier_call_chain+0x1b/0x1d [ 877.108737] [] do_unregister_framebuffer+0xde/0xff [ 877.108739] [] unregister_framebuffer+0x27/0x40 [ 877.108750] [] intel_fbdev_fini+0x35/0x9c [i915] [ 877.108755] [] i915_driver_unload+0xe9/0x2ce [i915] [ 877.108761] [] drm_dev_unregister+0x2d/0xc5 [drm] [ 877.108765] [] drm_put_dev+0x54/0x60 [drm] [ 877.108770] [] i915_pci_remove+0x1d/0x1f [i915] [ 877.108771] [] pci_device_remove+0x2d/0x51 [ 877.108773] [] __device_release_driver+0x71/0xc7 [ 877.108774] [] driver_detach+0x8e/0xbf [ 877.108775] [] bus_remove_driver+0x88/0xcb [ 877.108776] [] driver_unregister+0x47/0x4d [ 877.108777] [] pci_unregister_driver+0x24/0x6d [ 877.108782] [] drm_pci_exit+0x44/0x7d [drm] [ 877.108793] [] i915_exit+0x17/0x19 [i915] [ 877.108794] [] SyS_delete_module+0x1a4/0x21e [ 877.108796] [] system_call_fastpath+0x16/0x1b [ 877.108796] [ 877.108796] other info that might help us debug this: [ 877.108796] [ 877.108798] Chain exists of: [ 877.108798] s_active#114 --> console_lock --> (fb_notifier_list).rwsem [ 877.108798] [ 877.108798] Possible unsafe locking scenario: [ 877.108798] [ 877.108798] CPU0 CPU1 [ 877.108799] ---- ---- [ 877.108799] lock((fb_notifier_list).rwsem); [ 877.108800] lock(console_lock); [ 877.108801] lock((fb_notifier_list).rwsem); [ 877.108801] lock(s_active#114); [ 877.108801] [ 877.108801] *** DEADLOCK *** [ 877.108801] [ 877.108802] 5 locks held by rmmod/15501: [ 877.108804] #0: (&__lockdep_no_validate__){......}, at: [] driver_detach+0x6f/0xbf [ 877.108806] #1: (&__lockdep_no_validate__){......}, at: [] driver_detach+0x7d/0xbf [ 877.108808] #2: (registration_lock){+.+.+.}, at: [] unregister_framebuffer+0x1f/0x40 [ 877.108810] #3: (console_lock){+.+.+.}, at: [] do_unregister_framebuffer+0xd0/0xff [ 877.108812] #4: ((fb_notifier_list).rwsem){++++.+}, at: [] __blocking_notifier_call_chain+0x2e/0x5f [ 877.108812] [ 877.108812] stack backtrace: [ 877.108814] CPU: 2 PID: 15501 Comm: rmmod Not tainted 3.12.0-rc4_nightlytop_4e1044_debug_20131010_+ #673 [ 877.108815] Hardware name: /DH77EB, BIOS EBH7710H.86A.0062.2012.0329.1914 03/29/2012 [ 877.108817] ffffffff8697f2e0 ffff8800d5063888 ffffffff817f3653 ffffffff8107ca0a [ 877.108818] ffffffff869b3b40 ffff8800d50638d8 ffffffff817eeb22 ffff8800d50638a8 [ 877.108819] ffff8800da9f8000 0000000000000005 ffff8800da9f8790 0000000000000005 [ 877.108819] Call Trace: [ 877.108821] [] dump_stack+0x46/0x58 [ 877.108823] [] ? vprintk_emit+0x427/0x48d [ 877.108825] [] print_circular_bug+0x2ad/0x2be [ 877.108826] [] __lock_acquire+0x108d/0x17fd [ 877.108828] [] ? debug_check_no_locks_freed+0x128/0x13e [ 877.108829] [] lock_acquire+0xcc/0x106 [ 877.108831] [] ? sysfs_addrm_finish+0x2e/0x57 [ 877.108832] [] sysfs_deactivate+0x95/0xcc [ 877.108833] [] ? sysfs_addrm_finish+0x2e/0x57 [ 877.108834] [] sysfs_addrm_finish+0x2e/0x57 [ 877.108836] [] sysfs_hash_and_remove+0x7b/0x8f [ 877.108837] [] ? kfree+0xf9/0x16c [ 877.108839] [] sysfs_remove_file+0x34/0x3b [ 877.108840] [] device_remove_file+0x17/0x19 [ 877.108841] [] do_unregister_con_driver+0x53/0xc2 [ 877.108843] [] fbcon_event_notify+0x3a8/0x5f1 [ 877.108844] [] notifier_call_chain+0x37/0x61 [ 877.108846] [] __blocking_notifier_call_chain+0x46/0x5f [ 877.108847] [] blocking_notifier_call_chain+0x14/0x16 [ 877.108849] [] fb_notifier_call_chain+0x1b/0x1d [ 877.108850] [] do_unregister_framebuffer+0xde/0xff [ 877.108852] [] unregister_framebuffer+0x27/0x40 [ 877.108862] [] intel_fbdev_fini+0x35/0x9c [i915] [ 877.108868] [] i915_driver_unload+0xe9/0x2ce [i915] [ 877.108873] [] drm_dev_unregister+0x2d/0xc5 [drm] [ 877.108878] [] drm_put_dev+0x54/0x60 [drm] [ 877.108883] [] i915_pci_remove+0x1d/0x1f [i915] [ 877.108884] [] pci_device_remove+0x2d/0x51 [ 877.108886] [] __device_release_driver+0x71/0xc7 [ 877.108887] [] driver_detach+0x8e/0xbf [ 877.108888] [] bus_remove_driver+0x88/0xcb [ 877.108890] [] driver_unregister+0x47/0x4d [ 877.108891] [] pci_unregister_driver+0x24/0x6d [ 877.108897] [] drm_pci_exit+0x44/0x7d [drm] [ 877.108908] [] i915_exit+0x17/0x19 [i915] [ 877.108909] [] SyS_delete_module+0x1a4/0x21e [ 877.108911] [] ? trace_hardirqs_on_thunk+0x3a/0x3f [ 877.108913] [] system_call_fastpath+0x16/0x1b [ 877.132011] drm_kms_helper: drm: unregistered panic notifier [ 877.137402] [drm:gm45_get_vblank_counter], trying to get vblank count for disabled pipe B [ 877.137677] [drm:gm45_get_vblank_counter], trying to get vblank count for disabled pipe C [ 877.137971] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io,decodes=io+mem:owns=io [ 877.141122] [drm:intel_crtc_cursor_set], cursor off [ 877.141262] [drm:intel_crtc_cursor_set], cursor off [ 877.141400] [drm:intel_crtc_cursor_set], cursor off [ 877.144311] [drm] Module unloaded [ 877.188316] BUG: unable to handle kernel NULL pointer dereference at (null) [ 877.188551] IP: [] __queue_work+0x135/0x274 [ 877.188688] PGD daa2d067 PUD 6131067 PMD 0 [ 877.188893] Oops: 0000 [#1] SMP [ 877.189056] Modules linked in: netconsole configfs ip6table_filter ip6_tables ipv6 iptable_filter ip_tables ebtable_nat ebtables x_tables dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek pcspkr i2c_i801 snd_hda_intel iTCO_wdt snd_hda_codec iTCO_vendor_support snd_hwdep snd_pcm lpc_ich snd_page_alloc mfd_core snd_timer snd soundcore ppdev parport_pc parport wmi acpi_cpufreq video button freq_table [last unloaded: drm] [ 877.190845] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 3.12.0-rc4_nightlytop_4e1044_debug_20131010_+ #673 [ 877.190983] Hardware name: /DH77EB, BIOS EBH7710H.86A.0062.2012.0329.1914 03/29/2012 [ 877.191120] task: ffff8802158edee0 ti: ffff8802158f0000 task.ti: ffff8802158f0000 [ 877.191254] RIP: 0010:[] [] __queue_work+0x135/0x274 [ 877.191436] RSP: 0018:ffff88021f303db0 EFLAGS: 00010046 [ 877.191528] RAX: 0000000000000000 RBX: ffff8800daa8c800 RCX: 0000000000000000 [ 877.191621] RDX: 000000007fffffff RSI: 000000007fffffff RDI: ffff88020fc6b238 [ 877.191715] RBP: ffff88021f303df0 R08: 0000000000000002 R09: 0000000000000001 [ 877.191803] R10: 0000000000000002 R11: 0000000000000000 R12: ffff88020fc6b238 [ 877.191897] R13: 0000000000000000 R14: 000000000000ef20 R15: 0000000000000000 [ 877.191991] FS: 0000000000000000(0000) GS:ffff88021f300000(0000) knlGS:0000000000000000 [ 877.192127] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 877.192217] CR2: 0000000000000000 CR3: 00000000d52ad000 CR4: 00000000001407e0 [ 877.192309] Stack: [ 877.192394] 0000000000000000 0000000200000040 ffff88021f303e40 ffff880215a0c000 [ 877.192685] 0000000000000100 ffff88020fc6b278 ffffffff810505ac ffff88020fc6b238 [ 877.192973] ffff88021f303e00 ffffffff810505ca ffff88021f303e70 ffffffff81044570 [ 877.193257] Call Trace: [ 877.193341] [ 877.193383] [] ? __queue_work+0x274/0x274 [ 877.193598] [] delayed_work_timer_fn+0x1e/0x20 [ 877.193693] [] call_timer_fn+0x97/0x165 [ 877.193785] [] ? call_timer_fn+0x5/0x165 [ 877.193876] [] ? __queue_work+0x274/0x274 [ 877.193971] [] run_timer_softirq+0x1ad/0x229 [ 877.194062] [] ? ktime_get+0x56/0xb7 [ 877.194153] [] __do_softirq+0x100/0x220 [ 877.194246] [] ? tick_program_event+0x24/0x26 [ 877.194340] [] call_softirq+0x1c/0x30 [ 877.194429] [] do_softirq+0x3c/0x86 [ 877.194517] [] irq_exit+0x57/0x9c [ 877.194606] [] smp_apic_timer_interrupt+0x45/0x52 [ 877.194702] [] apic_timer_interrupt+0x6f/0x80 [ 877.194791] [ 877.194833] [] ? cpuidle_enter_state+0x55/0xbd [ 877.195044] [] ? cpuidle_enter_state+0x51/0xbd [ 877.195138] [] ? __atomic_notifier_call_chain+0x5/0x8d [ 877.195231] [] cpuidle_idle_call+0x108/0x1b6 [ 877.195323] [] arch_cpu_idle+0xe/0x22 [ 877.195413] [] cpu_startup_entry+0x131/0x1c5 [ 877.195506] [] ? clockevents_config_and_register+0x23/0x27 [ 877.195602] [] start_secondary+0x1b7/0x1bc [ 877.195691] Code: 2a 48 89 c7 e8 25 9c 7a 00 4c 89 e6 4c 89 ef e8 3c df ff ff 48 85 c0 74 0a 48 8b 40 20 48 39 58 08 74 12 4c 89 ef e8 e8 a1 7a 00 <49> 8b 3f e8 fb 9b 7a 00 eb 03 49 89 c7 41 83 7f 18 00 75 4d f6 [ 877.198363] RIP [] __queue_work+0x135/0x274 [ 877.198492] RSP [ 877.198584] CR2: 0000000000000000 [ 877.198673] ---[ end trace 750de539bc7068c8 ]--- [ 877.198761] Kernel panic - not syncing: Fatal exception in interrupt [ 877.198882] ------------[ cut here ]------------ [ 877.198976] WARNING: CPU: 2 PID: 0 at arch/x86/kernel/smp.c:124 native_smp_send_reschedule+0x2d/0x5e() [ 877.199110] Modules linked in: netconsole configfs ip6table_filter ip6_tables ipv6 iptable_filter ip_tables ebtable_nat ebtables x_tables dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek pcspkr i2c_i801 snd_hda_intel iTCO_wdt snd_hda_codec iTCO_vendor_support snd_hwdep snd_pcm lpc_ich snd_page_alloc mfd_core snd_timer snd soundcore ppdev parport_pc parport wmi acpi_cpufreq video button freq_table [last unloaded: drm] [ 877.200879] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G D 3.12.0-rc4_nightlytop_4e1044_debug_20131010_+ #673 [ 877.201016] Hardware name: /DH77EB, BIOS EBH7710H.86A.0062.2012.0329.1914 03/29/2012 [ 877.201155] 0000000000000009 ffff88021f303740 ffffffff817f3653 0000000000000006 [ 877.201445] 0000000000000000 ffff88021f303780 ffffffff81039d08 0000000000000000 [ 877.201733] ffffffff81024969 0000000000000000 ffff88021f313140 000000010008d1f7 [ 877.202023] Call Trace: [ 877.202110] [] dump_stack+0x46/0x58 [ 877.202279] [] warn_slowpath_common+0x81/0x9b [ 877.202370] [] ? native_smp_send_reschedule+0x2d/0x5e [ 877.202460] [] ? tick_sched_do_timer+0x2f/0x2f [ 877.202554] [] warn_slowpath_null+0x1a/0x1c [ 877.202645] [] native_smp_send_reschedule+0x2d/0x5e [ 877.202738] [] trigger_load_balance+0x26d/0x295 [ 877.202831] [] ? trigger_load_balance+0x66/0x295 [ 877.202926] [] scheduler_tick+0x87/0x90 [ 877.203017] [] update_process_times+0x5e/0x6e [ 877.203109] [] tick_sched_handle+0x4a/0x59 [ 877.203201] [] tick_sched_timer+0x3b/0x5a [ 877.203294] [] __run_hrtimer+0xd4/0x19a [ 877.203384] [] hrtimer_interrupt+0xec/0x1d9 [ 877.203476] [] local_apic_timer_interrupt+0x55/0x59 [ 877.203568] [] smp_apic_timer_interrupt+0x40/0x52 [ 877.203661] [] apic_timer_interrupt+0x6f/0x80 [ 877.203752] [] ? retint_restore_args+0xe/0xe [ 877.203843] [] ? panic+0x18f/0x1d0 [ 877.203933] [] ? panic+0x192/0x1d0 [ 877.204023] [] ? panic+0x18f/0x1d0 [ 877.204111] [] ? kmsg_dump+0xc8/0xe9 [ 877.204203] [] oops_end+0xa4/0xb4 [ 877.204296] [] no_context+0x25f/0x28b [ 877.204387] [] __bad_area_nosemaphore+0x1ce/0x1ef [ 877.204481] [] bad_area_nosemaphore+0x13/0x15 [ 877.204575] [] __do_page_fault+0x433/0x4ba [ 877.204666] [] ? trace_hardirqs_off+0xd/0xf [ 877.204756] [] ? free_pages_prepare+0x108/0x130 [ 877.204848] [] ? trace_hardirqs_off_thunk+0x3a/0x3c [ 877.204940] [] do_page_fault+0xe/0x10 [ 877.205031] [] page_fault+0x22/0x30 [ 877.205122] [] ? __queue_work+0x135/0x274 [ 877.205214] [] ? __queue_work+0x274/0x274 [ 877.205305] [] delayed_work_timer_fn+0x1e/0x20 [ 877.205400] [] call_timer_fn+0x97/0x165 [ 877.205490] [] ? call_timer_fn+0x5/0x165 [ 877.205583] [] ? __queue_work+0x274/0x274 [ 877.205675] [] run_timer_softirq+0x1ad/0x229 [ 877.205768] [] ? ktime_get+0x56/0xb7 [ 877.205859] [] __do_softirq+0x100/0x220 [ 877.205949] [] ? tick_program_event+0x24/0x26 [ 877.206043] [] call_softirq+0x1c/0x30 [ 877.206132] [] do_softirq+0x3c/0x86 [ 877.206224] [] irq_exit+0x57/0x9c [ 877.206314] [] smp_apic_timer_interrupt+0x45/0x52 [ 877.206406] [] apic_timer_interrupt+0x6f/0x80 [ 877.206494] [] ? cpuidle_enter_state+0x55/0xbd [ 877.206665] [] ? cpuidle_enter_state+0x51/0xbd [ 877.206753] [] ? __atomic_notifier_call_chain+0x5/0x8d [ 877.206849] [] cpuidle_idle_call+0x108/0x1b6 [ 877.206942] [] arch_cpu_idle+0xe/0x22 [ 877.207034] [] cpu_startup_entry+0x131/0x1c5 [ 877.207124] [] ? clockevents_config_and_register+0x23/0x27 [ 877.207218] [] start_secondary+0x1b7/0x1bc [ 877.207306] ---[ end trace 750de539bc7068c9 ]---