Hangs at the end of shutdown
My computer hangs at the very end of the shutdown procedure.
It gets as far as "The computer will be halted immediately..." then a flashing marker _ and then it freezes. I have to manually power it off by either cutting the power or pressing the power button for some seconds. I have found a few threads dealing with the same or similar problems. Some suggest acpi problems, others some problem related to KDE and sound drivers. The latter seems to be more correct, cf. this thread. The solution mentioned there does not seem to work for me though. I have tried unloading snd_hda_intel and snd_hda_codec both in runlevel 3 and 1 before shutting down, but it still won't power off. Some have also managed to shut down properly by disabling alsa e.g. in yast before shutting down, but this does not work for me either. I use SuSE 10.2 with an intel DG965WHMKR motherboard. 'uname -a' gives: Linux monster 2.6.18.8-0.5-default #1 SMP Fri Jun 22 12:17:53 UTC 2007 i686 i686 i386 GNU/Linux I appreciate any help :) |
In my case I solved this problem by adding "acpi=force" as boot parameter of the boot manager, e.g.:
Code:
title=Gentoo Linux 2.6.21-gentoo-r4 |
ACPI has worked for me in the past too. I might suggest to rule it out in your mind, change your run level to boot up into console mode (no KDE) and shutdown form there. If it still hangs you at least know that there is a problem outside of KDE.
|
Thanks for helpful replys.
I tried setting acpi=force as a boot parameter with no effect. I also tried booting to runlevel 3 and then using # poweroff to power the machine off. Exactly the same happened. This at least signifies that KDE has got nothing to do with my problem. It seems like it is an acpi-related problem. I checked the BIOS too, just to be sure, but found nothing useful there. Also a friend of mine remembered that computers used to turn themselves off like this some years ago, before they managed to control their own power. You had to turn them off manually using the power button when they had shut down. I don't remember this but this is exactly what mine now requires. Another point in favour of acpi. Any ideas ? I'm not very familiar with acpi. I had a look at /var/log/acpid but found nothing useful. It mostly looks like repetitions of this: Sep 21 09:24:42 monster [acpid]: starting up Sep 21 09:24:42 monster [acpid]: 0 rules loaded Sep 21 09:24:44 monster [acpid]: client connected from 3693[101:102] Sep 21 09:24:44 monster [acpid]: 1 client rule loaded Sep 21 09:24:46 monster [acpid]: client connected from 4117[0:0] Sep 21 09:24:46 monster [acpid]: 1 client rule loaded Sep 21 09:24:48 monster [acpid]: client connected from 4385[0:0] Sep 21 09:24:48 monster [acpid]: 1 client rule loaded |
I really don't know - perhaps you could doublecheck if "PnP OS" is switched off in your bios - PnP is linked to ACPI for resource management. Otherwise you could try to manually remove all modules (do an lsmod to list the module names and remove each of them with modprobe -r <modulename>) just before powering off - it it still does not work you'll know that's not because of something hanging while removing modules during powerdown phase...
|
I guess this will have to be done in a very particular order, but I am not sure which. Can't seem to find any shutdown script either, since '/sbin/shutdown' is a binary file.
I had another look at my BIOS configuration, but there were actually no options mentioning PnP or Plug and Play. Below is the output from Code:
grep -i acpi /var/log/boot.msg >/tmp/boot.msg There is a line that might hint at a solution towards the middle of the file though: ACPI Exception (acpi_processor-0681): AE_NOT_FOUND, Processor Device is not present I did a quick web search but got nothing particular out of it. Code:
|
I have the same problem on my Ubuntu. 7,04
Looking around on the web I found this suggestion on an OpenSuse forum. He says that DSDT could help us. Quote:
I am a totally new user of Ubuntu so I can't test OpenSuse but maybe Suse have a similar way of fixing this DSDT? How much does OpenSuse and Suse and Ubuntu differ? if it works for OpenSuse then maybe it works for us too? |
In the fedora community one user wrote this:
Quote:
As a newbie I have no idea what he refers to as "desktops effects". how do I know if I have such in Ubuntu? |
Desktop effects
My problem has nothing to do with desktop effects at least. If I boot directly into runlevel 3 (shell only), I still have the same problem with shutdown.
I'll have a look at DSDT... |
Sorry, as you see all users do their best to help each other and what we really need is that the programmers of the Kernel if the problem are there could find a way to make it known.
That was why I asked. Are there any distro that doesn't have this problem? |
All times are GMT -5. The time now is 04:46 PM. |