LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   computer not completely shutting down (https://www.linuxquestions.org/questions/linux-newbie-8/computer-not-completely-shutting-down-144097/)

veritas 02-09-2004 12:04 PM

computer not completely shutting down
 
When ever i use the command 'shutdown -h -t 10 now' to turn off the computer, it goes through all of the kill stuff, but when it finishes, "Power Down" displays but the text remains on the screen. I can hear the hard drive shutting off (I think), but the computer power still stays on.

What do I need to change to get my computer to shut down completely?

LinuxSeeker 02-09-2004 12:08 PM

Try "shutdown -h now" (without these "")

slackie1000 02-09-2004 12:09 PM

hi !!

does your hardware supports apm/acpi??
I don't know about you, but in my case i had to recompile the kernel to get that ...
acpi was required ... and it is not included if you installed the classic "bare.i" kernel from slack 9.1 ...
if your hardware requires acpi, you have two options: recompile the kernel or reinstal the kernel from slack 9.1 cd choosing the "bare.i.acpi" kernel...
maybe you can give more information about your hardware and general setup...
take a look also at other threads.. i am sure i saw several threads about that..

Best Regards,

Slackie

veritas 02-09-2004 12:19 PM

LinuxSeeker: tried that before, still does the same thing.

slackie1000: I'm not at home right now, so I cant check out if my hardware supports APM, but i am almost 95% sure it does. I really want to avoid doing a new install, because i have compiled and installed so much stuff that was hard to do. So i guess i need to recompile my kernel. Are there any threads you could point me to that have info on compiling with APM?

Also, since I'm booting from a floppy, would it work if I found a precompiled kernel and just copied to the floppy, or do i still need to compile one to match my exact setup? (not really sure how kernels work)

Thanks,
Wes

slackie1000 02-09-2004 12:28 PM

that is the thing !!!
to compile a kernel, in my opinion, is to optimize your system performance finding all of your hardware and software requirements and put it to burn!!! Everything that is not necessary you leave out.. that why i think it will not work to get something prepared..
what you can do being relative new to this kernel world is :
try to reinstall only the kernel from the slack cd...
you can put the cd, i suppose you can boot that, and type setup ...
then you look around to the option to reinstall the kernel...
then you look for bare.i.acpi ...
this is exact the default kernel, bare.i, plus some power management capabilities..
i think this would be the faster way...
if you want to have some fun, try to recompile the kernel, saving the old, of course ...
i recommend DaOne guide ... you can do a search to find that....
just need to switch the acpi/apm capabilities at "power management setup" menu ...
before anything, check your hardware and see what is going on...
maybe, only
/sbin/modprobe apm
can save you...

Regards

Slackie

veritas 02-09-2004 04:02 PM

slackie, 'modprobe apm' as root did the trick. I was on a regular user, did su, modprobe apm, tested with 'shutdown -h now' and it.. worked. Maybe this means I won't have to compile after all. Should I put this command in a startup script, or will it be automatic from now on?

Lim45 02-09-2004 04:15 PM

Navigate to /etc/rc.d/, open "rc.modules" and uncomment the line "sbin/modprobe apm" It'll start up next time you reboot.

veritas 02-09-2004 04:17 PM

K, I'll do that. Thanks a bunch for the help everyone.


All times are GMT -5. The time now is 07:20 PM.