On Sat, 30 Sep 2006, Andrew Morton wrote: > Begin forwarded message: > > Date: Sat, 30 Sep 2006 09:38:17 +0200 > From: Bárður Árantsson <[EMAIL PROTECTED]> > To: linux-kernel@vger.kernel.org > Subject: USB resets with Nokia 6131 in Data Storage mode > > > Hi all, > > I'm having some problems using a Nokia 6131 in 'Data Storage' mode, i.e. > when it acts as a USB mass storage device. This is with a Gentoo patched > kernel 2.6.18, but AFAICT there are no patches against the USB subsystem > in Gentoo's version of the kernel. > > The symptoms: The system scans the partitions fine, I can mount the > device and see the directory contents fine, but when I try to actually > transfer files the USB subsystem seems to be doing bus resets > continually until either of the sides simply gives up; I think it may be > the phone that simply goes out of data storage mode into normal mode > after a number of resets (or a fixed amount of time with no data transfer). > > I've done a run with all the above steps with USB mass storage verbose > debug enabled, the log can be retrieved from here: > > http://imada.sdu.dk/~bardur/usb-storage.log.gz > > The thing I that my untrained eye noticed was that most of the small > transfers seem to succeed (at least before the bus resets kick in), > while all the large transfers fail. This of course explains why reading > the partition table and directory contents works.
You're right; the large transfers failed. It could be that the device won't accept transfers larger than (say) 32 KB. You can try setting max_sectors to 64 (see the section on max_sectors in the FAQ at www.linux-usb.org). Alan Stern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel