I have a freshly installed Lubuntu 14.04.1 (installed with forcepae
option on a laptop with Pentium M processor). The only problem that I have found so far is that I cannot shut-down or restart the laptop. It always continues showing "Lubuntu" and some dots. Pressing Esc
it says
wait-for-state stop/waiting
* Stopping rsync daemon rsync [OK]
* Asking all remaining processes to terminate… [OK]
* Killing all remaining processes… [fail]
ModemManager [597] : <info> Caught signal, shutting down…
ModemManager [597] : <info> ModemManager is shut down
nm-dispatcher.action: Could not get the system bus. Make sure the message bus daemon is running! Message: Did not receive a reply. Possible causes: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
* Deactivating swap… [OK]
* Will now halt
The cursor remains blinking but the only way to switch it off is to hold the power-off key pressed for some seconds.
I tried sudo shutdown -h now
, sudo halt
and sudo poweroff
resulting in the same problem.
I also tried to add acpi=force
in GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
in /etc/default/grub
and run sudo update-grub
; then, using the taskbar's shot-down button lead to a direct stop of the laptop equal to holding the power-off key pressed for some seconds.
Next I followed the answer https://askubuntu.com/a/202481/288322. Now, I directly receive some messages during shut-down starting
wait-for-state stop/waiting
* Stopping rsync daemon rsync [OK]
* Asking all remaining processes to terminate… [OK]
[ 240.944277] INFO: task kworker/0:2:24: block for more than 120 seconds.
[ 240.944461] Tainted: G S 3.13.0-34-generic #60-Ubuntu
[ 240.944623] "echo 0 > /proc/sys/kernel/hung_tasks_timeout_secs" disables this message.
followed by some more similar lines and then:
* Killing all remaining processes… [fail]
ModemManager [576] : <info> Caught signal, shutting down…
nm-dispatcher.action: Caught signal 15, shutting down...
ModemManager [576] : <info> ModemManager is shut down
* Deactivating swap… [OK]
* Will now halt
[ 600.944276] INFO: task kworker/0:2:24: block for more than 120 seconds.
[ 600.944458] Tainted: G S 3.13.0-34-generic #60-Ubuntu
[ 600.944619] "echo 0 > /proc/sys/kernel/hung_tasks_timeout_secs" disables this message.
Then, nothing more was coming during the next 5 minutes.
If you know where can I find relevant error information, I will be happy to search for them.
Following the advice below (@mintyfreshpenguin, https://askubuntu.com/a/515799/288322), i.e. using sudo halt -p
leads to a similar messages during shut-down:
wait-for-state stop/waiting
* Stopping rsync daemon rsync [OK]
* Asking all remaining processes to terminate… [OK]
* Killing all remaining processes… [fail]
ModemManager [564] : <warn> Could not acquire the 'org.freedesktop.ModemManager1' service name
nm-dispatcher.action: Caught signal 15, shutting down...
ModemManager [564] : <info> ModemManager is shut down
* Deactivating swap… [OK]
* Will now halt
[ 240.828234] INFO: task kworker/0:0:4 blocked for more than 120 seconds.
[ 240.944461] Tainted: G S 3.13.0-34-generic #60-Ubuntu
[ 240.944623] "echo 0 > /proc/sys/kernel/hung_tasks_timeout_secs" disables this message.
The last message [ 240.xxxxxx] INFO:
is repeated for:
task upowerd:1352
task halt:2081
task kworker:0:0:4
for [360.xxxxxx]
, [480.xxxxxx]
, [600.xxxxxx]
and perhaps even longer, but after [600.xxxxxx] INFO: task kworker/0:0:4 blocked for more than 120 seconds
came no more message for 10 minutes and I pressed the power-off button for some seconds.
Update Lubuntu 18.04
After using Debian with an older kernel for a while, I now switched back to Lubuntu 18.04.1. The shut-down is working better, but still not properly. Now, the last three lines that are shown when pressing ESC
directly at the beginning of the shut-down process are
[OK] Reached target Shutdown.
[OK] Reached target Final Step.
Starting Power-Off...
Then, nothing happens any more and I have to press the power-off button for some seconds to completely switch off the laptop.
Starting a shut-down log*, I found that the system tries to mount the hard drive again (EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
). I asked for help on this in https://askubuntu.com/a/563671/288322 and will "report" in case the problem can be solved.
*) As described in the "Debugging boot/shutdown problems" section of /usr/share/doc/systemd/README.Debian.gz (instruction found in https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1464917 provided by https://askubuntu.com/a/668695/288322).
Update February 2020
Since the last regular update (February 2020), shut down works just fine :) Try Lubuntu 18.04.4 if you experience the described problems.
echo "0" | sudo tee /proc/sys/kernel/hung_tasks_timeout_secs
to skip the 120 second block on kworker.