ibm x345 w/ serveraid-5i + freebsd ips driver dramas
Andrew Snow
als at kanji.com.au
Sun Sep 21 06:31:08 PDT 2003
> sys/dev/ips/ips_disk.c
> - dsc->ipsd_disk.d_mediasize = totalsectors * IPS_BLKSIZE;
> + dsc->ipsd_disk.d_mediasize = (long long) totalsectors * IPS_BLKSIZE;
Argh :-) I stared at those lines for so long, and that solution never
occured to me. I suggest that (off_t) would be the correct cast for all
platforms.
Thank you, and I wonder if this patch can be confirmed by scottl and
applied to the next release of FreeBSD 5?
- Andrew
More information about the freebsd-scsi
mailing list