LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-15-2008, 08:04 AM   #1
lancedance
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Rep: Reputation: 0
problem shutting down or reboot the machine.


hi, when I run shutdown -h now or reboot on my laptop, the machine will exit the Xwindows, and unmount some devices, or stop some apps, then shutdown. But my machine stop at the "md:stopping all md devices", and no longer responed. it will never shutdown until I shut it down by push the power button with my middle finger. I really don't know what to do... thanks advance.
 
Old 12-15-2008, 08:27 AM   #2
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Is your laptop very old? I have an aging Plll 667 IBM unit where I need to add some parameters to lilo.conf to get it to shut-down properly. This may help you.

Code:
# Append any additional kernel parameters:
append=" vt.default_utf8=0 acpi=force"
boot = /dev/hda
After you edit /etc/lilo.conf

Run

# /sbin/lilo

After your next re-boot that might do the trick.
 
Old 12-15-2008, 08:36 AM   #3
lancedance
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by hitest View Post
Is your laptop very old? I have an aging Plll 667 IBM unit where I need to add some parameters to lilo.conf to get it to shut-down properly. This may help you.

Code:
# Append any additional kernel parameters:
append=" vt.default_utf8=0 acpi=force"
boot = /dev/hda
After you edit /etc/lilo.conf

Run

# /sbin/lilo

After your next re-boot that might do the trick.
thank you for your help. my Pc is not very old, Pentium M. I found that in lilo there is no acpi=force, what dose the acpi=force do when the lilo boot or the computer shutdown.
 
Old 12-15-2008, 08:55 AM   #4
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Hi lancedance and welcome to LQ. The parameter you are asking about is mentioned in CHANGES_AND_HINTS which will be on you install media - it's worth reading. This is the relevant bit..
Quote:
If you have an older machine (with a BIOS released prior to 2001) and it will not power off on shutdown, try adding this to your kernel's lilo stanza:append = "acpi=force"
This forces acpi to be used even if it has defaulted to be off. For further information you may look at the documents
Code:
/usr/src/linux/Documentation/kernel-parameters.txt and
/usr/src/linux/Documentation/power/pm.txt
which will be on your system if you made a full install.

You could test this out without altering lilo then change lilo if it works. To do this when you boot up and see the Slackware logo and the lilo "Linux" prompt hit the tab key then enter "Linux acpi=force". This should boot up Slackware from a standard install and add the kernel parameter "aci=force". If this fixes you problem you may then alter lilo and reinstall to make the fix permanent.
 
Old 12-15-2008, 08:57 AM   #5
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,159
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
From the package description:

Quote:
acpid: acpid (ACPI daemon)
acpid:
acpid: Most modern computers support the Advanced Configuration and Power
acpid: Interface (ACPI) standard to allow intelligent power management.
acpid: This package contains acpid, which is the user-space daemon needed in
acpid: order to make the Linux ACPI support completely functional.
acpid:
acpid: ACPI must be compiled into the kernel to run acpid.
acpid:
"acpi=force" kernel option will ensure that ACPI is used (for whatever reason your system may decide not to use it if you do not force it)
 
Old 12-15-2008, 09:08 AM   #6
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by lancedance View Post
thank you for your help. my Pc is not very old, Pentium M. I found that in lilo there is no acpi=force, what dose the acpi=force do when the lilo boot or the computer shutdown.
You need to use a text editor to add acpi=force to your lilo.conf. Make your lilo.conf look like mine. For example, you could use nano:

# nano /etc/lilo.conf

Make your changes and then save by Ctrl+o and exit by Ctrl+x

Then run lilo: # /sbin/lilo
 
Old 01-13-2009, 09:40 AM   #7
moxieman99
Member
 
Registered: Feb 2004
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 425

Rep: Reputation: 147Reputation: 147
Thanks to all of you.

I am experimenting with Slackware 12.2 and have this problem. Nice to be able to search LQ and find the exact answer.

Moxieman
 
Old 01-13-2009, 01:58 PM   #8
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
my machine stops at the "md:stopping all md devices", and no longer responds.
Just an obvious note:

If the machine is old enough then the BIOS and power supply will not support ACPI. There is nothing that can be done programmatically. I have a box with an 1997 Asus TXP4 motherboard and old style power supply. When I boot the box the Linux kernel displays the message 'ACPI: unable to display the system description tables'. The acpi=force option won't work on this box. Yet even if I could update the BIOS the power supply does not support ACPI.

Quote:
If you have an older machine (with a BIOS released prior to 2001) and it will not power off on shutdown, try adding this to your kernel's lilo stanza:append = "acpi=force"
For those who tinker, that option can be modified during a kernel recompile. Set the year to zero (CONFIG_ACPI_BLACKLIST_YEAR=0) and then the acpi=force option is no longer necessary.
 
Old 01-14-2009, 12:42 AM   #9
lancedance
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Original Poster
Rep: Reputation: 0
My machine is a hp nc4010, made in 2005, I don't think it's too old. And the acpi=force dosen't work, any other good ideas? Thank you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
user reboot the machine shankarLe Linux - General 8 12-23-2007 11:29 PM
machine shutting down muddywaters Linux - Hardware 14 11-20-2006 09:42 AM
How to reboot the machine from Elive? Hungry ghost Linux - Software 5 04-26-2006 07:41 PM
Linux shutting down a windows machine. Pozican Linux - Networking 3 04-28-2005 05:57 PM
Machine keeps shutting down HwzrHlslndr Linux - Hardware 2 10-10-2004 05:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration