* [REGRESSION] S3 resume on SandyBridge doesn't work with NX protection (5bd5a45)
@ 2011-01-19 17:37 Matthias Hopf
2011-01-19 19:04 ` H. Peter Anvin
2011-01-19 22:06 ` matthieu castet
0 siblings, 2 replies; 9+ messages in thread
From: Matthias Hopf @ 2011-01-19 17:37 UTC (permalink / raw)
To: Matthieu CASTET, Lin Ming, Oliver Neukum, rjw
Cc: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, x86, Steven Rostedt,
Frederic Weisbecker, Rusty Russell, Andrew Morton,
FUJITA Tomonori, Jesse Barnes, Stefano Stabellini,
Konrad Rzeszutek Wilk, Denys Vlasenko, Michal Marek, Yinghai Lu,
Johannes Weiner, Pekka Enberg, Borislav Petkov, Suresh Siddha,
Siarhei Liakh, Xuxian Jiang, Dave Airlie, Tejun Heo, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 786 bytes --]
Git commit 5bd5a45 in Linus' tree "x86: Add NX protection for kernel data"
apparently breaks resume on SandyBridge machines. This is supposed to be
fixed with commit 691513f "x86: Resume trampoline must be executable",
but even git master (v2.6.38-rc1) shows the same symptoms.
After suspend to S3, the machine doesn't resume upon wakeup, but boots
normally instead. Reverting git commits 691513f, 84e1c6b, and especially
5bd5a45 (trivial except for a single hunk) makes resume work again.
lspci -vvv output is attached.
(for internal reference: machine NUE874)
Matthias
--
Matthias Hopf <mhopf@suse.de> __ __ __
Maxfeldstr. 5 / 90409 Nuernberg (_ | | (_ |__ mat@mshopf.de
Phone +49-911-74053-715 __) |_| __) |__ R & D www.mshopf.de
[-- Attachment #2: lspci.txt.gz --]
[-- Type: application/x-gzip, Size: 3328 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [REGRESSION] S3 resume on SandyBridge doesn't work with NX protection (5bd5a45)
2011-01-19 17:37 [REGRESSION] S3 resume on SandyBridge doesn't work with NX protection (5bd5a45) Matthias Hopf
@ 2011-01-19 19:04 ` H. Peter Anvin
2011-01-19 22:06 ` matthieu castet
1 sibling, 0 replies; 9+ messages in thread
From: H. Peter Anvin @ 2011-01-19 19:04 UTC (permalink / raw)
To: Matthieu CASTET, Lin Ming, Oliver Neukum, rjw, Thomas Gleixner,
Ingo Molnar, x86, Steven Rostedt, Frederic Weisbecker,
Rusty Russell, Andrew Morton, FUJITA Tomonori, Jesse Barnes,
Stefano Stabellini, Konrad Rzeszutek Wilk, Denys Vlasenko,
Michal Marek, Yinghai Lu, Johannes Weiner, Pekka Enberg,
Borislav Petkov, Suresh Siddha, Siarhei Liakh, Xuxian Jiang,
Dave Airlie, Tejun Heo, linux-kernel
On 01/19/2011 09:37 AM, Matthias Hopf wrote:
> Git commit 5bd5a45 in Linus' tree "x86: Add NX protection for kernel data"
> apparently breaks resume on SandyBridge machines. This is supposed to be
> fixed with commit 691513f "x86: Resume trampoline must be executable",
> but even git master (v2.6.38-rc1) shows the same symptoms.
>
> After suspend to S3, the machine doesn't resume upon wakeup, but boots
> normally instead. Reverting git commits 691513f, 84e1c6b, and especially
> 5bd5a45 (trivial except for a single hunk) makes resume work again.
>
> lspci -vvv output is attached.
>
> (for internal reference: machine NUE874)
>
"Sandy Bridge machines" is not likely to be descriptive. This is much
more likely to be related to a specific motherboard.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [REGRESSION] S3 resume on SandyBridge doesn't work with NX protection (5bd5a45)
2011-01-19 17:37 [REGRESSION] S3 resume on SandyBridge doesn't work with NX protection (5bd5a45) Matthias Hopf
2011-01-19 19:04 ` H. Peter Anvin
@ 2011-01-19 22:06 ` matthieu castet
2011-01-20 13:47 ` Matthias Hopf
2011-01-25 14:07 ` castet.matthieu
1 sibling, 2 replies; 9+ messages in thread
From: matthieu castet @ 2011-01-19 22:06 UTC (permalink / raw)
To: Matthias Hopf
Cc: Lin Ming, Oliver Neukum, rjw, Thomas Gleixner, Ingo Molnar,
H. Peter Anvin, x86, Steven Rostedt, Frederic Weisbecker,
Rusty Russell, Andrew Morton, FUJITA Tomonori, Jesse Barnes,
Stefano Stabellini, Konrad Rzeszutek Wilk, Denys Vlasenko,
Michal Marek, Yinghai Lu, Johannes Weiner, Pekka Enberg,
Borislav Petkov, Suresh Siddha, Siarhei Liakh, Xuxian Jiang,
Dave Airlie, Tejun Heo, linux-kernel
Hi,
Le Wed, 19 Jan 2011 18:37:11 +0100,
Matthias Hopf <mhopf@suse.de> a écrit :
> Git commit 5bd5a45 in Linus' tree "x86: Add NX protection for kernel
> data" apparently breaks resume on SandyBridge machines. This is
> supposed to be fixed with commit 691513f "x86: Resume trampoline must
> be executable", but even git master (v2.6.38-rc1) shows the same
> symptoms.
Is it a 32bit or 64 bit kernel ?
Could you post the dmesg of the kernel.
Matthieu
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [REGRESSION] S3 resume on SandyBridge doesn't work with NX protection (5bd5a45)
2011-01-19 22:06 ` matthieu castet
@ 2011-01-20 13:47 ` Matthias Hopf
[not found] ` <1295535954.4d384f524c8f0@imp.free.fr>
2011-01-25 14:07 ` castet.matthieu
1 sibling, 1 reply; 9+ messages in thread
From: Matthias Hopf @ 2011-01-20 13:47 UTC (permalink / raw)
To: matthieu castet
Cc: Lin Ming, Oliver Neukum, rjw, Thomas Gleixner, Ingo Molnar,
H. Peter Anvin, x86, Steven Rostedt, Frederic Weisbecker,
Rusty Russell, Andrew Morton, FUJITA Tomonori, Jesse Barnes,
Stefano Stabellini, Konrad Rzeszutek Wilk, Denys Vlasenko,
Michal Marek, Yinghai Lu, Johannes Weiner, Pekka Enberg,
Borislav Petkov, Suresh Siddha, Siarhei Liakh, Xuxian Jiang,
Dave Airlie, Tejun Heo, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1097 bytes --]
On Jan 19, 11 23:06:02 +0100, matthieu castet wrote:
> Le Wed, 19 Jan 2011 18:37:11 +0100,
> Matthias Hopf <mhopf@suse.de> a écrit :
>
> > Git commit 5bd5a45 in Linus' tree "x86: Add NX protection for kernel
> > data" apparently breaks resume on SandyBridge machines. This is
> > supposed to be fixed with commit 691513f "x86: Resume trampoline must
> > be executable", but even git master (v2.6.38-rc1) shows the same
> > symptoms.
> Is it a 32bit or 64 bit kernel ?
Sorry, forgot that. It's a 32bit kernel.
> Could you post the dmesg of the kernel.
Attaching dmesg output after a fresh reboot.
Attaching /var/log/messages after the machine rebooted after going to S3.
Attaching a netconsole log of the machine during suspend.
I'm sorry to say that I cannot see any reasonably useful information in
these, though. The machine is a laptop, so no serial console available.
Matthias
--
Matthias Hopf <mhopf@suse.de> __ __ __
Maxfeldstr. 5 / 90409 Nuernberg (_ | | (_ |__ mat@mshopf.de
Phone +49-911-74053-715 __) |_| __) |__ R & D www.mshopf.de
[-- Attachment #2: dmesg.gz --]
[-- Type: application/x-gzip, Size: 15812 bytes --]
[-- Attachment #3: messages.gz --]
[-- Type: application/x-gzip, Size: 2814 bytes --]
[-- Attachment #4: netconsole.log.gz --]
[-- Type: application/x-gzip, Size: 12066 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [REGRESSION] S3 resume on SandyBridge doesn't work with NX protection (5bd5a45)
2011-01-19 22:06 ` matthieu castet
2011-01-20 13:47 ` Matthias Hopf
@ 2011-01-25 14:07 ` castet.matthieu
1 sibling, 0 replies; 9+ messages in thread
From: castet.matthieu @ 2011-01-25 14:07 UTC (permalink / raw)
To: Matthias Hopf
Cc: Lin Ming, Oliver Neukum, rjw, Thomas Gleixner, Ingo Molnar,
H. Peter Anvin, x86, Steven Rostedt, Frederic Weisbecker,
Rusty Russell, Andrew Morton, FUJITA Tomonori, Jesse Barnes,
Stefano Stabellini, Konrad Rzeszutek Wilk, Denys Vlasenko,
Michal Marek, Yinghai Lu, Johannes Weiner, Pekka Enberg,
Borislav Petkov, Suresh Siddha, Siarhei Liakh, Xuxian Jiang,
Dave Airlie, Tejun Heo, linux-kernel
Quoting matthieu castet <castet.matthieu@free.fr>:
> Hi,
>
> Le Wed, 19 Jan 2011 18:37:11 +0100,
> Matthias Hopf <mhopf@suse.de> a écrit :
>
> > Git commit 5bd5a45 in Linus' tree "x86: Add NX protection for kernel
> > data" apparently breaks resume on SandyBridge machines. This is
> > supposed to be fixed with commit 691513f "x86: Resume trampoline must
> > be executable", but even git master (v2.6.38-rc1) shows the same
> > symptoms.
> Is it a 32bit or 64 bit kernel ?
>
> Could you post the dmesg of the kernel.
>
could you try the patch attached in
https://bugzilla.kernel.org/show_bug.cgi?id=27472
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-01-25 14:07 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-19 17:37 [REGRESSION] S3 resume on SandyBridge doesn't work with NX protection (5bd5a45) Matthias Hopf
2011-01-19 19:04 ` H. Peter Anvin
2011-01-19 22:06 ` matthieu castet
2011-01-20 13:47 ` Matthias Hopf
[not found] ` <1295535954.4d384f524c8f0@imp.free.fr>
2011-01-20 15:59 ` Matthias Hopf
[not found] ` <4D38A697.3040308@free.fr>
2011-01-20 21:25 ` H. Peter Anvin
2011-01-21 22:17 ` matthieu castet
2011-01-21 22:30 ` H. Peter Anvin
2011-01-25 14:07 ` castet.matthieu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).