PC freezes randomly with LMDE5 at kernel 5.1x.x and after upgrading to 6.x kernel

Questions about Grub, the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
infohome
Level 1
Level 1
Posts: 1
Joined: Tue Mar 21, 2023 12:21 pm

PC freezes randomly with LMDE5 at kernel 5.1x.x and after upgrading to 6.x kernel

Post by infohome »

Dear all I've similar problem (xorg/screen freezes randomly) with LMDE 5 (which is originally running at linux kernel 5.10.x ,

I've read some forums and tried some tricks/solutions, but it seems taht the 'most effective' trick is to do this :

recently I tried to update the debian linux kernel from originally 5.1x.x to linux kernel 6.0.0

I think the command is as follows : "apt install -t bullseye-backports linux-image-amd64 linux-headers-amd64" and then sudo apt update && sudo apt upgrade -y.

After the linux kernel update upgrade to 6.x.x, It seems that the 'crash/hangs' happen to occur less frequent . It's getting better now, not as frequent as before (previously screen can freeze/hang every 15-30 minutes usage or less). Few months ago I think the LMDE5 esd more stable, it never hangs/freezes.

Additional Info :

I've also tried some other ideas/tricks found from some forums:
1. not use LVM but use EXT4 (basic) --> I reinstalled my LMDE5 from scratch
2. try to change the HDMI cable (from my ATI-AMD vga card to my monitor)
3. reinstall linux mint DE/GUI
4. disable suspend/hibernate mode
5. disable 'hardware acceleration' on my browsers (Firefox n Opera)
6. change the linux kernel from 5.1x.x to 6.x.x --> this one seems to give the more stable result (for now , hopefully it will get better)

by the way my PC spec its a rather old PC 2005 built, DDR3 -PC1600mhz 8GB ram, LGA775 (Core2Quad)(4cores 3Ghz), with new SSD. generally the perormce for daily use is quite acceptable most of the time only around 25% of the cores are used. as for memory currently it's using around 3GB is used (I'm currently viewing a lot of webpages with Firefox). Bu I think if I close all apps, the RAM usage is only arond 1-1.5GB

"inxi -Fxxz" is swhone below below :

Code: Select all

 inxi -Fxxxz
System:
  Kernel: 6.0.0-0.deb11.6-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 
  Desktop: Cinnamon 5.6.8 tk: GTK 3.24.24 wm: muffin dm: LightDM 1.26.0 
  Distro: LMDE 5 Elsie base: Debian 11.2 bullseye 
Machine:
  Type: Desktop Mobo: ASUSTeK model: P5P43TD PRO v: Rev X.0x 
  serial: <filter> BIOS: American Megatrends v: 0710 date: 11/04/2010 
CPU:
  Info: Quad Core model: Intel Core2 Quad Q9400 bits: 64 type: MCP 
  arch: Penryn rev: A L2 cache: 3 MiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 21334 
  Speed: 2000 MHz min/max: 2003/2670 MHz Core speeds (MHz): 1: 2000 2: 2000 
  3: 2001 4: 2000 
Graphics:
  Device-1: AMD Juniper XT [Radeon HD 5770] vendor: ASUSTeK driver: radeon 
  v: kernel bus ID: 01:00.0 chip ID: 1002:68b8 class ID: 0300 
  Display: x11 server: X.Org 1.20.11 driver: loaded: ati,radeon 
  unloaded: fbdev,modesetting,vesa resolution: 1: 1920x1080~60Hz 
  2: 1280x1024~60Hz s-dpi: 96 
  OpenGL: 
  renderer: AMD JUNIPER (DRM 2.50.0 / 6.0.0-0.deb11.6-amd64 LLVM 11.0.1) 
  v: 3.3 Mesa 20.3.5 compat-v: 3.1 direct render: Yes 
Audio:
  Device-1: Intel 82801JI HD Audio vendor: ASUSTeK driver: snd_hda_intel 
  v: kernel bus ID: 00:1b.0 chip ID: 8086:3a3e class ID: 0403 
  Device-2: AMD Juniper HDMI Audio [Radeon HD 5700 Series] vendor: ASUSTeK 
  driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 1002:aa58 
  class ID: 0403 
  Sound Server: ALSA v: k6.0.0-0.deb11.6-amd64 
Network:
  Device-1: Qualcomm Atheros AR8121/AR8113/AR8114 Gigabit or Fast Ethernet 
  vendor: ASUSTeK driver: ATL1E v: N/A port: dc00 bus ID: 02:00.0 
  chip ID: 1969:1026 class ID: 0200 
  IF: enp2s0 state: down mac: <filter> 
  Device-2: Realtek RTL8192CU 802.11n WLAN Adapter type: USB 
  driver: rtl8192cu bus ID: 5-2:2 chip ID: 0bda:8178 class ID: 0000 
  serial: <filter> 
  IF: wlx10feed12b44d state: up mac: <filter> 
Drives:
  Local Storage: total: 2.23 TiB used: 104.78 GiB (4.6%) 
  ID-1: /dev/sda vendor: Hitachi model: HTS542516K9SA00 size: 149.05 GiB 
  speed: 1.5 Gb/s serial: <filter> rev: C31P scheme: MBR 
  ID-2: /dev/sdb vendor: V-Gen model: 09SM22AR256SDK 256GB size: 238.47 GiB 
  speed: 3.0 Gb/s rotation: SSD serial: <filter> rev: 8B0 scheme: MBR 
  ID-3: /dev/sdc vendor: Western Digital model: WD20EARX-00PASB0 
  size: 1.82 TiB speed: 3.0 Gb/s serial: <filter> rev: AB51 scheme: MBR 
  ID-4: /dev/sdd type: USB model: SRT USB size: 30.22 GiB serial: <filter> 
  rev: 1100 scheme: MBR 
Partition:
  ID-1: / size: 52.47 GiB used: 15.17 GiB (28.9%) fs: ext4 dev: /dev/sdb6 
  ID-2: /boot/efi size: 499 MiB used: 288 KiB (0.1%) fs: vfat dev: /dev/sdb5 
Swap:
  ID-1: swap-1 type: partition size: 4 GiB used: 178 MiB (4.3%) priority: -2 
  dev: /dev/sdb7 
Sensors:
  System Temperatures: cpu: 67.0 C mobo: 46.0 C gpu: radeon temp: 64.0 C 
  Fan Speeds (RPM): cpu: 3245 psu: 0 case-1: 0 
  Power: 12v: 12.04 5v: N/A 3.3v: 3.10 vbat: N/A 
Info:
  Processes: 269 Uptime: 50m wakeups: 0 Memory: 7.77 GiB 
  used: 3.54 GiB (45.5%) Init: systemd v: 247 runlevel: 5 Compilers: 
  gcc: 10.2.1 alt: 10 Packages: apt: 2636 Shell: Bash v: 5.1.4 
  running in: gnome-terminal inxi: 3.3.01
Last edited by LockBot on Thu Sep 21, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
jwiz
Level 4
Level 4
Posts: 347
Joined: Tue Dec 20, 2016 6:59 am

Re: PC freezes randomly with LMDE5 at kernel 5.1x.x and after upgrading to 6.x kernel

Post by jwiz »

Also try to upgrade the packages 'linux-firmware', 'linux-firmware-nonfree', linux-misc-nonfree' and 'firmware-amd-graphics' from the bullseye-backports repo, if available.
User avatar
MiZoG
Level 8
Level 8
Posts: 2392
Joined: Fri Jan 26, 2018 8:30 pm
Location: Athens, Greece

Re: PC freezes randomly with LMDE5 at kernel 5.1x.x and after upgrading to 6.x kernel

Post by MiZoG »

I haven't seen any particular work done on old cpus but I have come across problematic cpu frequency scaling in newer kernels.
So I pretty much doubt it there could be any improvement brought by 6.0.x kernels to your setup.
Same goes for recent firmware. There's nothing new there for you.

Freezes: you need to get a more concrete idea about their cause.
journal -b if your system is able of recovering
otherwise, journalctl -b -1 to spot error messages logged during the one session before your current.
And this brings us to the problem of how you recover your system after these freezes.
Hard resets? Repeatedly? This is not good.

I would seek the most likely reason for freezes in the.. age of the hardware.
RAM, PSU failings etc.
Locked

Return to “Installation & Boot”