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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
A little more information would be helpful. So shutdown -h now doesn't work? What happens when you issue that command? I have an aging Plll running Slackware 12.1 and to get it to fully shutdown I need to modify lilo.conf and add acpi=force.
Code:
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0 acpi=force"
boot = /dev/hda
When i use shutdown -h now it comes to an finishing line that says System halted.
Is that allright? Can i power off my machine then?
hitest, what do you mean with "fully shutdown"? You mean it have to go power off by its own?
*sorry for my bad english
Yes. You can power down then when it says system halted. If you want it to shut off completely when you issue shutdown -h now you can try to add acpi=force to /etc/lilo.conf with a text editor (see my code above). For example:
# nano etc/lilo.conf
When you make your changes make sure to run lilo to update lilo.conf.
* Added the line append=" vt.default_utf8=0 acpi=force"to my lilo.conf
* Runned my lilo before shuting down, doing /sbin/lilo
* Shutdown -h now
* It stayed like before, on System halted.
* Added the line append=" vt.default_utf8=0 acpi=force"to my lilo.conf
* Runned my lilo before shuting down, doing /sbin/lilo
* Shutdown -h now
* It stayed like before, on System halted.
Should i add the whole line ou only acpi=force ?
Thanks for the help so far guys.
Your line should look like mine; just add acpi=force to the end.
Edit: added later. Try a re-boot to see if that allows the changes to lilo to take effect.
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
Quote:
Dont know how old that is but maybe its using apm rather than acpi? Is there an apm kernel append line?
From the /usr/src/linux/arch/i386/kernel/apm.c kernel source file :
Code:
/*
* See Documentation/Config.help for the configuration options.
*
* Various options can be changed at boot time as follows:
* (We allow underscores for compatibility with the modules code)
* apm=on/off enable/disable APM
* [no-]allow[-_]ints allow interrupts during BIOS calls
* [no-]broken[-_]psr BIOS has a broken GetPowerStatus call
* [no-]realmode[-_]power[-_]off switch to real mode before
* powering off
* [no-]debug log some debugging messages
* [no-]power[-_]off power off on shutdown
* [no-]smp Use apm even on an SMP box
* bounce[-_]interval=<n> number of ticks to ignore suspend
* bounces
* idle[-_]threshold=<n> System idle percentage above which to
* make APM BIOS idle calls. Set it to
* 100 to disable.
* idle[-_]period=<n> Period (in 1/100s of a second) over
* which the idle percentage is
* calculated.
*/
I've tried mucking about with these but some older boxes (as in PII's) refuse to powerdown for me.
I thought Slackware was set up so that pressing (not holding) the power button will shut everything down. Additionally can't you always 'sudo init 0' ??
You the acpi config file has the power button to init 0 but it has never worked for me, although I'm glad cos a few times I've to hard reset by holding power button.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.