From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 8 12:44:20 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B39E616A4CE for ; Mon, 8 Mar 2004 12:44:20 -0800 (PST) Received: from hanoi.cronyx.ru (hanoi.cronyx.ru [144.206.181.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id E598D43D1F for ; Mon, 8 Mar 2004 12:44:19 -0800 (PST) (envelope-from rik@cronyx.ru) Received: (from root@localhost) by hanoi.cronyx.ru id i28Ki5dU045843 for hackers@freebsd.org.checked; (8.12.8/vak/2.1) Mon, 8 Mar 2004 23:44:05 +0300 (MSK) (envelope-from rik@cronyx.ru) Received: from cronyx.ru (rik.cronyx.ru [172.22.4.1]) by hanoi.cronyx.ru with ESMTP id i28KhagR045807; (8.12.8/vak/2.1) Mon, 8 Mar 2004 23:43:37 +0300 (MSK) (envelope-from rik@cronyx.ru) Message-ID: <404CDC3B.301@cronyx.ru> Date: Mon, 08 Mar 2004 23:48:59 +0300 From: Roman Kurakin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020610 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?S=F8ren_Schmidt?= References: <404B9E56.4060103@cronyx.ru> <404C3CD3.9030104@DeepCore.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Tue, 09 Mar 2004 05:17:10 -0800 cc: hackers@freebsd.org Subject: Re: HDD questions X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 20:44:20 -0000 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 error=10 >> 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" > >