MandrivaThis 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.
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.
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!)
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.