Re: bigdisk and scsi_da



Rong-en Fan wrote:
On 12/20/06, Scott Long <scottl@xxxxxxxxxx> wrote:
Rong-en Fan wrote:
> On 12/20/06, Scott Long <scottl@xxxxxxxxxx> 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

_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: bigdisk and scsi_da
    ... >>> Regards, ... >> Just for reference, what version of FreeBSD is this? ... prevent the divide-by-zero. ...
    (freebsd-current)
  • Re: IBM ServeRAID 7k & 5.3
    ... Rong-En Fan wrote: ... >A little problem is that once a HDD fails, FreeBSD doesn't ... >know that unless I reboot it and saw the ips state is DEGRADED. ...
    (freebsd-stable)