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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 19 Aug 2010 17:04:18 +0200
From:	Maciej Rutecki <maciej.rutecki@...il.com>
To:	Sergey Senozhatsky <sergey.senozhatsky@...il.com>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...hat.com>,
	"H. Peter Anvin" <hpa@...or.com>, x86@...nel.org,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Joerg Roedel <joerg.roedel@....com>,
	linux-kernel@...r.kernel.org
Subject: Re: fix BUG: using smp_processor_id() in preemptible code (resend)

On środa, 18 sierpnia 2010 o 11:11:58 Sergey Senozhatsky wrote:
> fix BUG: using smp_processor_id() in preemptible code (resend)

I got similar bug (during suspend to disk) on 2.6.36-rc1+ patch from:
https://bugzilla.kernel.org/show_bug.cgi?id=16615

[   89.141370] Enabling non-boot CPUs ...
[   89.142033] BUG: using smp_processor_id() in preemptible [00000000] code: 
pm-hibernate/2584
[   89.142147] caller is thermal_throttle_add_dev+0x10/0x7c
[   89.142200] Pid: 2584, comm: pm-hibernate Not tainted 2.6.36-rc1 #1
[   89.142248] Call Trace:
[   89.142274]  [<c03706ad>] ? printk+0xf/0x12
[   89.142312]  [<c02181d1>] debug_smp_processor_id+0xa5/0xbc
[   89.142357]  [<c036d13d>] thermal_throttle_add_dev+0x10/0x7c
[   89.142403]  [<c036d1f2>] thermal_throttle_cpu_callback+0x49/0x9c
[   89.142454]  [<c0141842>] notifier_call_chain+0x26/0x50
[   89.142496]  [<c01418c3>] __raw_notifier_call_chain+0xe/0x10
[   89.142544]  [<c012be4a>] __cpu_notify+0x15/0x29
[   89.142581]  [<c036ead6>] _cpu_up+0x59/0xdc
[   89.142617]  [<c0364953>] enable_nonboot_cpus+0x3d/0x94
[   89.142660]  [<c0151f94>] hibernation_snapshot+0x11d/0x1b9
[   89.142704]  [<c01520d5>] hibernate+0xa5/0x13f
[   89.142740]  [<c0151035>] ? state_store+0x0/0xa7
[   89.142778]  [<c0151089>] state_store+0x54/0xa7
[   89.142815]  [<c0151035>] ? state_store+0x0/0xa7
[   89.142854]  [<c020ee89>] kobj_attr_store+0x16/0x22
[   89.142894]  [<c01c9a9a>] sysfs_write_file+0xbc/0xe7
[   89.142936]  [<c018e5d3>] vfs_write+0x8a/0xfd
[   89.142972]  [<c01c99de>] ? sysfs_write_file+0x0/0xe7
[   89.143018]  [<c018e6dd>] sys_write+0x3b/0x60
[   89.143055]  [<c01026ec>] sysenter_do_call+0x12/0x22
[   89.143112] SMP alternatives: switching to SMP code

PS. Sorry for overlook previosus mail, already I created bug entry (because 
it's regression):
https://bugzilla.kernel.org/show_bug.cgi?id=16629

Regards
-- 
Maciej Rutecki
http://www.maciek.unixy.pl
--
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