From owner-freebsd-current@FreeBSD.ORG Wed Dec 20 15:25:47 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E8A216A403 for ; Wed, 20 Dec 2006 15:25:47 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1225643CA2 for ; Wed, 20 Dec 2006 15:25:46 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [127.0.0.1] (pooker.samsco.org [168.103.85.57]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id kBKFPagP089690; Wed, 20 Dec 2006 08:25:42 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <458955F0.4020102@samsco.org> Date: Wed, 20 Dec 2006 10:25:36 -0500 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5 MIME-Version: 1.0 To: Rong-en Fan References: <6eb82e0612181734n92e4a95l9d54aeb1edae87d1@mail.gmail.com> <4589518C.3070507@samsco.org> <6eb82e0612200716x4fcf6960t3c5fe5cab5fd0bcf@mail.gmail.com> In-Reply-To: <6eb82e0612200716x4fcf6960t3c5fe5cab5fd0bcf@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: FreeBSD Current Subject: Re: bigdisk and scsi_da X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 20 Dec 2006 15:25:47 -0000 Rong-en Fan wrote: > On 12/20/06, Scott Long wrote: >> Rong-en Fan wrote: >> > It seems to me that scsi_da.c reports the wrong size: >> > >> > da1 at mpt0 bus 0 target 0 lun 0 >> > da1: Fixed Direct Access SCSI-5 device >> > da1: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged >> > Queueing Enabled >> > da1: 0MB (1 0 byte sectors: 0H 0S/T 0C) >> > >> > While geom shows the right one: >> > >> > Geom name: da1 >> > Providers: >> > 1. Name: da1 >> > Mediasize: 4991221760000 (4.5T) >> > Sectorsize: 512 >> > Mode: r0w0e0 >> > fwsectors: 63 >> > fwheads: 255 >> > >> > Speaking of bigdisk, can gpt modify on-disk table on-fly? >> > >> > Regards, >> > Rong-En Fan >> >> Just for reference, what version of FreeBSD is this? > > Ah, it's a 6.2-RC1. I thought I posted to stable@... > Ok, it makes a whole lot more sense now. 7-CURRENT has checks to prevent the divide-by-zero. I'm still looking into the actual bug, though. Scott