LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-17-2005, 11:55 AM   #1
trasher
LQ Newbie
 
Registered: Mar 2005
Location: Turkey
Distribution: Mandrake 10.1
Posts: 29

Rep: Reputation: 15
Unhappy Turn off the Computer Problem


My distro is Mandrake 10.1 and my pc case is Aopen H600B, its powersuply is 300W ATX 12V.
When i turn off the linux, it does not turn the computer off, it says just "Power down", i wait for turning it off, but i think, wait for i switch it off from button .
I look System/Configuration/KDE/Power Control, but there is nothing to adjust...
Why linux doesn't turn the computer off...
Thanks for any help...
 
Old 03-17-2005, 12:12 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Does your kernel have support for APM/ACPI?
 
Old 03-17-2005, 12:16 PM   #3
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 33
hi,

the solution to this will depend on whether you're using the 'lilo' or 'grub' bootloader - i'm running mandrake 10.0 and use 'lilo'; i did try 10.1 but i can't remember whether it still used lilo by default.

perhaps you could post back and let us know which one you're using.

(if you're unsure, go to mandrake control center, 'boot', then 'bootloader'... you should see which one is currently in use.)
 
Old 03-17-2005, 12:16 PM   #4
trasher
LQ Newbie
 
Registered: Mar 2005
Location: Turkey
Distribution: Mandrake 10.1
Posts: 29

Original Poster
Rep: Reputation: 15
What is APM and ACPI?
 
Old 03-17-2005, 12:22 PM   #5
trasher
LQ Newbie
 
Registered: Mar 2005
Location: Turkey
Distribution: Mandrake 10.1
Posts: 29

Original Poster
Rep: Reputation: 15
Lilo with graphical menu.
I saw APIC and ACPI, what are these?
 
Old 03-17-2005, 01:10 PM   #6
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 33
hi,

ok so you're using Lilo.

You need to edit the file /etc/lilo.conf (you'll need to do this as the root user)

When you open the file, you should see a number of sections headed 'image=....' For clarity, i'll post part of my lilo.conf file here -

Quote:
image=/boot/vmlinuz
label="linux"
root=/dev/hda1
initrd=/boot/initrd.img
append="devfs=mount apm=power-off acpi=force resume=/dev/hda5 splash=silent"
vga=788
read-only
what you need to do is change the acpi entry on the line beginning 'append=' to 'acpi=force' (as above). it probably reads 'acpi=ht' or similar at the moment. then save your changes, and from the command line, as root, run the command 'lilo' (you might need to actually run '/sbin/lilo') to update your lilo configuration.

now when you shut down, the computer should power off...

as for apm / acpi, they're BIOS power management features, which the operating system can access to control various things (such as power off...). unfortunately, certain BIOS versions don't implement things fully, so that's why you need to change your lilo file. i had the same problem, and making the change above resolved matters.
 
Old 03-17-2005, 01:27 PM   #7
trasher
LQ Newbie
 
Registered: Mar 2005
Location: Turkey
Distribution: Mandrake 10.1
Posts: 29

Original Poster
Rep: Reputation: 15
My lilo config file there is no apm???
Do you think i should change it...
I mean should i add apm in?
By the way what is devfs=mount

default="linux"
boot=/dev/sda
map=/boot/map
keytable=/boot/us.klt
prompt
nowarn
timeout=30
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/sda10
initrd=/boot/initrd.img
append="acpi=ht resume=/dev/sda5 splash=silent"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/sda10
initrd=/boot/initrd.img

Last edited by trasher; 03-17-2005 at 01:29 PM.
 
Old 03-17-2005, 01:30 PM   #8
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 33
Quote:
My lilo config file there is no apm???
Do you think i should change it...
No, i don't think so. Just change the 'acpi' bit as suggested and you should be away.
 
Old 03-17-2005, 01:31 PM   #9
trasher
LQ Newbie
 
Registered: Mar 2005
Location: Turkey
Distribution: Mandrake 10.1
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks for your help...
 
Old 03-17-2005, 01:34 PM   #10
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 33
You're welcome..

Oh, you might find that the first time you shutdown the computer after making the change, it might still not power off correctly; but the next time you boot, the system should be correctly set up...
 
Old 03-17-2005, 04:05 PM   #11
trasher
LQ Newbie
 
Registered: Mar 2005
Location: Turkey
Distribution: Mandrake 10.1
Posts: 29

Original Poster
Rep: Reputation: 15
I have a problem about CPU Temperature. After changing lilo.conf kernel gave message that the CPU temperature is above the treshold. And then gave another message that the CPU is working in something... mode. After this situation I reboot the computer and then I opened the System Monitor and saw that CPU usage is above %55 and kernel gives the same messages over and over. After opening the task manager I couldn't saw anything using so much CPU. Do you think that this maybe related to changing the lilo.conf file. And can I find a software that monitors the CPU or all the hardware usage and fan speed also.
Please help... Now I can't courage to boot the sytem.
 
Old 03-17-2005, 05:31 PM   #12
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 33
hi,

this doesn't sound good.. it could be due indeed to changes to lilo.conf, at least as far as the system now reporting low-level stuff like fan speed etc, which would previously perhaps have gone unnoticed?

i'm not qualified to suggest further - you could try changing lilo.conf back again (remember to run 'lilo' afterwards..) and see what happens - and check cpu usage afterwards, too...

i've made the 'acpi=force' change on my machine, with no adverse effects, and this was on the advice of something i read elsewhere (i think it was a red hat forum..)

the only thing i can suggest is go back to what you had before. it's also very highly unlikely indeed that you will have damaged your system - if the processor overheats, the system will shut down to protect itself.

perhaps others might like to comment?
 
Old 03-17-2005, 08:41 PM   #13
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
If your BIOS has broken, incomplete, or nonexistant ACPI support that would otherwise be automatically disabled, adding acpi=force could cause the system to report problems it doesn't otherwise see. Generally, this would indicate that the problems probably don't even really exist.
 
Old 04-16-2005, 05:55 PM   #14
FreeThinkerJim
Member
 
Registered: Apr 2005
Location: Las Vegas, Nevada, USA
Distribution: Ubntu Intrepid Ibex (8.10)
Posts: 129

Rep: Reputation: 15
I had a problem similar to this on my Gentoo box not too long ago. It turns out that the fan that came with my CPU (a P4 3Ghz boxed) wasn't spinning fast enough, and the temp was getting up to about 180 F at one time. All I had to do was repalce the fan with a better model and I haven't had any more warnings.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I turn off my computer? DDRfreak2 Mandriva 9 09-12-2005 07:41 PM
Turn off the computer Alan Lakin Yoper 9 12-07-2004 03:00 AM
turn off computer spidna Slackware 2 08-12-2004 12:18 PM
How to turn off computer ginnytwo Linux - Software 10 07-27-2004 01:13 AM
Turn off the computer mtb Linux - Newbie 1 11-25-2002 02:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration