Can't poweroff anymore.
Hello,
My notebook is an Acer TravelMate 630 and until 2.6.2-rc2 poweroff works well, but upgrading to bitkeeper of 2004/01/27 (have many acpi changesets) it can't poweroff anymore and show this message:
"acpi_power_off called"
"hwsleep-0265 [44] acpi_enter_sleep_state: Entering sleep state [S5]."
Any ideas?
Thanks!
Signature · 9 lines
Flávio Bruno Leitner <fbl-KCZ47A4bww4P48s/[email protected]> [ E74B 0BD0 5E05 C385 239E 531C BC17 D670 7FF0 A9E0 ] ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): Pine.LNX.4.58.0403050113230.3779-KnfdeQs3A3X/[email protected]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Salut List,
I have good feedback from Flavio, that my patch works for him too. As I do not understand what my patch does, may someone with more knowledge comment on it.
Thanks hartwig
Quoted 23 lines · On Fri, 5 Mar 2004 [email protected] wrote:
Salut Flavio,
ok. we are changed to
http://bugme.osdl.org/show_bug.cgi?id=2109 by Len.I tested the patch with 2.4.25 and 2.4.26-pre1. I just had a quick look at 2.6.3. There the patch applys cleanly, but I did not check, if it compiles, and fix the regression for 2.6.
BTW, can anyone have a look, if this patch is a good thing, and comment on it? I did not follow why the regression patch (i.e. v1.23 of
hwsleep.c) was introduced in the first place - just a quick comment please.Quoted 6 lines · Flavio Bruno Leitner
My notebook is an Acer TravelMate 630 and until 2.6.2-rc2 poweroff works well, but upgrading to bitkeeper of 2004/01/27 (have many acpi changesets) it can't poweroff anymore and show this message:
"acpi_power_offcalled"
"hwsleep-0265 [44]acpi_enter_sleep_state: Entering sleep state [S5]."Cheers
hartwig felger
Quoted 6 lines
Hartwig Felger informatics
- --
1024D/339FD693 Hartwig Felger <[email protected]> Key fingerprint = FB2F 3EE9 345A D55B 6FF2 0EC1 F5B0 684F 339F D693 For the pulic keys, please visit my page.
Gruß
hartwig felger
Hartwig Felger informatics
- --
1024D/339FD693 Hartwig Felger <[email protected]> Key fingerprint = FB2F 3EE9 345A D55B 6FF2 0EC1 F5B0 684F 339F D693 For the pulic keys, please visit my page.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFASaDi9bBoTzOf1pMRAiGIAKCJqzr4WFIxWfpma1lZs0m4x27OqACfXspR PGleemqCs3vSnwC39085Qu8=
=4Qrs
-----END PGP SIGNATURE-----
drivers/acpi/hardware/hwsleep.c renamed from drivers/acpi/hardware/hwsleep.c.orig +5 -0
@@ -249,6 +249,11 @@if (ACPI_FAILURE (status)) {return_ACPI_STATUS (status); } + }else { + status =acpi_hw_clear_acpi_status (ACPI_MTX_DO_NOT_LOCK ); +if (ACPI_FAILURE (status)) { +return_ACPI_STATUS (status); + } } status =acpi_hw_disable_non_wakeup_gpes ();
A message that is not in the archive (sent off-list or not yet received): Pine.LNX.4.58.0403061054120.1146-KnfdeQs3A3X/[email protected]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I've the same problem on my ASUS M6800N (as reported in the thread called 'ASUS
M6800N: shutdown doesn't power off the machine' and dated 20040217 at 14:37).
Quoted 5 lines · on 03/06/04 10:58, [email protected] wrote:
Salut List,
I have good feedback from Flavio, that my patch works for him too. As I do not understand what my patch does, may someone with more knowledge comment on it.
Quoted 11 lines
Thanks hartwig
Quoted 7 lines · On Fri, 5 Mar 2004 [email protected] wrote:
Quoted 7 lines
Salut Flavio,
ok. we are changed to
http://bugme.osdl.org/show_bug.cgi?id=2109 by Len.I tested the patch with 2.4.25 and 2.4.26-pre1. I just had a quick look at 2.6.3. There the patch applys cleanly, but I did not check, if it compiles, and fix the regression for 2.6.
? are you sure it applys cleanly on 2.6.3? This isn't the case for me:
=====
- - (2.6.3 + ACPI 20040220 + ACPI DSDT in initrd + Bruno's _CST)
gismo:/usr/src/linux-2.6.3-acpi.initrd-processor.cst-hwsleepc2# patch -p1 < ../kernel/v2.6/hwsleep.c2-patch patching file drivers/acpi/hardware/hwsleep.c Hunk #1 FAILED at 249. 1 out of 1 hunk FAILED -- saving rejects to file drivers/acpi/hardware/hwsleep.c.rej gismo:/usr/src/linux-2.6.3-acpi.initrd-processor.cst-hwsleepc2#
- - (2.6.3 w/o any patches)
gismo:/usr/src/linux-2.6.3# patch -p1 < ../kernel/v2.6/hwsleep.c2-patch patching file drivers/acpi/hardware/hwsleep.c Hunk #1 FAILED at 249. 1 out of 1 hunk FAILED -- saving rejects to file drivers/acpi/hardware/hwsleep.c.rej gismo:/usr/src/linux-2.6.3#
- - (2.6.2 w/o any patches)
gismo:/usr/src/linux-2.6.2# patch -p1 < ../kernel/v2.6/hwsleep.c2-patch patching file drivers/acpi/hardware/hwsleep.c Hunk #1 FAILED at 249. 1 out of 1 hunk FAILED -- saving rejects to file drivers/acpi/hardware/hwsleep.c.rej gismo:/usr/src/linux-2.6.2#
- - (2.6.1 w/o any patches)
gismo:/usr/src/linux-2.6.1# patch -p1 < ../kernel/v2.6/hwsleep.c2-patch patching file drivers/acpi/hardware/hwsleep.c Hunk #1 FAILED at 249. 1 out of 1 hunk FAILED -- saving rejects to file drivers/acpi/hardware/hwsleep.c.rej gismo:/usr/src/linux-2.6.1# =====
BTW, shutdown doesn't work on 2.6.1 (w/o any patches), not on 2.6.2 (w/o any patches) and 2.6.3 or 2.6.4. I attached my .config in order to know if I should enable/disable something other.
Thx, bye,
Gismo / Luca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
iD8DBQFASedrVAp7Xm10JmkRAihcAKCGRtGdSVkgMQ54rgSR14VRfKwvhgCfe93j H15gfAcD10UXuhqbvf2vM/4=
=KOmI
-----END PGP SIGNATURE-----
A message that is not in the archive (sent off-list or not yet received): [email protected]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
Quoted 1 line · Luca Capello
? are you sure it applys cleanly on 2.6.3? This isn't the case for me:
after having tried on 2.4.25 with the same error:
=====
gismo:/usr/src/linux-2.4.25-hwsleep2# patch -p1 < ../kernel/v2.6/hwsleep.c2-patch patching file drivers/acpi/hardware/hwsleep.c Hunk #1 FAILED at 249. 1 out of 1 hunk FAILED -- saving rejects to file drivers/acpi/hardware/hwsleep.c.rej =====
I found the problem: the patch Hartwig attached lacks the first line of comparison, while the same patch on http://bugme.osdl.org/show_bug.cgi?id=2109
is correct:
=====
gismo:/usr/src/linux-2.6.3-acpi.initrd-processor.cst-hwsleep# patch -p1 < /home/luca/download/hwsleep.bug.diff patching file drivers/acpi/hardware/hwsleep.c Hunk #1 succeeded at 284 (offset 35 lines). gismo:/usr/src/linux-2.6.3-acpi.initrd-processor.cst-hwsleep# =====
With this latest patch, kernel 2.6.3 compiles correctly, but anyway I get the same problem: 2.6.3 doesn't shutdown.
Thx, bye,
Gismo / Luca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
iD8DBQFASjCkVAp7Xm10JmkRAmbBAJwN0RXYkrZFd4eREPgAq8HeemyP2ACffFjo oYh5IaHxLHn3UGLZpEqI8OU=
=mK6q
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
A message that is not in the archive (sent off-list or not yet received): [email protected]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
on 03/06/04 21:12, Luca Capello wrote:
<cut>
Quoted 3 lines
I found the problem: the patch Hartwig attached lacks the first line of comparison, while the same patch on http://bugme.osdl.org/show_bug.cgi?id=2109
is correct:
<cut>
Quoted 2 lines
With this latest patch, kernel 2.6.3 compiles correctly, but anyway I get the same problem: 2.6.3 doesn't shutdown.
as I was running with 'preempt' and 'APIC/IO-APIC' and with my last ASUS Centrino M3N 'APIC/IO-APIC' had cause some problems, I tried 3 new configurations:
- - no preempt and no APIC > shutdown works ok
- - preempt and no APIC > shutdown works again
- - preempt and APIC > shutdown doesn't work :-(
So, the real problem is APIC, sorry for the missunderstanding of the real problem.
Thx, bye,
Gismo / Luca
PS I'm posting the same message on my first thread about this problem on ASUS M6800N, as it's an ASUS M6800N specific problem ;-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
iD8DBQFAS21jVAp7Xm10JmkRAgfUAKCD/7I9mXKoLY83yggKhneQCKODDwCfU7zb CXnzKdyQey/sPleFug4ofJs=
=9vsk
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Salut Luca,
Quoted 6 lines · Luca Capello
I've the same problem on my ASUS M6800N (as reported in the thread called 'ASUS
M6800N: shutdown doesn't power off the machine' and dated 20040217 at 14:37).Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
2.6.3. There the patch applys cleanly, but I did not check, if it compiles, and fix the regression for 2.6.
? are you sure it applys cleanly on 2.6.3? This isn't the case for me:
Yes it applys cleanly against a vanilla 2.6.3.
Quoted 6 lines
=====
- - (2.6.3 + ACPI 20040220 + ACPI DSDT in initrd + Bruno's_CST)gismo:/usr/src/linux-2.6.3-acpi.initrd-processor.cst-hwsleepc2# patch -p1 < ../kernel/v2.6/hwsleep.c2-patch patching file drivers/acpi/hardware/hwsleep.c Hunk #1 FAILED at 249.
As it is only one hunk, this would not have any effect...
Just for you I also tryed 2.6.3 + acpi-20040220 (the version from march 5th - be carefull about different acpi-20040220-versions). And it also powers-off the machine :-)
But as this regression was introduced with 2.6.3. So I don't think, that my patch will work for you. But if you get a vanilla-kernel, just have a try...
Quoted 6 lines
1 out of 1 hunk FAILED -- saving rejects to file
drivers/acpi/hardware/hwsleep.c.rejgismo:/usr/src/linux-2.6.3-acpi.initrd-processor.cst-hwsleepc2#BTW, shutdown doesn't work on 2.6.1 (w/o any patches), not on 2.6.2 (w/o any patches) and 2.6.3 or 2.6.4. I attached my .config in order to know if I should enable/disable something other.
Cheers
hartwig felger
Hartwig Felger informatics
- --
1024D/339FD693 Hartwig Felger <[email protected]> Key fingerprint = FB2F 3EE9 345A D55B 6FF2 0EC1 F5B0 684F 339F D693 For the pulic keys, please visit my page.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFASjnn9bBoTzOf1pMRAmCKAKCJO+ogRi1sM/eWpp1I2xvX9fU/EQCgsvGS j0HUsqXkZCRu0OfdpgBN9C4=
=Ob2r
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
A message that is not in the archive (sent off-list or not yet received): 20040304180301.GA1754-KCZ47A4bww4P48s/[email protected]
Hi!
Quoted 8 lines
My notebook is an Acer TravelMate 630 and until 2.6.2-rc2 poweroff works well, but upgrading to bitkeeper of 2004/01/27 (have many acpi changesets) it can't poweroff anymore and show this message:
"acpi_power_offcalled"
"hwsleep-0265 [44]acpi_enter_sleep_state: Entering sleep state [S5]."Any ideas?
Entering sleep state (5) fixed someones machine, so he pushed the diff. It probably infected 2.4, too.
Signature · 9 lines
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click