HELP! -> Computer won't shut down! --> SOLVED <--
Greetings
Why is it that when I shut down my system, it won't turn off automatically? It comes to a point it annouces "power down" but it remains on... I'm using Vector Linux 5.0.1 SOHO (kernel 2.4.29) dual booted with Win XP. The boot loader is Lilo. My config is as follows: P4 2.4 Intel motherboard with chipset 850e 512mb Rimm hd 60gb primary master hd 80gb primary slave cd writer secondary master dvd writer secondary slave ati 8500 sb audigy Here's Lilo.conf: Code:
# LILO configuration file Code:
# CONFIG_OOM_KILLER is not set As for the inittab shutdown section I have: Code:
# What to do at the "Three Finger Salute". I have my bios fully acpi enabled, despite VL not having acpi neither apm enabled, but I need it for Win XP. Finnaly, I'm a heavy KDE user, so I really wanted to keep it having auto started and also to always shutdown from it. Any help really apreciated Thanks |
A common reason for the computer not shutting down after showing "Power down." is that the apm module isn't loaded. Check this with lsmod - the resulting listing will show the loaded modules. If it isn't loaded, load it with the command modprobe apm . Then see if it powers off properly.
Since you use Vectorlinux, which is Slackware based, there might be an out-commented line in /etc/rc.d/rc.modules, which reads #/sbin/modprobe apm . Remove the "#" and the APM module will be loaded in future boots. I'm unsure how ACPI and APM work together, or even if they should work together. I mean, I believe that if you use ACPI, it should take care of this by itself, end hence APM should be unnecessary. But, as I said, I'm not sure about this. |
Hi and thanks for your reply
My rc.modules didn't have "sbin/modprobe apm", so I descided to had it myself. But I still have the same problem. I think the VL kernel doesn't have the apm and acpi modules compiled by deafault. But even so, how do other VL users manage to have shutdown working properly? BTW, I'm posting here because in VL forums I didn't manage to get a solution... Thanks |
Hello
Does someone know anything about this problem? Thanks |
If you have an ATX motherboard (AT doesn't's support shutting down completely (i think)) you will need either acpi or apm installed
|
Considering you're running a P4, I would say you probably need to use ACPI, not APM. ACPI support can either be built into the kernel or not at all. There is no option to compile it as a module, only the ACPI features, button, thermal, etc... can be built as modules. To simply shut the system down you don't need any of those features, only ACPI. dmesg should show you if ACPI is enabled in the kernel.
Code:
lightning:/$ dmesg|grep ACPI |
Make sure that you don't use SMP-kernel if you have only one CPU. Your P4 might have ht-flag even though it doesn't have HyperThreading enabled. SMP+1 CPU does not shutdown properly.
|
Hi and thanks for your replies
Here's the only output of dmesg: Code:
BIOS-e820 000000001ffc0000 - 000000001fff8000 (ACPI data) thanks |
You dmesg output says you don't have ACPI compiled in your kernel.
Two ways I've got it to actually turn off the box: APM: In the kernel Code:
# Power management options (ACPI, APM) Code:
#### APM support ### Code:
# LILO configuration file to shut it down. And recently, thanks to Tinkster, it works with ACPI In the kernel Code:
# Power management options (ACPI, APM) And just issue # halt to shut it down. NB: The APM option is with a 2.4.29 kernel; ACPI is 2.6.11.5 but Tink says ACPI is what he uses and on both 2.4.x and 2.6.x kernels |
Hi
I didn't get very well the last post, I guess it's just because I'm a newbie. Anyway, I downloaded the standard acpi enabled vector linux kernel (2.4.29), here's my new boot/config: Code:
# ACPI Support Thanks |
If you want me to check your system, post the output of the following
commands and I'll just give her a look see. And while you're at it, what distribution is Vector Linux based on -- save me a Google search cause I don't remember. ;-) $ cat /etc/rc.d/rc.modules $ cat /etc/lilo.conf $ ls -alc /boot $ dmesg | grep ACPI How are you issuing the command to shut your computer down? |
Hi
Vector Linux 5.01 SOHO is based on Slackware 10.0 or 10.1, I'm not sure which one. Here's my rc.modules: Code:
### Update module dependencies ### Code:
# LILO configuration file Code:
total 6124 Code:
BIOS-e820: 000000001ffc0000 - 000000001fff8000 (ACPI data) Thanks |
Something is wrong with your ACPI configuration in the kernel,
perhaps, or maybe you don't have an ACPI motherboard? You should have more than those 2 lines for ACPI. Since it's really long, could you post your entire contents of /boot/config-acpi-2.4.29 at http://pastebin.com/ and then provide the link? Perhaps it's okay to post it in here, but I'd really like to get a look at the entire power management section, as well as how they might have structured their kernel different from the sources at kernel.org -- if they did. Specifically, is there no APM enabled in your config? Could you also post the output of "lsmod" here? And for shutdown you only need issue "halt" if it's working correctly for ACPI to shut the computer down. If you have the time, you might also search Google <Linux> for "shutdown from KDE" |
Hi
Here's config-acpi-2.4.29: http://pastebin.com/262089 Here's the output of lsmod: Code:
Module Size Used by Not tainted Thanks |
You've got APM as a module in the kernel, but it's not loading.
CONFIG_APM=m Try to uncomment it in /etc/rc.d/rc.M if Vector has that, and see what happens. That file should look like this: Code:
# Start APM or ACPI daemon. and if it is, then comment (put a # before) it out of that file. |
All times are GMT -5. The time now is 01:55 PM. |