From owner-freebsd-current@FreeBSD.ORG Wed Dec 20 17:04:12 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 0E22D16A47B for ; Wed, 20 Dec 2006 17:04:12 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C32443CA0 for ; Wed, 20 Dec 2006 17:01:05 +0000 (GMT) (envelope-from grafan@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so643375ana for ; Wed, 20 Dec 2006 09:01:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Sc5D+4Y1khH+yw1dp5Ud8U7hy/D3pQ47IL+WZSzG4llar2TAxlL8xQUEjPbkvU2MjycAnH7Xf4Gh/ylc42TpYCewcwqGowHCA9mt2bCqF+9HhUiutSKGRBW5dGXhkXZwrwr9n/0UbRdwmVgSCZu30Ar0kPRn0g5GmamFKHbC/kE= Received: by 10.100.94.3 with SMTP id r3mr6011609anb.1166634065303; Wed, 20 Dec 2006 09:01:05 -0800 (PST) Received: by 10.100.136.16 with HTTP; Wed, 20 Dec 2006 09:01:05 -0800 (PST) Message-ID: <6eb82e0612200901i7a95ad49sd5b0ea66db72939b@mail.gmail.com> Date: Thu, 21 Dec 2006 01:01:05 +0800 From: "Rong-en Fan" To: "Scott Long" In-Reply-To: <458955F0.4020102@samsco.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6eb82e0612181734n92e4a95l9d54aeb1edae87d1@mail.gmail.com> <4589518C.3070507@samsco.org> <6eb82e0612200716x4fcf6960t3c5fe5cab5fd0bcf@mail.gmail.com> <458955F0.4020102@samsco.org> Cc: FreeBSD Current , mjacob@freebsd.org 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 17:04:12 -0000 On 12/20/06, Scott Long wrote: > 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. OK. Manually backports rev 1.10 of sys/dev/cam/cam.c solved this divided by zero problem. Could you or mjacob MFC this to RELENG_6 and/or RELENG_6_2? Thanks, Rong-En Fan > > Scott > >