Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-01-2004, 11:10 AM
|
#1
|
LQ Newbie
Registered: Nov 2004
Location: London UK
Posts: 6
Rep:
|
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 11:11 AM.
|
|
|
11-01-2004, 11:39 AM
|
#2
|
Member
Registered: Apr 2003
Location: boston
Distribution: ubuntu debian redhat fedora
Posts: 108
Rep:
|
while it's shutting down, hit escape so see the terminal output.
there might be errors printed there.
|
|
|
11-01-2004, 04:39 PM
|
#3
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
Also usually you need ACPI or APM enabled before Linux can fully shut off the system.
|
|
|
11-02-2004, 01:57 PM
|
#4
|
LQ Newbie
Registered: Nov 2004
Location: London UK
Posts: 6
Original Poster
Rep:
|
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!
|
|
|
11-02-2004, 03:39 PM
|
#5
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
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 03:41 PM.
|
|
|
11-03-2004, 10:52 AM
|
#6
|
LQ Newbie
Registered: Nov 2004
Location: Romania
Posts: 20
Rep:
|
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
|
|
|
11-04-2004, 04:43 AM
|
#7
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
If shutdown -h worked for you, then you did NOT have the same problem.
|
|
|
11-04-2004, 09:31 AM
|
#8
|
Member
Registered: Sep 2003
Location: London
Distribution: Susi 9.1, Man10 amd64, Man10.1
Posts: 243
Rep:
|
|
|
|
11-04-2004, 05:30 PM
|
#9
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 02:18 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|