You are not logged in.

#1 2018-06-04 17:09:52

joanmanel
Member
Registered: 2012-11-06
Posts: 250

My laptop takes a very long time to reboot

This is not a new laptop (Think x230, intel i5 3320, 8gb ram, 500gb), but it takes a long time to reboot. By a long time, I mean minutes. It depends on the day, it can go from 2-3 minutes to like 10 or even more.

I am using i3. And it does boot very fast. From power to system maybe it takes 20-30 seconds. Therefore, it doesn't make sense that it takes so much time to reboot or switch off.

I remember it used to be OK, but eventually something like 6 months this reboot problem started to happen. I've mean to fix it, but I just put it to the side for a while.

Ive checked the logs in var, and there's nothing there.

In order to boot, I have this in config/i3:

set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
mode "$mode_system" {
    bindsym l exec --no-startup-id $Locker, mode "default"
    bindsym e exec --no-startup-id i3-msg exit, mode "default"
    bindsym s exec --no-startup-id $Locker && sudo /usr/bin/systemctl suspend, mode "default"
    bindsym h exec --no-startup-id $Locker && sudo /usr/bin/systemctl hibernate, mode "default"
    bindsym r exec --no-startup-id sudo /usr/bin/systemctl reboot, mode "default"
    bindsym Shift+s exec --no-startup-id sudo /usr/bin/systemctl poweroff, mode "default"  

    # back to normal: Enter or Escape
    bindsym Return mode "default"
    bindsym Escape mode "default"
}

bindsym $mod+End mode "$mode_system"

So basically I press windows key, and then end. And then r for reboot.

I don't really know why it takes so long, and any help would be very welcome.

Offline

#2 2018-06-04 17:20:49

kailashkatheth
Member
From: nepal
Registered: 2017-06-14
Posts: 18
Website

Re: My laptop takes a very long time to reboot

are there stop jobs message when rebooting

Offline

#3 2018-06-04 17:22:37

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: My laptop takes a very long time to reboot

At which point of the reboot stage does it appear to get stuck? Usually systemd will list the service which is causing the delay.

Offline

#4 2018-06-05 16:52:29

joanmanel
Member
Registered: 2012-11-06
Posts: 250

Re: My laptop takes a very long time to reboot

At which points it appears to get stuck:

In i3wm, as soon as I press reboot in the way I said before, the network disconnects, and then it just gets stuck here. I can actually open the mouse or launch programs. Eventually it will reboot, but it takes minutes

job messages:

It is very difficult to read the messages that appear just before it reboots. Maybe something about mount? But I am not mounting anything, apart from the normal partitions to operate the system. This laptop only has 1 HDD, and although I dual boot between Arch Linux and Windows, I don't mount or have access to Windows from Linux.

Offline

#5 2018-06-05 17:19:46

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: My laptop takes a very long time to reboot

Check the journal for those messages.  If you use systemctl reboot or systemctl shutdown is the issue the same?
Edit:
changed halt to shutdown.

Last edited by loqs (2018-06-05 17:20:53)

Offline

#6 2018-06-05 20:05:52

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

Re: My laptop takes a very long time to reboot

Do you use a network share somewhere? They can cause issues like that because the network goes down before the mountpoint is unmounted properly.

Last edited by V1del (2018-06-05 20:06:14)

Offline

#7 2018-06-07 15:23:36

joanmanel
Member
Registered: 2012-11-06
Posts: 250

Re: My laptop takes a very long time to reboot

V1del wrote:

Do you use a network share somewhere? They can cause issues like that because the network goes down before the mountpoint is unmounted properly.

Sometimes I use, but it happens also when I am not using one.

How can I make say that the network share is unmounted before the network goes down?

Offline

Board footer

Powered by FluxBB