LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-10-2006, 12:46 AM   #1
cr9c1
LQ Newbie
 
Registered: Nov 2005
Posts: 7

Rep: Reputation: 0
Kernel 2.6.19 throwing up hd read errors


I tried compiling linux-2.6.19 today and have since tried several times recompiling it.

Im getting those pesky Seek/Read errors and DMA ends up getting disabled.

I've verified that I have the proper drivers loading in the kernel. I am using a ReiserFS file system and that is also properly compiled into the kerenl. I've tried everything I can come up with but nothing works.


Anyone have any ideas?
 
Old 12-11-2006, 05:09 AM   #2
erickFis
Member
 
Registered: Jun 2003
Location: Brasil
Distribution: Slackware 13.1_64 Gold Edition
Posts: 209

Rep: Reputation: 32
Hi cr9c1!

I had this issue just a few time ago,
and I now how boring is to loose dma....

After running several tests with smard, i found (in mail lists), the solution was to exchange my flat cable.

And, believe or not, it just worked!

Now I'm a happy dma man again
 
Old 12-11-2006, 08:23 AM   #3
kremers78
Member
 
Registered: Nov 2006
Distribution: slackware 11.0
Posts: 40

Rep: Reputation: 15
Try enabling dma support in the kernel. That worked for me (same kernel, also reiserfs)
 
Old 12-11-2006, 09:28 AM   #4
hollywoodb
Member
 
Registered: Aug 2003
Location: Minnesota, U.S.A.
Distribution: Debian, openSUSE
Posts: 400

Rep: Reputation: 30
Quote:
Originally Posted by erickFis
Hi cr9c1!

I had this issue just a few time ago,
and I now how boring is to loose dma....

After running several tests with smard, i found (in mail lists), the solution was to exchange my flat cable.

And, believe or not, it just worked!

Now I'm a happy dma man again

This is fairly common... the problem with flat IDE cables is that they are subject to breakage. They're relatively stiff yet often they are folded or bent at semi-sharp angles, which causes metal fatigue and can cause the thin wires inside to break or become semi-seperated where the cable is no longer reliable.

I've since converted all my machines to round cables, which cost a little more. To date I've had zero issues with the round cables, of course you still shouldn't fold them or force them to sharp bends.
 
Old 12-17-2006, 08:36 PM   #5
cr9c1
LQ Newbie
 
Registered: Nov 2005
Posts: 7

Original Poster
Rep: Reputation: 0
I tried a different IDE cable, that didn't work. DMA support is enabled in the kernel. It for some reason is just throwing up errors.

I can turn DMA on, it lets me do that, but for some reason when the kernel boots it doesn't work for me.
 
Old 12-18-2006, 04:54 AM   #6
erickFis
Member
 
Registered: Jun 2003
Location: Brasil
Distribution: Slackware 13.1_64 Gold Edition
Posts: 209

Rep: Reputation: 32
so it's time to post here your errors log:
please post #dmesg

You should try #smartctl for check your hd either.
Please check #smartctl man page or internet manuals for usage, because just now I can't remember how to do the check up.
And, finally, post your #smartctl output here to.
 
Old 12-18-2006, 04:01 PM   #7
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 32
I feel you pain ... DriveReady SeekComplete DataRequest Error

Yeah I got problems too. I've been running this kernel (2.6.16.13) since May IIRC (which I probably don't).

I get a whole slew of errors like:
Code:
hdb: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hdb: task_in_intr: error=0x10 { SectorIdNotFound }, LBAsect=39167615, sector=39102336
ide: failed opcode was: unknown
I tried recompiling several times with different options. I've tried enabling an initrd (initial ram disk) for the reiserfs modules (even though I had reiser support built in). I tried swapping the ide channels (drive A moved from ide0 to ide1 on mainboard) and new cables. Changed fstab so none of partitions on hdb are mounted automatically.

None of this worked.

I'd have thought that with noauto set on all hdb partitions that the drive on /dev/hdb wouldn't even be touched at boot ... but this is clearly not true. Note that hdb was historically a windows drive but has several partitions now - it used to have lilo in the MBR but that's on the other drive now too.

I too enable DMA using "hdparm -d1 /dev/hdb" in my rc.local (again IIRC).

People told me the disk was failing but smart told me otherwise and the last 7 months use appears to confirm it's not hardware failure - or if it is it's an esoteric failure to respond to a particular opcode that doesn't make any difference to disk / fs integrity. I also noticed the other day when running an fsck (which gave no errors) via knoppix that I get the same sort of errors when I boot knoppix.

That's it.

I'm looking forward to finding time for a kernel upgrade to see if it gets fixed. In the mean time I'm just living with it.

HTH. Any progress then please post back here.

Last edited by pbhj; 12-18-2006 at 04:03 PM.
 
  


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
Read-Only Filesysystem errors kyletriggs Linux - General 4 03-04-2006 02:11 AM
kernel compilation:throwing error related with sound during "make bzImage" b0nd Linux - Newbie 1 08-19-2005 09:16 AM
GCC First Pass throwing errors...pls help! chakkaradeepcc Linux From Scratch 2 04-11-2005 01:20 PM
kernel panic unable to mount root (yes ive read/read other posts) dmx9595 Linux - General 4 01-17-2004 05:07 AM
Errors during filesystem check with one kernel while no errors with other kernel Potentials Linux - General 11 12-30-2003 04:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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
Open Source Consulting | Domain Registration