From: Sitsofe Wheeler <sitsofe@yahoo.com>
To: linux-kernel@vger.kernel.org
Cc: Ingo Molnar <mingo@elte.hu>, Andrew Morton <akpm@linux-foundation.org>
Subject: sleeping function called from invalid context at kernel/mutex.c
Date: Tue, 30 Sep 2008 18:00:21 +0100 [thread overview]
Message-ID: <48E25B25.10408@yahoo.com> (raw)
This turned up in a linux-tip from yesterday after resuming from a
suspend on an EeePC 900:
[ 1176.720189] ACPI: Preparing to enter system sleep state S3
[ 1176.745011] Intel machine check architecture supported.
[ 1176.745011] Intel machine check reporting enabled on CPU#0.
[ 1176.745011] Back to C!
[ 1176.745011] BUG: sleeping function called from invalid context at
kernel/mutex.c:207
[ 1176.745011] in_atomic(): 0, irqs_disabled(): 1, pid: 4513, name:
pm-suspend
[ 1176.745011] 3 locks held by pm-suspend/4513:
[ 1176.745011] #0: (&buffer->mutex){--..}, at: [<c01b89c0>]
sysfs_write_file+0x30/0x100
[ 1176.745011] #1: (pm_mutex){--..}, at: [<c014ef5a>]
enter_state+0x4a/0x140
[ 1176.745011] #2: (dpm_list_mtx){--..}, at: [<c029c254>]
device_pm_lock+0x14/0x20
[ 1176.745011] irq event stamp: 28504
[ 1176.745011] hardirqs last enabled at (28503): [<c014a92b>]
trace_hardirqs_on+0xb/0x10
[ 1176.745011] hardirqs last disabled at (28504): [<c014593b>]
trace_hardirqs_off+0xb/0x10
[ 1176.745011] softirqs last enabled at (27690): [<c012bd53>]
__do_softirq+0xa3/0xc0
[ 1176.745011] softirqs last disabled at (27685): [<c012bdc5>]
do_softirq+0x55/0x60
[ 1176.745011] Pid: 4513, comm: pm-suspend Not tainted
2.6.27-rc7-tipskw-00976-g30d1868-dirty #25
[ 1176.745011] [<c012bdc5>] ? do_softirq+0x55/0x60
[ 1176.745011] [<c011fe74>] __might_sleep+0xe4/0x110
[ 1176.745011] [<c03cfd44>] mutex_lock_nested+0x24/0x50
[ 1176.745011] [<c0116772>] microcode_update_cpu+0x22/0xf0
[ 1176.745011] [<c014593b>] ? trace_hardirqs_off+0xb/0x10
[ 1176.745011] [<c03d178c>] ? _spin_unlock_irqrestore+0x3c/0x60
[ 1176.745011] [<c0116855>] mc_sysdev_resume+0x15/0x20
[ 1176.745011] [<c029754b>] __sysdev_resume+0x3b/0x50
[ 1176.745011] [<c0297997>] sysdev_resume+0x57/0x90
[ 1176.745011] [<c029cf00>] device_power_up+0x10/0x20
[ 1176.745011] [<c014ee8f>] suspend_devices_and_enter+0x11f/0x140
[ 1176.745011] [<c014efbb>] enter_state+0xab/0x140
[ 1176.745011] [<c014f0f4>] state_store+0xa4/0xe0
[ 1176.745011] [<c014f050>] ? state_store+0x0/0xe0
[ 1176.745011] [<c0205934>] kobj_attr_store+0x24/0x30
[ 1176.745011] [<c01b8a37>] sysfs_write_file+0xa7/0x100
[ 1176.745011] [<c017b4da>] vfs_write+0x9a/0x120
[ 1176.745011] [<c01b8990>] ? sysfs_write_file+0x0/0x100
[ 1176.745011] [<c017b622>] sys_write+0x42/0x70
[ 1176.745011] [<c010334d>] sysenter_do_call+0x12/0x35
[ 1176.745011] =======================
[ 1176.745011] Force enabled HPET at resume
[ 1176.748667] ACPI: Waking up from system sleep state S3
[ 1176.801657] ACPI: EC: non-query interrupt received, switching to
interrupt mode
--
Sitsofe | http://sucs.org/~sits/
next reply other threads:[~2008-09-30 17:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-30 17:00 Sitsofe Wheeler [this message]
[not found] ` <20081001071004.GA9366@elte.hu>
[not found] ` <b647ffbd0810020029v1fd59d85u8d8048aebe3e4d55@mail.gmail.com>
[not found] ` <48E4882E.5000100@amd.com>
[not found] ` <20081002085529.GB3550@elte.hu>
[not found] ` <b647ffbd0810020656l48eba7bdt8cd8e4cd47a8a95b@mail.gmail.com>
2008-10-02 13:59 ` sleeping function called from invalid context at kernel/mutex.c Dmitry Adamushko
2008-10-02 14:01 ` Dmitry Adamushko
2008-10-02 15:52 ` Ingo Molnar
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=48E25B25.10408@yahoo.com \
--to=sitsofe@yahoo.com \
--cc=akpm@linux-foundation.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.