28

I've recently installed Ubuntu 12.04 and I love it. However I have one problem- I am unable to shutdown or reboot properly.

When I shutdown my laptop (Acer Aspire 5560) it hangs on the 5 dots and stays there.

When I reboot my laptop it does shutdown but when it boots back up it stay's on the Purple screen (no logo what so ever)

Thing's I've I'd to stop this:

  • sudo service network-manager stop before shutdown - nothing

  • Adding some lines the the GRUB file - nothing

  • installed other Ubuntu versions - nothing
  • sudo shutdown -h now - nothing

and some more.

At the moment I see a black screen in front of me with the text

 Asking all remaining processes to terminate [OK]

And the 5 dots with only the last one orange.

On other tries I got this thing:

modem-manager:could not get the system bus......

I first had Ubuntu dual boot Windows. And then it worked fine. However after a fresh install of Ubuntu alone I got this.

htorque
  • 64,798
Max Beer
  • 281
  • 1
    Update: now got an error: "unmount: /run/lock: not mounted" "Will now halt" – Max Beer May 05 '12 at 15:51
  • 1
    I think it has something to do with the power management on the Acer and the board is not getting the proper signal or misinterpreting the signal it gets. I've got the same model and working on the same issue. –  May 09 '12 at 14:18
  • 1
    Update: installed other distros (mint, fedora) both work! This means it has something to do with ubuntu itself and not my laptop. – Max Beer May 11 '12 at 19:21
  • I am experiencing the same problem on my Acer laptop. This was not like this before when I fresh installed Ubuntu. I guess an update must have caused this for me. Does the fixes suggested below work? – ultrajohn Sep 12 '12 at 22:44

7 Answers7

17

I had a similar problem with a Dell XPS 15z which I resolved by adding acpi=noirq to the kernel arguments:

sudo editor /etc/default/grub

set

GRUB_CMDLINE_LINUX_DEFAULT="acpi=noirq quiet splash"

then

sudo update-grub

Note that previously I had been using acpi=off, which permitted me to boot, but not shutdown. Without any acpi flag, I was not able to boot.

Pablo Bianchi
  • 15,657
user62664
  • 171
  • 1
    This did the trick for me, thanks. Running 12.04 64-bit on a Dell XPS M1530. – Gemini14 Jun 29 '12 at 23:35
  • How exactly do you update the grub? I mean when I type sudo vi /etc/default/grub the grub file appears in the terminal. But how do I edit it? – Della Jul 05 '13 at 13:01
  • 1
    @Barman This link should help you http://www.keyxl.com/aaab462/105/VIM-Text-Editor-keyboard-shortcuts.htm – Keen Sage Aug 11 '13 at 16:20
  • This didn't worked for me – Keen Sage Apr 30 '14 at 09:01
  • Adding acpi=noirq fixed the reboot problem but also disable my builtin keyboard and mouse. I can only use my laptop using external mouse and keyboard. – ninjascorner Jul 23 '14 at 03:27
  • The fix above also resolved my issue with my Ubuntu 12.04.5 desktop running on VM Player 6.0.3. By default the GUI shutdown would restart the system, after apply the "acpi=noircq", the system will now shutdown via the GUI. – Zachary Oct 01 '14 at 18:31
  • Didn't worked for acer v5-571 – Fakabbir Amin Nov 15 '15 at 06:34
5

You may try to these commands into terminal

For shutdown:

sudo halt

For shutdown:

sudo init 0

For restart:

sudo init 6

For shutdown:

sudo shutdown -h now

For hibernate:

sudo /etc/acpi/hibernate.sh
galoget
  • 2,963
2

I got a hack from this link -- http://www.pbehnke.com/main/node/11, for some reason if the usb controls are set to auto, the shutdown-reboot loop starts. The solution was to make them on forcefully.

I have added a function in the /etc/init.d/halt script like this --

# Add this function in the /etc/init.d/halt script
# call before do_stop
set_usbs_on () {
    usbcontrolpath="/sys/bus/usb/devices/*/power/control"
    for dev in $usbcontrolpath;
    do
        echo "Setting $dev: " `cat $dev` "to on"
        echo on > $dev
        echo ""
    done
}

and I call it before do_stop in case $1 stop switch --

stop)
    set_usbs_on
    do_stop
    ;;

Now the machine shuts down.

ramgorur
  • 340
  • this was working. at some point it has now stopped working (don't know when as the computer is generally on 24/7). if you execute in a terminal then first then poweroff will work. if you don't then machine reboots (kubuntu 15.04 / asus z68 / i5-2500k) – northern-bradley Jun 20 '15 at 16:24
  • yes, if you execute the commands on the terminal it will work only for that session. To make it permanent, you need to modify the /etc/init.d/halt file as described above. – ramgorur Jun 22 '15 at 08:03
  • the code is in /etc/init.d/halt and has been all the time (both when it worked and since it has stopped working). since found out that the halt service is masked. just have to fathom out how to unmask it as systemctl umask halt does not appear to be working – northern-bradley Aug 16 '15 at 23:02
  • It works well, but since ubuntu 15.10 onwards made systemd as default... it works only after "Permanent switch back to upstart". https://wiki.ubuntu.com/SystemdForUpstartUsers – Fakabbir Amin Nov 15 '15 at 06:37
0

The only thing that I needed to do was to press Ctrl+Alt+T to open the terminal. When it opens, run the command below

sudo update-grub

and now it's working fine.

Peachy
  • 7,117
  • 10
  • 38
  • 46
zoky
  • 9
0

Same issue with spurious hangs "on the 5 dots". I've read somewhere (cannot remember where) to first "Log Out" (top right corner menu) and then shutdown. I've been doing this for more than one month now with no more issue.

0

I'm no expert but i loaded BARTpe to get to a command promt and reinstalled bios it booted straight to the hard drive guess it couldnt see it just try to load default in your bios might not have to update

Kenny
  • 1
  • What do you mean by "reinstalled bios"? What exactly did you do? – MadMike Jan 20 '15 at 09:13
  • 1
    Just to serve as a slight explanation, BARTpe is a bootable Windows environment, which by extension would allow you to run BIOS firmware patchers which are commonly Windows-only applications. I'm not sure how that would help but that's what is being suggested here. – Oli Jan 20 '15 at 11:35
0

I realize this is a super old post, but I found the REAL answer for this model. It's not Ubuntu, it's the Aspire.

From the ubuntu bug registry: (link)

It seems that is BIOS/UEFI bug, so there is no solution to fix it on 5560g if planning use efi.

A user on TomsGuide confirms this is the case even when installing Windows:

The problem is, that the ACER Aspire 5560G model somehow (don't ask how {maybe BIOS related?}) can't shut down properly (freeze) when the OS is installed in a GPT partition style.

Again from the bugs page a workaround: (link)

WORKAROUND: using gdisk convert gpt to mbr, setup boot-repair, restore mbr and then restore grub

Lot's of work to fix such a small thing. Some users have suggested that a BIOS update my help.

DISCLAIMER: I cannot confirm any of this outside that the error occurs, and that windows does indeed experience the same issues when installed with gpt. If I do decide to follow the workaround (very risky) or update the BIOS (even more risky) and get some further results I'll update.