LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   problem shutting down or reboot the machine. (https://www.linuxquestions.org/questions/slackware-14/problem-shutting-down-or-reboot-the-machine-690693/)

lancedance 12-15-2008 08:04 AM

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.

hitest 12-15-2008 08:27 AM

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.

lancedance 12-15-2008 08:36 AM

Quote:

Originally Posted by hitest (Post 3376147)
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.

bgeddy 12-15-2008 08:55 AM

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.

gegechris99 12-15-2008 08:57 AM

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)

hitest 12-15-2008 09:08 AM

Quote:

Originally Posted by lancedance (Post 3376163)
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

moxieman99 01-13-2009 09:40 AM

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

Woodsman 01-13-2009 01:58 PM

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. :)

lancedance 01-14-2009 12:42 AM

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.


All times are GMT -5. The time now is 09:06 AM.