Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: titan on 2020/04/21, 12:05:54

Title: No shutdown or reboot after DU (solved)
Post by: titan on 2020/04/21, 12:05:54
It looks like a post upgrade  kernel issue so I  have now posted it here in the right section

After upgrade to  5.6.4 towo 2 and later 5.6.5 towo 1    shutdown and reboot doesn't work either from KDE  or terminal but all works as it should with 5.6.4 towo 1

Code: [Select]
inxi -a
CPU: Quad Core AMD Ryzen 5 2400G with Radeon Vega Graphics (-MT MCP-) speed/min/max: 1422/1600/3600 MHz
Kernel: 5.6.5-towo.1-siduction-amd64 x86_64 Up: 3h 02m Mem: 3309.0/6947.7 MiB (47.6%) Storage: 1.34 TiB (28.4% used)
Procs: 242 Shell: bash 5.0.16 inxi: 3.0.38
Title: Re: No shutdown or reboot after DU
Post by: hendrikL on 2020/04/21, 13:09:22
Well, I created a new $user.
Then I run some tests!

I can shutdown/poweroff or reboot the system out of kde (click) and also from the "konsole" with systemctl reboot and systemctl poweroff , so no problem at all!

Maybe it is related to your cpu?

Code: [Select]
~$ inxi -SCGx
System:    Host: hhl Kernel: 5.6.5-towo.1-siduction-amd64 x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: KDE Plasma 5.18.4
           Distro: siduction 18.3.0 Patience - kde - (201809172151) base: Debian GNU/Linux bullseye/sid
CPU:       Topology: Dual Core model: Intel Core i5 M 540 bits: 64 type: MT MCP arch: Nehalem rev: 5 L2 cache: 3072 KiB
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20215
           Speed: 1437 MHz min/max: 1199/2534 MHz Core speeds (MHz): 1: 1416 2: 1291 3: 1431 4: 1266
Graphics:  Device-1: Intel Core Processor Integrated Graphics vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0
           Display: x11 server: X.Org 1.20.8 driver: modesetting unloaded: fbdev,vesa resolution: 1440x900~60Hz
           OpenGL: renderer: Mesa DRI Intel HD Graphics (ILK) v: 2.1 Mesa 20.0.4 direct render: Yes
Title: Re: No shutdown or reboot after DU
Post by: titan on 2020/04/21, 13:18:09
What more can I say still works Ok with 5.6.4 towo 1. As you say probably CPU related. More info.

Code: [Select]
System:    Host: inc Kernel: 5.6.5-towo.1-siduction-amd64 x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: KDE Plasma 5.17.5
           Distro: siduction 18.2.0 Patience - kde - (201803072323) base: Debian GNU/Linux bullseye/sid
CPU:       Topology: Quad Core model: AMD Ryzen 5 2400G with Radeon Vega Graphics bits: 64 type: MT MCP arch: Zen
           L2 cache: 2048 KiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 57490
           Speed: 1422 MHz min/max: 1600/3600 MHz Core speeds (MHz): 1: 1422 2: 1480 3: 1420 4: 1420 5: 1420 6: 1421 7: 1420
           8: 1424
Graphics:  Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] vendor: ASUSTeK driver: amdgpu v: kernel
           bus ID: 08:00.0
           Display: x11 server: X.Org 1.20.8 driver: amdgpu unloaded: fbdev,modesetting,vesa resolution: 3840x2160~60Hz
           OpenGL: renderer: AMD RAVEN (DRM 3.36.0 5.6.5-towo.1-siduction-amd64 LLVM 10.0.0) v: 4.6 Mesa 20.0.4
           direct render: Yes
Title: Re: No shutdown or reboot after DU
Post by: hendrikL on 2020/04/21, 13:21:50
How did you upgrade?

Did you run "apt full-upgrade / apt-get dist-upgrade"?
Or did you a save upgrade with "apt upgrade / apt-get upgrade"?
Title: Re: No shutdown or reboot after DU
Post by: titan on 2020/04/21, 14:10:23
Same way as normal (for years) wajig update wajig distupgrade  I use wajig as it allows wajig new ( apt doesn't) and shows all new changes to repro. I don't think the way I upgrades makes any difference. Grub was also upgraded recently and a bit of searching suggest that may be an issue but I think it is only with my CPU as nobody else seems to have a problem.
Title: Re: No shutdown or reboot after DU
Post by: hendrikL on 2020/04/21, 16:04:26
Mh, can not tell you, don't know that.

But is "wajig new" not the same as "apt list --upgradable", after running "apt update"?

The only thing I have to mention is, that we are working with debian unstable!
I don't know how wajig can handle that.

Okay, apart from that, did you try the commands as root?

Ps.: What does the log files telling you, journalctl and so on!?
Title: Re: No shutdown or reboot after DU
Post by: towo on 2020/04/21, 16:49:13
I have 2 Ryzen systems, both have no problem with shutdown or reboot.
Title: Re: No shutdown or reboot after DU
Post by: titan on 2020/04/21, 20:15:44
towo, disappointing you were my hope for a solution  :(
Title: Re: No shutdown or reboot after DU
Post by: titan on 2020/04/21, 20:19:54
wajig is just a wrapper for apt. the new command shows what is new in the repro not what is upgradable, you can also see this in Synaptic but I normally just use terminal, as far as I know there is no apt command for this, I actually asked this on this forum a few year back
Title: Re: No shutdown or reboot after DU
Post by: hendrikL on 2020/04/21, 21:17:29
ok ok, but you did not give me an answer to my question!
Title: Re: No shutdown or reboot after DU
Post by: titan on 2020/04/21, 22:14:20
Well after two hours fannying about  :(   the latest kernel 5.6.6-towo.1-siduction-amd64 x86_64 has fixed it, thank towo  :)
Title: Re: No shutdown or reboot after DU
Post by: titan on 2020/04/21, 22:21:24
ok ok, but you did not give me an answer to my question!


Sorry, not sure what your question was, did I try as root yes I normally reboot from terminal as root after upgrade. Have I looked at journalctl log yes nothing to see all normal. I have spent all evening looking for a solution after towo said he had two ryzen cpu and no problem but latest kernel has fixed it.
thanks for help
Ian
Title: Re: No shutdown or reboot after DU (solved)
Post by: piper on 2020/04/24, 18:39:02
wajig has been around a couple of decades ;)
I used to use it, I don't anymore, but it is a nice front end.