Bug 198127 - Failed command Read DMA on healthy WD disk on linux > 4.12
Summary: Failed command Read DMA on healthy WD disk on linux > 4.12
Status: NEW
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: Serial ATA (show other bugs)
Hardware: All Linux
: P1 high
Assignee: Tejun Heo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-10 19:43 UTC by Alassane MAiga
Modified: 2017-12-24 00:11 UTC (History)
0 users

See Also:
Kernel Version: 4.12 and up
Subsystem:
Regression: No
Bisected commit-id:


Attachments
lspci (17.80 KB, text/plain)
2017-12-10 20:01 UTC, Alassane MAiga
Details
Bissect log (4.54 KB, text/plain)
2017-12-24 00:11 UTC, Alassane MAiga
Details

Description Alassane MAiga 2017-12-10 19:43:13 UTC
This is my first bug report on the Linux kernel so please bear with me.

When booting all kernel versions starting from v4.12-rc1 I have a hard lock on my system. The boot process takes me to the login page, and I can enter my password, but as soon as I type enter, everything locks up. When I go to the TTY, after a while I get messages like:

ata13.01: Emask0x0 SAct 0x0 Serr 0x0 action 0x0 frozen
ata13.01: cmd c8/00:20:98:76:c8/00:00:00:00:00/f2 tag 0 dma 16384 in
               res 40/00:00:00:00:00/00:00:00:00:00/50 Emask 0x4 (timeout)
etcetc

Here you can find a bit more info: I have been dealing with this since May:
https://forum.manjaro.org/t/complete-freeze-on-boot-with-kernels-4-12/34557

I have been trying to bisect the issue, but I have some trouble compiling a few kernel versions because of a reference to log(2) missing from gcc.

I still was able to narrow it down to commit:
10517429b5ac242498d7d847f79f10c21d7eedb0 which works (doesn't have the bug)

and commit
4d6ca227c768b50b05cf183974b40abe444e9d0c which doesn't (has the bug)

The problem is that I am unable to see anything useful from the logs to present. But maybe someone here can guide me on how to provide more relevant info
Comment 1 Alassane MAiga 2017-12-10 20:01:05 UTC
Created attachment 261071 [details]
lspci
Comment 2 Alassane MAiga 2017-12-24 00:11:37 UTC
Created attachment 261313 [details]
Bissect log

Here is my bisect log. Was not sure if that could be usefull

Note You need to log in before you can comment on or make changes to this bug.