Boot from JetFlash USB device fails

2006-12-08 Thread srinath shetty
Hi All In one of our products, we have support for taking snapshot in to USB device and booting from USB in the next reboot. This feature works fine with most of the USB devices. However it is not working fine with USB : JetFlash TS512MJF110 ( but it boots fine once in 20 trials) Als

Re: usb/106435: Possible buffer overflow in dev/usb/ums.c

2006-12-08 Thread Eygene Ryabinkin
The following reply was made to PR usb/106435; it has been noted by GNATS. From: Eygene Ryabinkin <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], freebsd-usb@FreeBSD.org Cc: Subject: Re: usb/106435: Possible buffer overflow in dev/usb/ums.c Date: Fri, 8 Dec 2006 14:40:36 +0300 Sorry, missed the dou

Re: usb/106435: Possible buffer overflow in dev/usb/ums.c

2006-12-08 Thread Eygene Ryabinkin
Sorry, missed the double quote in the patch. The real patch should be: --- ums.c.orig Tue Dec 5 13:29:34 2006 +++ ums.c Tue Dec 5 13:31:40 2006 @@ -431,9 +431,10 @@ #define UMS_BUT(i) ((i) < 3 ? (((i) + 2) % 3) : (i)) DPRINTFN(5, ("ums_intr: sc=%p status=%d\n", sc, status)); -