PDA

View Full Version : [ubuntu] problem with shutdown



grobar87
October 6th, 2012, 03:08 PM
Hi,
Sorry for my english first.
I just install Ubuntu 12.04 on my new laptop Acer Aspire v5-571 and everything works fine, only one problem.. when i want to shutdown my laptop reboot instead of shutdown.
I install laptop mode tools package and now i can shutdown laptop but only when is connected on ac power, when is on battery still reboot instead of shutdown.
I need help with this.
Thanks.

daslinkard
October 6th, 2012, 03:27 PM
Are you able to shut down the PC by running the following sudo command:


sudo shutdown -h now

Also this link (http://askubuntu.com/questions/132143/stuck-on-reboot-and-shutdown) may help you....which is as follows:

sudo vi /etc/default/grub
then set

GRUB_CMDLINE_LINUX_DEFAULT="acpi=noirq quiet splash"
then

sudo update-grub

offgridguy
October 6th, 2012, 03:34 PM
I install laptop mode tools package and now i can shutdown laptop but only when is connected on ac power, when is on battery still reboot instead of shutdown.
I need help with this.
Thanks.

If you search the threads you will find this exact situation has been discussed
recently. I will have a look and post a link when I find it,

offgridguy
October 6th, 2012, 03:50 PM
Sorry but I can't seem to find the thread i want, lots of stuff under shutdown but the one that
mentioned AC power and batt. power, is still eluding me. I will let you know if I find it, I know it's there somewhere.

grobar87
October 6th, 2012, 04:29 PM
Sorry but I can't seem to find the thread i want, lots of stuff under shutdown but the one that
mentioned AC power and batt. power, is still eluding me. I will let you know if I find it, I know it's there somewhere.

Ok, thanks. I'll try to find that threat too.

grobar87
October 6th, 2012, 04:30 PM
Are you able to shut down the PC by running the following sudo command:


sudo shutdown -h nowAlso this link (http://askubuntu.com/questions/132143/stuck-on-reboot-and-shutdown) may help you....which is as follows:

sudo vi /etc/default/grubthen set

GRUB_CMDLINE_LINUX_DEFAULT="acpi=noirq quiet splash"then

sudo update-grub

I can't shutdown with "sudo shutdown -h now"... and i try your suggestion but problem is still there.

offgridguy
October 6th, 2012, 04:42 PM
Here's the thread I was thinking of, however it doesn't look like what you need, sorry.

Originally Posted by varunendra http://ubuntuforums.org/images/rebrand/buttons/viewpost.gif (http://ubuntuforums.org/showthread.php?p=12235882#post12235882)
In that case, the system wouldn't reboot also, while it does in OP's case. Reboot = full shutdown + re-start. :smile:

I have the same problem with my Asus X54C-261D laptop, albeit only when it is plugged into AC power. When on battery, it shuts down normally. Sometimes it also happens with Win7 I'm dual booting with, but rarely there. I doubt it to be some acpi related bug, but didn't find enough time yet to dig it. Besides, I don't mind unplugging for a sec. if it does the job. :smile:

I don't think that characterizes the problem. I've seen it happen a couple of times in the past week with the laptop unplugged (It's a Toshiba L-655). I've also encountered it once when the laptop was plugged in to AC power. So, this does seem to be a bug, but we've got to characterize it.

If anyone is familiar with the process, can ask/help us to characterize it. I'm sure there're a lot many people encountering this.

I'm going to try using the terminal for shutting down ubuntu for the next week.
http://ubuntuforums.org/images/rebrand/statusicon/user_offline.gif http://ubuntuforums.org/images/rebrand/buttons/report.gif (http://ubuntuforums.org/report.php?p=12242074) http://ubuntuforums.org/images/rebrand/buttons/quote.gif (http://ubuntuforums.org/newreply.php?do=newreply&p=12242074) http://ubuntuforums.org/images/rebrand/buttons/multiquote_off.gif (http://ubuntuforums.org/newreply.php?do=newreply&p=12242074)

grobar87
October 7th, 2012, 11:33 AM
Today i try Ubuntu 12.10 final beta .... but same problem :( I hope they will fix this soon. Thanks again for your replys.

bonzodog
December 5th, 2012, 11:34 PM
The cause of this problem HAS been found, its caused by the way in which linux shutsdown systems. However, the cause of the problem is very technical. It s a failure of the kernel to properly powerdown the USB Busses, because of the way the EFI BIOS works.

There is a workaround for this, but it was only figured out for systemd based inits, ubuntu's upstart will need a script modification in the shutdown scripts to get it working properly.

Problem is highlighted here:

http://www.pbehnke.com/main/node/11