Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Linux & IDE drives, read with retries, read without retries
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
boatman9
n00b
n00b


Joined: 16 Aug 2007
Posts: 3

PostPosted: Fri Aug 17, 2007 8:26 pm    Post subject: Linux & IDE drives, read with retries, read without retr Reply with quote

When reading from a hard disk drive, can the Linux kernal read without retries? This option would be useful in some instances, such as first pass when recovering data from a failing hard drive using dd_rescue, or when scanning for bad blocks using badblocks. Yet programs such as dd_rescue and badblocks do not offer any such options, they send all read commands to the IDE drive as 'read sectors with retry' (0x20). The command 'read sectors without retry' is understood by an IDE drive, why are Linux programs not using it?
Back to top
View user's profile Send private message
thestick
Guru
Guru


Joined: 07 Apr 2006
Posts: 531
Location: /dev/urandom

PostPosted: Fri Aug 17, 2007 9:30 pm    Post subject: Reply with quote

emerge hdparm (ata) or sdparm(sata) and read the help files.
Back to top
View user's profile Send private message
boatman9
n00b
n00b


Joined: 16 Aug 2007
Posts: 3

PostPosted: Sun Aug 19, 2007 9:58 pm    Post subject: Reply with quote

At the moment I'm not a Gentoo user, just stopped by for some conversation. I've read the man page for hdparm but saw nothing about any read-no-retry mode. Is there URL where I can read aforementioned help files?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum