From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756646AbYEQRZm (ORCPT ); Sat, 17 May 2008 13:25:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753318AbYEQRZc (ORCPT ); Sat, 17 May 2008 13:25:32 -0400 Received: from testure.choralone.org ([194.9.77.134]:42952 "EHLO testure.choralone.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753311AbYEQRZa (ORCPT ); Sat, 17 May 2008 13:25:30 -0400 Date: Sat, 17 May 2008 13:26:12 -0400 From: Dave Jones To: Linux Kernel Cc: stsp@users.sourceforge.net Subject: pcspkr lockdep trace. Message-ID: <20080517172612.GA3522@codemonkey.org.uk> Mail-Followup-To: Dave Jones , Linux Kernel , stsp@users.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ======================================================= [ INFO: possible circular locking dependency detected ] 2.6.26-0.13.rc2.git5.fc10.x86_64 #1 ------------------------------------------------------- ksoftirqd/0/4 is trying to acquire lock: (&pcsp_chip.substream_lock){++..}, at: [] pcsp_do_timer+0x5a/0x2b3 [snd_pcsp] but task is already holding lock: (&cpu_base->lock){++..}, at: [] hrtimer_interrupt+0x79/0x14f which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #4 (&cpu_base->lock){++..}: [] __lock_acquire+0xbcf/0xd5f [] lock_acquire+0x5e/0x78 [] _spin_lock_irqsave+0x36/0x69 [] lock_hrtimer_base+0x25/0x4b [] hrtimer_start+0x24/0x15e [] enqueue_rt_entity+0x212/0x23d [] enqueue_task_rt+0x60/0x89 [] enqueue_task+0x4d/0x58 [] activate_task+0x22/0x2a [] try_to_wake_up+0x186/0x1dd [] wake_up_process+0x10/0x12 [] migration_call+0xdf/0x4d3 [] migration_init+0x46/0x57 [] kernel_init+0x5f/0x344 [] child_rip+0xa/0x12 [] 0xffffffffffffffff -> #3 (&rt_b->rt_runtime_lock){+...}: [] __lock_acquire+0xbcf/0xd5f [] lock_acquire+0x5e/0x78 [] _spin_lock+0x26/0x53 [] enqueue_rt_entity+0x1df/0x23d [] enqueue_task_rt+0x60/0x89 [] enqueue_task+0x4d/0x58 [] activate_task+0x22/0x2a [] try_to_wake_up+0x186/0x1dd [] wake_up_process+0x10/0x12 [] migration_call+0xdf/0x4d3 [] migration_init+0x46/0x57 [] kernel_init+0x5f/0x344 [] child_rip+0xa/0x12 [] 0xffffffffffffffff -> #2 (&rq->rq_lock_key){++..}: [] __lock_acquire+0xbcf/0xd5f [] lock_acquire+0x5e/0x78 [] _spin_lock+0x26/0x53 [] task_rq_lock+0x42/0x78 [] try_to_wake_up+0x34/0x1dd [] wake_up_process+0x10/0x12 [] __tasklet_schedule+0x86/0xa6 [] snd_pcsp_trigger+0xac/0xbe [snd_pcsp] [] snd_pcm_do_start+0x27/0x29 [snd_pcm] [] snd_pcm_action_single+0x2d/0x5b [snd_pcm] [] snd_pcm_action_lock_irq+0x86/0xac [snd_pcm] [] snd_pcm_common_ioctl1+0x4c0/0xcee [snd_pcm] [] snd_pcm_playback_ioctl1+0x252/0x26f [snd_pcm] [] snd_pcm_playback_ioctl+0x2e/0x36 [snd_pcm] [] vfs_ioctl+0x2a/0x78 [] do_vfs_ioctl+0x251/0x26b [] sys_ioctl+0x55/0x79 [] tracesys+0xd5/0xda [] 0xffffffffffffffff -> #1 (&substream->self_group.lock){.+..}: [] 0xffffffffffffffff -> #0 (&pcsp_chip.substream_lock){++..}: [] 0xffffffffffffffff other info that might help us debug this: 1 lock held by ksoftirqd/0/4: #0: (&cpu_base->lock){++..}, at: [] hrtimer_interrupt+0x79/0x14f stack backtrace: Pid: 4, comm: ksoftirqd/0 Not tainted 2.6.26-0.13.rc2.git5.fc10.x86_64 #1 Call Trace: [] print_circular_bug_tail+0x70/0x7b [] ? print_circular_bug_entry+0x48/0x4f [] __lock_acquire+0xad2/0xd5f [] ? native_sched_clock+0x50/0x6d [] ? native_sched_clock+0x50/0x6d [] ? ktime_get+0x11/0x42 [] lock_acquire+0x5e/0x78 [] ? :snd_pcsp:pcsp_do_timer+0x5a/0x2b3 [] _spin_lock_irqsave+0x36/0x69 [] ? _spin_unlock_irq+0x2b/0x30 [] ? :snd_pcsp:pcsp_do_timer+0x0/0x2b3 [] :snd_pcsp:pcsp_do_timer+0x5a/0x2b3 [] ? hrtimer_interrupt+0xf9/0x14f [] ? :snd_pcsp:pcsp_do_timer+0x0/0x2b3 [] __run_hrtimer+0x79/0xa7 [] hrtimer_interrupt+0xe4/0x14f [] smp_apic_timer_interrupt+0x85/0xa3 [] apic_timer_interrupt+0x6b/0x70 [] ? _spin_unlock_irqrestore+0x42/0x47 [] ? hrtimer_try_to_cancel+0x85/0x92 [] ? hrtimer_cancel+0x14/0x20 [] ? schedule+0x135/0x825 [] ? do_softirq+0x84/0x8a [] ? ksoftirqd+0x34/0xcf [] ? ksoftirqd+0x0/0xcf [] ? kthread+0x49/0x76 [] ? child_rip+0xa/0x12 [] ? restore_args+0x0/0x30 [] ? kthread+0x0/0x76 [] ? child_rip+0x0/0x12 -- http://www.codemonkey.org.uk