LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-01-2004, 10:10 AM   #1
rkn
LQ Newbie
 
Registered: Nov 2004
Location: London UK
Posts: 6

Rep: Reputation: 0
Shutdown / Turn Off Problems


hiya, i recently disposed of Windows and stuck on Mandrake 10 Community Edition instead.... everything seems to be going ok (not that i really understand it) but when trying to turn off my computer it all goes wrong.

I choose shutdown and it starts the process but on the screen where it says "Shutting down" (or whatever) and has the progress bar, the bar gets stuck about 5% from the end and the computer stays on for ever and wont power off (not even with the power button) i have to pull the plug

Can anyone help?
(Oh and in newbie terms too pls - i dont really understand it!)

Thanx much!

Computer is PIII 450MHZ, 256 RAM, 15GB

Last edited by rkn; 11-01-2004 at 10:11 AM.
 
Old 11-01-2004, 10:39 AM   #2
bardinjw
Member
 
Registered: Apr 2003
Location: boston
Distribution: ubuntu debian redhat fedora
Posts: 108

Rep: Reputation: 15
while it's shutting down, hit escape so see the terminal output.
there might be errors printed there.
 
Old 11-01-2004, 03:39 PM   #3
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Also usually you need ACPI or APM enabled before Linux can fully shut off the system.
 
Old 11-02-2004, 12:57 PM   #4
rkn
LQ Newbie
 
Registered: Nov 2004
Location: London UK
Posts: 6

Original Poster
Rep: Reputation: 0
There are no errors when in verbose mode, it just gets to "Power Off" and then gets stuck there.....

How do i go about enabling ACPI or APM?

Cheers!
 
Old 11-02-2004, 02:39 PM   #5
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
You must determine what your machine uses first.

This is usually found in it's documentation.

Once you know it you must enable ACPI or APM accordingly.

Mandrake by default adds a kernel parameter called "acpi=ht".

This is done for compatibility with some "broken" motherboard chipsets but not needed on many machines.

It has the side effect of disabling the poweroff on many computers.

Instead remove that entry on the corresponding line (not the WHOLE LINE!) in /etc/lilo.conf and re-run the lilo command while logged in as root.


If your machine freezes during boot, reboot, choose another kernel, and again modify the file, but add "noapic" or "nolapic".

The above gets the kernel to recognize (and power down) your system.

Then if it works as root type in

chkconfig --add acpid

service acpid start

This will enable OTHER acpi functions including multimedia keys on your keyboard (but you may need a helper program such as acme, "urpmi acme"), orderly shutdown on powerbutton press, etc.

On laptops this will also enable lid closing evens, fan control, thermal monitoring, etc.

Last edited by opjose; 11-02-2004 at 02:41 PM.
 
Old 11-03-2004, 09:52 AM   #6
one_ro
LQ Newbie
 
Registered: Nov 2004
Location: Romania
Posts: 20

Rep: Reputation: 0
about shutdown

Hi there,

I am also a very newbie in Linux, and I had the very same problem.
Solution I found:

shutdown -h now

(-h stands for halt, which *really* means shutting down your system)

shutdown -r now

(-r stands for reboot)

HTH,
Adrian
 
Old 11-04-2004, 03:43 AM   #7
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
If shutdown -h worked for you, then you did NOT have the same problem.
 
Old 11-04-2004, 08:31 AM   #8
barrys
Member
 
Registered: Sep 2003
Location: London
Distribution: Susi 9.1, Man10 amd64, Man10.1
Posts: 243

Rep: Reputation: 30
Had the same problem on a laptop, until I found they had added a new trick for accidental shutdown -after 9.2 I think.

You have to hold the key in for several seconds before it will shutdown, maybe this happens with the
desktop. I have 10.1 but I switch off the power now when it says shutdown, as I expect one day they will get it right.


 
Old 11-04-2004, 04:30 PM   #9
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
IF the system is truely halted (which I doubt) then holding the power key is ok.

However usually when a "halt" occurs you see the message that it is safe to power down.

It appears only after the acpi function is sent that normally cuts power. At this points the drives are flushed and unmounted so a poweroff is ok.

However as I said, it is unlikely that this is happening as you do not see this message.

This also means that your drives are probably mounted and unflushed, so you may develope file system problems and errors over time that even the journal cannot correct.

Holding the power key is not a solution as it is akin to pressing the reset button while the computer is processing database records; namely not a good idea.
 
  


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
Please help on how to save services shutdown or shutdown from the terminal. wambuzz Linux - General 2 03-11-2005 07:38 AM
Linux full shutdown vs. manual shutdown? LQtoto Linux - General 9 01-26-2005 06:21 PM
unable to 'shutdown' from x... need to shutdown using 'halt' guitarnix Linux - Newbie 5 11-24-2003 01:00 AM
konsole shutdown possible? or key combo = shutdown possible? Laptop2250 Linux - Newbie 3 11-16-2003 10:44 AM
shutdown hang during eth0 shutdown kurtisw Linux - Networking 5 10-30-2003 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:56 AM.

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