0

So... i'm new in ElementaryOS and and I'm having some problems with freezes

Basically when I write something on the keyboard after a short time without writing anything, the system freezes for 1 - 3 secs and then returns to normal, the same happens when I use the keyboard volume control key.

This happens when I use keyboard shortcuts too. When I use shortcuts or other keys in the terminal eg the up arrow, when the system asks me for passwords in graphical interface and I type the password, then the system freezes.

Well, I run Elementary OS Desktop 5.0 Juno version and here is a log from dmesg: pastebin, I hope it helps

So... I started monitoring for htop if when I pressed a key, something froze my system, and I discovered that when I reproduce the reported bug, a strange application appears consuming 90% of my CPU for a few seconds, I also discovered that when I pressed Prt Sc to take a print of the process while the system was frozen, my keyboard stopped working soon after the system thawed, I hope these keyboard anomalies stop occurring when this error is fixed, this is the application:The application consuming 90% of my CPU

  • Be specific. If you ask a vague question, you’ll get a vague answer. But if you give us details and context, we can provide a useful answer. How do I ask a good question? - | - You need to provide more information, is a laptop? which version do you installed? do you know how to use the command line? can you provide a log?, etc – Sebastian Dec 15 '18 at 4:35
  • In the screenshot, the process is Xorg. In simple terms, without it you won't have a graphical environment. – Sebastian Dec 16 '18 at 18:18
0

About the QUESTION

Have you tried using another keyboard? And/Or another USB port? Linux is very reactive in terms of a faulty hardware, could be "working" but having EMI. This is just a theory, but easier to test another hardware first than to keep trying to find the needle on the haystack

(Could be useful if you provide Xorg's log [/var/log/Xorg.0.log] and the syslog [/var/log/syslog.log]. Remember to replicate the problem just before that way the problem will get into the log)


ANNEX

(This didn't work for MrPiva, but I'll leave it as future reference.)

To fix/help with what's on dmesg

[   20.081766] random: crng init done
[   20.081776] random: 7 urandom warning(s) missed due to ratelimiting

It seems to be a bug fixed in plymouth/0.9.3-3 but Ubuntu and we have plymouth/0.9.3-1

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897572#82

https://unix.stackexchange.com/a/442744

https://launchpad.net/ubuntu/+source/plymouth

https://packages.debian.org/search?keywords=plymouth


1. RNG-TOOLS

You could try installing rng-tools to help with the issue

Rng-tools. The rng-tools is a set of utilities related to random number generation in kernel. The main program is rngd, a daemon developed to check and feed random data from hardware device to kernel entropy pool. This is mainly useful to increase the quantity of entropy in kernel to make /dev/random faster.

Install rng-tools

sudo apt install rng-tools

If you installed haveged, remove it

sudo apt purge haveged

2. HAVEGE

Linux entropy source using the HAVEGE algorithm haveged is a userspace entropy daemon which is not dependent upon the standard mechanisms for harvesting randomness for the system entropy pool. This is important in systems with high entropy needs or limited user interaction (e.g. headless servers).

haveged uses HAVEGE (HArdware Volatile Entropy Gathering and Expansion) to maintain a 1M pool of random bytes used to fill /dev/random whenever the supply of random bits in dev/random falls below the low water mark of the device.

More information about HAVEGE is available at http://www.irisa.fr/caps/projects/hipsor/

Install:

sudo apt install haveged

sudo systemctl enable haveged

sudo systemctl start haveged

ref: https://unix.stackexchange.com/a/461466


  • The two lines did not disappear from dmesg: [6.004320] random: crng init done [6.004322] random: 7 urandom warning (s) missed due to ratelimiting – MrPiva Dec 16 '18 at 1:45
  • Try again, just updated it – Sebastian Dec 16 '18 at 3:06
  • I tried installing rng-tools and rng-tools5, but that line did not disappear, but I also don't bother with it, since my boot is not totally late because of it – MrPiva Dec 16 '18 at 4:55
  • then why put the dmesg log... maybe if you give us the syslog or a portion of it from the moment you have that freeze... | Anyway rng-tools can be useful for other things in your system until we get the upgraded version of plymouth. – Sebastian Dec 16 '18 at 5:42
  • I updated the ask – MrPiva Dec 16 '18 at 9:17

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.