ArchLinux - Shutdown Problem
Welcome to the tutorial guide. The guide will provide a user with advise and guidance on how to manage the shutdown problems.
If your Eee won’t shutdown properly (i.e. the power indicator LED is on but the LCD screen is off), then add the following lines to your /etc/rc.local.shutdown file.
#! /bin/bash
#
# /etc/rc.local.shutdown: Local shutdown script.
#
# Comment or uncomment the following two lines according to your system configuration.
/etc/rc.d/mpd stop # If you’re using mpd, then you have to stop its daemon first.
/etc/rc.d/alsa stop # If you’re using ALSA daemon, then you also have to stop it.
# The following line is Eee specific fix, you always need to have this line in /etc/rc.local.shutdown.
echo -n “0000:00:1b.0″ > /sys/bus/pci/drivers/HDA\ Intel/unbind
The above solution should fix the shutdown problem in most cases. But if for some reason the problem still persists, the module may not be able to be unloaded until after all services have finished. Do the above, then in /etc/rc.shutdown move
if [ -x /etc/rc.local.shutdown ]; then
/etc/rc.local.shutdown
fi
from where it was to directly above the line
# Terminate all processes
this will cause the rc.local.shutdown script to run after services have been exited. This fixed all issues for the person editing this note.
Unclean unmount during shutdown when having home directory mounted on SD card
If you experienced unclean unmount during shutdown when having your home directory on SD card, then add the following 3 lines to “Write to wtmp file before unmounting” section of your /etc/rc.shutdown file:
…
stat_busy “Unmounting Filesystems”
/bin/umount -a -t noramfs,notmpfs,nosysfs,noproc
# Add these 3 lines
sync;sync;sync;
eject /dev/sdb # Or whichever is your SD-card’s device name. /dev/disk/by-uuid/ followed by the UUID identifier is preferable though.
sleep 3
# End of hack
stat_done
…
If you followed advice and guidance as provided in this tutorial guide then you would have learnt how to manage shut down problems.













