From owner-freebsd-current@FreeBSD.ORG Tue Dec 19 07:19:44 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 7696016A416 for ; Tue, 19 Dec 2006 07:19:44 +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 D750A43CA0 for ; Tue, 19 Dec 2006 07:19:43 +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 kBJ6qc4k070981; Mon, 18 Dec 2006 23:52:48 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <45878C35.3030404@samsco.org> Date: Tue, 19 Dec 2006 01:52:37 -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> In-Reply-To: <6eb82e0612181734n92e4a95l9d54aeb1edae87d1@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: Tue, 19 Dec 2006 07:19:44 -0000 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 > XPT_CALC_GEOMETRY is failing when the disk is being probed. This is likely a problem with the MPT driver. However, I'd need some time to think through all of the code in order to be sure. Scott