umass media size off-by-one?

2007-03-05 Thread Craig Boston
Hi all, I ran into this while trying to use geli to encrypt an external usb-2 hard drive. It appears that sometimes the media size reported by umass is one sector too big. For example: umass0: Prolific Technology Inc. Mass Storage Device, rev 2.00/1.00, addr 2 da0 at umass-sim0 bus 0 target 0

Re: umass media size off-by-one?

2007-03-05 Thread Scott Long
Craig Boston wrote: Hi all, I ran into this while trying to use geli to encrypt an external usb-2 hard drive. It appears that sometimes the media size reported by umass is one sector too big. For example: umass0: Prolific Technology Inc. Mass Storage Device, rev 2.00/1.00, addr 2 da0 at

Re: umass media size off-by-one?

2007-03-05 Thread Craig Boston
On Mon, Mar 05, 2007 at 09:37:33PM -0700, Scott Long wrote: Fixed in 7-CURRENT. Contact Warner Losh to make sure that your device is quirked appropriately. Ah, thanks! I see the commit now. Looks like it should be simple to backport to RELENG_6. Fortunately all 3 of the machines I intend to