You are not logged in.

#26 2020-08-18 21:08:24

dani.sands
Member
Registered: 2020-08-15
Posts: 25

Re: System takes a lot of time to shutdown. (Help with debug)

Well as i saw that my log files are 85 mb I assume that I'm not logging the joutnalctl correctly and I need an specific command to do it. If you could teach me it will be awesome.

Offline

#27 2020-08-18 22:08:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,372

Re: System takes a lot of time to shutdown. (Help with debug)

Just a journalctl -b-1 after the relevant reboot should suffice, just without all the debug fluff by using the kernel parameters to set up debug logging

Offline

#28 2020-08-19 08:24:12

dani.sands
Member
Registered: 2020-08-15
Posts: 25

Re: System takes a lot of time to shutdown. (Help with debug)

V1del wrote:

Just a journalctl -b-1 after the relevant reboot should suffice, just without all the debug fluff by using the kernel parameters to set up debug logging

The output is:
Here is a couple during the reboot :
https://pastebin.com/JXxzRvC1
https://pastebin.com/rfVxUiyq
And one after rebooting.
https://zerobin.net/?407ab1859f170c93#N … OdKHgj9yc=

One kick question, is there personal information leaked in this logs? I mean apart from the username, hostname and some folder structures. Thanks

Last edited by dani.sands (2020-08-19 09:02:25)

Offline

#29 2020-08-19 09:34:41

scrouthtv
Member
Registered: 2019-10-15
Posts: 38

Re: System takes a lot of time to shutdown. (Help with debug)

For me, this was a problem with the nvidia drivers.
Do you have an nvidia graphics card? Do you use the nvidia driver (package

nvidia

)?

Offline

#30 2020-08-19 09:39:20

dani.sands
Member
Registered: 2020-08-15
Posts: 25

Re: System takes a lot of time to shutdown. (Help with debug)

scrouthtv wrote:

For me, this was a problem with the nvidia drivers.
Do you have an nvidia graphics card? Do you use the nvidia driver (package

nvidia

)?


Yep a 1060 with the nvidia drivers.

Offline

#31 2020-08-19 09:51:24

scrouthtv
Member
Registered: 2019-10-15
Posts: 38

Re: System takes a lot of time to shutdown. (Help with debug)

In this case I would suggest to try to isolate the issue by
- uninstalling nvidia
- installing xf86-video-nouveau (see https://wiki.archlinux.org/index.php/Xo … tallation)
- rebooting
Then, with the new driver try to shutdown now. Is it working as expected?

Offline

#32 2020-08-19 10:02:10

dani.sands
Member
Registered: 2020-08-15
Posts: 25

Re: System takes a lot of time to shutdown. (Help with debug)

If you read my previous posts this is something related to my user because in other users the system behaves normally.

Offline

#33 2020-08-19 12:44:14

scrouthtv
Member
Registered: 2019-10-15
Posts: 38

Re: System takes a lot of time to shutdown. (Help with debug)

What happens if you stop sddm using systemctl stop sddm, go into a new tty via CTRL ALT F3, log in using your user and then shutdown?

Offline

#34 2020-08-19 12:47:59

dani.sands
Member
Registered: 2020-08-15
Posts: 25

Re: System takes a lot of time to shutdown. (Help with debug)

Even running shutdown now from kde's terminal the system shutdowns instantly, is not a problem with systemd.

Offline

#35 2020-08-19 14:30:34

scrouthtv
Member
Registered: 2019-10-15
Posts: 38

Re: System takes a lot of time to shutdown. (Help with debug)

Simply running

 shutdown now 

from the terminal? Or with the

-f

flag?

Offline

#36 2020-08-19 14:33:05

dani.sands
Member
Registered: 2020-08-15
Posts: 25

Re: System takes a lot of time to shutdown. (Help with debug)

Without any flags.

Offline

#37 2020-08-20 10:16:51

scrouthtv
Member
Registered: 2019-10-15
Posts: 38

Re: System takes a lot of time to shutdown. (Help with debug)

Offline

#38 2020-08-20 10:43:00

dani.sands
Member
Registered: 2020-08-15
Posts: 25

Re: System takes a lot of time to shutdown. (Help with debug)

Is not a systemd issue.

Offline

Board footer

Powered by FluxBB