You are not logged in.

#1 2019-04-27 04:12:36

sysprog96
Member
Registered: 2019-04-27
Posts: 5

Booting screen will stay there until touchpad is touched [SOLVED]

Sound weird as it is but this is what happens to my Lenovo ThinkPad x240. After the grub loading screen, it will keep me waiting until I touch my touchpad. My boot time is really fast if I touch my touchpad. When it first happened, I was waiting for about a minute but I got impatience and moved my touchpad, and then it loaded my login screen.
Any thoughts on this? (I don't know what information to provide. I'm totally new)
thank you

Last edited by sysprog96 (2019-05-01 04:34:14)

Offline

#2 2019-04-27 07:34:39

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: Booting screen will stay there until touchpad is touched [SOLVED]

It's perhaps something about the kernel not having enough "entropy" to produce good numbers for the /dev/random device until you hit the keyboard or touch the mouse. Something might block for you at boot when it's trying to read from /dev/random.

You can try to check if that's the case by looking through "journalctl -b" while looking at the timestamps and searching for a text "random". You can make journalctl print different timestamps like this: "journalctl -o short-monotonic -b"

If you think that random stuff might be the reason for your problem, check out either "rng-tools" or "haveged", they'll fix it (install and enable just one of them, not both):

https://wiki.archlinux.org/index.php/Rng-tools

https://wiki.archlinux.org/index.php/Haveged

Offline

#3 2019-05-01 04:29:16

sysprog96
Member
Registered: 2019-04-27
Posts: 5

Re: Booting screen will stay there until touchpad is touched [SOLVED]

Wow, that makes so much sense.
I installed rng-toolcs and it solved the problem.

Just a side question, how do yo know about these stuff? Can you tell me where to begin with to learn about it?

Offline

#4 2019-05-01 04:42:37

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: Booting screen will stay there until touchpad is touched [SOLVED]

I had that problem myself. That's why I know about it. I don't know where to learn about weird stuff like that.

Offline

Board footer

Powered by FluxBB