From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751022AbWF1TQD (ORCPT ); Wed, 28 Jun 2006 15:16:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751021AbWF1TQD (ORCPT ); Wed, 28 Jun 2006 15:16:03 -0400 Received: from py-out-1112.google.com ([64.233.166.182]:37389 "EHLO py-out-1112.google.com") by vger.kernel.org with ESMTP id S1751022AbWF1TQB (ORCPT ); Wed, 28 Jun 2006 15:16:01 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=nFqL6kbzjyVvcH5WN02F0VGrNVlGG+unQvNQEqacSvKnQOg0T5N4S32SRExZfNcugWqVCDdAEjlIyaa7ou6CwW9m5r600mk3BVuxVZRKjf5rrDFzCSAauwmM0t4sVQuW5X7j3InUSoZhqgDHZWLwWLY2kUHF9FCTObklvSWbsv4= Message-ID: Date: Wed, 28 Jun 2006 12:15:59 -0700 From: "Miles Lane" To: "Andrew Morton" , LKML Subject: 2.6.17-mm3 -- possible irq lock inversion dependency detected MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org [ INFO: possible irq lock inversion dependency detected ] --------------------------------------------------------- swapper/0 just changed the state of lock: (tasklist_lock){..-?}, at: [] send_group_sig_info+0x16/0x34 but this lock took another, soft-irq-unsafe lock in the past: (&sig->stats_lock){--..} and interrupts could create inverse lock ordering between them. other info that might help us debug this: no locks held by swapper/0. the first lock's dependencies: -> (tasklist_lock){..-?} ops: 11783 { initial-use at: [] lock_acquire+0x60/0x80 [] _write_lock_irq+0x29/0x38 [] copy_process+0xedf/0x138a [] do_fork+0x93/0x19a [] kernel_thread+0x6c/0x74 [] rest_init+0x14/0x3a [] start_kernel+0x2d1/0x2d3 [] 0xc1000199 in-softirq-R at: [] lock_acquire+0x60/0x80 [] _read_lock+0x23/0x32 [] send_group_sig_info+0x16/0x34 [] it_real_fn+0x22/0x6b [] hrtimer_run_queues+0xdd/0x12e [] run_timer_softirq+0x14/0x14a [] __do_softirq+0x55/0xb0 [] do_softirq+0x58/0xbd softirq-on-R at: [] lock_acquire+0x60/0x80 [] _read_lock+0x23/0x32 [] keventd_create_kthread+0x35/0x57 [] kthread_create+0xdb/0x126 [] cpu_callback+0x49/0x8e [] spawn_ksoftirqd+0x1c/0x32 [] init+0x21/0x1de [] kernel_thread_helper+0x5/0xb hardirq-on-R at: [] lock_acquire+0x60/0x80 [] _read_lock+0x23/0x32 [] keventd_create_kthread+0x35/0x57 [] kthread_create+0xdb/0x126 [] cpu_callback+0x49/0x8e [] spawn_ksoftirqd+0x1c/0x32 [] init+0x21/0x1de [] kernel_thread_helper+0x5/0xb } ... key at: [] tasklist_lock+0x34/0x80 -> (init_sighand.siglock){....} ops: 27 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] copy_process+0xf5e/0x138a [] do_fork+0x93/0x19a [] kernel_thread+0x6c/0x74 [] rest_init+0x14/0x3a [] start_kernel+0x2d1/0x2d3 [] 0xc1000199 } ... key at: [] init_sighand+0x53c/0x580 -> (&sighand->siglock){....} ops: 57856 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock_irq+0x29/0x38 [] sigprocmask+0x25/0xd0 [] kthread+0x6a/0xdc [] kernel_thread_helper+0x5/0xb } ... key at: [] __key.22974+0x0/0x8 -> (&waitqueue_lock_key){++..} ops: 105911 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock_irq+0x29/0x38 [] wait_for_completion+0x24/0xd0 [] keventd_create_kthread+0x2b/0x57 [] kthread_create+0xdb/0x126 [] cpu_callback+0x49/0x8e [] spawn_ksoftirqd+0x1c/0x32 [] init+0x21/0x1de [] kernel_thread_helper+0x5/0xb in-hardirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock_irqsave+0x2c/0x3c [] __wake_up+0x15/0x3b [] acpi_ec_gpe_handler+0x81/0xc6 [] acpi_ev_gpe_dispatch+0x58/0x122 [] acpi_ev_gpe_detect+0xb7/0x10e [] acpi_ev_sci_xrupt_handler+0x15/0x1d [] acpi_irq+0xe/0x18 [] handle_IRQ_event+0x20/0x50 [] __do_IRQ+0x75/0xc9 [] do_IRQ+0x9b/0xaf [] common_interrupt+0x25/0x2c [] cpu_idle+0x41/0x6a [] rest_init+0x37/0x3a [] start_kernel+0x2d1/0x2d3 [] 0xc1000199 in-softirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock_irqsave+0x2c/0x3c [] complete+0x12/0x3e [] wakeme_after_rcu+0xb/0xd [] __rcu_process_callbacks+0xfe/0x154 [] rcu_process_callbacks+0x12/0x23 [] tasklet_action+0x45/0x76 [] __do_softirq+0x55/0xb0 [] do_softirq+0x58/0xbd } ... key at: [] waitqueue_lock_key+0x0/0x8 -> (&rq->rq_lock_key){++..} ops: 64390 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock_irqsave+0x2c/0x3c [] init_idle+0x4c/0x72 [] sched_init+0xbb/0xbf [] start_kernel+0x60/0x2d3 [] 0xc1000199 in-hardirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] scheduler_tick+0xa3/0x2ac [] update_process_times+0x59/0x65 [] timer_interrupt+0x38/0x5d [] handle_IRQ_event+0x20/0x50 [] __do_IRQ+0x75/0xc9 [] do_IRQ+0x9b/0xaf [] common_interrupt+0x25/0x2c [] cache_alloc_debugcheck_after+0x25/0x135 [] kmem_cache_alloc+0x97/0xa3 [] alloc_inode+0x26/0x18c [] new_inode+0x17/0x8e [] sysfs_new_inode+0x17/0xda [] sysfs_create+0x39/0xc0 [] create_dir+0x99/0x19c [] sysfs_create_dir+0x48/0x63 [] kobject_add+0xc7/0x171 [] kset_add+0x2e/0x30 [] kset_register+0x12/0x15 [] bus_register+0xa3/0x14f [] platform_bus_init+0x17/0x19 [] driver_init+0x1c/0x2d [] init+0x3f/0x1de [] kernel_thread_helper+0x5/0xb in-softirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] task_rq_lock+0x17/0x1e [] try_to_wake_up+0x18/0x102 [] wake_up_process+0xf/0x11 [] __do_softirq+0x97/0xb0 [] do_softirq+0x58/0xbd } ... key at: [] per_cpu__runqueues+0x98c/0x994 ... acquired at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] task_rq_lock+0x17/0x1e [] try_to_wake_up+0x18/0x102 [] default_wake_function+0xb/0xd [] __wake_up_common+0x2f/0x53 [] complete+0x2b/0x3e [] kthread+0x91/0xdc [] kernel_thread_helper+0x5/0xb ... acquired at: [] lock_acquire+0x60/0x80 [] _spin_lock_irqsave+0x2c/0x3c [] __wake_up_sync+0x19/0x44 [] do_notify_parent+0x166/0x182 [] do_exit+0x714/0x80b [] ____call_usermodehelper+0xee/0xf0 [] kernel_thread_helper+0x5/0xb -> (pidmap_lock){....} ops: 4427 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock_irq+0x29/0x38 [] alloc_pid+0x1ad/0x20b [] do_fork+0x18/0x19a [] kernel_thread+0x6c/0x74 [] rest_init+0x14/0x3a [] start_kernel+0x2d1/0x2d3 [] 0xc1000199 } ... key at: [] pidmap_lock+0x38/0x60 ... acquired at: [] lock_acquire+0x60/0x80 [] _spin_lock_irqsave+0x2c/0x3c [] free_pid+0x11/0x69 [] detach_pid+0x48/0x4b [] release_task+0x146/0x2b2 [] do_exit+0x78c/0x80b [] ____call_usermodehelper+0xee/0xf0 [] kernel_thread_helper+0x5/0xb -> (&parent->list_lock){++..} ops: 48418 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] cache_alloc_refill+0x61/0x5f8 [] kmem_cache_zalloc+0x6e/0xc7 [] kmem_cache_create+0x20c/0x51a [] kmem_cache_init+0x149/0x349 [] start_kernel+0x168/0x2d3 [] 0xc1000199 in-hardirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] cache_alloc_refill+0x61/0x5f8 [] kmem_cache_alloc+0x6e/0xa3 [] acpi_os_execute+0x3c/0xd0 [] acpi_ec_gpe_handler+0xa2/0xc6 [] acpi_ev_gpe_dispatch+0x58/0x122 [] acpi_ev_gpe_detect+0xb7/0x10e [] acpi_ev_sci_xrupt_handler+0x15/0x1d [] acpi_irq+0xe/0x18 [] handle_IRQ_event+0x20/0x50 [] __do_IRQ+0x75/0xc9 [] do_IRQ+0x9b/0xaf [] common_interrupt+0x25/0x2c [] cpu_idle+0x41/0x6a [] rest_init+0x37/0x3a [] start_kernel+0x2d1/0x2d3 [] 0xc1000199 in-softirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] free_block+0x14b/0x184 [] __cache_free+0x248/0x2b2 [] kmem_cache_free+0x54/0x6e [] free_task+0x21/0x24 [] __put_task_struct+0xb8/0xbd [] delayed_put_task_struct+0x1d/0x1f [] __rcu_process_callbacks+0xfe/0x154 [] rcu_process_callbacks+0x12/0x23 [] tasklet_action+0x45/0x76 [] __do_softirq+0x55/0xb0 [] do_softirq+0x58/0xbd } ... key at: [] __key.15142+0x0/0x8 ... acquired at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] cache_alloc_refill+0x61/0x5f8 [] kmem_cache_alloc+0x6e/0xa3 [] __sigqueue_alloc+0x3b/0x6e [] send_signal+0x35/0xe9 [] __group_send_sig_info+0x67/0x85 [] do_notify_parent+0x148/0x182 [] do_exit+0x714/0x80b [] ____call_usermodehelper+0xee/0xf0 [] kernel_thread_helper+0x5/0xb -> (&rq->rq_lock_key){++..} ops: 64390 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock_irqsave+0x2c/0x3c [] init_idle+0x4c/0x72 [] sched_init+0xbb/0xbf [] start_kernel+0x60/0x2d3 [] 0xc1000199 in-hardirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] scheduler_tick+0xa3/0x2ac [] update_process_times+0x59/0x65 [] timer_interrupt+0x38/0x5d [] handle_IRQ_event+0x20/0x50 [] __do_IRQ+0x75/0xc9 [] do_IRQ+0x9b/0xaf [] common_interrupt+0x25/0x2c [] cache_alloc_debugcheck_after+0x25/0x135 [] kmem_cache_alloc+0x97/0xa3 [] alloc_inode+0x26/0x18c [] new_inode+0x17/0x8e [] sysfs_new_inode+0x17/0xda [] sysfs_create+0x39/0xc0 [] create_dir+0x99/0x19c [] sysfs_create_dir+0x48/0x63 [] kobject_add+0xc7/0x171 [] kset_add+0x2e/0x30 [] kset_register+0x12/0x15 [] bus_register+0xa3/0x14f [] platform_bus_init+0x17/0x19 [] driver_init+0x1c/0x2d [] init+0x3f/0x1de [] kernel_thread_helper+0x5/0xb in-softirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] task_rq_lock+0x17/0x1e [] try_to_wake_up+0x18/0x102 [] wake_up_process+0xf/0x11 [] __do_softirq+0x97/0xb0 [] do_softirq+0x58/0xbd } ... key at: [] per_cpu__runqueues+0x98c/0x994 ... acquired at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] task_rq_lock+0x17/0x1e [] try_to_wake_up+0x18/0x102 [] wake_up_state+0xa/0xc [] signal_wake_up+0x1b/0x1d [] __group_complete_signal+0x223/0x240 [] __group_send_sig_info+0x77/0x85 [] do_notify_parent+0x148/0x182 [] do_exit+0x714/0x80b [] ____call_usermodehelper+0xee/0xf0 [] kernel_thread_helper+0x5/0xb -> (&base->lock_key){.+..} ops: 9927 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock_irqsave+0x2c/0x3c [] hrtimer_try_to_cancel+0x16/0x4f [] hrtimer_cancel+0xd/0x18 [] do_exit+0x1ae/0x80b [] ____call_usermodehelper+0xee/0xf0 [] kernel_thread_helper+0x5/0xb in-softirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock_irq+0x29/0x38 [] hrtimer_run_queues+0xab/0x12e [] run_timer_softirq+0x14/0x14a [] __do_softirq+0x55/0xb0 [] do_softirq+0x58/0xbd } ... key at: [] per_cpu__hrtimer_bases+0x118/0x120 ... acquired at: [] lock_acquire+0x60/0x80 [] _spin_lock_irqsave+0x2c/0x3c [] hrtimer_get_remaining+0x19/0x52 [] itimer_get_remtime+0x14/0x56 [] do_setitimer+0xab/0x4b9 [] alarm_setitimer+0x35/0x56 [] sys_alarm+0xb/0xd [] sysenter_past_esp+0x56/0x8d -> (uidhash_lock){.+..} ops: 3541 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] _atomic_dec_and_lock+0x10/0x30 [] free_uid+0x23/0xa2 [] __put_task_struct+0x94/0xbd [] delayed_put_task_struct+0x1d/0x1f [] __rcu_process_callbacks+0xfe/0x154 [] rcu_process_callbacks+0x12/0x23 [] tasklet_action+0x45/0x76 [] __do_softirq+0x55/0xb0 [] do_softirq+0x58/0xbd in-softirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] _atomic_dec_and_lock+0x10/0x30 [] free_uid+0x23/0xa2 [] __put_task_struct+0x94/0xbd [] delayed_put_task_struct+0x1d/0x1f [] __rcu_process_callbacks+0xfe/0x154 [] rcu_process_callbacks+0x12/0x23 [] tasklet_action+0x45/0x76 [] __do_softirq+0x55/0xb0 [] do_softirq+0x58/0xbd } ... key at: [] uidhash_lock+0x38/0x60 ... acquired at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] _atomic_dec_and_lock+0x10/0x30 [] free_uid+0x23/0xa2 [] __sigqueue_free+0x22/0x31 [] __dequeue_signal+0x113/0x163 [] dequeue_signal+0x34/0xac [] get_signal_to_deliver+0xf9/0x3f4 [] do_notify_resume+0x80/0x6a6 [] work_notifysig+0x13/0x1a ... acquired at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] flush_old_exec+0x3db/0x7e3 [] load_elf_binary+0x48c/0x142b [] search_binary_handler+0xe0/0x2d6 [] do_execve+0x14f/0x1eb [] sys_execve+0x29/0x79 [] syscall_call+0x7/0xb ... acquired at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] copy_process+0xf5e/0x138a [] do_fork+0x93/0x19a [] kernel_thread+0x6c/0x74 [] rest_init+0x14/0x3a [] start_kernel+0x2d1/0x2d3 [] 0xc1000199 -> (&sighand->siglock){....} ops: 57856 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock_irq+0x29/0x38 [] sigprocmask+0x25/0xd0 [] kthread+0x6a/0xdc [] kernel_thread_helper+0x5/0xb } ... key at: [] __key.22974+0x0/0x8 -> (&waitqueue_lock_key){++..} ops: 105911 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock_irq+0x29/0x38 [] wait_for_completion+0x24/0xd0 [] keventd_create_kthread+0x2b/0x57 [] kthread_create+0xdb/0x126 [] cpu_callback+0x49/0x8e [] spawn_ksoftirqd+0x1c/0x32 [] init+0x21/0x1de [] kernel_thread_helper+0x5/0xb in-hardirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock_irqsave+0x2c/0x3c [] __wake_up+0x15/0x3b [] acpi_ec_gpe_handler+0x81/0xc6 [] acpi_ev_gpe_dispatch+0x58/0x122 [] acpi_ev_gpe_detect+0xb7/0x10e [] acpi_ev_sci_xrupt_handler+0x15/0x1d [] acpi_irq+0xe/0x18 [] handle_IRQ_event+0x20/0x50 [] __do_IRQ+0x75/0xc9 [] do_IRQ+0x9b/0xaf [] common_interrupt+0x25/0x2c [] cpu_idle+0x41/0x6a [] rest_init+0x37/0x3a [] start_kernel+0x2d1/0x2d3 [] 0xc1000199 in-softirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock_irqsave+0x2c/0x3c [] complete+0x12/0x3e [] wakeme_after_rcu+0xb/0xd [] __rcu_process_callbacks+0xfe/0x154 [] rcu_process_callbacks+0x12/0x23 [] tasklet_action+0x45/0x76 [] __do_softirq+0x55/0xb0 [] do_softirq+0x58/0xbd } ... key at: [] waitqueue_lock_key+0x0/0x8 -> (&rq->rq_lock_key){++..} ops: 64390 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock_irqsave+0x2c/0x3c [] init_idle+0x4c/0x72 [] sched_init+0xbb/0xbf [] start_kernel+0x60/0x2d3 [] 0xc1000199 in-hardirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] scheduler_tick+0xa3/0x2ac [] update_process_times+0x59/0x65 [] timer_interrupt+0x38/0x5d [] handle_IRQ_event+0x20/0x50 [] __do_IRQ+0x75/0xc9 [] do_IRQ+0x9b/0xaf [] common_interrupt+0x25/0x2c [] cache_alloc_debugcheck_after+0x25/0x135 [] kmem_cache_alloc+0x97/0xa3 [] alloc_inode+0x26/0x18c [] new_inode+0x17/0x8e [] sysfs_new_inode+0x17/0xda [] sysfs_create+0x39/0xc0 [] create_dir+0x99/0x19c [] sysfs_create_dir+0x48/0x63 [] kobject_add+0xc7/0x171 [] kset_add+0x2e/0x30 [] kset_register+0x12/0x15 [] bus_register+0xa3/0x14f [] platform_bus_init+0x17/0x19 [] driver_init+0x1c/0x2d [] init+0x3f/0x1de [] kernel_thread_helper+0x5/0xb in-softirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] task_rq_lock+0x17/0x1e [] try_to_wake_up+0x18/0x102 [] wake_up_process+0xf/0x11 [] __do_softirq+0x97/0xb0 [] do_softirq+0x58/0xbd } ... key at: [] per_cpu__runqueues+0x98c/0x994 ... acquired at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] task_rq_lock+0x17/0x1e [] try_to_wake_up+0x18/0x102 [] default_wake_function+0xb/0xd [] __wake_up_common+0x2f/0x53 [] complete+0x2b/0x3e [] kthread+0x91/0xdc [] kernel_thread_helper+0x5/0xb ... acquired at: [] lock_acquire+0x60/0x80 [] _spin_lock_irqsave+0x2c/0x3c [] __wake_up_sync+0x19/0x44 [] do_notify_parent+0x166/0x182 [] do_exit+0x714/0x80b [] ____call_usermodehelper+0xee/0xf0 [] kernel_thread_helper+0x5/0xb -> (pidmap_lock){....} ops: 4427 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock_irq+0x29/0x38 [] alloc_pid+0x1ad/0x20b [] do_fork+0x18/0x19a [] kernel_thread+0x6c/0x74 [] rest_init+0x14/0x3a [] start_kernel+0x2d1/0x2d3 [] 0xc1000199 } ... key at: [] pidmap_lock+0x38/0x60 ... acquired at: [] lock_acquire+0x60/0x80 [] _spin_lock_irqsave+0x2c/0x3c [] free_pid+0x11/0x69 [] detach_pid+0x48/0x4b [] release_task+0x146/0x2b2 [] do_exit+0x78c/0x80b [] ____call_usermodehelper+0xee/0xf0 [] kernel_thread_helper+0x5/0xb -> (&parent->list_lock){++..} ops: 48418 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] cache_alloc_refill+0x61/0x5f8 [] kmem_cache_zalloc+0x6e/0xc7 [] kmem_cache_create+0x20c/0x51a [] kmem_cache_init+0x149/0x349 [] start_kernel+0x168/0x2d3 [] 0xc1000199 in-hardirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] cache_alloc_refill+0x61/0x5f8 [] kmem_cache_alloc+0x6e/0xa3 [] acpi_os_execute+0x3c/0xd0 [] acpi_ec_gpe_handler+0xa2/0xc6 [] acpi_ev_gpe_dispatch+0x58/0x122 [] acpi_ev_gpe_detect+0xb7/0x10e [] acpi_ev_sci_xrupt_handler+0x15/0x1d [] acpi_irq+0xe/0x18 [] handle_IRQ_event+0x20/0x50 [] __do_IRQ+0x75/0xc9 [] do_IRQ+0x9b/0xaf [] common_interrupt+0x25/0x2c [] cpu_idle+0x41/0x6a [] rest_init+0x37/0x3a [] start_kernel+0x2d1/0x2d3 [] 0xc1000199 in-softirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] free_block+0x14b/0x184 [] __cache_free+0x248/0x2b2 [] kmem_cache_free+0x54/0x6e [] free_task+0x21/0x24 [] __put_task_struct+0xb8/0xbd [] delayed_put_task_struct+0x1d/0x1f [] __rcu_process_callbacks+0xfe/0x154 [] rcu_process_callbacks+0x12/0x23 [] tasklet_action+0x45/0x76 [] __do_softirq+0x55/0xb0 [] do_softirq+0x58/0xbd } ... key at: [] __key.15142+0x0/0x8 ... acquired at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] cache_alloc_refill+0x61/0x5f8 [] kmem_cache_alloc+0x6e/0xa3 [] __sigqueue_alloc+0x3b/0x6e [] send_signal+0x35/0xe9 [] __group_send_sig_info+0x67/0x85 [] do_notify_parent+0x148/0x182 [] do_exit+0x714/0x80b [] ____call_usermodehelper+0xee/0xf0 [] kernel_thread_helper+0x5/0xb -> (&rq->rq_lock_key){++..} ops: 64390 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock_irqsave+0x2c/0x3c [] init_idle+0x4c/0x72 [] sched_init+0xbb/0xbf [] start_kernel+0x60/0x2d3 [] 0xc1000199 in-hardirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] scheduler_tick+0xa3/0x2ac [] update_process_times+0x59/0x65 [] timer_interrupt+0x38/0x5d [] handle_IRQ_event+0x20/0x50 [] __do_IRQ+0x75/0xc9 [] do_IRQ+0x9b/0xaf [] common_interrupt+0x25/0x2c [] cache_alloc_debugcheck_after+0x25/0x135 [] kmem_cache_alloc+0x97/0xa3 [] alloc_inode+0x26/0x18c [] new_inode+0x17/0x8e [] sysfs_new_inode+0x17/0xda [] sysfs_create+0x39/0xc0 [] create_dir+0x99/0x19c [] sysfs_create_dir+0x48/0x63 [] kobject_add+0xc7/0x171 [] kset_add+0x2e/0x30 [] kset_register+0x12/0x15 [] bus_register+0xa3/0x14f [] platform_bus_init+0x17/0x19 [] driver_init+0x1c/0x2d [] init+0x3f/0x1de [] kernel_thread_helper+0x5/0xb in-softirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] task_rq_lock+0x17/0x1e [] try_to_wake_up+0x18/0x102 [] wake_up_process+0xf/0x11 [] __do_softirq+0x97/0xb0 [] do_softirq+0x58/0xbd } ... key at: [] per_cpu__runqueues+0x98c/0x994 ... acquired at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] task_rq_lock+0x17/0x1e [] try_to_wake_up+0x18/0x102 [] wake_up_state+0xa/0xc [] signal_wake_up+0x1b/0x1d [] __group_complete_signal+0x223/0x240 [] __group_send_sig_info+0x77/0x85 [] do_notify_parent+0x148/0x182 [] do_exit+0x714/0x80b [] ____call_usermodehelper+0xee/0xf0 [] kernel_thread_helper+0x5/0xb -> (&base->lock_key){.+..} ops: 9927 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock_irqsave+0x2c/0x3c [] hrtimer_try_to_cancel+0x16/0x4f [] hrtimer_cancel+0xd/0x18 [] do_exit+0x1ae/0x80b [] ____call_usermodehelper+0xee/0xf0 [] kernel_thread_helper+0x5/0xb in-softirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock_irq+0x29/0x38 [] hrtimer_run_queues+0xab/0x12e [] run_timer_softirq+0x14/0x14a [] __do_softirq+0x55/0xb0 [] do_softirq+0x58/0xbd } ... key at: [] per_cpu__hrtimer_bases+0x118/0x120 ... acquired at: [] lock_acquire+0x60/0x80 [] _spin_lock_irqsave+0x2c/0x3c [] hrtimer_get_remaining+0x19/0x52 [] itimer_get_remtime+0x14/0x56 [] do_setitimer+0xab/0x4b9 [] alarm_setitimer+0x35/0x56 [] sys_alarm+0xb/0xd [] sysenter_past_esp+0x56/0x8d -> (uidhash_lock){.+..} ops: 3541 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] _atomic_dec_and_lock+0x10/0x30 [] free_uid+0x23/0xa2 [] __put_task_struct+0x94/0xbd [] delayed_put_task_struct+0x1d/0x1f [] __rcu_process_callbacks+0xfe/0x154 [] rcu_process_callbacks+0x12/0x23 [] tasklet_action+0x45/0x76 [] __do_softirq+0x55/0xb0 [] do_softirq+0x58/0xbd in-softirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] _atomic_dec_and_lock+0x10/0x30 [] free_uid+0x23/0xa2 [] __put_task_struct+0x94/0xbd [] delayed_put_task_struct+0x1d/0x1f [] __rcu_process_callbacks+0xfe/0x154 [] rcu_process_callbacks+0x12/0x23 [] tasklet_action+0x45/0x76 [] __do_softirq+0x55/0xb0 [] do_softirq+0x58/0xbd } ... key at: [] uidhash_lock+0x38/0x60 ... acquired at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] _atomic_dec_and_lock+0x10/0x30 [] free_uid+0x23/0xa2 [] __sigqueue_free+0x22/0x31 [] __dequeue_signal+0x113/0x163 [] dequeue_signal+0x34/0xac [] get_signal_to_deliver+0xf9/0x3f4 [] do_notify_resume+0x80/0x6a6 [] work_notifysig+0x13/0x1a ... acquired at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] copy_process+0xf5e/0x138a [] do_fork+0x93/0x19a [] kernel_thread+0x6c/0x74 [] __call_usermodehelper+0x2b/0x44 [] run_workqueue+0x86/0xcb [] worker_thread+0xe1/0x114 [] kthread+0xb0/0xdc [] kernel_thread_helper+0x5/0xb -> (&sig->stats_lock){--..} ops: 2186 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] __cleanup_signal+0x1a/0x5b [] release_task+0x228/0x2b2 [] do_exit+0x78c/0x80b [] ____call_usermodehelper+0xee/0xf0 [] kernel_thread_helper+0x5/0xb softirq-on-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] __cleanup_signal+0x1a/0x5b [] copy_process+0x1208/0x138a [] do_fork+0x93/0x19a [] sys_clone+0x25/0x2a [] sysenter_past_esp+0x56/0x8d hardirq-on-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] __cleanup_signal+0x1a/0x5b [] copy_process+0x1208/0x138a [] do_fork+0x93/0x19a [] sys_clone+0x25/0x2a [] sysenter_past_esp+0x56/0x8d } ... key at: [] __key.22061+0x0/0x8 ... acquired at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] __cleanup_signal+0x1a/0x5b [] release_task+0x228/0x2b2 [] do_exit+0x78c/0x80b [] ____call_usermodehelper+0xee/0xf0 [] kernel_thread_helper+0x5/0xb -> (&rq->rq_lock_key){++..} ops: 64390 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock_irqsave+0x2c/0x3c [] init_idle+0x4c/0x72 [] sched_init+0xbb/0xbf [] start_kernel+0x60/0x2d3 [] 0xc1000199 in-hardirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] scheduler_tick+0xa3/0x2ac [] update_process_times+0x59/0x65 [] timer_interrupt+0x38/0x5d [] handle_IRQ_event+0x20/0x50 [] __do_IRQ+0x75/0xc9 [] do_IRQ+0x9b/0xaf [] common_interrupt+0x25/0x2c [] cache_alloc_debugcheck_after+0x25/0x135 [] kmem_cache_alloc+0x97/0xa3 [] alloc_inode+0x26/0x18c [] new_inode+0x17/0x8e [] sysfs_new_inode+0x17/0xda [] sysfs_create+0x39/0xc0 [] create_dir+0x99/0x19c [] sysfs_create_dir+0x48/0x63 [] kobject_add+0xc7/0x171 [] kset_add+0x2e/0x30 [] kset_register+0x12/0x15 [] bus_register+0xa3/0x14f [] platform_bus_init+0x17/0x19 [] driver_init+0x1c/0x2d [] init+0x3f/0x1de [] kernel_thread_helper+0x5/0xb in-softirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] task_rq_lock+0x17/0x1e [] try_to_wake_up+0x18/0x102 [] wake_up_process+0xf/0x11 [] __do_softirq+0x97/0xb0 [] do_softirq+0x58/0xbd } ... key at: [] per_cpu__runqueues+0x98c/0x994 ... acquired at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] task_rq_lock+0x17/0x1e [] sched_exit+0x19/0x6b [] release_task+0x27b/0x2b2 [] do_exit+0x78c/0x80b [] ____call_usermodehelper+0xee/0xf0 [] kernel_thread_helper+0x5/0xb -> (uidhash_lock){.+..} ops: 3541 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] _atomic_dec_and_lock+0x10/0x30 [] free_uid+0x23/0xa2 [] __put_task_struct+0x94/0xbd [] delayed_put_task_struct+0x1d/0x1f [] __rcu_process_callbacks+0xfe/0x154 [] rcu_process_callbacks+0x12/0x23 [] tasklet_action+0x45/0x76 [] __do_softirq+0x55/0xb0 [] do_softirq+0x58/0xbd in-softirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] _atomic_dec_and_lock+0x10/0x30 [] free_uid+0x23/0xa2 [] __put_task_struct+0x94/0xbd [] delayed_put_task_struct+0x1d/0x1f [] __rcu_process_callbacks+0xfe/0x154 [] rcu_process_callbacks+0x12/0x23 [] tasklet_action+0x45/0x76 [] __do_softirq+0x55/0xb0 [] do_softirq+0x58/0xbd } ... key at: [] uidhash_lock+0x38/0x60 ... acquired at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] _atomic_dec_and_lock+0x10/0x30 [] free_uid+0x23/0xa2 [] __sigqueue_free+0x22/0x31 [] flush_sigqueue+0x2c/0x33 [] release_task+0x221/0x2b2 [] do_exit+0x78c/0x80b [] thread_saved_pc+0x0/0xe -> (&parent->list_lock/1){++..} ops: 17207 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock_nested+0x26/0x37 [] __cache_free+0x1f2/0x2b2 [] kmem_cache_free+0x54/0x6e [] acpi_os_release_object+0x8/0xc [] acpi_ps_free_op+0x1c/0x1e [] acpi_ps_delete_parse_tree+0x33/0x4c [] acpi_ps_complete_this_op+0x12f/0x147 [] acpi_ps_parse_loop+0x5c7/0x898 [] acpi_ps_parse_aml+0x57/0x1e6 [] acpi_ns_one_complete_parse+0x78/0x8d [] acpi_ns_parse_table+0x12/0x23 [] acpi_ns_load_table+0x79/0x9e [] acpi_ns_load_table_by_type+0x4e/0xab [] acpi_ns_load_namespace+0x36/0x57 [] acpi_load_tables+0x75/0xb1 [] acpi_early_init+0x61/0x10a [] start_kernel+0x2cc/0x2d3 [] 0xc1000199 in-hardirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock_nested+0x26/0x37 [] __cache_free+0x1f2/0x2b2 [] kmem_cache_free+0x54/0x6e [] mempool_free_slab+0xe/0x10 [] mempool_free+0x5d/0x65 [] bio_free+0x31/0x35 [] bio_fs_destructor+0xe/0x10 [] bio_put+0x2a/0x2c [] end_bio_bh_io_sync+0x36/0x3b [] bio_endio+0x48/0x50 [] __end_that_request_first+0x1e6/0x474 [] end_that_request_first+0xb/0xd [] ide_end_request+0x8a/0xd8 [] ide_dma_intr+0x58/0x93 [] ide_intr+0x149/0x1a9 [] handle_IRQ_event+0x20/0x50 [] __do_IRQ+0x75/0xc9 [] do_IRQ+0x9b/0xaf [] common_interrupt+0x25/0x2c [] skb_release_data+0x7c/0x80 [] pskb_expand_head+0xe2/0x126 [] netlink_broadcast+0x73/0x288 [] kobject_uevent+0x345/0x3b6 [] class_device_add+0x2c6/0x3dd [] input_register_device+0xdf/0x211 [] atkbd_connect+0x1c7/0x1ef [] serio_connect_driver+0x1e/0x2e [] serio_driver_probe+0x16/0x18 [] driver_probe_device+0x45/0x92 [] __driver_attach+0x5c/0x85 [] bus_for_each_dev+0x36/0x5b [] driver_attach+0x14/0x17 [] bus_add_driver+0x6b/0x109 [] driver_register+0x9d/0xa2 [] serio_thread+0x128/0x24e [] kthread+0xb0/0xdc [] kernel_thread_helper+0x5/0xb in-softirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock_nested+0x26/0x37 [] __cache_free+0x1f2/0x2b2 [] kfree+0x60/0x7d [] selinux_task_free_security+0x1a/0x1c [] __put_task_struct+0x89/0xbd [] delayed_put_task_struct+0x1d/0x1f [] __rcu_process_callbacks+0xfe/0x154 [] rcu_process_callbacks+0x12/0x23 [] tasklet_action+0x45/0x76 [] __do_softirq+0x55/0xb0 [] do_softirq+0x58/0xbd } ... key at: [] __key.15142+0x1/0x8 ... acquired at: [] lock_acquire+0x60/0x80 [] _spin_lock_nested+0x26/0x37 [] __cache_free+0x1f2/0x2b2 [] kmem_cache_free+0x54/0x6e [] __cleanup_sighand+0x18/0x1a [] release_task+0x202/0x2b2 [] do_wait+0x68a/0x9c7 [] sys_wait4+0x26/0x2a [] sys_waitpid+0x13/0x15 [] sysenter_past_esp+0x56/0x8d -> (&parent->list_lock){++..} ops: 48418 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] cache_alloc_refill+0x61/0x5f8 [] kmem_cache_zalloc+0x6e/0xc7 [] kmem_cache_create+0x20c/0x51a [] kmem_cache_init+0x149/0x349 [] start_kernel+0x168/0x2d3 [] 0xc1000199 in-hardirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] cache_alloc_refill+0x61/0x5f8 [] kmem_cache_alloc+0x6e/0xa3 [] acpi_os_execute+0x3c/0xd0 [] acpi_ec_gpe_handler+0xa2/0xc6 [] acpi_ev_gpe_dispatch+0x58/0x122 [] acpi_ev_gpe_detect+0xb7/0x10e [] acpi_ev_sci_xrupt_handler+0x15/0x1d [] acpi_irq+0xe/0x18 [] handle_IRQ_event+0x20/0x50 [] __do_IRQ+0x75/0xc9 [] do_IRQ+0x9b/0xaf [] common_interrupt+0x25/0x2c [] cpu_idle+0x41/0x6a [] rest_init+0x37/0x3a [] start_kernel+0x2d1/0x2d3 [] 0xc1000199 in-softirq-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] free_block+0x14b/0x184 [] __cache_free+0x248/0x2b2 [] kmem_cache_free+0x54/0x6e [] free_task+0x21/0x24 [] __put_task_struct+0xb8/0xbd [] delayed_put_task_struct+0x1d/0x1f [] __rcu_process_callbacks+0xfe/0x154 [] rcu_process_callbacks+0x12/0x23 [] tasklet_action+0x45/0x76 [] __do_softirq+0x55/0xb0 [] do_softirq+0x58/0xbd } ... key at: [] __key.15142+0x0/0x8 ... acquired at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] free_block+0x14b/0x184 [] __cache_free+0x248/0x2b2 [] kmem_cache_free+0x54/0x6e [] __cleanup_sighand+0x18/0x1a [] release_task+0x202/0x2b2 [] do_wait+0x68a/0x9c7 [] sys_wait4+0x26/0x2a [] sys_waitpid+0x13/0x15 [] sysenter_past_esp+0x56/0x8d the second lock's dependencies: -> (&sig->stats_lock){--..} ops: 2186 { initial-use at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] __cleanup_signal+0x1a/0x5b [] release_task+0x228/0x2b2 [] do_exit+0x78c/0x80b [] ____call_usermodehelper+0xee/0xf0 [] kernel_thread_helper+0x5/0xb softirq-on-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] __cleanup_signal+0x1a/0x5b [] copy_process+0x1208/0x138a [] do_fork+0x93/0x19a [] sys_clone+0x25/0x2a [] sysenter_past_esp+0x56/0x8d hardirq-on-W at: [] lock_acquire+0x60/0x80 [] _spin_lock+0x23/0x32 [] __cleanup_signal+0x1a/0x5b [] copy_process+0x1208/0x138a [] do_fork+0x93/0x19a [] sys_clone+0x25/0x2a [] sysenter_past_esp+0x56/0x8d } ... key at: [] __key.22061+0x0/0x8 stack backtrace: [] show_trace_log_lvl+0x54/0xfd [] show_trace+0xd/0x10 [] dump_stack+0x19/0x1b [] print_irq_inversion_bug+0xe3/0xf0 [] check_usage_forwards+0x32/0x3b [] mark_lock+0x1af/0x360 [] __lock_acquire+0x3a5/0x95e [] lock_acquire+0x60/0x80 [] _read_lock+0x23/0x32 [] send_group_sig_info+0x16/0x34 [] it_real_fn+0x22/0x6b [] hrtimer_run_queues+0xdd/0x12e [] run_timer_softirq+0x14/0x14a [] __do_softirq+0x55/0xb0 [] do_softirq+0x58/0xbd [] irq_exit+0x3f/0x4b [] do_IRQ+0xa0/0xaf [] common_interrupt+0x25/0x2c pccard: card ejected from slot 0