You are not logged in.

#1 Yesterday 11:40:04

har936
Member
Registered: 2026-04-17
Posts: 4

Frequent crashes in my arch linux

When i was using my arch (gnome), suddenly firefox crashed, then all the icons disappeared, it looked broken, then it will go to the loading linux linux and loading initial ramdisk will come as if it is booting, then it will come Failed to start Generate shutdown-ramfs, then i had to long press my power button in my lap to kill. first actually, i know it is wrong, but i took journalctl logs and pasted in chatgpt to see what is the error it told. it mainly pointed on it being gnome crash error. Again i was in gnome, suddenly it crashed and hit kernel panic with a big qr code with log report. I thought i was doomed.So, i also have hyprland too, so i switched to hyprland, but i kept my laptop for 2 hours in sleep and it still crashed when i opened. when i asked chatgpt parallely, it mainly focused on it being ssd failing. the error was that there was read timeout. I even once hit kernel panic and a big QR code appeared. When i checked my ssd with my service guy, he checked and told the health is 98%. he mentioned the crashes might be reason for the 2%. but i faced crashes in only in arch. In windows it hung for a brief time, didnt crash. Can you guys help to identify is there issue with the linux.

My kernel panic:
Kernel panic

this is output for my journalctl level 3 errors in a boot it crashed:
https://pastebin.com/1bGFrJAp

ps: this is my first post, idk how to post stuff, if the format of posting the kernel panic log and the crash log in a url is wrong, please tell. I hope this format doesn't trigger anyone and is open to help me sad .

Last edited by har936 (Yesterday 12:07:25)

Offline

#2 Yesterday 13:14:16

cryptearth
Member
Registered: 2024-02-03
Posts: 2,049

Re: Frequent crashes in my arch linux

Apr 15 19:39:31 archlinux kernel: I/O error, dev sda, sector 4096 op 0x0:(READ) flags 0x880700 phys_seg 1 prio class 2
Apr 15 19:39:31 archlinux kernel: device offline error, dev sda, sector 4096 op 0x0:(READ) flags 0x800000 phys_seg 1 prio class 2

your drive is dead - you have to replace it

Offline

#3 Yesterday 13:19:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 74,653

Re: Frequent crashes in my arch linux

Apr 15 19:39:31 archlinux kernel: I/O error, dev sda, sector 4096 op 0x0:(READ) flags 0x880700 phys_seg 1 prio class 2
Apr 15 19:39:31 archlinux kernel: device offline error, dev sda, sector 4096 op 0x0:(READ) flags 0x800000 phys_seg 1 prio class 2
Apr 15 19:39:31 archlinux kernel: Buffer I/O error on dev sda, logical block 512, async page read
[ 1578.098749] systemd-journald[484]: Failed to vacuum /var/log/journal/0b9e0a9bf6a746e7b72fca340ef6e518, ignoring: Input/output error
[ 1578.098793] EXT4-fs warning (device nvme0n1p8): dx_probe:791: inode #788561: lblock 0: comm systemd-journal: error -5 reading directory block
[ 1578.127375] fbcon: Taking over console
[ 1578.134085] Console: switching to colour frame buffer device 240x67
[ 1578.141248] wlan0: deauthenticating from a8:da:0c:61:74:81 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 1578.141766] coredump: 1872(wpa_supplicant): |/usr/lib/systemd/systemd-coredump pipe failed
[ 1578.152946] coredump: 2678(udisksd): |/usr/lib/systemd/systemd-coredump pipe failed
[ 1579.141710] coredump: 696(iwd): |/usr/lib/systemd/systemd-coredump pipe failed
[ 1579.142983] systemd-journald[484]: Failed to write entry to /var/log/journal/0b9e0a9bf6a746e7b72fca340ef6e518/system.journal (21 items, 515 bytes) despite vacuuming, ignoring: Input/output error (Dropped 120 similar message(s))
[ 1579.314434] systemd[1]: segfault at 7ffce557aff8 ip 00007f5b5029cdc8 sp 00007ffce557b000 error 6 in libsystemd-shared-260.1-1.so[29cdc8,7f5b50075000+32a000] likely on CPU 4 (core 8, socket 0)
[ 1579.315928] Code: 1a 00 ba 38 00 00 00 48 8d 35 0f ab 13 00 48 8d 3d 8b 46 17 00 48 89 e5 ff 15 e4 fc 29 00 0f 1f 40 00 f3 0f 1e fa 55 48 89 e5 <53> 48 83 ec 18 48 85 ff 0f 84 c2 01 00 00 48 8b 42 28 49 89 f1 49
[ 1579.316220] coredump: 1(systemd): |/usr/lib/systemd/systemd-coredump pipe failed
[ 1579.316224] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

Please post your complete system journal for the boot:

sudo journalctl -b -1 | curl -s -H "Accept: application/json, */*" --upload-file - 'https://paste.c-net.org/'

my ssd with my service guy, he checked and told the health is 98%

And also "smartctl -a /dev/sda" and "nvme smart-log /dev/nvme0"

Is there a parallel windows installation?

Edit: @cryptearth, don't underestimate cable/bus errors wink

Last edited by seth (Yesterday 13:20:19)

Online

#4 Yesterday 13:36:27

har936
Member
Registered: 2026-04-17
Posts: 4

Re: Frequent crashes in my arch linux

cryptearth wrote:
Apr 15 19:39:31 archlinux kernel: I/O error, dev sda, sector 4096 op 0x0:(READ) flags 0x880700 phys_seg 1 prio class 2
Apr 15 19:39:31 archlinux kernel: device offline error, dev sda, sector 4096 op 0x0:(READ) flags 0x800000 phys_seg 1 prio class 2

your drive is dead - you have to replace it

But, it is working fine now
Like it is been 5 days since i had a crash....

Offline

#5 Yesterday 13:42:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 74,653

Re: Frequent crashes in my arch linux

In that case you'll likely have to increase the boot offset (-1 is the previous boot)

Online

#6 Yesterday 14:07:20

har936
Member
Registered: 2026-04-17
Posts: 4

Re: Frequent crashes in my arch linux

seth wrote:
Apr 15 19:39:31 archlinux kernel: I/O error, dev sda, sector 4096 op 0x0:(READ) flags 0x880700 phys_seg 1 prio class 2
Apr 15 19:39:31 archlinux kernel: device offline error, dev sda, sector 4096 op 0x0:(READ) flags 0x800000 phys_seg 1 prio class 2
Apr 15 19:39:31 archlinux kernel: Buffer I/O error on dev sda, logical block 512, async page read
[ 1578.098749] systemd-journald[484]: Failed to vacuum /var/log/journal/0b9e0a9bf6a746e7b72fca340ef6e518, ignoring: Input/output error
[ 1578.098793] EXT4-fs warning (device nvme0n1p8): dx_probe:791: inode #788561: lblock 0: comm systemd-journal: error -5 reading directory block
[ 1578.127375] fbcon: Taking over console
[ 1578.134085] Console: switching to colour frame buffer device 240x67
[ 1578.141248] wlan0: deauthenticating from a8:da:0c:61:74:81 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 1578.141766] coredump: 1872(wpa_supplicant): |/usr/lib/systemd/systemd-coredump pipe failed
[ 1578.152946] coredump: 2678(udisksd): |/usr/lib/systemd/systemd-coredump pipe failed
[ 1579.141710] coredump: 696(iwd): |/usr/lib/systemd/systemd-coredump pipe failed
[ 1579.142983] systemd-journald[484]: Failed to write entry to /var/log/journal/0b9e0a9bf6a746e7b72fca340ef6e518/system.journal (21 items, 515 bytes) despite vacuuming, ignoring: Input/output error (Dropped 120 similar message(s))
[ 1579.314434] systemd[1]: segfault at 7ffce557aff8 ip 00007f5b5029cdc8 sp 00007ffce557b000 error 6 in libsystemd-shared-260.1-1.so[29cdc8,7f5b50075000+32a000] likely on CPU 4 (core 8, socket 0)
[ 1579.315928] Code: 1a 00 ba 38 00 00 00 48 8d 35 0f ab 13 00 48 8d 3d 8b 46 17 00 48 89 e5 ff 15 e4 fc 29 00 0f 1f 40 00 f3 0f 1e fa 55 48 89 e5 <53> 48 83 ec 18 48 85 ff 0f 84 c2 01 00 00 48 8b 42 28 49 89 f1 49
[ 1579.316220] coredump: 1(systemd): |/usr/lib/systemd/systemd-coredump pipe failed
[ 1579.316224] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

Please post your complete system journal for the boot:

sudo journalctl -b -1 | curl -s -H "Accept: application/json, */*" --upload-file - 'https://paste.c-net.org/'

my ssd with my service guy, he checked and told the health is 98%

And also "smartctl -a /dev/sda" and "nvme smart-log /dev/nvme0"

Is there a parallel windows installation?

Edit: @cryptearth, don't underestimate cable/bus errors wink


My entire system boot: (thanks for that offset info, i searched up all the boots and found it is 23rd one. this is the full journal of the crashed one)
complete system journal for the boot

This is the output for "sudo smartctl -a /dev/sda":
Output

But i dont have sda, i have only nvme0n1.
So i did: "sudo smartctl -a /dev/nvme0n1". Its output is:
https://paste.c-net.org/GoodmanLucked

output for "sudo nvme smart-log /dev/nvme0n1" is:
https://paste.c-net.org/HarpyRange

edit: also yeah, i have dual booted arch and windows.

The above one is normal crash one i think, because it doesnt have proper end (Journal didnt stop last line)
this below full journal is the kernel panic crash one i think. (i had multiple crashes...)
https://paste.c-net.org/McintyreLifeboat

also i have MSI Thin 15 B13VE laptop, not a desktop..

Last edited by har936 (Yesterday 14:40:58)

Offline

#7 Yesterday 14:12:15

cryptearth
Member
Registered: 2024-02-03
Posts: 2,049

Re: Frequent crashes in my arch linux

seth wrote:

don't underestimate cable/bus errors wink

agreed - based upon many issues over at github/zfs about failing pools which turned out to be caused by bad cables / bad power ... but would be unusual for nvme ... unless one uses a janky usb adapter ... or flimsy flatflex and raspi like Jeff Geerling

Offline

#8 Yesterday 15:28:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 74,653

Re: Frequent crashes in my arch linux

But i dont have sda, i have only nvme0n1.

Apr 15 19:39:31 archlinux kernel: Buffer I/O error on dev sda, logical block 512, async page read

You had…

edit: also yeah, i have dual booted arch and windows.

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

If that's not it and

1987:5021  Phison Electronics Corporation PS5021-E21 PCIe4 NVMe Controller (DRAM-less)
…
Apr 15 19:25:39 archlinux kernel: pci 10000:e1:00.0: can't override BIOS ASPM; OS doesn't have ASPM control

about the nvme, see https://wiki.archlinux.org/title/Solid_ … leshooting
There isn't gonna be any journal entry about the crash after a kernel panic - does it typically relate to sleeping/hibernating the device?

Online

#9 Today 08:34:12

har936
Member
Registered: 2026-04-17
Posts: 4

Re: Frequent crashes in my arch linux

seth wrote:

But i dont have sda, i have only nvme0n1.

Apr 15 19:39:31 archlinux kernel: Buffer I/O error on dev sda, logical block 512, async page read

You had…

edit: also yeah, i have dual booted arch and windows.

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

If that's not it and

1987:5021  Phison Electronics Corporation PS5021-E21 PCIe4 NVMe Controller (DRAM-less)
…
Apr 15 19:25:39 archlinux kernel: pci 10000:e1:00.0: can't override BIOS ASPM; OS doesn't have ASPM control

about the nvme, see https://wiki.archlinux.org/title/Solid_ … leshooting
There isn't gonna be any journal entry about the crash after a kernel panic - does it typically relate to sleeping/hibernating the device?


That time of that crash i think i had my external hdd connected. but i dont think that is the reason, it is perfectly working hdd, and crashes happened even without it. i think it just detected the external hdd.

And i disabled the windows startup as instructed in wiki(including hybernation ig, in the arch wiki, it was recommended both to be turned off).

for the NVME troubleshooting, setting nvme_core.default_ps_max_latency_us=0 , i am worried about my battery health and heating issues. do i have to set this? Also, it has been a week since i had a crash too..  should i disable low power mode for my ssd?

And yeahh, it mainly happened during after i left the laptop for sleep for some time and turned it back on.

Offline

#10 Today 15:43:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 74,653

Re: Frequent crashes in my arch linux

APST is particularly an issue wrt S3/s2idle - but so is a hibernating windows.
If the situation doesn't stabilize and you get more nvme related issues you should™ absolutely test to disable it as well as the IOMMU ("iommu=soft")
It will consume more battery while idling IO (you can check this w/ powertop - claims are 2-3W) but the system won't overheat (unless it's extremely poorly designed) and the immediate goal is to figure whether this will stabilize the system.

Online

Board footer

Powered by FluxBB