Date: Mon, 08 Mar 2004 23:48:59 +0300 From: Roman Kurakin <rik@cronyx.ru> To: =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@DeepCore.dk> Cc: hackers@freebsd.org Subject: Re: HDD questions Message-ID: <404CDC3B.301@cronyx.ru> References: <404B9E56.4060103@cronyx.ru> <404C3CD3.9030104@DeepCore.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to
> "freebsd-hackers-unsubscribe@freebsd.org"
>
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?404CDC3B.301>
