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] [day] [month] [year] [list]
Message-Id: <200811040153.16514.rjw@sisk.pl>
Date:	Tue, 4 Nov 2008 01:53:15 +0100
From:	"Rafael J. Wysocki" <rjw@...k.pl>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	Thomas Meyer <thomas@...3r.de>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
	Len Brown <lenb@...nel.org>,
	"Moore, Robert" <robert.moore@...el.com>
Subject: Re: BUG: sleeping function called from invalid context at kernel/sched.c:5558

On Monday, 3 of November 2008, Ingo Molnar wrote:
> 
> * Thomas Meyer <thomas@...3r.de> wrote:
> 
> > False positive, while suspend/resume-to/from-disk?
> > 
> > [19332.352863] BUG: sleeping function called from invalid context at kernel/sched.c:5558
> > [19332.352866] in_atomic(): 0, irqs_disabled(): 1, pid: 3287, name: pm-hibernate
> > [19332.352869] Pid: 3287, comm: pm-hibernate Tainted: G        W  2.6.28-rc2 #97
> > [19332.352871] Call Trace:
> > [19332.352878]  [<c0436408>] __might_sleep+0xdc/0xe3
> > [19332.352882]  [<c043bbde>] __cond_resched+0x12/0x36
> > [19332.352886]  [<c09d29a8>] _cond_resched+0x27/0x32
> > [19332.352889]  [<c0697d9c>] acpi_ps_complete_op+0x1e0/0x1ef
> > [19332.352892]  [<c069884e>] ? acpi_ps_alloc_op+0x82/0x84
> > [19332.352896]  [<c0689814>] ? acpi_ds_exec_end_op+0x30c/0x370
> > [19332.352899]  [<c069839f>] acpi_ps_parse_loop+0x5f4/0x721
> > [19332.352902]  [<c069779c>] acpi_ps_parse_aml+0x6d/0x267
> 
> Such messages are never false positives, this is a real bug.

Well, not sure.

This is the ACPI AML interpreter executing something with interrupts disabled
due to resume in progress (effectively atomic context).

Thanks,
Rafael
--
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