Hello all.
I am stuck on a problem and I do not know what to do next, so I am looking for some hints and/or solutions.
I have the problem that my system reboots after I have told it to shut down. This problem affects all tested kernels 4.2.2, 4.0.5, 3.18.9 and 3.12.10 and occurs after an "intentional" reboot or cold start. After the computer is shut down and restarts itself after 1 or 2 two seconds ("unintentional" reboot), the next time the shutdown works.
Both ways of shutting down, via KDE GUI and shutdown -h now are affected in the same way.
The problem does not occur when I boot with an old Gentoo live USB stick (Gentoo live, Syslinux 4.07, 2013-07-25, kernel version 3.10.7-11), with a Kubuntu live system (Kubuntu 14.10, kernel version 3.16.0-23) or Windows 7, so I suspect it to be a Gentoo-only problem.
If I unplug the network cable the problem is gone. When shutting down the LED of my switch to which the computer is connected goes black for a second, lights up again and then, a second later, the computer reboots without being turned on. In the case when it stays turned off, the LED just goes black without turning on again.
The network adapter is a Realtek RTL8111/8168/8411 PCI Express Gigabit, the firmware driver is properly installed in the kernel.
The problem occurs since I had to exchange my old mainboard GA-Z77P-D3 for a new GA-Z97P-D3 due to a defect. In the BIOS (Firmware version F8, 18.9.2015) power on by keyboard, password and mouse are turned off. Erp is enabled, platform power management is disabled.
Given the fact that the other linux systems do not have this problem, I guess there'll be some problem with my kernel configuration. I found one similar thread here , but without any solution.
I'd be glad if someone could point me in some direction.
Regards
Marius
edit: Link syntax corrected


