LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Why won't linux turn my computer off? (https://www.linuxquestions.org/questions/linux-general-1/why-wont-linux-turn-my-computer-off-98879/)

maestro52 10-01-2003 01:23 AM

Why won't linux turn my computer off?
 
This is a totally new experience and has only been happening since I bought my new ASRock K7VM2 motherboard. the last mb I had was an MSI K7T Pro and it worked just fine (until it died), in that my mdk 9.1 would power down and shut off the computer for me when I logged out. Now it powers down, but just sits there forever until I manually shut off the computer. Does anyone know what the problem is or might be?

All help will be greatly appreciated.

:scratch: :newbie: :scratch:

salparadise 10-01-2003 01:37 AM

no idea
but my computer is the same (different mobo)

so i'm adding to this in case anyone knows why

then i can sort mine too
(i thought it was supposed to be like that)

doh

ehdwuld 10-01-2003 02:01 AM

in kde
control center > kde componets > session manager

resett default behavior their

if your in gnome things may be slightly diff'rent

yapp 10-01-2003 04:14 AM

My computer didn't shut down too. It was like Windows 95, where it stated "It's now safe to turn off the computer".

After compiling my first kernel, with ACPI support (a bios feature for power management), the kernel was able to tell the bios it should power off.

If you want to compile a kernel for the first time, try to get the /usr/src/linux/.config file + other sources your distro has used to compile the kernel. (maybe on the source-cd-rom??) In this way, you'll have a complete configuration that at least, works.. it's easy to forget a few things in your kernel config if you're a newbie ;)

poloktim 10-01-2003 06:36 AM

Compile APM into your kernel.

If you have Debian run modconf (I'm not sure about other distros). It should work.

yapp 10-01-2003 09:44 AM

Quote:

Originally posted by poloktim
Compile APM into your kernel.

If you have Debian run modconf (I'm not sure about other distros). It should work.

what is modconf.. just curious.

For my kernel compiling, it's "just"
cd /usr/src/linux
make menuconfig
make dep
...bzImage, modules, .. modules_install
and copy the kernel+System.map, configure lilo ;)

:p

KB1IKN 10-01-2003 11:06 AM

try in a terminal shutdown -k now (enter) if that doesnt turn it off then try pulling the plug.

salparadise 10-01-2003 12:17 PM

in a terminal type (as root)
shutdown -h now

but

this will almost certainly make no difference

i have mandrake 9.1 on my computer
i set it up
and with this version as with mdk 9 redhat 7.3/8/9 and slackware,
all of which i have installed on this same box
none of them have ever shutdown the box totally
i have had to hit the switch (tho not hold it down for 4 secs)

on my sons pc, which i built
which has an Asrock motherboard in
mdk9.1
which i installed
switched the box off completely

perhaps a BIOS setting ??

i set my sons mobo to the turbo settings and left it that

Blinker_Fluid 10-01-2003 12:50 PM

Ever try the 'poweroff' comand?

yapp 10-01-2003 01:34 PM

I think all those commands only work if you have good APM or ACPI support :( ;)

KB1IKN 10-01-2003 02:06 PM

Sounds like ./pullouttheplug

Megamieuwsel 10-01-2003 02:09 PM

as root:
halt -p

works.

maestro52 10-01-2003 03:49 PM

I don't know what happened here. :scratch: Perhaps I did not make myself clear enough. :scratch: I am able to shut off my computer MANUALLY. I am able to use the power button on my computer. I am able to input shut down commands, and the computer does at least go through the appropriate log out and power down procedure.

HOWEVER! The problem is that Linux used to shut off my computer AUTOMATICALLY when it completed the logout/power down procedure and now after installing my new ASROCK K7VM2 mb it will not AUTOMATICALLY shut off the computer.

Running commands to shut off the computer is in no way an automatic process. I checked my KDE Control Center and the Session Manager in Components is and has already been set to shut off the computer after powering down. :scratch: :scratch:

I think there is a major possibility of something being wrong in the kernel, although I will check cmos again because of what Salparadise had said,

"on my sons pc, which i built
which has an Asrock motherboard in
mdk9.1
which i installed
switched the box off completely

perhaps a BIOS setting ??

i set my sons mobo to the turbo settings and left it that".

Still there are a few things that have to be considered.

1. I am a :newbie: and have no idea of what to do with the kernel. If anyone can tell me how and where to check the kernel to see if the powerdown/shut off the computer commands had been corrupted along with offering me the exact information I need to insert into the kernel and exactly where and how to put it in there correctly, while being as gentle with me as possible will be greatly appreciated.

2. Again, I am a :newbie: , but my ASRock K7VM2 was made SPECIFICALLY for Windows XP and some functions that are programmed into it for Windows most certainly do not work. So I am wondering if that may have somehow screwed the automatic shutoff. :scratch:

3. My ASRock does not have turbo, or at least I did not notice it. Of course, I am going to check cmos again.

Believe me when I say that I am very thankful for everyones effort to help me, but please remember that I am not haivng any problem using commands or using the computer power button to shut off my computer. It would just be nice as hell if I could get the AUTOMATIC COMPLETE SHUTDOWN back.
:scratch: :scratch: :scratch:

ehdwuld 10-01-2003 03:57 PM

Quote:

n kde
control center > kde componets > session manager

resett default behavior their

if your in gnome things may be slightly diff'rent

I saw the option in KDE
but have no idea where it would be in Gnome

still looking

salparadise 10-02-2003 01:15 AM

the turbo settings were in the save and exit menu in the BIOS
(just in case)


All times are GMT -5. The time now is 12:54 PM.