file_storage gadget requires a sync...

Guennadi Liakhovetski <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
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?

Thanks
Guennadi
---------------------------------
Guennadi Liakhovetski, Ph.D.
DSA Daten- und Systemtechnik GmbH
Pascalstr. 28
D-52076 Aachen
Germany

-------------------------------------------------------------------------
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/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.