SlackwareThis Forum is for the discussion of Slackware 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.
I run: "shutdown -h now"; I get the message "power down" (or power off) but my computer doesn't turn off - I have to shut down it manually. Can someone tell me, how to get my slackware9-box to turn off?
Originally posted by dukeem I run: "shutdown -h now"; I get the message "power down" (or power off) but my computer doesn't turn off - I have to shut down it manually. Can someone tell me, how to get my slackware9-box to turn off?
dukeem
You need to enable the APM module. Do a 'modprobe apm' and then it should work. To enable the apm permanently, look for the line in /etc/rc.d/rc.modules which refers to apm (its something like #/sbin/modprobe apm and remove the #. 'lsmod' should show the apm module running if all is well. Good luck and happy slacking.
on my system i'd got the same error. it seems that apm doesn't function, so i decided to compile a new kernel using acpi which works pretty good for me.
Originally posted by reclusivemonkey You need to enable the APM module. Do a 'modprobe apm' and then it should work. To enable the apm permanently, look for the line in /etc/rc.d/rc.modules which refers to apm (its something like #/sbin/modprobe apm and remove the #. 'lsmod' should show the apm module running if all is well. Good luck and happy slacking.
root@linux:~# modprobe apm
/lib/modules/2.4.20/kernel/arch/i386/kernel/apm.o.gz: init_module: No such device
/lib/modules/2.4.20/kernel/arch/i386/kernel/apm.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20/kernel/arch/i386/kernel/apm.o.gz: insmod /lib/modules/2.4.20/kernel/arch/i386/kernel/apm.o.gz failed
/lib/modules/2.4.20/kernel/arch/i386/kernel/apm.o.gz: insmod apm failed
vi /etc/rc.d/rc.modules
uncomment the line for the APM (save and close rc.modules)
insmod apm
lsmod (it should be listed apm)
shutdown -h now
It will power off on its' own now.
Originally posted by C++freak I am curious, what does apmd do, and is it in the init scripts by default, and do I need it to have my machine power down?
Thanks
As far as I recall, APM stands for Advanced Power Management??? apmd is the daemon, i.e. the program that monitors the apm from your computer's BIOS. All that means is that if you want your PC to power itself off when you shutdown, it needs to be running! Its more vital on laptops where it also helps with battery management.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.