Bug 4244 - Shutdown fail on Asus M6
Summary: Shutdown fail on Asus M6
Status: REJECTED INSUFFICIENT_DATA
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Off (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Alexey Starikovskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-23 10:22 UTC by Julien HENRY
Modified: 2005-05-04 04:40 UTC (History)
0 users

See Also:
Kernel Version: 2.6.8 or 2.6.10
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
Fixed DSDT (170.92 KB, text/plain)
2005-03-15 06:34 UTC, Alexey Starikovskiy
Details
Cleaned-up DSDT (159.83 KB, patch)
2005-03-17 07:43 UTC, Alexey Starikovskiy
Details | Diff
My kernel .config (33.34 KB, text/plain)
2005-03-21 01:08 UTC, Julien HENRY
Details
dmesg with cleaned DSDT (13.80 KB, application/octet-stream)
2005-03-23 09:56 UTC, Julien HENRY
Details

Description Julien HENRY 2005-02-23 10:22:03 UTC
Distribution: Mandrake 10.2
Hardware Environment: Laptop Asus M6BCE16-RW
Problem Description:
When I try to stop my laptop, all work fine, but at the end, I can see the
message : "acpi_power_off called". But the laptop is not properly stopped. The
noise of the fan stop, and sometimes the lcd become black, but the power led is
still on, and I have to press the power button a few second to shutdown
completly my laptop.

For any informations and log, see BUG #4243.
Comment 1 Alexey Starikovskiy 2005-03-10 04:04:44 UTC
Could you please try patch in bug #4041?
Comment 2 Alexey Starikovskiy 2005-03-14 01:43:49 UTC

*** This bug has been marked as a duplicate of 4041 ***
Comment 3 Julien HENRY 2005-03-15 01:14:38 UTC
I tried the patch in bug 4041, but it didn't work, even after correction. (I
tried with the kernel-2.6.11-2mdk)

I don't know if it is a clue, but sometimes, my LCD screen stop and become black
when I stop the computer (only the power LED shows that the laptop is not
completely stoppped), and sometimes not.
Comment 4 Alexey Starikovskiy 2005-03-15 01:45:38 UTC
First of all, your BIOS has ACPI tables with errors. Did you try to upgrade BIOS
of your laptop to the latest (0213A) ?
Comment 5 Julien HENRY 2005-03-15 03:41:17 UTC
Excuse me, but I have to use bios for Asus M6Ne, and the last is V0207. I tried
M6N bios, but the winflash utility refused it.
Comment 6 Alexey Starikovskiy 2005-03-15 04:12:01 UTC
If I'm going from this page to downloads on the left,
http://usa.asus.com/products/notebook/m6series/m6000n/m6000n_overview.htm
I get to version 0213A.
Comment 7 Julien HENRY 2005-03-15 04:17:09 UTC
OK, but it's an error. Look on the adress bar and you can see M6N. As it didn't
work for me, I tried to type M6Ne instead of M6N, and by chance it worked. But
in this new page, the latest bios is V207.
Comment 8 Alexey Starikovskiy 2005-03-15 06:34:46 UTC
Created attachment 4723 [details]
Fixed DSDT 

Could you please check, if following DSDT helps?
Comment 9 Julien HENRY 2005-03-17 00:44:06 UTC
I tried your DSDT, and now, I can have the battery state :

cat /proc/acpi/battery/BAT0/state
present:                 yes
capacity state:          ok
charging state:          discharging
present rate:            1226 mA
remaining capacity:      2333 mAh
present voltage:         15148 mV

But the laptop don't shudown correctly.

There are still error in dmesg :

    ACPI-0294: *** Info: Table [DSDT] replaced by host OS
ACPI: setting ELCR to 0200 (from 0c30)
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 223k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=2
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050211
    ACPI-0265: *** Error: Region EmbeddedControl(3) has no handler
    ACPI-1138: *** Error: Method execution failed [\_SB_.PCI0.SBRG.EC0_.ACS_]
(Node c14e3700), AE_NOT_EXIST
    ACPI-1138: *** Error: Method execution failed [\_SB_.AC__._INI] (Node
c14e31c0), AE_NOT_EXIST
    ACPI-0265: *** Error: Region EmbeddedControl(3) has no handler
    ACPI-1138: *** Error: Method execution failed [\_SB_.PCI0.SBRG.EC0_.BATS]
(Node c14e3760), AE_NOT_EXIST
    ACPI-1138: *** Error: Method execution failed [\_SB_.BAT0._STA] (Node
c14e64e0), AE_NOT_EXIST
    ACPI-0158: *** Error: Method execution failed [\_SB_.BAT0._STA] (Node
c14e64e0), AE_NOT_EXIST

And I read in HOWTO Fix Common ACPI Problems that it can be caused by a missing
ECDT. Do you agree ?

I will try the patch proposed to defers the Embedded Controller's initialization.

Thanks
Comment 10 Alexey Starikovskiy 2005-03-17 07:43:13 UTC
Created attachment 4743 [details]
Cleaned-up DSDT

No, ECDT is not needed, EC0 description is inside DSDT. Please try this DSDT.
Comment 11 Julien HENRY 2005-03-19 07:24:06 UTC
Sorry, but it don't solve the shutdown problem. And the /proc/acpi/battery
folder is now empty (so I can't have the battery level).
Comment 12 Alexey Starikovskiy 2005-03-21 00:42:55 UTC
Could you please attach your .config and dmesg from run with this DSDT? 
Comment 13 Julien HENRY 2005-03-21 01:06:11 UTC
I have found the solution to shutdown my laptop correctly : I have to select
noapic nolapic in my lilo.conf.

Now, all is working fine, but there are still the errors in dmesg.

Do you still want my dmesg with the Cleaned-up DSDT ? Because I'm now using a
personnaly fixed DSDT (based on your modifications in your first fixed DSDT).
Comment 14 Julien HENRY 2005-03-21 01:08:09 UTC
Created attachment 4764 [details]
My kernel .config

The kernel .config I'm currently using.
Comment 15 Alexey Starikovskiy 2005-03-21 01:56:24 UTC
Could you check if patch in bug #4041 helps you to shutdown without setting
"noapic nolapic"? 
Comment 16 Julien HENRY 2005-03-21 07:13:04 UTC
Sorry, but it doesn't work. I have the same comportement.
Comment 17 Julien HENRY 2005-03-23 09:56:47 UTC
Created attachment 4787 [details]
dmesg with cleaned DSDT
Comment 18 Alexey Starikovskiy 2005-03-28 06:34:26 UTC
Forums at http://m6n.ath.cx/blog/ are saying, that M6Ne is able to power off if
Local APIC is disabled... You can disable it with either nolapic command line or
disabling CONFIG_X86_LOCAL_APIC during kernel configuration. Can you try generic
kernel from kernel.org as well?

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