[Bug 82864] [HSW i915 MSI-7817] S4 resume on Haswell causes memory corruption (OOM, ext4_, ...)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 28 01:46:51 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=82864

--- Comment #20 from Jens <jens-bugs.freedesktop.org at spamfreemail.de> ---
@Mauro, the thawing issues were resolved for me after 3.17rc1 only. All kernels
before that were unstable especially when hibernating under load. Check which
kernel Linux Mint 17 is based on and upgrade to a newer version if necessary.

@Imre: the "i915_gem" bug only occured on the first resume after first
hibernation and it was the first time I saw it. However, it was also the first
time I booted this kernel. I will keep my eyes open.

Will update the bko report at
https://bugzilla.kernel.org/show_bug.cgi?id=84681. 


Another issue occured (something that already occurs since 3.17rc1+):
Occasionally the system will simply refuse to hibernate when calling "sudo
pm-hibernate". No error, no syslog or dmesg output, nothing. When hibernating
via desktop, the screensaver will enable but the system won't hibernate. This
happened about once in ten hibernation attempts so far. Looking at the
processes I see stuck processes:

16859 ?        S      0:00 sh -c /usr/sbin/pm-hibernate
16860 ?        S      0:00 /bin/sh /usr/sbin/pm-hibernate

Waiting for ten minutes doesn't change anything. But yesterday the moment I
called 'sudo strace -p 16860' to look at what is happening, the hibernation
process woke up and continued 8-)

I'll try and reproduce this. Here's the strace output (just the beginning):


jens at linuxkiste:~$ sudo strace -p 16860
Process 16860 attached
dup2(11, 1)                             = 1
close(11)                               = 0
open("/sys/power/disk", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
fcntl(1, F_DUPFD, 10)                   = 11
close(1)                                = 0
fcntl(11, F_SETFD, FD_CLOEXEC)          = 0
dup2(4, 1)                              = 1
close(4)                                = 0
dup2(11, 1)                             = 1
close(11)                               = 0
pipe([4, 5])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0x7fa4f1076a10) = 24552
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=24552, si_status=0,
si_utime=0, si_stime=0} ---
rt_sigreturn()                          = 24552
close(5)                                = 0
read(4, "Fri Nov 28 08:53:51 CET 2014\n", 128) = 29
read(4, "", 128)                        = 0
close(4)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 24552
write(1, "Fri Nov 28 08:53:51 CET 2014: Aw"..., 37) = 37
pipe([4, 5])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0x7fa4f1076a10) = 24554
close(5)                                = 0
read(4, "Fri Nov 28 08:53:51 CET 2014\n", 128) = 29
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=24554, si_status=0,
si_utime=0, si_stime=0} ---
rt_sigreturn()                          = 29
read(4, "", 128)                        = 0
close(4)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 24554
write(1, "Fri Nov 28 08:53:51 CET 2014: Ru"..., 53) = 53
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
fcntl(1, F_DUPFD, 10)                   = 11
close(1)                                = 0
fcntl(11, F_SETFD, FD_CLOEXEC)          = 0
dup2(4, 1)                              = 1
close(4)                                = 0
fcntl(2, F_DUPFD, 10)                   = 12
close(2)                                = 0
fcntl(12, F_SETFD, FD_CLOEXEC)          = 0
dup2(1, 2)                              = 2
write(1, "before_hooks is a shell function"..., 33) = 33
dup2(11, 1)                             = 1
close(11)                               = 0
dup2(12, 2)                             = 2
close(12)                               = 0
pipe([4, 5])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0x7fa4f1076a10) = 24555
close(5)                                = 0
read(4, "novatel_3g_suspend\n99video\n99_ch"..., 128) = 128
read(4, "60_wpa_supplicant\n50unload_alx\n1"..., 128) = 128
read(4, "change\n", 128)                = 7
read(4, "", 128)                        = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=24555, si_status=0,
si_utime=0, si_stime=0} ---
rt_sigreturn()                          = 0
close(4)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 24555
stat("/var/run/pm-utils/pm-suspend/storage/parameters.new", 0x7fff52a38ad0) =
-1 ENOENT (No such file or directory)
stat("/etc/pm/sleep.d/novatel_3g_suspend", {st_mode=S_IFREG|0755, st_size=1260,
...}) = 0
write(1, "Running hook /etc/pm/sleep.d/nov"..., 64) = 64
stat("/var/run/pm-utils/pm-suspend/storage/disable_hook:novatel_3g_suspend",
0x7fff52a38530) = -1 ENOENT (No such file or directory)
stat("/var/run/pm-utils/pm-suspend/storage/disable_hook:novatel_3g_suspend",
0x7fff52a38560) = -1 ENOENT (No such file or directory)
geteuid()                               = 0
stat("/etc/pm/sleep.d/novatel_3g_suspend", {st_mode=S_IFREG|0755, st_size=1260,
...}) = 0
faccessat(AT_FDCWD, "/etc/pm/sleep.d/novatel_3g_suspend", X_OK) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0x7fa4f1076a10) = 24559
...
...


Does this make any sense to you at all?

Thank you!

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20141128/a55d7668/attachment.html>


More information about the intel-gfx-bugs mailing list