HDD questions

Roman Kurakin rik at cronyx.ru
Mon Mar 8 12:44:20 PST 2004


Søren Schmidt wrote:

> Roman Kurakin wrote:
>
>> Hi,
>>
>>    I have some problems with my HDD (ST380021A). The problem was 
>> checked on 5.2, 5.2.1, and some
>> 5.Current (cvsuped about week or two).
>>
>>    At first I got this problem while system installation. I get trap 
>> and message from ata after I start a commit:
>> FAILURE READ_DMA status=51 <READY, DSC, ERROR> error=10 
>> <NID_NOT_FOUND> LBA=245529601
>
>
> If I read the above modelnumber correctly it is a 80G disk..
>
> There is only ~160000000 sectors on such a disk, so you cant expect to 
> read sector 245529601 as its not there :) 

I know that, and this is the problem. I am trying to read 41929650, but 
system thinks this is 245529601.
This sector is near 20G mark, so I tried to read it from 40G disk, which 
I use to run fbsd. All is fine.

>
> Now why sysinstall tries to do that is beyond me, but could be a 
> problem with the geometry (it seems to always get it wrong these days). 

This is not a problem of sysinstall at all. As I wrote, it is enougth to 
try to read one sector. So this problem
somewhere between read call and ata driver. This area wasn't in focus of 
my interest before, so I don't
know where to go.

Also, I tryied to read some sectors back and forward, and found out that 
value of LBA changes nolinear.
Lower byte is linear only on interval of 63 values, so I gues this is a 
sector value. And  it seems that LBA value
not LBA value at all :-(

This is all I have now. Any ideas, comments?

Best regards,
                                Roman Kurakin

>
>
> -Søren
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to 
> "freebsd-hackers-unsubscribe at freebsd.org"
>
>







More information about the freebsd-hackers mailing list