Frequent Kernel Panics for some reason

Computer Info: HP 15-ab034tx - i7 5500U 2.4GHz - 8GB RAM - 1TB HDD - Nvidia 940m 2GB Dedicated Graphics

uname -a: Linux hackesta 5.8.16-2-MANJARO #1 SMP PREEMPT Mon Oct 19 11:33:03 UTC 2020 x86_64 GNU/Linux

Problem: Since the past few days, I am getting frequent kernel panics, after 10-15 minutes of use. I used journalctl to find the cause and libpython3.8.so.1.0 is the most common error before the panic. (I will attach a couple of the outputs at the end).

I ran memtest86+ twice. One three days ago (3 passes, 0 errors) and one today (5 passes, 0 errors). I have no idea about what can cause this.

I didn’t try kdump yet as I might need to compile a kernel for that, and that is something I haven’t done yet.

I hope this will be resolved here.

journalctl output 1
journalctl output 2

can you return

inxi -Fza  --no-host

can you install theses kernels

sudo mhwd-kernel -i linux54
sudo mhwd-kernel -i linux419

then reboot , press Esc to see grub and in advanced select other kernel

Here’s the output to inxi -FZA --no-host:

System:    Kernel: 5.8.16-2-MANJARO x86_64 bits: 64 compiler: N/A 
       parameters: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64 root=UUID=af174167-9ca5-453e-8249-4830583ba2d5 rw quiet 
       resume=UUID=8be806bf-2b77-49a7-8713-fd2da86f23de 
       Desktop: i3 4.18.2 info: polybar dm: LightDM 1.30.0 Distro: Manjaro Linux 
Machine:   Type: Laptop System: Hewlett-Packard product: HP Pavilion Notebook v: Type1ProductConfigId serial: <filter> 
       Chassis: type: 10 serial: <filter> 
       Mobo: Hewlett-Packard model: 8096 v: 89.33 serial: <filter> UEFI [Legacy]: Insyde v: F.91 date: 08/20/2019 
Battery:   ID-1: BAT0 charge: 25.1 Wh condition: 25.1/25.1 Wh (100%) volts: 16.8/14.8 model: Hewlett-Packard Primary 
       type: Li-ion serial: N/A status: Full 
       Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard serial: <filter> charge: 55% (should be ignored) 
       rechargeable: yes status: Discharging 
       Device-2: hidpp_battery_1 model: Logitech Wireless Mouse serial: <filter> charge: 55% (should be ignored) 
       rechargeable: yes status: Discharging 
CPU:       Topology: Dual Core model: Intel Core i7-5500U bits: 64 type: MT MCP arch: Broadwell family: 6 model-id: 3D (61) 
       stepping: 4 microcode: 2F L2 cache: 4096 KiB 
       flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19162 
       Speed: 2893 MHz min/max: 500/3000 MHz Core speeds (MHz): 1: 2893 2: 2913 3: 2893 4: 2916 
       Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
       Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
       Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
       Type: meltdown mitigation: PTI 
       Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
       Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
       Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling 
       Type: srbds mitigation: Microcode 
       Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel HD Graphics 5500 vendor: Hewlett-Packard driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:1616 
       Device-2: NVIDIA GM108M [GeForce 940M] vendor: Hewlett-Packard driver: N/A alternate: nouveau bus ID: 0a:00.0 
       chip ID: 10de:1347 
       Device-3: Chicony HP Truevision HD type: USB driver: uvcvideo bus ID: 1-3:3 chip ID: 04f2:b50d serial: <filter> 
       Display: x11 server: X.Org 1.20.9 compositor: compton driver: intel FAILED: nvidia display ID: :0 screens: 1 
       Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1013x285mm (39.9x11.2") s-diag: 1052mm (41.4") 
       Monitor-1: eDP1 res: 1920x1080 hz: 60 dpi: 143 size: 340x190mm (13.4x7.5") diag: 389mm (15.3") 
       Monitor-2: HDMI1 res: 1920x1080 hz: 60 dpi: 102 size: 480x270mm (18.9x10.6") diag: 551mm (21.7") 
       OpenGL: renderer: Mesa Intel HD Graphics 5500 (BDW GT2) v: 4.6 Mesa 20.1.8 direct render: Yes 
Audio:     Device-1: Intel Broadwell-U Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 00:03.0 
       chip ID: 8086:160c 
       Device-2: Intel Wildcat Point-LP High Definition Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel 
       bus ID: 00:1b.0 chip ID: 8086:9ca0 
       Sound Server: ALSA v: k5.8.16-2-MANJARO 
Network:   Device-1: Realtek RTL8723BE PCIe Wireless Network Adapter vendor: Hewlett-Packard driver: rtl8723be v: kernel 
       port: 5000 bus ID: 08:00.0 chip ID: 10ec:b723 
       IF: wlo1 state: down mac: <filter> 
       Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Hewlett-Packard driver: r8169 v: kernel port: 4000 
       bus ID: 09:00.0 chip ID: 10ec:8136 
       IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 2.73 TiB used: 185.43 GiB (6.6%) 
       SMART Message: Required tool smartctl not installed. Check --recommends 
       ID-1: /dev/sda vendor: Western Digital model: WD10JPVX-60JC3T0 size: 931.51 GiB block size: physical: 4096 B 
       logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> rev: 1A01 scheme: MBR 
       ID-2: /dev/sdb type: USB vendor: Western Digital model: WD Elements 25A2 size: 1.82 TiB block size: physical: 512 B 
       logical: 512 B serial: <filter> rev: 1021 scheme: GPT 
Partition: ID-1: / raw size: 242.96 GiB size: 238.15 GiB (98.02%) used: 185.43 GiB (77.9%) fs: ext4 dev: /dev/sda9 
Swap:      Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
       ID-1: swap-1 type: partition size: 6.07 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda8 
Sensors:   System Temperatures: cpu: 66.0 C mobo: N/A 
       Fan Speeds (RPM): N/A 
Info:      Processes: 248 Uptime: 52m Memory: 7.71 GiB used: 1.56 GiB (20.3%) Init: systemd v: 246 
Compilers: gcc: 10.2.0 
       clang: 10.0.1 Packages: pacman: 1871 lib: 472 flatpak: 0 Shell: Zsh v: 5.8 running in: guake inxi: 3.1.05 

Which kernel should I boot into?

Edit:
I have booted into the 5.4 Kernel. I will update if I face any more issues.
Meanwhile, I have a few additional questions:

  1. Why the linux54 and linux419 kernels? What’s special about them?
  2. If linux54 works for me, how do I make it the default and prevent it from changing during pacman -Syu?
  3. If linux54 works, what’s wrong with the one I currently have?

you have mixed MBR and GPT disks
you have installed UEFI[Legacy]
you have to do a fsck on your disk sda2
you have errors on wifi

other error with

sudo journalctl -b0 -p4

1.Mixed Disks: sda is my internal hard disk (MBR), and sdb is an external HDD (connected over USB).
2. Is that an issue?
3. Ok I will. It is a 260MB FAT32 partition created by Windows during it’s installation.
4. Hmm. I will look into it as well.

Do you need the output of the command? One of the important things I notice is that I am missing bbswitch for some reason.

Also, I am on linux54 since 3 hours and it hasn’t had any issues