You are not logged in.

#1 2019-11-07 13:36:47

ekzotic
Member
Registered: 2019-11-07
Posts: 10

System slow after shutdown, fine after reboot

Hello! Recently I have weird issue with my system that after shutdown it takes a longer time to boot and system is very slow (like 100x) and unusable. If I reboot it works fine. It started maybe couple weeks ago on Helium and I decided to format it and reinstall Lithium and still have the problem. I think it worked fine before I tried to put system to sleep and it was not able to wake properly which is strange because I reinstalled clean system and shutdown still doesn't work normally. Don't know where to look.

My system is i5 2550k 8gb ram gtx680, no swap and 15gb system partition on hdd for the system.
Disk usage 6gb/15gb

I have haveged installed.
During boot I see some ACPI errors but I think they were always there.
I also have Win10 and it works fine.

Offline

#2 2019-11-07 15:43:53

damo
....moderator....
Registered: 2015-08-20
Posts: 5,150

Re: System slow after shutdown, fine after reboot

As a first step you can look at the boot information to see what is causing the slowdown

sudo journalctl -b
systemd-analyze blame

Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2019-11-07 18:42:42

ekzotic
Member
Registered: 2019-11-07
Posts: 10

Re: System slow after shutdown, fine after reboot

Hi! Thanks for response. Made the logs
After shutdown
https://paste.debian.net/hidden/8415ad0c/
After reboot
https://paste.debian.net/hidden/3d1dbde4/

Offline

#4 2019-11-07 22:44:06

damo
....moderator....
Registered: 2015-08-20
Posts: 5,150

Re: System slow after shutdown, fine after reboot

Look at those delays with NetworkManager and the tor messages ("Problem bootstrapping", "Network unreachable" etc).
And is this relevant?

Nov 07 21:13:33 bunsen Tor[582]: OpenSSL version from headers does not match the version we're running with. If you get weird crashes, that might be why. (Compiled with 1010101f: OpenSSL 1.1.1a  20 Nov 2018; running with 1010104f: OpenSSL 1.1.1d  10 Sep 2019).
Nov 07 21:13:33 bunsen Tor[582]: Tor 0.3.5.8 running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1d, Zlib 1.2.11, Liblzma 5.2.4, and Libzstd 1.3.8.
Nov 07 21:13:33 bunsen Tor[582]: Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Nov 07 21:13:33 bunsen Tor[582]: Read configuration file "/usr/share/tor/tor-service-defaults-torrc".
Nov 07 21:13:33 bunsen Tor[582]: Read configuration file "/etc/tor/torrc".

Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#5 2019-11-08 02:23:30

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 5,943
Website

Re: System slow after shutdown, fine after reboot

"No swap" would be a problem if "put system to sleep" meant hibernation. I don't think it affects suspend though.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Online

#6 2019-11-08 09:48:29

ekzotic
Member
Registered: 2019-11-07
Posts: 10

Re: System slow after shutdown, fine after reboot

damo wrote:

Look at those delays with NetworkManager and the tor messages ("Problem bootstrapping", "Network unreachable" etc).

That's the Tor browser. I tried to remove it and same thing happens. Tried to disable NetworkManager service, same thing.

johnraff wrote:

"No swap" would be a problem if "put system to sleep" meant hibernation. I don't think it affects suspend though.

I did a clean install and have never used sleep mode. Good to know though.
It feels like hard drive is very slow after shutdown. (But it's fine in Windows) And CPU almost idle.

Offline

#7 2019-11-08 15:19:32

ekzotic
Member
Registered: 2019-11-07
Posts: 10

Re: System slow after shutdown, fine after reboot

Well I'm about to give up on this and reinstall clean system. I tried new kernel, grub options, various bios settings looking through logs and I found nothing.

Offline

#8 2019-11-08 15:33:02

clusterF
Member
Registered: 2019-05-07
Posts: 229

Re: System slow after shutdown, fine after reboot

ekzotic wrote:
damo wrote:

Look at those delays with NetworkManager and the tor messages ("Problem bootstrapping", "Network unreachable" etc).

That's the Tor browser. I tried to remove it and same thing happens. Tried to disable NetworkManager service, same thing.

did you

# systemctl disable tor.service

if you no longer want to use tor?

It looks from your logs that tor is not setup correctly.

Last edited by clusterF (2019-11-08 15:33:34)

Offline

#9 2019-11-08 15:43:03

ekzotic
Member
Registered: 2019-11-07
Posts: 10

Re: System slow after shutdown, fine after reboot

I disabled service like you wrote and it did not help the problem. I'm also not a pro in linux so I installed it like apt-get install torbrowser-launcher or something like that.

Last edited by ekzotic (2019-11-08 15:46:52)

Offline

#10 2019-11-08 15:55:51

clusterF
Member
Registered: 2019-05-07
Posts: 229

Re: System slow after shutdown, fine after reboot

ekzotic wrote:

I disabled service like you wrote and it did not help the problem. I'm also not a pro in linux so I installed it like apt-get install torbrowser-launcher or something like that.

How did you install torbrowser-launcher? Do you have backports enabled to install it as it is not available in the main repos as far as im aware.

also what is the output of below?

apt list tor -a

Last edited by clusterF (2019-11-08 16:05:01)

Offline

#11 2019-11-08 16:31:21

ekzotic
Member
Registered: 2019-11-07
Posts: 10

Re: System slow after shutdown, fine after reboot

tor/buster-backports 0.4.1.6-1~bpo10+1 amd64
tor/stable,now 0.3.5.8-1 amd64 [installed,automatic]

it has auto updater built in

Last edited by ekzotic (2019-11-08 16:33:36)

Offline

#12 2019-11-08 16:58:15

clusterF
Member
Registered: 2019-05-07
Posts: 229

Re: System slow after shutdown, fine after reboot

Is the computer a laptop? Maybe you need laptop-mode-tools. Without any detailed info ive really no idea on your issue sorry. dmesg is a better dbugging tool for things like this.

Offline

#13 2019-11-08 18:32:48

unklar
Member
Registered: 2015-10-31
Posts: 944

Re: System slow after shutdown, fine after reboot

systemd has a debug-shell for your case.
You should activate it with :

systemctl enable debug-shell.service
systemctl start debug-shell.service

Then you as a user shut down the system. During the "hangover" you switch to this shell with Ctrl+Alt+F9.
There you are immediately root and you can either use

systemctl status

see which processes are still there from the user
or

systemctl list-jobs

tells you what processes wait and run. Those with "running" block those with "waiting".


If you found the one with "running", you can with

systemctl status xxxx.service

see what the job needs.

When you've done that, get in touch...   smile

Offline

#14 2019-11-08 18:47:24

BLizgreat!
Resident Babbler - vll!
Registered: 2015-10-03
Posts: 1,052

Re: System slow after shutdown, fine after reboot

Absolutely no factual/technical basis for this. Just saying. smile

Might try setting up a swap (perhaps swapfile) but personally would go for a dedicated partition. Still getting my head around all this systemd stuff. Though wouldn't be surprised what all has been integrated into it, stuff like the now discontinued systemd-readahead jazz and perhaps the dev's stole a play from M$ (fastboot) kinda thing and may or not stash stuff in swap. Again ... not even saying this is so, though why not give it a try ? Up to you, END TRANSMISSION.

PS, also just for the record, personally will always have a swap partition myself. Even if I never hibernate anyway. Each their own though, yada, yada. smile

Last edited by BLizgreat! (2019-11-08 18:48:42)

Offline

#15 2019-11-08 23:21:59

ekzotic
Member
Registered: 2019-11-07
Posts: 10

Re: System slow after shutdown, fine after reboot

Thanks for the help! I already wiped the system and installed simple Debian for now. But I'd rather use Bunsen tbh. I'll get in contact with you later, cheers.

Offline

#16 2019-11-09 05:30:18

ohnonot
...again
Registered: 2015-09-29
Posts: 4,092
Website

Re: System slow after shutdown, fine after reboot

FWIW, 34s for Network-Manager.service was clearly your culprit and would have warranted a closer look.
Additional info could've been gleaned from

systemd-analyze critical-chain

Could've, would've ...

Offline

#17 2019-11-09 08:58:44

unklar
Member
Registered: 2015-10-31
Posts: 944

Re: System slow after shutdown, fine after reboot

@ekzotic, yes unfortunately...

ohnonot wrote:

FWIW, 34s for Network-Manager.service was clearly your culprit and would have warranted a closer look.
Additional info could've been gleaned from

maybe I misunderstood everything. But he wrote:
System slow after shutdown, fine after reboot  hmm

Offline

#18 2019-11-09 12:36:16

ekzotic
Member
Registered: 2019-11-07
Posts: 10

Re: System slow after shutdown, fine after reboot

Hi! I experience the same behavior in Debian. I notice this error during boot.

Nov  9 01:09:36 debfail kernel: [    9.877415] r8169 0000:03:00.0: firmware: failed to load rtl_nic/rtl8168f-1.fw (-2)
Nov  9 01:09:36 debfail kernel: [    9.877556] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
Nov  9 01:09:36 debfail kernel: [    9.877688] r8169 0000:03:00.0: Direct firmware load for rtl_nic/rtl8168f-1.fw failed with error -2
Nov  9 01:09:36 debfail kernel: [    9.877691] r8169 0000:03:00.0 enp3s0: unable to load firmware patch rtl_nic/rtl8168f-1.fw (-2)
Nov  9 01:09:36 debfail kernel: [    9.877888] RTL8211E Gigabit Ethernet r8169-300:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=r8169-300:00, irq=IGNORE)
Nov  9 01:09:36 debfail kernel: [    9.981714] IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready
Nov  9 01:09:36 debfail kernel: [    9.982119] r8169 0000:03:00.0 enp3s0: Link is Down
Nov  9 01:09:39 debfail kernel: [   12.497660] r8169 0000:03:00.0 enp3s0: Link is Up - 1Gbps/Full - flow control rx/tx

I checked Bunsen logs and I don't see error there

Last edited by ekzotic (2019-11-09 13:00:42)

Offline

#19 2019-11-09 14:03:41

unklar
Member
Registered: 2015-10-31
Posts: 944

Re: System slow after shutdown, fine after reboot

The two have nothing to do with each other!

1. in debian the firmware for the module r8169 is missing
This is owed to the "philosophy" of debian. You have to activate the nonfree repos here to get the firmware.

2. would you please confirm again:
Your thread referred to the slow (1:30 min) shutdown ?

Offline

#20 2019-11-09 15:12:21

ekzotic
Member
Registered: 2019-11-07
Posts: 10

Re: System slow after shutdown, fine after reboot

Not slow shutdown, but after shutdown system is slow. Like it takes minutes to open Chrome browser and extensions crash.
After reboot it's fine.
And I can't find anything other than reboot and shutdown is the same thing.

Offline

#21 2019-11-09 15:35:22

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 649

Re: System slow after shutdown, fine after reboot

ekzotic wrote:

... but after shutdown system is slow ...

Funny thing, after I shutdown my system nothing really works, no picture on monitor  devil

Do you mean:

1) shutdown system (isn't slow)
2) next power on and boot, and system is slow
3) reboot, and now system is again normal (i.e. not slow)

It might mean that the on board device need a bit more time to wake up. Which one? Perhaps those ACPI errors could be informative?

What if instead

3) reboot

you do

3a) shutdown
3b) power on

If system is slow, then it would mean that there is a difference between 'shutdown+boot' and 'reboot'. Again, seems like boot up from shutdown is too fast for some hardware?


Postpone all your duties; if you die, you won't have to do them ..

Offline

#22 2019-11-09 15:42:17

clusterF
Member
Registered: 2019-05-07
Posts: 229

Re: System slow after shutdown, fine after reboot

maybe you could get some better info via dmesg by watching its output for awhile? Could be a hardware issues.

sudo watch "dmesg | fold -w$COLUMNS | tail -n$((LINES-2))"

Offline

#23 2019-11-09 17:30:59

unklar
Member
Registered: 2015-10-31
Posts: 944

Re: System slow after shutdown, fine after reboot

unklar wrote:

2. would you please confirm again:
Your thread referred to the slow (1:30 min) shutdown ?

ekzotic wrote:

Not slow shutdown, but after shutdown system is slow. Like it takes minutes to open Chrome browser and extensions crash.
After reboot it's fine.
And I can't find anything other than reboot and shutdown is the same thing.

Well, then I got it wrong. Sorry

Offline

#24 2019-11-09 18:18:15

ohnonot
...again
Registered: 2015-09-29
Posts: 4,092
Website

Re: System slow after shutdown, fine after reboot

ekzotic wrote:

Hi! I experience the same behavior in Debian. I notice this error during boot.

Nov  9 01:09:36 debfail kernel: [    9.877415] r8169 0000:03:00.0: firmware: failed to load rtl_nic/rtl8168f-1.fw (-2)
Nov  9 01:09:36 debfail kernel: [    9.877556] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
Nov  9 01:09:36 debfail kernel: [    9.877688] r8169 0000:03:00.0: Direct firmware load for rtl_nic/rtl8168f-1.fw failed with error -2
Nov  9 01:09:36 debfail kernel: [    9.877691] r8169 0000:03:00.0 enp3s0: unable to load firmware patch rtl_nic/rtl8168f-1.fw (-2)
Nov  9 01:09:36 debfail kernel: [    9.877888] RTL8211E Gigabit Ethernet r8169-300:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=r8169-300:00, irq=IGNORE)
Nov  9 01:09:36 debfail kernel: [    9.981714] IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready
Nov  9 01:09:36 debfail kernel: [    9.982119] r8169 0000:03:00.0 enp3s0: Link is Down
Nov  9 01:09:39 debfail kernel: [   12.497660] r8169 0000:03:00.0 enp3s0: Link is Up - 1Gbps/Full - flow control rx/tx

I checked Bunsen logs and I don't see error there

This thread has already provided you with many troubleshooting strategies.
What is keeping you from applying them to this new problem?

Offline

#25 Yesterday 08:40:31

ekzotic
Member
Registered: 2019-11-07
Posts: 10

Re: System slow after shutdown, fine after reboot

I think it's fixed for now. Changed sata cable and port, reinstalled debian non-free + bunsen with 35 gb partition and 15gb swap. So far so good. I forgot that I boot win10 from ssd and bunsen from hdd, so it was hard disk probably. Hard disk is from 2018 wd 5400 rpm. Worked fine before?

Offline

Board footer

Powered by FluxBB