LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 11-20-2017, 11:54 PM   #1
azalou
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, 05:26 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,477

Rep: Reputation: Disabled
You should register a bug at http://bugzilla.kernel.org.

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, 01:24 AM   #3
azalou
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 : https://forum.manjaro.org/t/complete...s-4-12/34557/3. 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: https://patchwork.kernel.org/patch/9611103/. And the last bad commit is this one: https://kernel.googlesource.com/pub/...b40abe444e9d0c.

Here were my steps:
Code:
git bisect start
git checkout <Version>
make clean && make mrproper
zcat /proc/config.gz > .config
make localmodconfig
make -j16
If the build works:
Code:
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>
update-grub
If it doesn't I do a
Quote:
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 : https://www.mail-archive.com/linux-k...sg1344220.html
The error is :
Code:
(.text+0x80447): undefined reference to `____ilog2_NaN'
Really not sure how to proceed from here
 
Old 12-10-2017, 02:44 PM   #4
azalou
LQ Newbie
 
Registered: Nov 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
I submitted this bug
https://bugzilla.kernel.org/show_bug.cgi?id=198127
 
  


Reply


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 03:31 AM
HDD SATA problems : failed command : READ DMA Dillinger86 Linux - Newbie 4 02-18-2012 10:52 PM
failed command: read dma (status: { DRDY DF ERR }) G00fy Linux - Hardware 2 01-21-2012 07:01 PM
HDD SATA problems : failed command : READ DMA (EXT) gomines Linux - Hardware 1 10-02-2011 11:01 AM
LXer: Open source makes a healthy site for healthy eaters LXer Syndicated Linux News 0 02-29-2008 12:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 08:37 PM.

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