Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 11-20-2017, 10:54 PM   #1
LQ Newbie
Registered: Nov 2017
Posts: 3

Rep: Reputation: Disabled
Failed command Read DMA on healthy WD disk on linux > 4.12

Hello Everyone,
I need help reporting an effective kernel bug. Since kernel 4.12 update I haven't been able to boot my server. Actually everything loads fine up until I have to enter a password, at which point the kernel hangs completely, only spitting messages related to hard drive failure. I have to note that everything works fine with kernel 4.11 and below.

I haven't been able to get much information on this issue, so I need some pointers. I am running Manjaro at the moment

This is what I tried so far:
1-Fsck to check for errors when running kernel 4.11 and now 4.9
2-reformat my Hdd
3-tried booting in single user mode

I am frankly not sure what I have to report for helping the developpers help me.

Thank you very much if you can help!
Old 11-28-2017, 04:26 AM   #2
Ser Olmy
Senior Member
Registered: Jan 2012
Distribution: Slackware
Posts: 2,507

Rep: Reputation: Disabled
You should register a bug at

Attach your .config, as well as the dmesg log, which was probably written to your logfile prior to the crash.
1 members found this post helpful.
Old 12-10-2017, 12:24 AM   #3
LQ Newbie
Registered: Nov 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hello, Thanks for the reply, I didn't notice it until very recently.

The problem with the logs is that nothing useful is there. It seems like the system cannot access the hdd to write anything. Although I can't say for sure if that's indeed the case. You can see what the error messages look like here : Do you think that'd be enough for reporting a bug?

I am trying to do a bisect before filing a bug. I was able to narrow it down (I think?). This is the first time I am trying such a thing, so I am not sure I am doing it correctly. Nevertheless the last good commit that didn't hang, that I was able to build is this one: And the last bad commit is this one:

Here were my steps:
git bisect start
git checkout <Version>
make clean && make mrproper
zcat /proc/config.gz > .config
make localmodconfig
make -j16
If the build works:
make modules_install
cp -v arch/x86_64/boot/bzImage /boot/vmlinuz-<version>-x86_64
cp /etc/mkinitcpio.d/linux411.preset /etc/mkinitcpio.d/linux<version>.preset
vim /etc/mkinitcpio.d/linux<version>
mkinitcpio -p linux<version>
If it doesn't I do a
git bisect skip
and checkout the version suggested by the algorithm.

I am having difficulty from here to build the kernel because of a gcc functionality that was removed by Linus since :
The error is :
(.text+0x80447): undefined reference to `____ilog2_NaN'
Really not sure how to proceed from here
Old 12-10-2017, 01:44 PM   #4
LQ Newbie
Registered: Nov 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
I submitted this bug


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IDE error: ata1.00: failed command: READ DMA DJ Shaji Linux - Hardware 1 06-02-2012 02:31 AM
HDD SATA problems : failed command : READ DMA Dillinger86 Linux - Newbie 4 02-18-2012 09:52 PM
failed command: read dma (status: { DRDY DF ERR }) G00fy Linux - Hardware 2 01-21-2012 06:01 PM
HDD SATA problems : failed command : READ DMA (EXT) gomines Linux - Hardware 1 10-02-2011 10:01 AM
LXer: Open source makes a healthy site for healthy eaters LXer Syndicated Linux News 0 02-28-2008 11:51 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration