mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Walker <dwalker@mvista.com>
To: joel silvestre <j.silvestre@wanadoo.fr>
Cc: linux-kernel@vger.kernel.org, mingo@elte.hu
Subject: Re: 2.6.19-rt1 Bug
Date: Thu, 30 Nov 2006 14:06:37 -0800	[thread overview]
Message-ID: <1164924397.20941.2.camel@imap.mvista.com> (raw)
In-Reply-To: <1164918963.3923.77.camel@zordi>




/*
 * Spinlocks are used for interfaces that can be possibly called at
 * interrupt level
 */
ACPI_EXTERN raw_spinlock_t _acpi_gbl_gpe_lock;  /* For GPE data structs and registers */ 
ACPI_EXTERN raw_spinlock_t _acpi_gbl_hardware_lock;     /* For ACPI H/W except GPE registers */

The problem is these two raw locks. There don't look like they could get
called from real interrupt context.

Daniel

On Thu, 2006-11-30 at 21:36 +0100, joel silvestre wrote:
> Hi,
> 
> comes from an Intel core duo laptop running
> kernel-rt-2.6.19-1.rt1.0001.i686.rpm on Fedora 6.
> 
> joël
> 
> Nov 30 21:24:40 localhost kernel: BUG: scheduling with irqs disabled:
> IRQ 9/0x00000001/77
> Nov 30 21:24:40 localhost kernel: caller is rt_spin_lock_slowlock
> +0x106/0x18a
> Nov 30 21:24:40 localhost kernel:  [<c0104e1b>] dump_trace+0x64/0x1cc
> Nov 30 21:24:40 localhost kernel:  [<c0104f9c>] show_trace_log_lvl
> +0x19/0x2e
> Nov 30 21:24:40 localhost kernel:  [<c01052e0>] show_trace+0x12/0x14
> Nov 30 21:24:40 localhost kernel:  [<c01052f9>] dump_stack+0x17/0x19
> Nov 30 21:24:40 localhost kernel:  [<c032c0ac>] schedule+0x71/0xe7
> Nov 30 21:24:40 localhost kernel:  [<c032cc04>] rt_spin_lock_slowlock
> +0x106/0x18a
> Nov 30 21:24:40 localhost kernel:  [<c032d0a5>] rt_spin_lock+0x20/0x22
> Nov 30 21:24:40 localhost kernel:  [<c0123267>] __wake_up+0x13/0x50
> Nov 30 21:24:40 localhost kernel:  [<c0230bd4>] acpi_ec_gpe_handler
> +0x54/0x8b
> Nov 30 21:24:40 localhost kernel:  [<c021dff5>] acpi_ev_gpe_dispatch
> +0x68/0x163
> Nov 30 21:24:40 localhost kernel:  [<c021e189>] acpi_ev_gpe_detect
> +0x99/0xe0
> Nov 30 21:24:40 localhost kernel:  [<c021c791>]
> acpi_ev_sci_xrupt_handler+0x15/0x1d
> Nov 30 21:24:40 localhost kernel:  [<c0217530>] acpi_irq+0xe/0x18
> Nov 30 21:24:40 localhost kernel:  [<c015925b>] handle_IRQ_event
> +0x45/0xc1
> Nov 30 21:24:40 localhost kernel:  [<c01598ce>] thread_simple_irq
> +0x39/0x6c
> Nov 30 21:24:40 localhost kernel:  [<c0159d11>] do_irqd+0xdd/0x298
> Nov 30 21:24:40 localhost kernel:  [<c013a8cf>] kthread+0xc2/0xef
> Nov 30 21:24:40 localhost kernel:  [<c0104b5b>] kernel_thread_helper
> +0x7/0x10
> Nov 30 21:24:40 localhost kernel:  =======================
> Nov 30 21:24:41 localhost kernel: BUG: scheduling while atomic: IRQ
> 9/0x00000001/77, CPU#1
> Nov 30 21:24:41 localhost kernel:  [<c0104e1b>] dump_trace+0x64/0x1cc
> Nov 30 21:24:41 localhost kernel:  [<c0104f9c>] show_trace_log_lvl
> +0x19/0x2e
> Nov 30 21:24:41 localhost kernel:  [<c01052e0>] show_trace+0x12/0x14
> Nov 30 21:24:41 localhost kernel:  [<c01052f9>] dump_stack+0x17/0x19
> Nov 30 21:24:41 localhost kernel:  [<c032b204>] __schedule+0x84/0xd91
> Nov 30 21:24:41 localhost kernel:  [<c032c106>] schedule+0xcb/0xe7
> Nov 30 21:24:41 localhost kernel:  [<c032cc04>] rt_spin_lock_slowlock
> +0x106/0x18a
> Nov 30 21:24:41 localhost kernel:  [<c032d0a5>] rt_spin_lock+0x20/0x22
> Nov 30 21:24:41 localhost kernel:  [<c0123267>] __wake_up+0x13/0x50
> Nov 30 21:24:41 localhost kernel:  [<c0230bd4>] acpi_ec_gpe_handler
> +0x54/0x8b
> Nov 30 21:24:41 localhost kernel:  [<c021dff5>] acpi_ev_gpe_dispatch
> +0x68/0x163
> Nov 30 21:24:41 localhost kernel:  [<c021e189>] acpi_ev_gpe_detect
> +0x99/0xe0
> Nov 30 21:24:41 localhost kernel:  [<c021c791>]
> acpi_ev_sci_xrupt_handler+0x15/0x1d
> Nov 30 21:24:41 localhost kernel:  [<c0217530>] acpi_irq+0xe/0x18
> Nov 30 21:24:41 localhost kernel:  [<c015925b>] handle_IRQ_event
> +0x45/0xc1
> Nov 30 21:24:41 localhost kernel:  [<c01598ce>] thread_simple_irq
> +0x39/0x6c
> Nov 30 21:24:41 localhost kernel:  [<c0159d11>] do_irqd+0xdd/0x298
> Nov 30 21:24:41 localhost kernel:  [<c013a8cf>] kthread+0xc2/0xef
> Nov 30 21:24:41 localhost kernel:  [<c0104b5b>] kernel_thread_helper
> +0x7/0x10
> Nov 30 21:24:41 localhost kernel:  =======================
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/


      reply	other threads:[~2006-11-30 22:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-30 20:36 joel silvestre
2006-11-30 22:06 ` Daniel Walker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1164924397.20941.2.camel@imap.mvista.com \
    --to=dwalker@mvista.com \
    --cc=j.silvestre@wanadoo.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®