From owner-freebsd-current@FreeBSD.ORG Tue Nov 23 22:32:47 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3650216A4CE for ; Tue, 23 Nov 2004 22:32:47 +0000 (GMT) Received: from tensor.xs4all.nl (tensor.xs4all.nl [194.109.160.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA0BA43D1F for ; Tue, 23 Nov 2004 22:32:46 +0000 (GMT) (envelope-from dimitry@andric.com) Received: from kilgore.dim (kilgore.dim [192.168.0.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.xs4all.nl (Postfix) with ESMTP id 7A87F22852; Tue, 23 Nov 2004 23:32:44 +0100 (CET) Date: Tue, 23 Nov 2004 23:32:33 +0100 From: Dimitry Andric X-Mailer: The Bat! (v3.0.2.7) Professional X-Priority: 3 (Normal) Message-ID: <776228597.20041123233233@andric.com> To: "Daniel Eriksson" In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="----------6817D104BDB1059" cc: freebsd-current@freebsd.org cc: =?ISO-8859-1?Q?'S=F8ren_Schmidt'?= Subject: Re: ataraid and 1TB+ storage? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2004 22:32:47 -0000 ------------6817D104BDB1059 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable On 2004-11-23 at 22:43:41 Daniel Eriksson wrote: > ad4: 190782MB [387621/16/63] at ata2-master UDMA100 > ad5: 190782MB [387621/16/63] at ata2-slave UDMA100 > ad6: 190782MB [387621/16/63] at ata3-master UDMA100 > ad7: 190782MB [387621/16/63] at ata3-slave UDMA100 > ad8: 190782MB [387621/16/63] at ata4-master UDMA100 > ad9: 190782MB [387621/16/63] at ata4-slave UDMA100 [...] > ar0: 9007199253788533MB [1499975777/255/63] status: REA= DY This looks like a wraparound over 2^31 sectors, so the sector count gets negative. And then this is interpreted as a 64-bit unsigned: (2^64 - (6*387621*16*63 - 2^31)) / 2 / 1024 =3D 9007199254644874 MB Not exactly, but close enough to the reported 9007199253788533 MB, I would think... If anyone can explain the difference, please let us know. (I'm guessing that the LBA capacity of the individual drives is a bit different from the 387621/16/63 geometry they're reporting.) Anyway, this is probably some bug in the ataraid driver. :) ------------6817D104BDB1059 Content-Type: application/pgp-signature -----BEGIN PGP MESSAGE----- Version: GnuPG v1.2.5 (MingW32) iD8DBQFBo7qBsF6jCi4glqMRAjzKAJ0TdjJ/SJLyitxHjOZ9eDK9rTpnmgCeJx+L g7Lh4lpFBVStF9kYT23xt3c= =8zYA -----END PGP MESSAGE----- ------------6817D104BDB1059--