lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID:  <48E25B25.10408@yahoo.com>
Date:	Tue, 30 Sep 2008 18:00:21 +0100
From:	Sitsofe Wheeler <sitsofe@...oo.com>
To:	linux-kernel@...r.kernel.org
Cc:	Ingo Molnar <mingo@...e.hu>,
	Andrew Morton <akpm@...ux-foundation.org>
Subject:  sleeping function called from invalid context at kernel/mutex.c

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/

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ