[cc back to the list, again] You should umount the filesystem to ensure that doesn't happen before unplugging it.
Sync option is really bad for flash-based storage (as you know it can only be written to so many times). On Sat, 18 Feb 2006, Yann Le [ISO-8859-1] Doaré wrote: > Yes, with nosync option the speed is OK ! > Why ??? > If the usb key is mounted with nosync option, data can be lost if the > user unplug it ... ? > > Le samedi 18 février 2006 à 10:54 -0800, Stephen J. Gowdy a écrit : > > Try nosync. > > > > On Sat, 18 Feb 2006, Yann Le [ISO-8859-1] Doaré wrote: > > > > > Yes, VFAT filesytems are mounted with sync option. > > > > > > > > > Le vendredi 17 février 2006 à 17:50 -0800, Stephen J. Gowdy a écrit : > > > > Could you have the sync option on on your filesystem? > > > > > > > > On Fri, 17 Feb 2006, Yann Le [ISO-8859-1] Doaré wrote: > > > > > > > > > Hi, > > > > > > > > > > I build kernels for my distro (http://linuxconsole.org), but there is > > > > > a > > > > > mistake I can't resolve : > > > > > > > > > > Writing to usb-disks is very slow (~5k/s) (Buring to USB CDROM is OK). > > > > > I tried kernels 2.4.30, 2.4.32, 2.6.15.1 ... without success ... but > > > > > ubuntu writes to 60k/s > > > > > > > > > > here is my /proc/bus/usb/devices : > > > > > > > > > > T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > > > > > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > > > > > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 > > > > > P: Vendor=0000 ProdID=0000 Rev= 2.06 > > > > > S: Manufacturer=Linux 2.6.15.1 uhci_hcd > > > > > S: Product=UHCI Host Controller > > > > > S: SerialNumber=0000:00:1f.4 > > > > > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA > > > > > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > > > > > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms > > > > > > > > > > T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > > > > > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > > > > > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 > > > > > P: Vendor=0000 ProdID=0000 Rev= 2.06 > > > > > S: Manufacturer=Linux 2.6.15.1 uhci_hcd > > > > > S: Product=UHCI Host Controller > > > > > S: SerialNumber=0000:00:1f.2 > > > > > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA > > > > > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > > > > > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms > > > > > > > > > > T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 > > > > > D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > > > > > P: Vendor=10d6 ProdID=1100 Rev= 1.00 > > > > > S: Product=USB 2.0(FS) FLASH DISK > > > > > S: SerialNumber=USB 2.0(FS) FLASH DISK > > > > > C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA > > > > > I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=05 Prot=50 > > > > > Driver=usb-storage > > > > > E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms > > > > > E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms > > > > > > > > > > and the /proc/bus/usb/devices booting from UBUNTU LIVE CD (writing is > > > > > OK > > > > > with that disto) > > > > > > > > > > T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > > > > > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > > > > > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > > > > > P: Vendor=0000 ProdID=0000 Rev= 2.06 > > > > > S: Manufacturer=Linux 2.6.12-9-386 uhci_hcd > > > > > S: Product=Intel Corporation 82801BA/BAM USB (Hub #2) > > > > > S: SerialNumber=0000:00:1f.4 > > > > > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA > > > > > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > > > > > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms > > > > > > > > > > T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > > > > > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > > > > > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > > > > > P: Vendor=0000 ProdID=0000 Rev= 2.06 > > > > > S: Manufacturer=Linux 2.6.12-9-386 uhci_hcd > > > > > S: Product=Intel Corporation 82801BA/BAM USB (Hub #1) > > > > > S: SerialNumber=0000:00:1f.2 > > > > > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA > > > > > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > > > > > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms > > > > > > > > > > T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > > > > > D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > > > > > P: Vendor=10d6 ProdID=1100 Rev= 1.00 > > > > > S: Product=USB 2.0(FS) FLASH DISK > > > > > S: SerialNumber=USB 2.0(FS) FLASH DISK > > > > > C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA > > > > > I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=05 Prot=50 > > > > > Driver=usb-storage > > > > > E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms > > > > > E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms > > > > > > > > > > > > > > > What is wrong ? > > > > > > > > > > Greetings. > > > > > > > > > > Yann Le Doaré > > > > > > > > > > > > > -- > > > > /------------------------------------+-------------------------\ > > > > |Stephen J. Gowdy | SLAC, MailStop 34, | > > > > |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road, | > > > > |http://calendar.yahoo.com/gowdy | Menlo Park CA 94025, USA | > > > > |EMail: [EMAIL PROTECTED] | Tel: +1 650 926 3144 | > > > > \------------------------------------+-------------------------/ > > > > > > > -- > > /------------------------------------+-------------------------\ > > |Stephen J. Gowdy | SLAC, MailStop 34, | > > |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road, | > > |http://calendar.yahoo.com/gowdy | Menlo Park CA 94025, USA | > > |EMail: [EMAIL PROTECTED] | Tel: +1 650 926 3144 | > > \------------------------------------+-------------------------/ > -- /------------------------------------+-------------------------\ |Stephen J. Gowdy | SLAC, MailStop 34, | |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road, | |http://calendar.yahoo.com/gowdy | Menlo Park CA 94025, USA | |EMail: [EMAIL PROTECTED] | Tel: +1 650 926 3144 | \------------------------------------+-------------------------/ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users