LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   problems shuting down (https://www.linuxquestions.org/questions/mandriva-30/problems-shuting-down-90117/)

highhighs 09-07-2003 05:36 AM

problems shuting down
 
hello all , i having problems shuting down mandrake 9.1 on an HP laptop, i tried turnin off apmd, acpi, nothing helpfull.
when i to shutdown it goes to a blackscree and nothing.



thank you

quatsch 09-07-2003 08:12 PM

Does the computer lock completely or can you still get to a text login by pressing ctrl+alt+Fn (anything between F1 upto F6).
If you can get to a text login, you could login and kill X manually by
killall X
and see what happens. Btw, this is just for diagnosis.

quatsch 09-07-2003 09:07 PM

Actually, I just remembered that I had shutdown problems when I first installed mdk9.1. I never used the graphical login so maybe this is a different problem from yours but here fwiw.

The problem I had was: I would become root, do shutdown -h now, and the box would seem to do nothing. It simply returned with a weird prompt, something like #;2R and then would just sit there as if nothing happened. But after pressing a few keys, it would proceed with the shutdown. There were discussions of this on the mandrakeclub forum. I'm not sure what the problem was. Some said nvidia and ati radeon cards but I have neither. Others said using utf8 as default coding was the culprit which is more likely in my case since that is what I had and since then don't.

In any case, to see if you might be suffering from the same problem, log out of your session, switch to a text console by ctrl+alt+f1, login, become root, and then do
init 3
this will kill the graphical login manager. If it seems to hang, press ctrl+c. You can check if it worked by pressing ctrl+alt+f7. If you see a blank screen, it worked. Go back to ctrl+alt+f1 and then do, as root,
shutdown -h now
and see what happens.

highhighs 09-08-2003 01:55 AM

yup i have the same problem as u, how can u change teh default utf8 ???,

quatsch 09-08-2003 08:56 AM

I actually did a reinstall (many times) because of other problems I had. When you choose expert mode you can choose to utf8 or not when it comes to choosing your language (maybe this is also true for normal mode) and I just made sure that there is no utf8.

BUT, before you do a reinstall. It might work if you get rid of all .utf-8 endings in your /etc/sysconfig/i18n file. You'll need to reboot for the changes to take effect. Also, remember that some people were confident that it was the graphics card - I'm sure they weren't b-s-ing; there might be several problems with the same symptoms.

Oddball79 09-08-2003 10:12 AM

Have you done any research on this? You may need to find out what it uses for a power manager and install the proper packages to use it. apm is one of the more popular ones, but you need to find which works for your machines. Their are lots of websites devoted to installing linux on laptops, with a little patience you should be able to find your answer. Just be grateful that you won't be sitting there waiting 45+ minutes for the kernel to rebuild when it comes time. I had to on my IBM Thinkpad 310ED 166MMX.

good luck!

Kramer 09-08-2003 08:22 PM

The same thing happens on my Compaq, and it has something to do with the ACPI, and Im pretty confident on this. Winhoe$ has ACPI built in, and from what Ive been told, thats what shuts your computer down at the end of the cycle. When I shut mine down, I have to manually turn it off by holding the power button for 5 seconds.

Oddball79 09-09-2003 12:40 AM

Quote:

Originally posted by Kramer
The same thing happens on my Compaq, and it has something to do with the ACPI, and Im pretty confident on this. Winhoe$ has ACPI built in, and from what Ive been told, thats what shuts your computer down at the end of the cycle. When I shut mine down, I have to manually turn it off by holding the power button for 5 seconds.
That the name of the other power manager! I know you can get linux to use ACPI, because I've seen it done. Again, it's time for some reaserch. I would do it, but I don't have a laptop that uses it so I couldn't tell you definitively what worked. I will warn you that it may require messing with the partitions. I know that the thinkpad that I used to have needed a small DOS partition for APM, and you might have to do something similar with ACPI.

robertjay 09-18-2003 10:58 PM

Did anyone get anywhere with this thread? I have the same problem, running Mandrake 9.1 on a Gateway Solo 9550 laptop. Everything works as it should, but when it goes to turn the power off, it doesn't. It actually just turns off the back light on my screen, if I look very carefully, I can still see the shutdown screen and all it typed.

Thanks,
Robert

LiquidZoo 09-19-2003 12:12 AM

I have never had a problem on my laptop (Dell Inspiron 8200) with it turning off. I don't do the shutdown -h now as root, when I log out to the command line, I just type halt as my user and it powers off just fine.

Just my $0.02


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