[ltp] powering down and halting

Tod Harter linux-thinkpad@www.bm-soft.com
Wed, 29 Aug 2001 12:02:34 -0400


It sounds similar to a problem I had on my A20p, linux would TRY to halt, but 
usually it would hang at the end of the process. This happened regardless of 
whether you were trying to reboot or halt. This was with kernel 2.4.9. My 
solution was to recompile the kernel with 

# CONFIG_APM_REAL_MODE_POWER_OFF=y

which cured the problem entirely. Seems that at least some of IBM's bios are 
buggy and require the power off command to be issued from real mode... 

Not sure if this will solve your problem as it sounds slightly different 
(mine never even redisplayed the post message and in some cases it would 
crash while init was still switching to runlevel 6), but it may be the answer.

On Wednesday 29 August 2001 04:29, you wrote:
> I had the same problem on a T20 with several 2.4.X kernels (from 2.4.3 to
> 2.4.7) and I tried a lot off APM compilation options.
>  It did not work for my T20 until I move to a 2.4.8 kernel. Halting is now
> ok.
>
>
>
>
>
>
> Michael Selway <mas@ssl.co.uk>
> Sent by: owner-linux-thinkpad@bm-soft.com
> 07/18/2001 04:35 PM
> Please respond to linux-thinkpad
>
>
>         To:     linux-thinkpad@www.bm-soft.com
>         cc:
>         Subject:        [ltp] powering down and halting
>
>
>
>
> Since I upgraded my tp600e to Redhat 7.1 (kernel 2.4.2), linux
> hasn't been able to power down the machine after shutting down
> linux, nor can it reboot.  If I ask linux to reboot, it goes down
> normally, displays the POST/IBM logo, and then hangs.  Previously
> it worked properly.
>
> Anyone else seen this?  What's up?  There seems to have been no
> material change to the relevant kernel code.  APM config variables
> attached.
>
> Michael.
> ------------------
> CONFIG_PM=y
> # CONFIG_ACPI is not set
> CONFIG_APM=y
> # CONFIG_APM_IGNORE_USER_SUSPEND is not set
> CONFIG_APM_DO_ENABLE=y
> CONFIG_APM_CPU_IDLE=y
> CONFIG_APM_DISPLAY_BLANK=y
> CONFIG_APM_RTC_IS_GMT=y
> CONFIG_APM_ALLOW_INTS=y
> # CONFIG_APM_REAL_MODE_POWER_OFF is not set
>
> ----- The Linux ThinkPad mailing list -----
> The linux-thinkpad mailing list home page is at:
> http://www.bm-soft.com/~bm/tp_mailing.html

----------------------------------------
Content-Type: text/html; charset="us-ascii"; name="Attachment: 1"
Content-Transfer-Encoding: 7bit
Content-Description: 
----------------------------------------

----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html