PDA

View Full Version : [xubuntu] Toshiba laptop in dual boot restarts after shutting down Xubuntu



Yannanael
October 8th, 2012, 06:42 PM
Hello,
I bought a new Toshiba Satellite C870-15J with Windows 7 installed.
Made a dual boot with Xubuntu 12.04.
When I shut down Xubuntu, the system seems to turn itself completely off, but after some seconds I hear a click, and the system reboots itself.
The same when I shut down via the terminal with "sudo shutdown -h now".
In the power manager I changed the value for the onn-off button to shut off, but still the same problem.
I also entered the bios and made sure every Wake-on-LAN-like-function is disabled.
In grub I changed GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to GRUB_CMDLINE_LINUX_DEFAULT="acpi=force quiet splash" as suggested in another thread. To no avail...
When I use the "Windows-side" and shut off, it stays off, which is why I think it can't be a hardware problem.
Can anybody help me? It is a new laptop and it's rather annoying it won't work as it should...
Thanks,
Yann

will1982
October 8th, 2012, 07:42 PM
Did you use Wubi?

daslinkard
October 8th, 2012, 08:24 PM
Hello,
I bought a new Toshiba Satellite C870-15J with Windows 7 installed.
Made a dual boot with Xubuntu 12.04.
When I shut down Xubuntu, the system seems to turn itself completely off, but after some seconds I hear a click, and the system reboots itself.
The same when I shut down via the terminal with "sudo shutdown -h now".
In the power manager I changed the value for the onn-off button to shut off, but still the same problem.
I also entered the bios and made sure every Wake-on-LAN-like-function is disabled.
In grub I changed GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to GRUB_CMDLINE_LINUX_DEFAULT="acpi=force quiet splash" as suggested in another thread. To no avail...
When I use the "Windows-side" and shut off, it stays off, which is why I think it can't be a hardware problem.
Can anybody help me? It is a new laptop and it's rather annoying it won't work as it should...
Thanks,
Yann
Does the PC shutdown correctly when you run the following sudo command:


sudo shutdown -h now

audiomick
October 8th, 2012, 10:45 PM
try


sudo shutdown -P now

I think that should shut it down properly. I doesn't answer the question as to why it is re-starting, but it might help you out until you find a proper solution.

sneaky1
October 9th, 2012, 03:45 AM
Hi. I bought a Toshiba Satellite Pro C850 a week ago and have had the same issues & symptoms, also with a Win7 dual boot setup. I use regular Ubuntu 12.04 though, installed from a cd.

None of the commands mentioned above worked for me, and I also tried "sudo poweroff" with the same results. I also tried rebooting, then shutting down from the login screen, but nope. I also tried a few shutdown-timer applications, with the same result - a reboot, not a shutdown.

I'm a newb & don't want to muscle in on someone else's thread, but if there's any way I can help to find a solution, please let me know. Thanks!

daslinkard
October 9th, 2012, 03:54 AM
What happens when you run the following commands:


sudo vi /etc/default/grub set

GRUB_CMDLINE_LINUX_DEFAULT="acpi=noirq quiet splash" then

sudo update-grub

sneaky1
October 9th, 2012, 04:32 AM
What happens when you run the following commands:

The problem persists for me. Cheers.

Yannanael
October 9th, 2012, 04:42 PM
Thanks for the tips, but they don't resolve the problem... Neither the "shutdown -P now" nor the
GRUB_CMDLINE_LINUX_DEFAULT="acpi=noirq quiet splash"The only way to shut down completely is waiting till the restart and then hitting the on-off button again... A way I don't really like.

Orphyrion
October 11th, 2012, 08:17 AM
Same problem here.

Bought and Acer Aspire v5-531g. Installed ubuntu 12.04 LTS next to windows 7. When I shut down ubuntu, my laptop shuts down, and a few seconds later boots up again. I can only properly shut down the laptop when i shut down through windows.

Reading that the above option hasnt worked for anyone, I havent tried it yet.

daslinkard
October 11th, 2012, 01:49 PM
Let's go a different route as my wife's PC was having a similar issue in which it would not reboot nor shutdown. How I fixed it was as follows:

Type in terminal:

1. sudo gedit /etc/default/grub

2. Find the line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

3. Change this to: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force"

4. Save the file and close the file. 5. Finally, in terminal: sudo update-grub

Let me know if this works for you.

Yannanael
October 11th, 2012, 05:16 PM
Doesn't work... and it gets stranger: I discovered the laptop does not show this behaviour when working on accu only: when I pull out the power cable before shutting off, it stays down, like it should.
I don't know if this could be a "solution" too for Sneaky1 and Orphyrion?

Orphyrion
October 13th, 2012, 03:18 PM
Didnt work for me either Daslinkard.

Not sure what Yannanael means, I tried a few things with my power cable but it keeps rebooting. If it works it sounds more like a workaround than a fix :(

sneaky1
October 14th, 2012, 06:30 AM
Wow! Yes that works for me, Yannanael. Thanks for that! I also tried Das' suggestion but no difference. Thanks too!

Orphyrion, what they meant was when you want to shut down, simply disconnect the power lead, then shutdown, and for us at least, it works as it's supposed to then. Definitely a workaround, but good enough for me. Best of luck.

Orphyrion
October 14th, 2012, 10:23 AM
Mine restarts regardless I have the power cord plugged in.

craigparker
October 26th, 2012, 03:26 AM
No fix for this yet, eh? I've got an Acer Aspire V5-571-6605 that's doing this too with Xubuntu 12.04. Getting the laptop was such a ruckus to begin with, I think my customer is going to kill me when I say "Oops -- too bad"
I installed laptop-mode-tools and found that a sudo shutdown -h now shut it down consistently with the power cord plugged in. On battery, no love. With the grub entry mentioned earlier, I had to hit the power button after the system halted. This may have to be the answer for now; I don't want them to have to type in their password to shut down (if I make a launcher for the shutdown -h command) But if anyone conjures up a fix for this, I'd be in love. Pepe Le Pew and a Cat kind of love. I might even send flowers!

bonzodog
December 5th, 2012, 11:18 PM
Hey guys, i was googling around for a solution to this, and someone using Fedora is suffering the same thing, but found out the cause; its connected to the USB Bus not powering down correcty.

He made a shutdown script adaption, however, its for Systemd based systems, not ubuntu.

If anyone can figure out how to implement this into Ubuntu, let me know.

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

kiro1000
February 8th, 2013, 02:20 PM
I had the same problem on my Toshiba Satellite C670D-10L and after days of search this works for me:

Open a terminal: Accessories/Terminal or Ctrl+alt+t

1. In the terminal type:




sudo gedit /etc/rc.local




2. In the rc.local file add, after comments:




echo " LID" > /proc/acpi/wakeup




like this:
.
.
# By default this script does nothing.
echo " LID" > /proc/acpi/wakeup
exit 0

3. Save and Restart