You are not logged in.

#1 2017-11-25 11:34:26

ptkato
Member
Registered: 2016-04-05
Posts: 31
Website

System hangs

I don't know why, but recently the system started to hang for a few minutes. Everything worked, then bam! The strangest thing is that my status bar, terminal, and actually everything else still worked, but got unresponsive. I really don't know if it might be related to something I installed recently or even the kernel, I'm using a Ryzen 5 1600, kernel 4.13.12, just for the records. My dmesg output: https://pastebin.com/1dA6sNjG, I can't really rule out anything from those logs, but certainly, something is not right.

Last edited by ptkato (2017-11-25 11:35:19)

Offline

#2 2017-11-25 12:42:58

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

Re: System hangs

You failed to describe *what* and *how" statusbar/terminal/... "worked, but got unrespponsive".

Also

[  283.840039] print_req_error: I/O error, dev sda, sector 41646080
[  283.840045] EXT4-fs warning (device sda2): ext4_end_bio:322: I/O error 10 writing to inode 3410007 (offset 360710144 size 8388608 starting block 5206016)
[  283.840047] Buffer I/O error on device sda2, logical block 4424448
...
[  497.347037] ata1.00: NCQ disabled due to excessive errors
[  497.347040] ata1.00: exception Emask 0x0 SAct 0x7dffffff SErr 0x0 action 0x6 frozen
[  497.347044] ata1.00: failed command: WRITE FPDMA QUEUED
[  497.347047] ata1.00: cmd 61/00:00:00:88:7c/08:00:02:00:00/40 tag 0 ncq dma 1048576 ou
[  497.347049] ata1.00: status: { DRDY }
....
[  508.848381] ata1.00: device reported invalid CHS sector 0
...
[  614.941825] JBD2: Detected IO errors while flushing file data on sda2-8

https://wiki.archlinux.org/index.php/SMART

And backup your data NOW!

Offline

#3 2017-11-25 17:06:23

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,722

Re: System hangs

And

[  540.653693] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  540.653699] ata1.00: failed command: WRITE DMA EXT
[  540.653702] ata1.00: cmd 35/00:00:00:c8:80/00:08:02:00:00/e0 tag 11 dma 1048576 out
[  540.653704] ata1.00: status: { DRDY }
[  540.653707] ata1: hard resetting link
[  550.653420] ata1: softreset failed (1st FIS failed)
[  550.653427] ata1: hard resetting link
[  553.920756] systemd[1]: systemd-journald.service: State 'stop-sigabrt' timed out. Terminating.
[  560.653783] ata1: softreset failed (1st FIS failed)
[  560.653790] ata1: hard resetting link
[  561.670759] systemd[1]: systemd-coredump@1-1281-0.service: Processes still around after SIGKILL. Ignoring.
[  561.670927] systemd[1]: systemd-coredump@0-1282-0.service: Processes still around after SIGKILL. Ignoring.
[  561.671000] systemd[1]: systemd-coredump@2-1283-0.service: Processes still around after SIGKILL. Ignoring.
[  570.786602] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[  570.942996] ata1.00: configured for UDMA/133
[  570.943009] ata1.00: device reported invalid CHS sector 0
[  570.943024] ata1: EH complete
[  614.941825] JBD2: Detected IO errors while flushing file data on sda2-8
[  615.032732] JBD2: Detected IO errors while flushing file data on sda2-8
seth wrote:

And backup your data NOW!

Right now.
There is something wrong with hardware on that ATA bus.  Likely the drive.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2017-11-26 12:42:26

ptkato
Member
Registered: 2016-04-05
Posts: 31
Website

Re: System hangs

I could input characters into the terminal, but while the system is hanging, sending them had no effect, also, the statusbar monitoring, clock, etc, still worked. Animations too, I had a youtube video playing and then it started buffering, but I couldn't pause/unpause, switching workspaces didn't work too. I was also doing a pacman -Syu and it just stoped in the middle of the download.

About the disk, I thought about that too and did a test, before creating this topic, with smartctl and it passed. I might get a new drive anyway, it's a bit old.

Offline

#5 2017-11-26 12:54:58

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

Re: System hangs

Cable? The disk I/O error is very most likely your problem.

Offline

Board footer

Powered by FluxBB