Bug 13814 - Second STR or STD ends with non-working laptop - MSI GX620X-061CZ
Summary: Second STR or STD ends with non-working laptop - MSI GX620X-061CZ
Status: CLOSED UNREPRODUCIBLE
Alias: None
Product: ACPI
Classification: Unclassified
Component: BIOS (show other bugs)
Hardware: x86-64 Linux
: P1 high
Assignee: ykzhao
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-23 05:53 UTC by David Heidelberg (okias)
Modified: 2009-12-16 00:47 UTC (History)
4 users (show)

See Also:
Kernel Version: 2.6.31-rc9
Subsystem:
Regression: No
Bisected commit-id:


Attachments
messages (170.02 KB, application/octet-stream)
2009-07-23 05:53 UTC, David Heidelberg (okias)
Details
acpidump (193.25 KB, application/octet-stream)
2009-07-27 05:58 UTC, David Heidelberg (okias)
Details
lspci -vxxx (35.99 KB, application/octet-stream)
2009-07-27 05:59 UTC, David Heidelberg (okias)
Details
dmesg_after (113.22 KB, application/octet-stream)
2009-07-27 06:13 UTC, David Heidelberg (okias)
Details
dmesg (91.65 KB, text/plain)
2009-11-18 08:45 UTC, David Heidelberg (okias)
Details

Description David Heidelberg (okias) 2009-07-23 05:53:27 UTC
Created attachment 22460 [details]
messages

1) run laptop, no X loaded
2) run gentoo hibernate/hibernate-ram script twice.
---
First run, everything ok (in both cases). Second run have two cases
1) hibernate - shutdown laptop and laptop can't be powered on by pressing button (button lights, keyboard controls off, bios not starting).
2) hibernate-ram - shutdown is sucessfull, but when loading after pressing power button it freeze with "_" on screen and after forced power down, laptop can't be turned on, by pressing power button.

In both cases is required to start laptop unplug battery and AC power.

Adding messages with hibernate, second 'continue' is done after unpluging AC and battery power. Debug should be enabled.

P.S. Nouveau Kernel Mode Settings doesn't affect this issue.

P.P.S Problem not depending on used method, so you can for first run use hibernate and for second hibernate-ram, or reverted, it doesn't matter...
Comment 1 David Heidelberg (okias) 2009-07-23 05:54:21 UTC
I forgot:
notebook MSI GX620X-061CZ
Comment 2 ykzhao 2009-07-27 02:04:18 UTC
Will you please attach the output of acpidump, lspci -vxxx?
Will you please enable the CONFIG_PM_DEBUG in kernel configuration and do the following test?
    a. kill the process using /proc/acpi/event(use the command of "lsof /proc/acpi/event" to get the process ID)
    b. echo core > /sys/power/pm_test
    c. echo mem > /sys/power/state; dmesg >dmesg_after;
    d. wait for five seconds and see whether it can be resumed.
    e. If it can, please repeat the step c/d several times and see whether it can be resumed correctly.
  
    Thanks.
Comment 3 Zhang Rui 2009-07-27 02:35:25 UTC
please attach the dmesg output after the first s2ram.
it would be nice if you can run all the tests in the latest git kernel.
Comment 4 David Heidelberg (okias) 2009-07-27 05:58:55 UTC
Created attachment 22503 [details]
acpidump
Comment 5 David Heidelberg (okias) 2009-07-27 05:59:20 UTC
Created attachment 22504 [details]
lspci -vxxx
Comment 6 David Heidelberg (okias) 2009-07-27 06:13:53 UTC
Created attachment 22505 [details]
dmesg_after

Second run of c/d, system restore screen, but console freeze.
Comment 7 Zhang Rui 2009-09-03 06:41:31 UTC
please don't use the scripts.
run "echo mem > /sys/power/state" to suspend to ram directly and see if the problem still exists.
Comment 8 David Heidelberg (okias) 2009-09-03 11:58:17 UTC
Problem still exist with 2.6.31-rc6, I cannot test rc8 right now, but there is nothing in changelog related to suspend.
Comment 9 Zhang Rui 2009-09-04 01:51:12 UTC
what about boot option "nosmp"?
Comment 10 David Heidelberg (okias) 2009-09-04 05:08:15 UTC
nothing changed :-(
Comment 11 ykzhao 2009-09-11 02:28:05 UTC
HI, Okias
   Is the test done under console or X mode?
   Please do it under console mode. It is noted that the process using /proc/acpi/event should be killed.
   thanks.
Comment 12 David Heidelberg (okias) 2009-09-11 09:17:50 UTC
It's already done without starting Xserver (my gentoo is set to boot directly into console) :-(
Comment 13 David Heidelberg (okias) 2009-10-27 11:57:02 UTC
BIOS updated, firmware updated, kernel updated. Nothing changed :-(
Comment 14 ykzhao 2009-11-18 07:51:45 UTC
hi, Okias
   Sorry for the late response. From the log in comment #6 it seems that the system can be suspended/resumed if we use the PM_test.
   Will you please do the following test? (Don't use the PM_test)
    a. kill the process using /proc/acpi/event(use the command of "lsof
/proc/acpi/event" to get the process ID)
    b. echo mem > /sys/power/state; dmesg >dmesg_after;
    c. wait for five seconds and see whether it can be resumed.
    d. If it can, please repeat the step b/c several times and see whether it
can be resumed correctly.
   
Thanks.
Comment 15 David Heidelberg (okias) 2009-11-18 08:45:14 UTC
Created attachment 23820 [details]
dmesg

First suspend OK, first wake up OK, second suspend OK, second wake up KO, ntb work after unpluging batt/ac.
Comment 16 ykzhao 2009-11-18 08:56:28 UTC
Do you mean that the second wakeup is also OK?

How about the hibernation?( Please add the boot option of "resume=xxx" for hibernation. XXX means the swap partition).

Thanks.
Comment 17 David Heidelberg (okias) 2009-11-18 09:28:46 UTC
second wake up isn't OK and after second hibernation notebook have to disconnected from batt/ac (same as after try second resume from suspend)
Comment 18 David Heidelberg (okias) 2009-12-08 12:04:51 UTC
Fixed in 2.6.32.
Comment 19 Len Brown 2009-12-16 00:47:49 UTC
any ideas what the difference is that made failure in 2.6.31
result in success in 2.6.32?  This is an MSI, perhaps the
drivers/acpi/ec.c changes?

Note You need to log in before you can comment on or make changes to this bug.