[Bug 7499] S3 resume hang - Toshiba Portege 4000

2009-03-31 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499


Len Brown len.br...@intel.com changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED
 CC||len.br...@intel.com
 Regression|--- |No




--- Comment #53 from Len Brown len.br...@intel.com  2009-03-31 22:12:38 ---
2d571b33cf7efd6a894e765e3cb45587ec5b834a
ACPICA: hw: Don't carry spinlock over suspend

shipped in 2.6.24

closed.

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

--
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-09-30 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #48 from [EMAIL PROTECTED]  2007-09-30 00:24 ---
Created an attachment (id=12995)
 -- (http://bugzilla.kernel.org/attachment.cgi?id=12995action=view)
Don't try to carry lock across suspend

It looks like ACPI is trying to lock read of the register, which will carry
lock across the suspend, but then interrupts become enabled and we might get a 
deadlock with interrupt handler.
Please apply patch on top of 12990.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-09-30 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #49 from [EMAIL PROTECTED]  2007-09-30 01:22 ---
(In reply to comment #48)
 Created an attachment (id=12995)
 -- (http://bugzilla.kernel.org/attachment.cgi?id=12995action=view) [details]
 Don't try to carry lock across suspend

Yes this seems to have fixed it. 30 suspend/resume cycles across reboots and
system still alive. Thank you!

 Please apply patch on top of 12990.

Is it really necessary? It looks too intrusive; would it be possible to make
minimal patch?

Once more - thank you! Rafael, sorry, but this arrived just as I finished
compiling kernel with your patches; I guess it is not required now? Anyway
thank you for your patience.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-09-30 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #50 from [EMAIL PROTECTED]  2007-09-30 01:50 ---
[EMAIL PROTECTED] wrote:
 http://bugzilla.kernel.org/show_bug.cgi?id=7499
 
 
 
 
 
 --- Comment #49 from [EMAIL PROTECTED]  2007-09-30 01:22 ---
 (In reply to comment #48)
 Created an attachment (id=12995)
 -- (http://bugzilla.kernel.org/attachment.cgi?id=12995action=view)
  -- (http://bugzilla.kernel.org/attachment.cgi?id=12995action=view) 
 [details]
 Don't try to carry lock across suspend
 
 Yes this seems to have fixed it. 30 suspend/resume cycles across reboots and
 system still alive. Thank you!
 
 Please apply patch on top of 12990.
 
 Is it really necessary? It looks too intrusive; would it be possible to make
 minimal patch?
 
 Once more - thank you! Rafael, sorry, but this arrived just as I finished
 compiling kernel with your patches; I guess it is not required now? Anyway
 thank you for your patience.
 
 
Yes, finally I would make minimal patch. First patch was needed to make sure
that 
we don't make something else stupid with our wrappers...


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-09-30 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||CODE_FIX




--- Comment #51 from [EMAIL PROTECTED]  2007-09-30 11:49 ---
Cleaned-up patches (2) were sent to linux-acpi mail list. Marking bug resolved.
Thanks for reporting and testing!


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-09-30 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #52 from [EMAIL PROTECTED]  2007-09-30 12:46 ---
I confirm that your patches on linux-acpi fix the problem.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-09-29 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #41 from [EMAIL PROTECTED]  2007-09-29 08:29 ---
I'm not dismissing the problem, but you seem to be the only person able to
reproduce it right and we have no clue about what can be wrong.

I'll try to prepare a debug patch for you, please give me some time.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-09-29 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #12423|0   |1
is obsolete||




--- Comment #42 from [EMAIL PROTECTED]  2007-09-29 11:55 ---
Created an attachment (id=12990)
 -- (http://bugzilla.kernel.org/attachment.cgi?id=12990action=view)
acpi spinlocks cleanup

Here is one more patch to make usage of spinlocks to be more visible.
Please test.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-09-29 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #43 from [EMAIL PROTECTED]  2007-09-29 13:41 ---
(In reply to comment #42)
No change, sorry. As in all previous versions this sometimes works the very
first time after reboot; but second attempt in the raw still hangs.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-09-29 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #44 from [EMAIL PROTECTED]  2007-09-29 14:08 ---
Created an attachment (id=12991)
 -- (http://bugzilla.kernel.org/attachment.cgi?id=12991action=view)
Allows to carry out partial suspend and test selected parts of the suspend code

Please apply the attached patch on top of 2.6.23-rc8 with the patches from:

http://www.sisk.pl/kernel/hibernation_and_suspend/2.6.23-rc8/patches/

applied and do the following:

# echo 8  /proc/sys/kernel/printk
# echo 5  /sys/power/pm_test_level
# echo mem  /sys/power/state
(should wait for approx. 3 sec. and return to the boot prompt)
# echo 4  /sys/power/pm_test_level
# echo mem  /sys/power/state
(should wait for approx. 3 sec. and return to the boot prompt)
...
# echo 1  /sys/power/pm_test_level
# echo mem  /sys/power/state
(should wait for approx. 3 sec. and return to the boot prompt)

and see if you can reproduce the problem and for which test level.

[Echoing 0 to /sys/power/pm_test_level restores the normal behavior.]


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-09-29 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #45 from [EMAIL PROTECTED]  2007-09-29 14:29 ---
(In reply to comment #44)
Are you sure the patch is against 2.6.23-rc8?

{pts/1}% patch -p1 --ignore-whitespace  --dry-run 
~/patch/selective_suspend.patch
patching file kernel/power/main.c
Hunk #1 succeeded at 27 with fuzz 2 (offset -4 lines).
Hunk #2 FAILED at 172.
Hunk #3 FAILED at 206.
Hunk #4 succeeded at 292 with fuzz 1 (offset -3 lines).
Hunk #5 succeeded at 420 (offset -3 lines).
2 out of 5 hunks FAILED -- saving rejects to file kernel/power/main.c.rej
patching file kernel/power/power.h
Hunk #1 succeeded at 194 (offset 12 lines).

and looking at failed hunk:

patch:
@@ -136,7 +176,10 @@ static int suspend_enter(suspend_state_t
printk(KERN_ERR Some devices failed to power down\n);
goto Done;
}
-   error = suspend_ops-enter(state);
+

and pm_suspend_enter():
printk(KERN_ERR Some devices failed to power down\n);
goto Done;
}
error = pm_ops-enter(state);


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-09-29 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #46 from [EMAIL PROTECTED]  2007-09-29 14:36 ---
(In reply to comment #45)
 (In reply to comment #44)
 Are you sure the patch is against 2.6.23-rc8?

No, it is not, as I said in the previous post.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-09-29 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #47 from [EMAIL PROTECTED]  2007-09-29 16:27 ---
You need additional patches and the link is in Comment #44.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-09-28 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #37 from [EMAIL PROTECTED]  2007-09-28 11:23 ---
Disabling spinlock debug makes it resume but it can't be right. I tried to
enable ACPI debug, but even full debug_level (0x) shows nothing;
apparently all ACPI intercation happens after console is disabled and before it
is already enabled.

Running with commit 4c90ece249992c7a2e3fc921e5cdb8eb92193067 gives me
reproducible recursive spinlock on acpi_gbl_hardware_lock in
acpi_ev_gpe_detect() but this seems to be red herring - this line does not even
exist anymore in current code (which still hangs) and looking at code I cannot
see how it can legally try to get this lock twice. So I tend to suspect some
obscure memory corruption here.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-09-28 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #38 from [EMAIL PROTECTED]  2007-09-28 11:36 ---
There are several known places in kernel which break deadlock detection. Might
be we need one of the deadlock code authors to look into this...


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-09-28 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #39 from [EMAIL PROTECTED]  2007-09-28 12:48 ---
I agree.

If the symptom is not reproducible without lockdep, it may indicate a lockdep
problem.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-09-25 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #35 from [EMAIL PROTECTED]  2007-09-25 12:23 ---
No change in 2.6.23-rc8


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-09-25 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #36 from [EMAIL PROTECTED]  2007-09-25 12:29 ---
Andrey,
Do you have any output if you disable all spinlock debug?


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-09-23 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #34 from [EMAIL PROTECTED]  2007-09-23 05:11 ---
There are some important fixes related to ACPI/suspend in the current Linus'
tree (2.6.23-rc7-git4 as of today).  Andrey, can you test it, please?


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-09-12 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #33 from [EMAIL PROTECTED]  2007-09-12 10:18 ---
More precisely, if a task is holding a spinlock, it can't be frozen (please
have a look at Documentation/power/freezing-of-tasks.txt in the 2.6.23-rc6
source tree for details).


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-09-09 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #32 from [EMAIL PROTECTED]  2007-09-09 14:09 ---
The freezer only affects tasks in TASK_INTERRUPTIBLE.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-08-17 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #27 from [EMAIL PROTECTED]  2007-08-17 04:11 ---
Do I understand right, and we get interrupt while locked?
Does it mean that spin_lock_irqsave does not lock interrupts or we misuse it?


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-08-17 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #28 from [EMAIL PROTECTED]  2007-08-17 05:22 ---
Created an attachment (id=12423)
 -- (http://bugzilla.kernel.org/attachment.cgi?id=12423action=view)
remove inderection around acpi_os_acquire_lock()

Could you please test this patch?


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-08-17 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #30 from [EMAIL PROTECTED]  2007-08-17 21:37 ---
(In reply to comment #29)
 Did not work either. OK I commented out only Wait ... may be I have to
 completely comment out all of them - will try.

Nope, does not work.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-08-16 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #26 from [EMAIL PROTECTED]  2007-08-16 14:02 ---
Created an attachment (id=12409)
 -- (http://bugzilla.kernel.org/attachment.cgi?id=12409action=view)
Recompiled DSDT with DSKQ event/signal/wait stuff compiled out

This might ease up things a bit for if you don't have the latest pmtools at
hand...
You should be able to add a path pointing to this file into the
ACPI_CUSTOM_DSDT_FILE kernel config variable, then recompile and reboot to
override the DSDT table.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-08-16 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Comment #25 from [EMAIL PROTECTED]  2007-08-16 13:55 ---
Puhh.
Some ideas (I couldn't really find anything):
  - compile ACPI_DEBUG in and increase /proc/acpi/debug_level to 0x11F before  
suspend. At least last lines which AML stuff got executed shortly before
the
hang might be interesting.
  - The machine implements a PTS and a WAK function. Does it work if you
comment 
out kernel code that invokes these, just comment out these in drivers/acpi/
hardware/hwsleep.c:
/* Run the _PTS and _GTS methods */
status = acpi_evaluate_object(NULL, METHOD_NAME__PTS, arg_list, NULL);
if (ACPI_FAILURE(status)  status != AE_NOT_FOUND) {
return_ACPI_STATUS(status);
}
and:
status = acpi_evaluate_object(NULL, METHOD_NAME__WAK, arg_list, NULL);
if (ACPI_FAILURE(status)  status != AE_NOT_FOUND) {
ACPI_EXCEPTION((AE_INFO, status, During Method _WAK));
}
  - Maybe these iasl warnings are related:
DSDT.dsl  2702: Wait (\_SB.PCI0.DKSQ, 0x0BB8)
Warning  1103 -   Possible operator timeout is ignored ^
I also have never seen ASL code playing around with signal() and event()
things.
Do you know how to override an DSDT table? If not, just ask.
If you do:
acpidump acpidump
apcixtract -a acpidump
iasl -d DSDT.dat
iasl -sa DSDT.dsl
you get above warnings.
Do a grep DKSQ DSDT.dsl and comment out these lines in DSDT.dsl with:
//
recompile the DSDT.dsl with iasl -tc DSDT.dsl (AFAIK the output file you
need is xy.hex (dsdt.hex or DSDT.hex)
then you have two variables in .config:
ACPI_CUSTOM_DSDT
and
ACPI_CUSTOM_DSDT_FILE
The first one must be enabled.
The second one is a string config and must point to the above .hex file.
The recompile the kernel and reboot and you have overridden your DSDT table
and got rid of these strange DSKQ elements.

- Also adding Alexey, he has deep knowledge in this stuff...
Alexey, it seems like we get a deadlock on a spinlock when waking up from
suspend to ram. If above suggestions don't bring anything, I am out of ideas...


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-08-10 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Comment #24 from [EMAIL PROTECTED]  2007-08-10 12:10 ---
It looks like a problem with handling SCIs.

Thomas, can you have a look at this bug report, please?


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-08-10 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #23 from [EMAIL PROTECTED]  2007-08-10 10:40 ---
no change :(


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-08-09 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Comment #22 from [EMAIL PROTECTED]  2007-08-09 10:00 ---
Hmm, can you check with these two patches:

http://www.sisk.pl/kernel/hibernation_and_suspend/2.6.23-rc2/patches/20-acpi-clear-GPEs-before-enabling-IRQs.patch
http://www.sisk.pl/kernel/hibernation_and_suspend/2.6.23-rc2/patches/19-ACPI-Enable-GPEs-before-_WAK-is-called.patch

on top of 2.6.23-rc2?


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-06-21 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Component|Other   |Hibernation/Suspend




-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-06-18 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499


[EMAIL PROTECTED] changed:

   What|Removed |Added

 AssignedTo|acpi_power-sleep-   |[EMAIL PROTECTED]
   |[EMAIL PROTECTED]   |
 Status|NEW |ASSIGNED




-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-06-18 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Component|Power-Sleep-Wake|Other
Product|ACPI|Power Management




-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-06-05 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Additional Comments From [EMAIL PROTECTED]  2007-06-05 03:09 ---
 I swear to have seen such report recently already :)

Yes.  This is the last message in that thread, AFAICS:

http://lkml.org/lkml/2007/6/3/106

--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-06-04 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Additional Comments From [EMAIL PROTECTED]  2007-06-04 09:28 ---
Have you checked if the bug is still present in 2.6.22-rc3?  We changed the
point at which acpi_leave_sleep_state() is called, so at least the symptoms
should have changed.


--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-06-04 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Additional Comments From [EMAIL PROTECTED]  2007-06-04 20:28 ---
It still does not work in 2.6.22-rc3. On resume I hear HDD noice, FAN works 
and in upper left corner I see

Stopping tasks ... done.
Suspending console(s)

I swear to have seen such report recently already :) HDD and FAN have been 
there all the time BTW.

--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-06-02 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]



--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-06-02 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499

[EMAIL PROTECTED] changed:

   What|Removed |Added

OtherBugsDependingO||7216
  nThis||



--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-02-17 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]
 Status|NEEDINFO|NEW



--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-01-28 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Additional Comments From [EMAIL PROTECTED]  2007-01-28 07:20 ---
I finally was able to bisect it within 2 commits. Commit 
4119532c95547821dbe72d6916dfa1b2148475b3 does not allow me to run STR at all:

sh-3.1# echo mem  /sys/power/state
sh: echo: write error: Operation not permitted

Commit 4c90ece249992c7a2e3fc921e5cdb8eb92193067 and above locks up *and* 
fortunately explains, *why* it locks up! I suspect this part of commit (not 
being immediate reason but at least exposing bug):

Converted the locking mutex used for the ACPI hardware
to a spinlock. This change should eliminate all problems
caused by attempting to acquire a semaphore at interrupt
level, and it means that all ACPICA external interfaces
that directly access the ACPI hardware can be safely
called from interrupt level.

because it locks up with spinlock lockup in acpi_os_acquire_lock =  
spin_lock_irqsave in interrupt context (acpi_ev_sci_xrupt_handler).

I attach screenshot of lockup (I have a couple more in case something is 
completely unreadable) and .config this has been tested with. All tests were 
conducted without modules (everything was builtin), using this grub entry:

title str
kernel (hd0,1)/home/bor/build/str-bisect/arch/i386/boot/bzImage root=/dev/hda2 
vga=791 init=/bin/sh

and doing

mount -t sysfs none /sys
echo mem  /sys/power/state

Good cases were retested several times also across reboot.

Also something happened between c080a3e69dfb58ae9b8c7e70a1e33f4f4e493ea7 and 
fda151d9feafc0e8418f23c716587c44394fcdbf. The former at least displays 
mentioned BUG, the latter locks up without any message at all. I have not 
tried to bisect this part. 

--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-01-17 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Additional Comments From [EMAIL PROTECTED]  2007-01-17 10:10 ---
Created an attachment (id=10108)
 -- (http://bugzilla.kernel.org/attachment.cgi?id=10108action=view)
screeshot 2 of kernel stack

I am not sure about suspend, but I do not hear drive spinning when resume
hangs. That for a long time made me believe it was related to libata (I noticed
this issue when I first tried to switch to libata). But later I had the same
problem using legacy IDE drivers, so ...

--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-01-17 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Additional Comments From [EMAIL PROTECTED]  2007-01-17 10:07 ---
Created an attachment (id=10107)
 -- (http://bugzilla.kernel.org/attachment.cgi?id=10107action=view)
Screenshot 1 of kernel stack


--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-01-17 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499





--- Additional Comments From [EMAIL PROTECTED]  2007-01-17 11:06 ---
Does suspend to disk work any better than suspend-to-ram?

--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 7499] S3 resume hang - Toshiba Portege 4000

2007-01-16 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=7499

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||acpi-
   ||[EMAIL PROTECTED]
   ||et
 Status|NEW |NEEDINFO
Summary|Toshiba Portege 4000 hangs  |S3 resume hang - Toshiba
   |resuming from suspend-to-RAM|Portege 4000



--- Additional Comments From [EMAIL PROTECTED]  2007-01-16 12:09 ---
can you attach the screen capture you managed to get with 2.6.18?
I do not see it at the URL noted above.

Do you hear the disk drive spilling before the suspend?
Do you hear it spinning after the resume?

--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla