My laptop keeps on freezing randomly

You probably did it with the EOL kernel …

oh yes
now I am using the LTS kernel… do I need to redo it?

If you did it from GRUB menu, then yes, you lose that upon reboot.
If you did it on /etc/default/grub then updated grub, then you don’t have to do it again.

ok so I don’t have to do it again… I checked and it’s still there

Thank You Very Much!!
I have done all so far except swap…
To do so I just need to install zram-generator package from repositories?

You can, but if you now also add the by bogdancovaciu advised “intel_pstate=active” kernel parameter then you won’t know if it was that one or the earlier advised “intel_idle.max_cstate=0” parameter which you added before. It’s in that sense probably useful to test either in isolation – at the moment

cat /proc/cmdline

should be saying that you are running with “intel_idle.max_cstate=0”. If you let it run long enough to be satisfied that it’s now not freezing you’d have pinpointed it to that intel_idle driver.

I.e., again my advise is to for now sit back and do nothing until either the system freezes again or you’re satisfied that it won’t anymore.

is this correct, then?

[euki@euki ~]$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64 root=UUID=846d6e8e-7a8e-4beb-94b0-3f6d858347d2 rw quiet apparmor=1 security=apparmor udev.log_priority=3 intel_idle.max_cstate=0

Yup. If the system’s now stable for long enough without rebooting it’ll be confirmed that it’s that c-state thing again. You can in that case keep things as they are, try “intel_idle.max_cstate=1” instead, or as mentioned try and rummage through your BIOS setup (I believe it’s by the way for your machine a matter of tapping F10 while it’s starting to get there) to see if there’s anything possibly related to set there.

But, then, for now please just do nothing :slight_smile:

ok… i did chage the audio settings and installed manjaro-pipewire
as a matter of fact the system is stable now

Okay, if you’re satisfied that the system’s stable now, it’s supposedly fixed by the “intel_idle.max_cstate=0” kernel parameter. bogdancovaciu’s advised “intel_pstate=active” is a little too related though for me to feel confident that it wouldn’t also fix things for you and if that one gets rid of that

could not read from '/sys/module/pcc_cpufreq/initstate': No such device`

error message, seems you want it anyway, so it would in that case be better.

That is, what I would do is:

  1. Change /etc/default/grub again to instead of “intel_idle.max_cstate=0” have “intel_pstate=active” in that GRUB_CMDLINE_LINUX_DEFAULT=“…” string as before, save the file, rerun “sudo update-grub”, reboot and see if things are stable now also.

If yes, and certainly if indeed also that above “no such device” error is gone, go to 3. If not:

  1. Change /etc/default/grub again to additionally have besides “intel_pstate=active” also “intel_idle.max_cstate=0” in GRUB_CMDLINE_LINUX_DEFAULT=“…” , save the file, rerun “sudo update-grub”, reboot and see if things are stable now.

Supposedly they are and supposedly/hopefully still that “no such device” error is gone. If not, remove the “intel_pstate=active” again (and save, rerun sudo update-grub, etc…) but that would be unexpected. So if stable as expected, try for possibly better battery life:

  1. Change /etc/default/grub again to now have “intel_idle.max_cstate=1” instead (still alongside the pstate one), save, etc, etc, and see again.

If still stable, keep it at that – or tap F10 during boot to enter your machine’s BIOS setup and try and see if there’s a settable option there that looks related and that also fixes things without you needing that intel_idle.max_cstate option at all. Sort of doubt it on a laptop, but you can supposedly just see – you’d of course need to remove the option from /etc/default/grub (and save, rerun, etc, etc) to test the effects of any possibly found BIOS option in isolation.

mhh ok The system has remained stable so far…
I will do it
and see what happens
I´ll be posting the journal errors here tomorrow

Thank You !!!

Well it is not stable at all. It froze twice and I had to do a hard reset on the second freeze… Here is the journal:


03:08:33 euki systemd-coredump[16305]: Failed to connect to coredump service: Connection refused
Nov 09 03:08:33 euki systemd[949]: Failed to start BAMF Application Matcher Framework.
Nov 09 03:08:36 euki kernel: watchdog: watchdog0: watchdog did not stop!
-- Boot 9520d03b2d38414e9522e317e59a34ba --
Nov 09 03:08:53 euki kernel: x86/cpu: SGX disabled by BIOS.
Nov 09 03:08:53 euki kernel: Spectre V2 : WARNING: Unprivileged eBPF is enabled with eIBRS on, data leaks possible via Spectre v2 BHB attacks!
Nov 09 03:08:53 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.TDGC], AE_NOT_FOUND (20210730/psargs-330)
Nov 09 03:08:53 euki kernel: ACPI Error: Aborting method \_SB.PCI0.RP05.PC01._ON due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
Nov 09 03:08:53 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.IPPF._STA.POS1], AE_NOT_FOUND (20210730/psargs-330)
Nov 09 03:08:53 euki kernel: ACPI Error: Aborting method \_SB.IPPF._STA due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
Nov 09 03:08:53 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.IPPF._STA.POS1], AE_NOT_FOUND (20210730/psargs-330)
Nov 09 03:08:53 euki kernel: ACPI Error: Aborting method \_SB.IPPF._STA due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
Nov 09 03:08:53 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.IPPF._STA.POS1], AE_NOT_FOUND (20210730/psargs-330)
Nov 09 03:08:53 euki kernel: ACPI Error: Aborting method \_SB.IPPF._STA due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
Nov 09 03:08:54 euki kernel: platform idma64.0: failed to claim resource 0: [mem 0x00000800-0x00000fff]
Nov 09 03:08:54 euki kernel: platform idma64.0: failed to claim resource 0: [mem 0x00000800-0x00000fff]
Nov 09 03:08:54 euki kernel: platform idma64.0: failed to claim resource 0: [mem 0x00000800-0x00000fff]
Nov 09 03:08:54 euki kernel: platform idma64.0: failed to claim resource 0: [mem 0x00000800-0x00000fff]
Nov 09 03:08:55 euki kernel: intel-spi 0000:00:1f.5: invalid resource
Nov 09 03:09:01 euki lightdm[1028]: gkr-pam: unable to locate daemon control file
Nov 09 10:46:34 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.TDGC], AE_NOT_FOUND (20210730/psargs-330)
Nov 09 10:46:34 euki kernel: ACPI Error: Aborting method \_SB.PCI0.RP05.PC01._OFF due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
Nov 09 10:46:35 euki bluetoothd[822]: Failed to set mode: Blocked through rfkill (0x12)
Nov 09 10:46:39 euki kernel: i915 0000:00:02.0: [drm] *ERROR* CPU pipe A FIFO underrun: transcoder,
Nov 09 10:46:43 euki lightdm[7882]: gkr-pam: unable to locate daemon control file
Nov 09 12:13:04 euki kernel: Out of memory: Killed process 2085 (chrome) total-vm:1184805136kB, anon-rss:141724kB, file-rss:0kB, shmem-rss:612kB, UID:1000 pgta>
Nov 09 12:15:16 euki kernel: Out of memory: Killed process 2835 (chrome) total-vm:1190091080kB, anon-rss:119032kB, file-rss:0kB, shmem-rss:688kB, UID:1000 pgta>
-- Boot e61ace15c74d4c948bbeec1c922a033b --
Nov 09 12:16:21 euki kernel: x86/cpu: SGX disabled by BIOS.
Nov 09 12:16:21 euki kernel: Spectre V2 : WARNING: Unprivileged eBPF is enabled with eIBRS on, data leaks possible via Spectre v2 BHB attacks!
Nov 09 12:16:21 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.TDGC], AE_NOT_FOUND (20210730/psargs-330)
Nov 09 12:16:21 euki kernel: ACPI Error: Aborting method \_SB.PCI0.RP05.PC01._ON due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
Nov 09 12:16:21 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.IPPF._STA.POS1], AE_NOT_FOUND (20210730/psargs-330)
Nov 09 12:16:21 euki kernel: ACPI Error: Aborting method \_SB.IPPF._STA due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
Nov 09 12:16:21 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.IPPF._STA.POS1], AE_NOT_FOUND (20210730/psargs-330)
Nov 09 12:16:21 euki kernel: ACPI Error: Aborting method \_SB.IPPF._STA due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
Nov 09 12:16:21 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.IPPF._STA.POS1], AE_NOT_FOUND (20210730/psargs-330)
Nov 09 12:16:21 euki kernel: ACPI Error: Aborting method \_SB.IPPF._STA due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
Nov 09 12:16:22 euki kernel: platform idma64.0: failed to claim resource 0: [mem 0x00000800-0x00000fff]
Nov 09 12:16:22 euki kernel: platform idma64.0: failed to claim resource 0: [mem 0x00000800-0x00000fff]
Nov 09 12:16:22 euki kernel: platform idma64.0: failed to claim resource 0: [mem 0x00000800-0x00000fff]
Nov 09 12:16:22 euki kernel: platform idma64.0: failed to claim resource 0: [mem 0x00000800-0x00000fff]
Nov 09 12:16:22 euki kernel: intel-spi 0000:00:1f.5: invalid resource
Nov 09 12:16:28 euki lightdm[939]: gkr-pam: unable to locate daemon control file
Nov 09 12:16:35 euki systemd-coredump[1634]: [🡕] Process 1105 (plank) of user 1000 dumped core.
                                             
                                             Module linux-vdso.so.1 with build-id 507836a1ad0d4946b9a245e6fd3cc243bc6a8b35
                                             Module ISO8859-1.so with build-id cdcd2ebd471b0b6887659e362303ca21d9492f30
                                             Module librsvg-2.so.2 with build-id c6bfa7f044dbaef5462028673f2cb17385ed4762
                                             Module libpixbufloader-svg.so with build-id 736ff9e0bd18191920a27e758ab88f8517199c19
                                             Module libdconfsettings.so with build-id 7a4ba7af122c4d11168004a9ea6def330f02089f
                                             Module libpthread.so.0 with build-id 3954d7fd57fa4db438d0ccdd8e2c6f7cc97c2e46
                                             Module libgthread-2.0.so.0 with build-id e23de8aaba9126aa9c6e65f9ec0fb2adcb650c80
                                             Module libxfconf-0.so.3 with build-id 05a5980d778faaf25bba2d27249e359b41a796eb
                                             Module libxfconfgsettingsbackend.so with build-id 8ce01e731b1120543da65b897c044ac6073f4b2b
                                             Module libdocklet-trash.so with build-id 8889e2f7aa567466021c92d77078b5a285fec4bd
                                             Module libdocklet-desktop.so with build-id 2e0a81b70a124d0d64bde214e97a30cc147f9a97
                                             Module libdocklet-cpumonitor.so with build-id 04707bcaec9c77661d61eed15fe1ab3348b236a1
                                             Module libdocklet-clock.so with build-id c0b39a43c6349ff12c7ff127ae651220baa040b0
                                             Module libdocklet-clippy.so with build-id 1c8ae2a8f55297c68fc67ca8268dfb5f1e3c8d3a
                                             Module libdocklet-battery.so with build-id c575312684db4ad6764b54eb047a6a8c6ba5606b
                                             Module libgnome-menu-3.so.0 with build-id d6bd9c388d3f9ec2183af0439b4e160a245f6334
                                             Module libdocklet-applications.so with build-id 57dd2141364d4e7a34df08580c0030f182e1ecf7
                                             Module libgvfscommon.so with build-id 2cfa9a05d5e376857a2dacaf4893238a88eefb9e
                                             Module libgvfsdbus.so with build-id f6f918ab413a1eaaa77134863653c4382b7cf8de
                                             Module libogg.so.0 with build-id ca0cae30a809f10db1f16e54a23b4e5ff7b2c54c
                                             Module libvorbis.so.0 with build-id f4e086347f6c1a66eb73cfe13974a29bd39aabca
                                             Module libltdl.so.7 with build-id 6a619e7b85ea9702e595881863bc9e599565e8a0
                                             Module libtdb.so.1 with build-id f2bdb5ac97b6addf2026d93b08c8d15defcd9bb8
                                             Module libvorbisfile.so.3 with build-id 45d2551167a616d448beb033ba49394831992887
                                             Module libcanberra.so.0 with build-id 8ddef69c9b84a86062c88a59510639cd908fc6d3
                                             Module libcanberra-gtk3.so.0 with build-id 2e99c78f79bea4bc67ccd9a9f8fed562f89599ee
                                             Module libcanberra-gtk-module.so with build-id cc626937222c6ce3f7bb45dbe6e862d0b1efba01
                                             Module libxkbfile.so.1 with build-id 6f9fd5b5e0f080ac9266ec6ccddbe11119c2f043
                                             Module libxklavier.so.16 with build-id cefd678b3d270e389f50a9686ad2db83a8c67494
                                             Module libgnomekbd.so.8 with build-id 9b50613358fc5812925d41109dae2ae6037d4310
                                             Module libgnomekbdui.so.8 with build-id 8587f7b950d379edef6c112b68075b3388b43b86
                                             Module libxapp.so.1 with build-id af7ce569cda64b23f0b4eea7018c0766b346ec38
                                             Module libxapp-gtk3-module.so with build-id 398786c12519532100ffa078b58a57721d600261
                                             Module libgpg-error.so.0 with build-id 470d76ceb1e53cb017f78c08936e9bafaeb4058b
                                             Module liblz4.so.1 with build-id 84ea95d811dad359e94e100ebe6a746294ffe8a7
                                             Module libgcrypt.so.20 with build-id 8bf3cb884124273640de797a3e77d86c98434ea4
                                             Module libcap.so.2 with build-id 9b38b08de708f439a9d0a4f8b9914151bc8d4b50
                                             Module libbrotlicommon.so.1 with build-id acfd597a977c8087bb6184383daae2e828a9ce42
                                             Module libgcc_s.so.1 with build-id 85db482c4585a328d95ec41124337a967bb24d8f
                                             Module libstdc++.so.6 with build-id 735a3d0cc7699fd69337361cba4aedb644b2a7ed
                                             Module libicudata.so.72 with build-id a133b365160fc45e002163e5435f3029f4254cfa
                                             Module libsystemd.so.0 with build-id 461d1674a5e4c71184837ae7a6a827c9570ada42
                                             Module liblzma.so.5 with build-id 8a7334fec02fef6a82ff641a68b3e3200a44a702
                                             Module libzstd.so.1 with build-id ab54c2881f53ab314e134f3e08c76d504376dd5d
                                             Module libXdmcp.so.6 with build-id d864159ab0008415667db8d5f251696d75c90df2
                                             Module libXau.so.6 with build-id d9d5e8277140f1a86d3a07d9b52b1703c0a2f9a8
                                             Module libbrotlidec.so.1 with build-id 66c54e9301f7e102ecc1d88547e5f0e8a056fe22
                                             Module libbz2.so.1.0 with build-id 919597c477c9b2cb9cdbb7745ed6494ac0e6da60
                                             Module libdatrie.so.1 with build-id 6fe3b6ece2c8e7d11869fa051375128d8f808f58
                                             Module libsqlite3.so.0 with build-id 782ea1abbeebfd86f7d34c1c4fd1c23d14a8cefd
                                             Module libxml2.so.2 with build-id 171e32069b76d4cfedbfdf97f2087807948a9b3d
                                             Module libjson-glib-1.0.so.0 with build-id 58decebd2c409d59b07f926ae4c513281918bc4d
                                             Module libicui18n.so.72 with build-id aec148964d10586dae138df84f087835382396f2
                                             Module libicuuc.so.72 with build-id c2e0249a038bd0fe76e681ecd2b73951c65a0866
                                             Module libstemmer.so.0 with build-id 013b48e71279a5ec55e3021fc0bd8fb10a08bae5
                                             Module libdbus-1.so.3 with build-id 6d6e4846c8e56903b4fe7d992ae6bb30c8a20a9c
                                             Module libatspi.so.0 with build-id 51fdaad17db96c5569b8f59908e7c076fbd6fe1c
                                             Module libexpat.so.1 with build-id a98bfab551dfa3df6889c33d5fd2ccfa6d505608
                                             Module libgraphite2.so.3 with build-id ce58945ebb55b86d3a4e717b6eae29efc4720d8e
                                             Module libX11-xcb.so.1 with build-id f92352eae0a30aea89d11beb22367fa985288925
                                             Module libxcb-util.so.1 with build-id b1e4c01b388a3bd7a0a9ad384865b61f5f1d4a24
                                             Module libblkid.so.1 with build-id fb2c5d3c17aac74758a3eb80a2bc1c16bcf183b1
                                             Module libtiff.so.5 with build-id 62a8aefb339c3cbe35d1089c66c527a7b090804c
                                             Module libjpeg.so.8 with build-id 46dfd8b2cbe8a10d13cd3182a7b490d0959534f9
                                             Module libpixman-1.so.0 with build-id 3782c95a3b9e331f10403b264ffeedab91f99768
                                             Module libxcb-shm.so.0 with build-id 828fec4d856e2710e732ea8d92c3f250c807b1c2
                                             Module libxcb-render.so.0 with build-id b1ca498d665807ab0ccdafbe8070853efd058173
                                             Module libxcb.so.1 with build-id 13d677412a71468381b11092915d231f664d18d3
                                             Module libfreetype.so.6 with build-id f89dd5502e75aca28fb5c3ccd0dbd26fe822bfef
                                             Module libpng16.so.16 with build-id 14d3b3cc9d61ec1b7c1f86bdf108218a99364945
                                             Module libthai.so.0 with build-id a7ac5010b4275c49308021200d23690533952702
                                             Module libXinerama.so.1 with build-id d2ddc821ebf9dd63b4ba512da8924c7ac9469460
                                             Module libXrandr.so.2 with build-id 154e55f082ee9e685d0794c98c5b76ffe9c8868e
                                             Module libXcomposite.so.1 with build-id 13228d108b290268d88510db494daefd5521cda0
                                             Module libXdamage.so.1 with build-id a99dbe3fc2b01da9fbdd90d5ad00621f9022379f
                                             Module libXcursor.so.1 with build-id f0525ae3715ac95f96a8cdb44795b03f831334b0
                                             Module libXext.so.6 with build-id d7f3b1c9d5be6574b5faf83b74f8bba3d0dfa3c6
                                             Module libwayland-egl.so.1 with build-id dd02a2af320297e68308cc698f75828529271a57
                                             Module libwayland-cursor.so.0 with build-id 46a637dbcbb02d6712a201f177377b66598b9121
                                             Module libwayland-client.so.0 with build-id 515c72111400d7bdbfbdfcec78d597e4986a5943
                                             Module libxkbcommon.so.0 with build-id 6cf66eead3fcc20fe5df10162bfbcdcdc8b2a183
                                             Module libtracker-sparql-3.0.so.0 with build-id 67d8ac6dd248c6f7ab7c9a5e1afd40c55aa473b9
                                             Module libcloudproviders.so.0 with build-id ed1d9c9e60be4e858ad148484767249be1edf95f
                                             Module libatk-bridge-2.0.so.0 with build-id 75ddfc46abae129a83449506506501117ce98ff8
                                             Module libepoxy.so.0 with build-id edc178a150c4255d124e1e1ecbdbecebd1a388cd
                                             Module libfribidi.so.0 with build-id fe9f35ac2a0074108c8306c517793f7279bd9b37
                                             Module libfontconfig.so.1 with build-id 9e856b5b37a3f4f7176ad8f92b2123508c95406e
                                             Module libpangoft2-1.0.so.0 with build-id d2aac9e9a7523c05b32ddc00621a1e371147485c
                                             Module libharfbuzz.so.0 with build-id 181bbb0db2bce74b6bd5ed66ee7dcbed96323d8b
                                             Module libXRes.so.1 with build-id 6ae98691f3ebed4aae1d0ac919078baa00d71fb6
                                             Module libstartup-notification-1.so.0 with build-id c31cad1791f13615a8f6c9ec025e1a3c3eef7736
                                             Module libatk-1.0.so.0 with build-id c25517cd775e783725a3ed2815b09a8096bd6565
                                             Module libXrender.so.1 with build-id 9d6512ea1c9698e8c81f27e89fda57d36eb4b18e
                                             Module ld-linux-x86-64.so.2 with build-id 22bd7a2c03d8cfc05ef7092bfae5932223189bc1
                                             Module libpcre2-8.so.0 with build-id 917fc43d2c9f8539a3e324555c6c73886e8000a8
                                             Module libffi.so.8 with build-id 5c6b22b6624dd486a0783dfe74fee085b626b573
                                             Module libmount.so.1 with build-id 9064fc3620c42e6f7aed38119f0a3ec39fca9a37
                                             Module libz.so.1 with build-id 5340199d53cb95e609028ce1143675c742ff4218
                                             Module libXfixes.so.3 with build-id 0a05c7e8714522bfbdd7c0027c3e2a94965664b0
                                             Module libXi.so.6 with build-id 16603be937a02a7e61b0b0395d064be7efd86f49
                                             Module libX11.so.6 with build-id 21e886e968772b7964d646f54c1faecc56734de9
                                             Module libgdk_pixbuf-2.0.so.0 with build-id bbf1443f6f677b84888d0ad843c4f7e07f2e134f
                                             Module libcairo.so.2 with build-id a222d042e56108d2786ece7bf291b56ba2069591
                                             Module libcairo-gobject.so.2 with build-id 9927090dddfb180365695a8f37d1cac89463f109
                                             Module libpango-1.0.so.0 with build-id 2cbe86c0a6de777fa7bc584d74ce48d39fc595d0
                                             Module libpangocairo-1.0.so.0 with build-id 2e46c234e5b532d7b0da24a79d0803cd67dd127f
                                             Module libgdk-3.so.0 with build-id f3bc07ea30b1a84c4e3df1d67deaadfcf747bc3c
                                             Module libgtk-3.so.0 with build-id f25162b866dd8b576794f6f06b91a36ac8f570f8
                                             Module libwnck-3.so.0 with build-id c5dcd20a5404b389297358d0340073f63c99d990
                                             Module libbamf3.so.2 with build-id af60cde7bcc74b4039d108cffd7ec9b339097a26
                                             Module libgee-0.8.so.2 with build-id 5cdccd3d1b5d1cc3e9ff84eaa95b3898aeaf7857
                                             Module libgmodule-2.0.so.0 with build-id 4145f63148e903c5cc49730868d4b108e4a2afba
                                             Module libm.so.6 with build-id 2c8ff1d29b255da5b7371efd5caf57444d622838
                                             Module libc.so.6 with build-id 1e94beb079e278ac4f2c8bce1f53091548ea1584
                                             Module libglib-2.0.so.0 with build-id 49826f5cd4f784c8050176991d46fd93a5fcee9f
                                             Module libgobject-2.0.so.0 with build-id 4912a41f41a806314fb1a528139e368746d80dda
                                             Module libgio-2.0.so.0 with build-id e40d688960cf27f1e3b08533563affb8baed62af
                                             Module libplank.so.1 with build-id 56b03fef2746f011152da86e17aa9698a30d4b0f
                                             Module plank with build-id 50c210214c018b5d00ce9067ae83d3c9c1e30de1
                                             Stack trace of thread 1105:
                                             #0  0x00007f0dfe61164c n/a (libc.so.6 + 0x8864c)
                                             #1  0x00007f0dfe5c1958 raise (libc.so.6 + 0x38958)
                                             #2  0x00007f0dfe5ab53d abort (libc.so.6 + 0x2253d)
                                             #3  0x00007f0dfe78d06a n/a (libglib-2.0.so.0 + 0x1d06a)
                                             #4  0x00007f0dfe7e8ae0 g_assertion_message_expr (libglib-2.0.so.0 + 0x78ae0)
                                             #5  0x00007f0dfeb6322b n/a (libplank.so.1 + 0x8522b)
                                             #6  0x00007f0dfeb4e696 n/a (libplank.so.1 + 0x70696)
                                             #7  0x00007f0dfe7ce8b5 g_logv (libglib-2.0.so.0 + 0x5e8b5)
                                             #8  0x00007f0dfe7ceb64 g_log (libglib-2.0.so.0 + 0x5eb64)
                                             #9  0x00007f0dfeb2e803 n/a (libplank.so.1 + 0x50803)
                                             #10 0x00007f0dfe8c3210 g_closure_invoke (libgobject-2.0.so.0 + 0x14210)
                                             #11 0x00007f0dfe8f0ea8 n/a (libgobject-2.0.so.0 + 0x41ea8)
                                             #12 0x00007f0dfe8e0f75 g_signal_emit_valist (libgobject-2.0.so.0 + 0x31f75)
                                             #13 0x00007f0dfe8e1204 g_signal_emit (libgobject-2.0.so.0 + 0x32204)
                                             #14 0x00007f0dfe8cdfc6 n/a (libgobject-2.0.so.0 + 0x1efc6)
                                             #15 0x00007f0dfe8d1488 g_object_notify_by_pspec (libgobject-2.0.so.0 + 0x22488)
                                             #16 0x00007f0dfdae3cc3 n/a (libgdk-3.so.0 + 0x3ccc3)
                                             #17 0x00007f0dfdb32058 n/a (libgdk-3.so.0 + 0x8b058)
                                             #18 0x00007f0dfe7c587b g_main_context_dispatch (libglib-2.0.so.0 + 0x5587b)
                                             #19 0x00007f0dfe81c279 n/a (libglib-2.0.so.0 + 0xac279)
                                             #20 0x00007f0dfe7c4132 g_main_context_iteration (libglib-2.0.so.0 + 0x54132)
                                             #21 0x00007f0dfe9ee0ce g_application_run (libgio-2.0.so.0 + 0xde0ce)
                                             #22 0x0000560d0750a0b2 main (plank + 0x10b2)
                                             #23 0x00007f0dfe5ac290 n/a (libc.so.6 + 0x23290)
                                             #24 0x00007f0dfe5ac34a __libc_start_main (libc.so.6 + 0x2334a)
                                             #25 0x0000560d0750a105 _start (plank + 0x1105)
                                             
                                             Stack trace of thread 1125:
                                             #0  0x00007f0dfe6840bf __poll (libc.so.6 + 0xfb0bf)
                                             #1  0x00007f0dfe81c1df n/a (libglib-2.0.so.0 + 0xac1df)
                                             #2  0x00007f0dfe7c4132 g_main_context_iteration (libglib-2.0.so.0 + 0x54132)
                                             #3  0x00007f0dfe7c4182 n/a (libglib-2.0.so.0 + 0x54182)
                                             #4  0x00007f0dfe7f2e05 n/a (libglib-2.0.so.0 + 0x82e05)
                                             #5  0x00007f0dfe60f8fd n/a (libc.so.6 + 0x868fd)
                                             #6  0x00007f0dfe691a60 n/a (libc.so.6 + 0x108a60)
                                             
                                             Stack trace of thread 1126:
                                             #0  0x00007f0dfe6840bf __poll (libc.so.6 + 0xfb0bf)
                                             #1  0x00007f0dfe81c1df n/a (libglib-2.0.so.0 + 0xac1df)
                                             #2  0x00007f0dfe7c4ddf g_main_loop_run (libglib-2.0.so.0 + 0x54ddf)
                                             #3  0x00007f0dfea1a33c n/a (libgio-2.0.so.0 + 0x10a33c)
                                             #4  0x00007f0dfe7f2e05 n/a (libglib-2.0.so.0 + 0x82e05)
                                             #5  0x00007f0dfe60f8fd n/a (libc.so.6 + 0x868fd)
                                             #6  0x00007f0dfe691a60 n/a (libc.so.6 + 0x108a60)
                                             
                                             Stack trace of thread 1166:
                                             #0  0x00007f0dfe6840bf __poll (libc.so.6 + 0xfb0bf)
                                             #1  0x00007f0dfe81c1df n/a (libglib-2.0.so.0 + 0xac1df)
                                             #2  0x00007f0dfe7c4132 g_main_context_iteration (libglib-2.0.so.0 + 0x54132)
                                             #3  0x00007f0df89eaebe n/a (libdconfsettings.so + 0x5ebe)
                                             #4  0x00007f0dfe7f2e05 n/a (libglib-2.0.so.0 + 0x82e05)
                                             #5  0x00007f0dfe60f8fd n/a (libc.so.6 + 0x868fd)
                                             #6  0x00007f0dfe691a60 n/a (libc.so.6 + 0x108a60)
                                             ELF object binary architecture: AMD x86-64
Nov 09 12:16:45 euki systemd-coredump[1725]: Failed to connect to coredump service: Connection refused
Nov 09 12:16:46 euki kernel: watchdog: watchdog0: watchdog did not stop!
-- Boot 739805e49bd64ac7a7048464ddcf7c34 --
Nov 09 12:17:01 euki kernel: x86/cpu: SGX disabled by BIOS.
Nov 09 12:17:01 euki kernel: Spectre V2 : WARNING: Unprivileged eBPF is enabled with eIBRS on, data leaks possible via Spectre v2 BHB attacks!
Nov 09 12:17:01 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.TDGC], AE_NOT_FOUND (20210730/psargs-330)
Nov 09 12:17:01 euki kernel: ACPI Error: Aborting method \_SB.PCI0.RP05.PC01._ON due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
Nov 09 12:17:01 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.IPPF._STA.POS1], AE_NOT_FOUND (20210730/psargs-330)
Nov 09 12:17:01 euki kernel: ACPI Error: Aborting method \_SB.IPPF._STA due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
Nov 09 12:17:01 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.IPPF._STA.POS1], AE_NOT_FOUND (20210730/psargs-330)
Nov 09 12:17:01 euki kernel: ACPI Error: Aborting method \_SB.IPPF._STA due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
Nov 09 12:17:01 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.IPPF._STA.POS1], AE_NOT_FOUND (20210730/psargs-330)
Nov 09 12:17:01 euki kernel: ACPI Error: Aborting method \_SB.IPPF._STA due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
Nov 09 12:17:02 euki kernel: platform idma64.0: failed to claim resource 0: [mem 0x00000800-0x00000fff]
Nov 09 12:17:02 euki kernel: platform idma64.0: failed to claim resource 0: [mem 0x00000800-0x00000fff]
Nov 09 12:17:02 euki kernel: platform idma64.0: failed to claim resource 0: [mem 0x00000800-0x00000fff]
Nov 09 12:17:02 euki kernel: platform idma64.0: failed to claim resource 0: [mem 0x00000800-0x00000fff]
Nov 09 12:17:03 euki kernel: intel-spi 0000:00:1f.5: invalid resource
Nov 09 12:17:08 euki lightdm[931]: gkr-pam: unable to locate daemon control file

  

I only did step 1, as rene1 suggested.
The problem is still there (Freezing)

Okay, it does seem that the systemd-udevd error about’/sys/module/pcc_cpufreq/initstate is no longer there, so as said, now do 2. I.e., add back “intel_idle.max_cstate=0” while also keeping “intel_pstate=active” – and I stress each time that after editing and saving /etc/default/grub you need to run sudo update-grub and reboot.

Then, assuming that things are again stable, feel free to now or at a later time experiment with changing it to “intel_idle.max_cstate=1” and/or with your BIOS settings, as detailed before.

Thank You… I’ll keep my eyes wide open, and see what happens…
I will post back in about two days.
Thank You Very Much!!!

Hello again
The system is more stable but still freezes even though the episodes are easier to control. I can reboot at least… but why is it still freezing???
I am providing my journal:


Nov 10 10:29:59 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.TDGC], AE_NOT_FOUND (20210730/psargs-330)
Nov 10 10:29:59 euki kernel: ACPI Error: Aborting method \_SB.PCI0.RP05.PC01._OFF due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
Nov 10 10:30:00 euki bluetoothd[848]: Failed to set mode: Blocked through rfkill (0x12)
Nov 10 10:30:07 euki lightdm[12063]: gkr-pam: unable to locate daemon control file
Nov 10 13:31:07 euki kernel: Out of memory: Killed process 3172 (brave) total-vm:1184830248kB, anon-rss:225976kB, file-rss:0kB, shmem-rss:444kB, UID:1000 pgtables:1512kB oom_score_adj:300
Nov 10 13:34:28 euki kernel: Out of memory: Killed process 3245 (brave) total-vm:1186947668kB, anon-rss:124664kB, file-rss:0kB, shmem-rss:4624kB, UID:1000 pgtables:1420kB oom_score_adj:300
Nov 10 13:36:22 euki kernel: Out of memory: Killed process 4105 (brave) total-vm:1195411008kB, anon-rss:108652kB, file-rss:0kB, shmem-rss:1048kB, UID:1000 pgtables:1724kB oom_score_adj:300
Nov 10 13:36:47 euki kernel: Out of memory: Killed process 3437 (brave) total-vm:1184816976kB, anon-rss:93876kB, file-rss:0kB, shmem-rss:972kB, UID:1000 pgtables:1060kB oom_score_adj:300
Nov 10 14:07:53 euki kernel: Out of memory: Killed process 32103 (brave) total-vm:1184825240kB, anon-rss:112808kB, file-rss:0kB, shmem-rss:284kB, UID:1000 pgtables:1072kB oom_score_adj:300
Nov 10 14:25:27 euki kernel: Out of memory: Killed process 20765 (brave) total-vm:1184810908kB, anon-rss:126144kB, file-rss:0kB, shmem-rss:696kB, UID:1000 pgtables:1012kB oom_score_adj:300
Nov 10 16:36:42 euki kernel: Out of memory: Killed process 54357 (brave) total-vm:1184802656kB, anon-rss:163076kB, file-rss:0kB, shmem-rss:892kB, UID:1000 pgtables:1096kB oom_score_adj:300
Nov 10 16:57:04 euki systemd-coredump[107057]: [🡕] Process 106913 (winedevice.exe) of user 1000 dumped core.
                                               
                                               Module /usr/bin/wine64 with build-id f8255b9195204fa01554ed03e9644a0cbdbaf9c2
                                               Module /usr/lib/libgpg-error.so.0.33.1 with build-id 470d76ceb1e53cb017f78c08936e9bafaeb4058b
                                               Module /usr/lib/liblz4.so.1.9.4 with build-id 84ea95d811dad359e94e100ebe6a746294ffe8a7
                                               Module /usr/lib/libzstd.so.1.5.2 with build-id ab54c2881f53ab314e134f3e08c76d504376dd5d
                                               Module /usr/lib/libgcrypt.so.20.4.1 with build-id 8bf3cb884124273640de797a3e77d86c98434ea4
                                               Module /usr/lib/libsystemd.so.0.34.0 with build-id 461d1674a5e4c71184837ae7a6a827c9570ada42
                                               Module /usr/lib/libdbus-1.so.3.32.1 with build-id 6d6e4846c8e56903b4fe7d992ae6bb30c8a20a9c
                                               Module /usr/lib/wine/x86_64-unix/win32u.so with build-id d5f44fff84459a302f48e1ac85e85e0cc236b24f
                                               Module /usr/lib/libm.so.6 with build-id 2c8ff1d29b255da5b7371efd5caf57444d622838
                                               Module /usr/lib/libSDL2-2.0.so.0.2400.1 with build-id 62f1a6e34e446f7b313fcb4cd9a197f6d91f8914
                                               Module /usr/lib/libgcc_s.so.1 with build-id 85db482c4585a328d95ec41124337a967bb24d8f
                                               Module /usr/lib/libudev.so.1.7.4 with build-id 239ca4dad8e4e0711b19826feabd72d58270942e
                                               Module /usr/lib/libusb-1.0.so.0.3.0 with build-id 98d3b69176fc359d2c574759c2064f83e5cdf8ed
                                               Module /usr/lib/wine/x86_64-unix/winebus.so with build-id 14be08ef214f0247853ddba409bda35882eb9106
                                               Module /usr/lib/wine/x86_64-unix/libwine.so.1.0 with build-id ad6508b229fc3ef79bbd517e3494798cba050e1a
                                               Module /usr/lib/liblzma.so.5.2.7 with build-id 8a7334fec02fef6a82ff641a68b3e3200a44a702
                                               Module /usr/lib/libunwind.so.8.0.1 with build-id e7f3b22127b00d8b14b2560df707cbbeb0134861
                                               Module /usr/lib/wine/x86_64-unix/ntdll.so with build-id fd7849bc6e8991488cac30371636d61918abeecb
                                               Module /usr/lib/libc.so.6 with build-id 1e94beb079e278ac4f2c8bce1f53091548ea1584
                                               Module /usr/lib/libcap.so.2.66 with build-id 9b38b08de708f439a9d0a4f8b9914151bc8d4b50
                                               Module /usr/lib/libatomic.so.1.2.0 with build-id 30d6c8e955af99c57aa98b4d7c3f80196e82f174
                                               Module /usr/lib/wine/x86_64-unix/wineusb.so with build-id fd1978824e0936206b1b485cd2f5ba38c21b9a8a
                                               Module /usr/lib/ld-linux-x86-64.so.2 with build-id 22bd7a2c03d8cfc05ef7092bfae5932223189bc1
                                               Module linux-vdso.so.1 with build-id 507836a1ad0d4946b9a245e6fd3cc243bc6a8b35
                                               Stack trace of thread 106919:
                                               #0  0x00007fcb4e60d617 n/a (/usr/lib/wine/x86_64-unix/ntdll.so + 0x41617)
                                               #1  0x00007fcb4e60dbfe n/a (/usr/lib/wine/x86_64-unix/ntdll.so + 0x41bfe)
                                               #2  0x00007fcb4e6cba00 n/a (/usr/lib/libc.so.6 + 0x38a00)
                                               
                                               Stack trace of thread 106918:
                                               #0  0x00007fcb4e78e0bf __poll (/usr/lib/libc.so.6 + 0xfb0bf)
                                               #1  0x00007fcb4dc95757 n/a (/usr/lib/libusb-1.0.so.0.3.0 + 0x10757)
                                               #2  0x00007fcb4dc97438 libusb_handle_events_timeout_completed (/usr/lib/libusb-1.0.so.0.3.0 + 0x12438)
                                               #3  0x00007fcb4dc974b4 libusb_handle_events (/usr/lib/libusb-1.0.so.0.3.0 + 0x124b4)
                                               #4  0x00007fcb4e8938f0 n/a (/usr/lib/wine/x86_64-unix/wineusb.so + 0x18f0)
                                               #5  0x00007fcb4e5f29fc __wine_unix_call (/usr/lib/wine/x86_64-unix/ntdll.so + 0x269fc)
                                               #6  0x00007fcb4e6093cd __wine_syscall_dispatcher_prolog_end (/usr/lib/wine/x86_64-unix/ntdll.so + 0x3d3cd)
                                               #7  0x0000000000000016 n/a (n/a + 0x0)
                                               #8  0x0000000000000000 n/a (n/a + 0x0)
                                               ELF object binary architecture: AMD x86-64
Nov 10 19:59:27 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.TDGC], AE_NOT_FOUND
Nov 10 19:59:27 euki kernel: ACPI Error: Aborting method \_SB.PCI0.RP05.PC01._OFF due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
                                               #5  0x00007fcb4e5f29fc __wine_unix_call (/usr/lib/wine/x86_64-unix/ntdll.so + 0x269fc)
                                               #6  0x00007fcb4e6093cd __wine_syscall_dispatcher_prolog_end (/usr/lib/wine/x86_64-unix/ntdll.so + 0x3d3cd)
                                               #7  0x0000000000000016 n/a (n/a + 0x0)
                                               #8  0x0000000000000000 n/a (n/a + 0x0)
                                               ELF object binary architecture: AMD x86-64
Nov 10 19:59:27 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.TDGC], AE_NOT_FOUND
Nov 10 19:59:27 euki kernel: ACPI Error: Aborting method \_SB.PCI0.RP05.PC01._OFF due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
Nov 10 19:59:28 euki bluetoothd[848]: Failed to set mode: Blocked through rfkill (0x12)
Nov 10 19:59:35 euki lightdm[113109]: gkr-pam: unable to locate daemon control file
Nov 10 20:39:00 euki kernel: Out of memory: Killed process 54382 (brave) total-vm:1185884968kB, anon-rss:202980kB, file-rss:0kB, shmem-rss:424kB, UID:1000 pgtables:1420kB oom_score_adj:300
Nov 10 20:48:11 euki systemd-coredump[118617]: Failed to connect to coredump service: Connection refused
Nov 10 20:48:12 euki systemd[948]: Failed to start BAMF Application Matcher Framework.
Nov 10 20:48:15 euki kernel: watchdog: watchdog0: watchdog did not stop!
-- Boot 33811f12f92c4835b6f7b997e9c1eabc --
Nov 10 20:48:30 euki kernel: x86/cpu: SGX disabled by BIOS.
Nov 10 20:48:30 euki kernel: Spectre V2 : WARNING: Unprivileged eBPF is enabled with eIBRS on, data leaks possible via Spectre v2 BHB attacks!
Nov 10 20:48:30 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.TDGC], AE_NOT_FOUND (20210730/psargs-330)
Nov 10 20:48:30 euki kernel: ACPI Error: Aborting method \_SB.PCI0.RP05.PC01._ON due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
Nov 10 20:48:30 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.IPPF._STA.POS1], AE_NOT_FOUND (20210730/psargs-330)
Nov 10 20:48:30 euki kernel: ACPI Error: Aborting method \_SB.IPPF._STA due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
Nov 10 20:48:30 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.IPPF._STA.POS1], AE_NOT_FOUND (20210730/psargs-330)
Nov 10 20:48:30 euki kernel: ACPI Error: Aborting method \_SB.IPPF._STA due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
Nov 10 20:48:30 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.IPPF._STA.POS1], AE_NOT_FOUND (20210730/psargs-330)
Nov 10 20:48:30 euki kernel: ACPI Error: Aborting method \_SB.IPPF._STA due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
Nov 10 20:48:31 euki kernel: platform idma64.0: failed to claim resource 0: [mem 0x00000800-0x00000fff]
Nov 10 20:48:31 euki kernel: platform idma64.0: failed to claim resource 0: [mem 0x00000800-0x00000fff]
Nov 10 20:48:31 euki kernel: platform idma64.0: failed to claim resource 0: [mem 0x00000800-0x00000fff]
Nov 10 20:48:31 euki kernel: platform idma64.0: failed to claim resource 0: [mem 0x00000800-0x00000fff]
Nov 10 20:48:32 euki kernel: intel-spi 0000:00:1f.5: invalid resource
Nov 10 20:48:37 euki lightdm[935]: gkr-pam: unable to locate daemon control file

By the way a new problem has appeared. The monitor flickers from time to time, That’s why I switched to kernel 5.19.17, because the LTS kernel had this problem. I had forgotten it.
What can I do??
Thank you for your help

You would appear to now be looking at a different class of “freezing” than before, i.e., the kernel trying its best to cope with enormous memory pressure that you’re putting the system under either “legitimately” or as a matter of a memory leak in some piece of software.

We see “brave” being OOM-killed; I don’t use Brave and have as such no idea about its track record as to memory leaks but especially if you have custom themes and/or specific add-ons installed that can very well be the reason for Brave growing without bound. I would as such first of all shelve Brave and/or your customizations/add-ons for it for a bit and see if things are still troublesome with plain Firefox.

I also see you’re on an 8G system and as bogdancovaciu already noted, are without configured swap. 8G isn’t hugely roomy for modern use; would “by and large” do for “normal use” of “a desktop system” but that’s a lot of quote-marks to need, so I’d follow the advise to add some swap. Personally I tend to (modulo hibernation) feel it useless to add more than say 2G of swap on an 8G system since if you’re deeper into swap the system’s uselessly slow anyway – but that’ll in fact be a bit better on NVMe as you seem to have there, and you be the judge; the size of your “virtual memory” will be the size of RAM + the size of swap.

To add a 2G swapfile, you do

$ sudo dd if=/dev/zero of=/swapfile bs=1M count=2K
$ sudo chmod 600 /swapfile
$ sudo mkswap -U clear /swapfile
$ sudo swapon /swapfile

At this point e.g. “free” should show your 2G of swap. Make the 2K be 4K for a 4G swapfile and so on instead if you want more. Then add it also to /etc/fstab. I.e., with “sudo nano /etc/fstab” or alike you add a line

/swapfile       none    swap    defaults

and save.

I’d do both. I.e., add swap as per above and use plain Firefox without (too many) add-ons for at least a bit to see if indeed Brave is/was the culprit.

As to the monitor flickering: feel free to change back to the newer kernel. The in /etc/default/grub added kernel parameters will also be applied to it so things should remain working in that sense.

Thank You Very Much rene1.
I added the 2G swapfile and changed the kernel again.
I’ll keep you posted

As of today the system has remained as stable as never before.
A question: should I switch to “intel_idle.max_cstate=1” while also keeping “intel_pstate=active”? Would it be better?

Thank You Very Much

Yes, you’d keep the “intel_pstate=active”.

At the moment the intel_idle CPU power-management driver is disabled fully by settings intel_idle.max_cstate=0. This causes the system to retreat to the acpi_idle driver and may not be a big deal but this depends then on how well in your case acpi_idle, i.e., your BIOS, handles CPU power management.

If you haven’t noticed that for example your fans are permanently on/louder now whereas they did not use to be and/or that you have significantly lower battery life now in Linux than in Windows I’d keep things as they are. If you are noticing that then you’d want to experiment a bit further. Maybe even trying with e.g. “intel_idle.max_cstate=4” and only if that doesn’t help to avoid the freezes go to 3, then if still not to 2, if still not to 1, if still not back to 0.

But I’d then feel you’d only need to bother if you’re noticing a power/heat issue with the “intel_idle.max_cstate=0” setting.

Thank You. I will do it.
By the way today before answering you, my screen started flickering again… i am using now kernel 6.0.8-1. Why is it still happening?