Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2006 12:06:34 -0500
From:      Scott Long <scottl@samsco.org>
To:        Rong-en Fan <grafan@gmail.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, mjacob@freebsd.org
Subject:   Re: bigdisk and scsi_da
Message-ID:  <45896D9A.4070204@samsco.org>
In-Reply-To: <6eb82e0612200901i7a95ad49sd5b0ea66db72939b@mail.gmail.com>
References:  <6eb82e0612181734n92e4a95l9d54aeb1edae87d1@mail.gmail.com>	 <4589518C.3070507@samsco.org>	 <6eb82e0612200716x4fcf6960t3c5fe5cab5fd0bcf@mail.gmail.com>	 <458955F0.4020102@samsco.org> <6eb82e0612200901i7a95ad49sd5b0ea66db72939b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Rong-en Fan wrote:
> On 12/20/06, Scott Long <scottl@samsco.org> wrote:
>> Rong-en Fan wrote:
>> > On 12/20/06, Scott Long <scottl@samsco.org> 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: <SILVER TN-6212S-U4D 347G> 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

Does it just prevent the panic, or does it also fix the bogus display too?

Scott




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45896D9A.4070204>