Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Reboot/Restart instead of shutdown (wheezy)

Need help with peripherals or devices?
Message
Author
dad
Posts: 3
Joined: 2013-01-19 10:01

Re: Reboot/Restart instead of shutdown (wheezy)

#21 Post by dad »

llivv wrote: ...

It's worth a try to see if this kernel fixes your machine as well
Download the kernel deb file
http://snapshot.debian.org/package/linu ... 4_3.2.13-1
then su to root and install using

Code: Select all

dpkg- i linux-image-3.2.0-2-amd64_3.2.13-1_amd64.deb
disclaimer: this may work if you use stock debian xserver and it's the same issue..
"If using the nvidia driver, you have to do everything required to rebuild
all the nvidia packages for the new kernel version, as always."
Thanks for advice, but still no luck with linux-image-3.2.0-2-amd64 (I used i386.deb since my debian is 32-bit) :( So probably it's a different issue.BTW nouveau/nvidia is not releted to my case, since I use integrated ATI(AMD) video RS740(free driver radeon on stock debian X). It seems unfortunately I need 2.6.x kernel, not 3.x.

User avatar
llivv
Posts: 5340
Joined: 2007-02-14 18:10
Location: cold storage

Re: Reboot/Restart instead of shutdown (wheezy)

#22 Post by llivv »

you could try another way to shutdown (it could help narrow the possible causes a bit.
and it's a good sequence to know anyway)

Logout of your desktop to your Session_manager screen. # GDM3/KDM/Other

Code: Select all

CTRL_ALT_F2
so you're at the VT2 login screen.

login
and su to root
or run the commands prefixed by sudo if you prefer.

Code: Select all

/etc/init.d/gdm3 stop
or depending on which you use.

Code: Select all

/etc/init.d/kdm stop
then

Code: Select all

/sbin/telinit 0
and see if that makes the box turn off.
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.

dad
Posts: 3
Joined: 2013-01-19 10:01

Re: Reboot/Restart instead of shutdown (wheezy)

#23 Post by dad »

llivv wrote:you could try another way to shutdown (it could help narrow the possible causes a bit.
and it's a good sequence to know anyway)

Logout of your desktop to your Session_manager screen. # GDM3/KDM/Other

Code: Select all

CTRL_ALT_F2
so you're at the VT2 login screen.
...

Code: Select all

/sbin/telinit 0
and see if that makes the box turn off.
Thanks, this really helped - manually stopping X makes my box correctly shutdown on 3.2.0-2 kernel.(have not tried 3.2.0-4 yet). So, this means the problem is related to X radeon driver(or kernel module) or maybe DRI driver.(was not loaded on 2.6.32 because it requires kernel version >= 2.6.34)

gandaalf
Posts: 3
Joined: 2014-04-27 10:14

Re: Reboot/Restart instead of shutdown (wheezy)

#24 Post by gandaalf »

I've got the same issue (restart after halting) on the latest debian 7.5 :(

uname -a

Linux jarvis 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3 x86_64 GNU/Linux

I also refresh the motherboard Bios Gigabyte H77M-D3H

Base Board Information
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: H77M-D3H
Version: x.x

BIOS Information
Vendor: American Megatrends Inc.
Version: F14
Release Date: 01/16/2014

But none of the solution above fixe the problem.

According to me, it's not a "wake up on lan" issue, cause the PC stop well if I boot and halt on Windows 8.

Any Help ? :wink:

User avatar
llivv
Posts: 5340
Joined: 2007-02-14 18:10
Location: cold storage

Re: Reboot/Restart instead of shutdown (wheezy)

#25 Post by llivv »

In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.

NuageBleu
Posts: 13
Joined: 2014-05-07 17:25

Re: Reboot/Restart instead of shutdown (wheezy)

#26 Post by NuageBleu »

I ran trough the same problem with both Wheezy and Jessie. I think it was a bit random with Wheezy, and more systematic to reboot instead of halting with Jessie.
Suddenly it got fixed, I did try to revert my bios changes to help your guys, but now it's always halting correctly.

May you have more luck to dig into this, I did:
- disabling TMP boot in bios (but it's still halting now it enabled again)
- enabled bios splash screen (but it's still halting now it enabled again)
- also kdm did crashed just before it got fixed... (it's a shame I can't remember which service exactly, but I remember it was a logging service)

So I guess, try to disable TMP, it may clear the last errors and may fix it.

gandaalf
Posts: 3
Joined: 2014-04-27 10:14

Re: Reboot/Restart instead of shutdown (wheezy)

#27 Post by gandaalf »

Thx for the answer?

Could you please explain what is TMP Boot ? And where I can find it on bios ?

tomdebian
Posts: 1
Joined: 2014-05-19 20:17

Re: Reboot/Restart instead of shutdown (wheezy)

#28 Post by tomdebian »

Hi,

I have the same Problem with ASUS h87i-plus. I want do shutdown the system from a script, i tried shutdown -hP now, poweroff, halt. Its always the same, the pc shut down and restart after a few seconds. Only if i turn off the wake-on-lan option in the bios, the system stay off. But this can not be the solution!

cheers
tomdebian

gandaalf
Posts: 3
Joined: 2014-04-27 10:14

Re: Reboot/Restart instead of shutdown (wheezy)

#29 Post by gandaalf »

I just noticed that removing the option "Resume By Alarm" fixed the problem (on my GigaByte H77M-D3H F14)

Alas, I need this option to switch on my PC to execute daily tasks with linux.

So that's not the good answer for me either.

User avatar
Odranoel
Posts: 21
Joined: 2014-07-28 10:57

Re: Reboot/Restart instead of shutdown (wheezy)

#30 Post by Odranoel »

I've had the same problem with mi Acer Aspire V5-571 (with Debian wheezy 7.6 installed), and tried many possible solutions (among them, using a different kernel version and changing the options of the GRUB_CMDLINE_LINUX_DEFAULT line in /etc/default/grub) but none of them worked. Finally, I found something interesting: if I shut down the computer while a usb is still inserted in one of the usb ports of the pc, it shuts down properly.

Wandering around the web, I found these pages:
http://askubuntu.com/a/294086
http://askubuntu.com/a/394980
(both also refer to http://www.pbehnke.com/main/node/11)
and the solution provided worked (I've followed the suggestions of the second page).

However, after doing so I encountered some problems with mounting devices with NTFS file system (I couldn't mount my external hd), and solved them removing the last line of /etc/fstab (see http://forums.debian.net/viewtopic.php?t=103033#p492545).

I hope this might help :)

masq
Posts: 1
Joined: 2015-07-12 20:00

Re: Reboot/Restart instead of shutdown (wheezy)

#31 Post by masq »

Hi everyone..
I had the same kind of issue with MSI B75IA-E33 rvr3.0 ITX motherboard, Debian Wheezy, when booting via WoL. But i really needed this machine to be booted with wol and sometimes to be halted remotely, so all corresponding options to wol in BIOS were ON. And after this awakening with magic packet the -first- shutdown -always- resulted in rebooting, what an annoying bug...
While searching web to find a solution i tried as some guys suggested, with no results :
- using older version of Debian
- using older version of kernel
- turning on an option in bios which provided awakening with mouse\ keyboard, and different combinations of these options.
- all kinds of acpi manipulation
And there was nothing unusual in logs..
Spent a whole day for this.
What helped was installing proper ethernet drivers. I remembered that when i installed debian wheezy and jessie, some message popped out, about installing non-free realtek package...
So whenever i installed this package, or not , it seemed like the ethernet interface was working properly, at full 1000mb/s speed. But it really wasn't.
The thing was the motherboard had Realtek RTL8111/8168 PCI Express Gigabit Ethernet controller, but the kernel module loaded was r8169.ko
After downloading and installing proper driver from http://www.realtek.com.tw/downloads/dow ... Down=false
the issue has gone..
I hope my post will help someone.
peace.

User avatar
gabineison
Posts: 1
Joined: 2016-08-10 13:38

Re: Reboot/Restart instead of shutdown (wheezy)

#32 Post by gabineison »

Hi all
I have the same problem.
Using Debian 8.5 Jessie with gnome 3.
Didn´t happen at first when i installed the SO but i wonder that some package added after cause this problem.
Want to have a good diagnose before running some of the possible solutions mentioned.
If someone can help me with some config checks, ill be grateful.

Thnx

Post Reply