* Can't poweroff anymore.
@ 2004-03-04 18:03 Flavio Bruno Leitner
[not found] ` <Pine.LNX.4.58.0403050113230.3779@frog.athome>
[not found] ` <20040304180301.GA1754-KCZ47A4bww4P48s/oLjRZg@public.gmane.org>
0 siblings, 2 replies; 7+ messages in thread
From: Flavio Bruno Leitner @ 2004-03-04 18:03 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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!
--
Flávio Bruno Leitner <fbl-KCZ47A4bww4P48s/oLjRZg@public.gmane.org>
[ 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
^ permalink raw reply [flat|nested] 7+ messages in thread[parent not found: <Pine.LNX.4.58.0403050113230.3779@frog.athome>]
[parent not found: <Pine.LNX.4.58.0403050113230.3779-KnfdeQs3A3X/9pzu0YdTqQ@public.gmane.org>]
* Re: Can't poweroff anymore. [not found] ` <Pine.LNX.4.58.0403050113230.3779-KnfdeQs3A3X/9pzu0YdTqQ@public.gmane.org> @ 2004-03-06 9:58 ` liste-9nAOAgdJVo4b1SvskN2V4Q [not found] ` <Pine.LNX.4.58.0403061054120.1146-KnfdeQs3A3X/9pzu0YdTqQ@public.gmane.org> 0 siblings, 1 reply; 7+ messages in thread From: liste-9nAOAgdJVo4b1SvskN2V4Q @ 2004-03-06 9:58 UTC (permalink / raw) To: ACPI Developers [-- Attachment #1: Type: TEXT/PLAIN, Size: 1942 bytes --] -----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 On Fri, 5 Mar 2004 hgfelger-9nAOAgdJVo4b1SvskN2V4Q@public.gmane.org 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. > > On Thu, 4 Mar 2004, Flavio Bruno Leitner wrote: > > 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]." > > Cheers > hartwig felger > > Hartwig Felger informatics > > - -- > 1024D/339FD693 Hartwig Felger <hgfelger-9nAOAgdJVo4b1SvskN2V4Q@public.gmane.org> > 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 <hgfelger-9nAOAgdJVo4b1SvskN2V4Q@public.gmane.org> 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----- [-- Attachment #2: Type: TEXT/PLAIN, Size: 462 bytes --] --- linux/drivers/acpi/hardware/hwsleep.c.orig 2004-03-04 23:10:41.000000000 +0100 +++ linux/drivers/acpi/hardware/hwsleep.c 2004-03-04 23:11:58.000000000 +0100 @@ -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 (); ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <Pine.LNX.4.58.0403061054120.1146-KnfdeQs3A3X/9pzu0YdTqQ@public.gmane.org>]
* Re: Can't poweroff anymore. [not found] ` <Pine.LNX.4.58.0403061054120.1146-KnfdeQs3A3X/9pzu0YdTqQ@public.gmane.org> @ 2004-03-06 14:59 ` Luca Capello [not found] ` <4049E76D.4030000-wlebWZzHoyE@public.gmane.org> 0 siblings, 1 reply; 7+ messages in thread From: Luca Capello @ 2004-03-06 14:59 UTC (permalink / raw) To: ML ACPI-devel [-- Attachment #1: Type: text/plain, Size: 2644 bytes --] -----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). on 03/06/04 10:58, liste-9nAOAgdJVo4b1SvskN2V4Q@public.gmane.org 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. > > Thanks hartwig > > On Fri, 5 Mar 2004 hgfelger-9nAOAgdJVo4b1SvskN2V4Q@public.gmane.org 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. ? 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----- [-- Attachment #2: config-2.6.3.gz --] [-- Type: application/x-gzip, Size: 7215 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <4049E76D.4030000-wlebWZzHoyE@public.gmane.org>]
* Re: Can't poweroff anymore. [not found] ` <4049E76D.4030000-wlebWZzHoyE@public.gmane.org> @ 2004-03-06 20:12 ` Luca Capello [not found] ` <404A30A5.6070802-wlebWZzHoyE@public.gmane.org> 2004-03-06 20:51 ` liste-9nAOAgdJVo4b1SvskN2V4Q 1 sibling, 1 reply; 7+ messages in thread From: Luca Capello @ 2004-03-06 20:12 UTC (permalink / raw) To: ML ACPI-devel -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, on 03/06/04 15:59, Luca Capello wrote: > ? 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <404A30A5.6070802-wlebWZzHoyE@public.gmane.org>]
* Re: Can't poweroff anymore. [not found] ` <404A30A5.6070802-wlebWZzHoyE@public.gmane.org> @ 2004-03-07 18:43 ` Luca Capello 0 siblings, 0 replies; 7+ messages in thread From: Luca Capello @ 2004-03-07 18:43 UTC (permalink / raw) To: ML ACPI-devel -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, on 03/06/04 21:12, Luca Capello wrote: <cut> > 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> > 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Can't poweroff anymore. [not found] ` <4049E76D.4030000-wlebWZzHoyE@public.gmane.org> 2004-03-06 20:12 ` Luca Capello @ 2004-03-06 20:51 ` liste-9nAOAgdJVo4b1SvskN2V4Q 1 sibling, 0 replies; 7+ messages in thread From: liste-9nAOAgdJVo4b1SvskN2V4Q @ 2004-03-06 20:51 UTC (permalink / raw) To: Luca Capello; +Cc: ML ACPI-devel -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Salut Luca, On Sat, 6 Mar 2004, Luca Capello wrote: > 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). > > >>>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. > ===== > - - (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... > 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# > > 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 <hgfelger-9nAOAgdJVo4b1SvskN2V4Q@public.gmane.org> 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <20040304180301.GA1754-KCZ47A4bww4P48s/oLjRZg@public.gmane.org>]
* Re: Can't poweroff anymore. [not found] ` <20040304180301.GA1754-KCZ47A4bww4P48s/oLjRZg@public.gmane.org> @ 2004-03-06 12:41 ` Pavel Machek 0 siblings, 0 replies; 7+ messages in thread From: Pavel Machek @ 2004-03-06 12:41 UTC (permalink / raw) To: Flavio Bruno Leitner; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Hi! > 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? Entering sleep state (5) fixed someones machine, so he pushed the diff. It probably infected 2.4, too. -- 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-03-07 18:43 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-04 18:03 Can't poweroff anymore Flavio Bruno Leitner
[not found] ` <Pine.LNX.4.58.0403050113230.3779@frog.athome>
[not found] ` <Pine.LNX.4.58.0403050113230.3779-KnfdeQs3A3X/9pzu0YdTqQ@public.gmane.org>
2004-03-06 9:58 ` liste-9nAOAgdJVo4b1SvskN2V4Q
[not found] ` <Pine.LNX.4.58.0403061054120.1146-KnfdeQs3A3X/9pzu0YdTqQ@public.gmane.org>
2004-03-06 14:59 ` Luca Capello
[not found] ` <4049E76D.4030000-wlebWZzHoyE@public.gmane.org>
2004-03-06 20:12 ` Luca Capello
[not found] ` <404A30A5.6070802-wlebWZzHoyE@public.gmane.org>
2004-03-07 18:43 ` Luca Capello
2004-03-06 20:51 ` liste-9nAOAgdJVo4b1SvskN2V4Q
[not found] ` <20040304180301.GA1754-KCZ47A4bww4P48s/oLjRZg@public.gmane.org>
2004-03-06 12:41 ` Pavel Machek
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox