Skip to contentSkip to conversation

Poweroff works intermittently

DISCUSSION Nico 4 participants 7 messages Mar 30, 2004 – Apr 6, 2004 6 messages not in the archive ACPI

lore
Share & tools
lore

Nico

author
#0 lore raw

Hi,
I'm having a strange problem with vanilla kernels 2.6.[124] on my Abit IC7 motherboard:
halt doesn't always shut down the system, instead it hangs after having written "entering sleep state s5" on the console.
Acpi is enabled and recognized at boot.
There isn't a repeatable pattern for the poweroff failure: sometimes it works after a cold boot, sometimes after windows resets the pc, sometimes it doesn't work for days;
I also added the most recent patches to the kernel, but without improvements.

For the record: windows always shuts down the pc properly, and I never installed any additional driver.

What can I do?
Thanks,
Nico

-------------------------------------------------------
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]

#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Quoted 2 lines · Nico

halt doesn't always shut down the system, instead it hangs after having written "entering sleep state s5" on the console.

well, IMHO it doesn't hang, it "just" doesn't turn off the machine, but all the rest is ok. You can verify at next boot: normally the HD is ok and there's no check for errors (like any other machine-freezing).

I had the same problem on my ASUS laptop (M6842NWH). There're 2 possible solutions:

- - disable APIC/Local-APIC (at boot with 'noapic/nolapic' or in the kernel), in many cases (as in mine) this solves the problem

- - using Hartwig Felger's patch, other infos

	http://marc.theaimsgroup.com/?l=acpi4linux&m=107842464918369&w=2
	http://bugme.osdl.org/show_bug.cgi?id=2109

Thx, bye,
Gismo / Luca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFAaX0zVAp7Xm10JmkRAmVUAJsFVa4KLtVg3pWIJtavQO1EzsnDHwCgg01n 3PPBOC1ZUIPRI5ad6Yl1Lak=
=aIyo
-----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]

author
#4 lore raw
Quoted 8 lines · Luca Capello

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

on 03/30/04 14:58, Nico wrote:

Quoted 10 lines
Quoted 4 lines

halt doesn't always shut down the system, instead it hangs after having written "entering sleep state s5" on the console.

well, IMHO it doesn't hang, it "just" doesn't turn off the machine, but all the rest is ok. You can verify at next boot: normally the HD is ok and there's no check for errors (like any other machine-freezing).

right

Quoted 4 lines

I had the same problem on my ASUS laptop (M6842NWH). There're 2 possible solutions:

thanks for your suggestions, but adding "noapic" or "nolapic" or "noapic nolapic" doesn't help at all.

-------------------------------------------------------
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]

#6 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Quoted 2 lines · Nico

thanks for your suggestions, but adding "noapic" or "nolapic" or "noapic nolapic" doesn't help at all.

and have you tried compiling a kernel with no APIC support?

Also, have you tried Hartwig Felger's patch?

Thx, bye,
Gismo / Luca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFAbDnVVAp7Xm10JmkRAgBaAJ9RbQUIT2qd9MAfwdGL5dQF9cm99QCfQf8W 1eQ8bhozkHPqn2eLmd6mono=
=75HS
-----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

#7 lore raw
In reply to a message not in the archive
Quoted 43 lines · On Tue, 30 Mar 2004 15:59:16 +0200 Luca Capello…

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Quoted 2 lines · Nico

halt doesn't always shut down the system, instead it hangs after having written "entering sleep state s5" on the console.

well, IMHO it doesn't hang, it "just" doesn't turn off the machine, but all the rest is ok. You can verify at next boot: normally the HD is ok and there's no check for errors (like any other machine-freezing).

I had the same problem on my ASUS laptop (M6842NWH). There're 2 possible solutions:

- - disable APIC/Local-APIC (at boot with 'noapic/nolapic' or in the kernel), in many cases (as in mine) this solves the problem

- - using Hartwig Felger's patch, other infos

	http://marc.theaimsgroup.com/?l=acpi4linux&m=107842464918369&w=2
	http://bugme.osdl.org/show_bug.cgi?id=2109

Thx, bye,
Gismo / Luca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFAaX0zVAp7Xm10JmkRAmVUAJsFVa4KLtVg3pWIJtavQO1EzsnDHwCgg01n 3PPBOC1ZUIPRI5ad6Yl1Lak=
=aIyo
-----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
_______________________________________________
Acpi-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel

Quoted 3 lines

___[ Pub ]____________________________________________________________ Inscrivez-vous gratuitement sur Tandaime, Le site de rencontres !
http://rencontre.rencontres.com/index.php?origine=4

Hi,

I confirm, I had the same problem on a Sony vaio Z1RMP, which is solved by Hartwig Felger's patch + 'nolapic' on kernel command line.

Bye

___[ Pub ]____________________________________________________________ Inscrivez-vous gratuitement sur Tandaime, Le site de rencontres !
http://rencontre.rencontres.com/index.php?origine=4

-------------------------------------------------------
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): 20040403140535.6f5b5a62.steup-6bugY6I12JBBDgjK7y7TUQ@public.gmane.org

author
#9 lore raw
Quoted 70 lines · steup
Quoted 47 lines · On Tue, 30 Mar 2004 15:59:16 +0200 Luca Capello…

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Quoted 4 lines · Nico

halt doesn't always shut down the system, instead it hangs after having written "entering sleep state s5" on the console.

well, IMHO it doesn't hang, it "just" doesn't turn off the machine, but all the rest is ok. You can verify at next boot: normally the HD is ok and there's no check for errors (like any other machine-freezing).

I had the same problem on my ASUS laptop (M6842NWH). There're 2 possible solutions:

- - disable APIC/Local-APIC (at boot with 'noapic/nolapic' or in the kernel), in many cases (as in mine) this solves the problem

- - using Hartwig Felger's patch, other infos

	http://marc.theaimsgroup.com/?l=acpi4linux&m=107842464918369&w=2
	http://bugme.osdl.org/show_bug.cgi?id=2109

Thx, bye,
Gismo / Luca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFAaX0zVAp7Xm10JmkRAmVUAJsFVa4KLtVg3pWIJtavQO1EzsnDHwCgg01n 3PPBOC1ZUIPRI5ad6Yl1Lak=
=aIyo
-----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
_______________________________________________
Acpi-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel

Quoted 5 lines

___[ Pub ]____________________________________________________________ Inscrivez-vous gratuitement sur Tandaime, Le site de rencontres !
http://rencontre.rencontres.com/index.php?origine=4

Hi,

I confirm, I had the same problem on a Sony vaio Z1RMP, which is solved by Hartwig Felger's patch + 'nolapic' on kernel command line.

Bye

___[ Pub ]____________________________________________________________ Inscrivez-vous gratuitement sur Tandaime, Le site de rencontres !
http://rencontre.rencontres.com/index.php?origine=4

Quoted 12 lines

-------------------------------------------------------
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
_______________________________________________
Acpi-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel

it has no effect for me, with or without nolapic

-------------------------------------------------------
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.0404031450190.1744-KnfdeQs3A3X/[email protected]

#12 lore raw

Hello,

In fact after testing, your patch is not needed for me. (Vaio Z1RMP, kernel 2.6.4) Just disabling local APIC from vanilla sources makes the computer shutdown properly.

Bye

Quoted 44 lines · On Sat, 3 Apr 2004 14:52:42 +0200 (CEST)…

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Salut Steup,
I am just curious. May you try without my patch and just with a kernel without APIC support.

Cheers hartwig :-)

Quoted 14 lines · steup
Quoted 4 lines

- - disable APIC/Local-APIC (at boot with 'noapic/nolapic' or in the kernel), in many cases (as in mine) this solves the problem

- - using Hartwig Felger's patch, other infos

Quoted 8 lines
	http://marc.theaimsgroup.com/?l=acpi4linux&m=107842464918369&w=2
	http://bugme.osdl.org/show_bug.cgi?id=2109

Thx, bye,
Gismo / Luca
___[ Pub ]____________________________________________________________ Inscrivez-vous gratuitement sur Tandaime, Le site de rencontres !
http://rencontre.rencontres.com/index.php?origine=4

Hi,

Quoted 7 lines

I confirm, I had the same problem on a Sony vaio Z1RMP, which is solved by Hartwig Felger's patch + 'nolapic' on kernel command line.

Bye

___[ Pub ]____________________________________________________________ Inscrivez-vous gratuitement sur Tandaime, Le site de rencontres !
http://rencontre.rencontres.com/index.php?origine=4

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)

Quoted 8 lines

iD8DBQFAbrOf9bBoTzOf1pMRAon9AKDW6hfBsM/OtRsBAcsF8/fBmSkKgQCfZt/V O6I0q1bi/bqgyG4uqputpJ8=
=jBc3
-----END PGP SIGNATURE-----

_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France

-------------------------------------------------------
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_id70&alloc_id638&op=click