Distribution: Mandrake 9.2 Hardware Environment: 00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03) 00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP] 00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40) 00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 06) 00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40) 00:0b.0 Multimedia audio controller: Yamaha Corporation YMF-724F [DS-1 Audio Controller] (rev 03) 01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2) MB Soltek SL75KAV, CPU AMD Athlon K7 Problem Description: If I compile the kernel with ACPI support then when I try to shutdown computer, it wrote "acpi_power_off called" and reboot instead of power down. with APM all works fine. Steps to reproduce: halt, poweroff, shutdown -p now
It seems like I find a solution, byt I can't implement it... in file drivers/acpi/sleep/poweroff.c I add line #include </usr/src/linux/arch/i386/kernel/apm.c> and in function acpi_power_off I comment all lines and replace it with apm_power_off Now when I try to power off, it wrote acpi_power_off_called GENERAL PROTECTION FAILURE (or something like).... (and many lines) I think that for use APM to power off I must uninit ACPI first and init APM, When I try to add apm_init apm_pwer_off to acpi_power_off function then it says That "32bit BIOS access not supported" (or something like) and PROTECTION FAILURE again Anybody know how can I do it???
Could you please check if the problem still exists in a recent kernel (2.6.9)? If it does, could you please attach dmesg output and /proc/acpi/dsdt and /proc/acpi/fadt?
Thank you, guys!!! In 2.6.9 Seems like it work fine, it power off my computer properly! THANKS! :)