On Tue, 5 Jun 2007, Guennadi Liakhovetski wrote: > Hi > > I see a ~100% reproducible problem under 2.6.20 with g_file_storage: the > script > > cp fs.image /tmp/ > modprobe g_file_storage file=/tmp/fs.image > > comes with no error back, but the enumeration fails. Whereas inserting a > sync between the "cp" and "modprobe" fixes it... It worked without sync > under 2.4.30. Filesystem is ext3 mounted with default parameters > (rw,data=ordered), gadget driver net2280, i386 platform. Is this intended > behaviour?
Yes, of course we always write device drivers so that they will fail in unexpected ways unless the user does something unintuitive and undocumented. :-) When you say the enumeration fails, what exactly goes wrong? I've never tried using g_file_storage with a newly-created backing file. Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel