just installed tumbleweed with kernel 4.4.2.1 on my new HP Notebook - see the signature…
But i recognized that the shutdown-process does not work at all. The notebook does not shut down properly. In other words - i cannot turn off the sytem …
it freezes all.
by the way; this also happened with
openSuse Leap 42.1
ubuntu version 15.10
funny: only with OpenSuse 13.2 it worked well?!
why is this so - does this have to do with the different Kernel-Versions?
I had that problem with an older laptop. I think it started with opensuse 11.3. It hung/froze during shutdown. So, instead of shutdown, I would reboot. And on the grub menu of the reboot, I would power-off.
Somewhere around opensuse 12.3, it started to shutdown properly. But it’s 32-bit, so I cannot try with Leap.
I encounter a problem whenever I shutdown or restart; it kills all running processes (as far as I can tell), but once I get past the shutdown text screen and the screen goes black, my computer doesn’t power off. The fans still run and the screen is still on, etc. I have to hold down the power button in order to complety shut down.
this is **exactly what i encounter - 100 % **
the answer who had others found very helpful is the following:
Quote:
| Type in terminal:
|
sudo -i (to get a root shell, sudo gedit is not recommended)
gedit /etc/default/grub
Find the line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Change this to: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force"
Save the file and close the file.
Finally, in terminal: update-grub
exit (to end the root shell)
|
i think i try this out.
well i can try to re-booted and look at the messages file to see what it was doing for those 2 mins:
cat /var/log/messages
i will do more some investigations and come back and report all the findings…
The interface between the hardware power supply and the software has been evolving. And sometimes the software gets it wrong for the particular computer.
You could try compiling your own kernel, so that you get to set the options related to this.
I’m reminded of an older computer (long since gone to recycling heaven). It came with Win95, in 1995. And it worked pretty well. It’s the first computer that I put linux on.
A few years later, I upgraded to Win98. And on Win 98, it behaved in a very odd way. If it was left idle for a while, it wanted to turn off the monitor. But the act of turning off the monitor was enough for it to think the system was busy and turn it on again.
Some ideas regarding the issue: other guys who have bought the same notebook reccomended;:
…to install linux in Legacy Mode -
UEFI seems to make trouble
… have to add the kernelparameter “clocksource=acpi_pm”
and the following Linux mit dem Parameter "acpi=noirq
I doubt that, though it could be true of some hardware.
… have to add the kernelparameter “clocksource=acpi_pm”
and the following Linux mit dem Parameter "acpi=noirq
During boot, hit ‘e’ as soon as the boot menu shows. Then scroll down to the line starting “linux” (or might be “linuxefi”). Hit the END key to go to the end of that line. Then type in
clocksource=acpi_pm acip=noirq
and hit F10 to continue the boot. That allows you to test those changes.
If that works, you can make the changes permanent. Edit (as root) the file “/etc/default/grub” and look for the line that begins “GRUB_CMDLINE_LINUX_DEFAULT=”. Make the corresponding changes to the end of that line. Save the changes. Then run
I have found that over the years this is usually a problem with the Desktop’s shutdown code (You didn’t specify which Desktop you’re running).
The advantage of using the Desktop shutdown is that usually it provides for a graceful shutdown. The problem with some processes though, are that before we migrated to systemd and if you are still running sysVinit invoked apps, you can have orphan processes (or otherwise not fully managed). The workaround has been for a system timer to count down, causing a delay which only <hopefully> would be long enough for all processes to terminate, and is totally dumb because even if processes terminated earlier, the timer would still run.
In the past, when a Desktop had shutdown problems (for me, primarily in IceWM and sometimes LXDE, both which are currently fixed), I’ve simply opened a console and shutdown with the usual Linux command
shutdown -h now
The above causes a certain and immediate shutdown without regard to running processes. So, for example never run that command if you’re running a database app or risk data corruption.
OP - what happens when you switch to a terminal and do:
sudo poweroff
That can be the case, but really whatever the desktop is doing should translate to “poweroff”.
I’ve seen issues without a desktop running at all.
My little netbook for example, is running leap as a minimal server installation. Text only, so no X server or Desktop.
If I shut down with the AC power plugged in and switched on, and leave the lid open, it will boot back up on it’s own after a few seconds. There’s no wake on LAN. If I shut the lid after it powers off though it’s fine. It does not turn on by itself if I open the lid, only if shutdown while plugged in and lid left open…
It’s quite weird, but not too hard to manage.