Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] USB mass storage device slow in Gentoo, fast in Windows...?
Date: Sun, 27 Dec 2009 18:13:29
Message-Id: 58965d8a0912271010g224239b3i1c82773fe07bac1f@mail.gmail.com
In Reply to: Re: [gentoo-user] USB mass storage device slow in Gentoo, fast in Windows...? by Michael Holmes
1 On Sun, Dec 27, 2009 at 12:01 AM, Michael Holmes
2 <holmesmich@××××××××××.com> wrote:
3 > 2009/12/27 Paul Hartman <paul.hartman+gentoo@×××××.com>:
4 >> On Sat, Dec 26, 2009 at 7:00 PM, Hung Dang <hungptit@×××××.com> wrote:
5 >>> On 12/26/09 15:54, Paul Hartman wrote:
6 >>>> Hi,
7 >>>>
8 >>>> I got a Nokia N900 linux internet tablet/phone a few days ago, and
9 >>>> when I connect it in USB Mass Storage mode to a Windows Vista computer
10 >>>> I can write at 17MB/sec, but when I connect it to my Gentoo box my
11 >>>> writes are really slow, between 500-900kb/sec depending on if I mount
12 >>>> in "sync" mode or not. As far as I know it should be just a totally
13 >>>> standard/generic mass storage device. (there were no drivers or
14 >>>> software install needed in windows, it just worked)
15 >>>>
16 >>>> Other USB devices plugged into the same port go full speed, and AFAIK
17 >>>> everything appears as if it should be high speed USB 2.0. Has anyone
18 >>>> seen something like this before? I'm not sure what the deal is. It
19 >>>> takes 20 minutes to copy 1 gigabyte from Linux and takes just under 1
20 >>>> minute to do the same in Windows.
21 >>>>
22 >>>> I'm not sure about debugging USB or what the options are. Everything
23 >>>> I've used previously has worked without any hassle.
24 >>> Have you received a lot of debugging messages at the output of dmesg
25 >>> when copying files?
26 >>>
27 >>> Hung
28 >>
29 >> No errors, no strange messages at all, it seems normal (only slow). I
30 >> have other USB devices like SD card reader, external HDD, and they
31 >> perform at full speed when plugged into the same port, so it's weird
32 >> to me.
33 >>
34 >> Thanks
35 >> Paul
36 >>
37 >>
38 >
39 > This isn't that helpful, but in Windows I get good thoroughputs in
40 > mass storage mode, but compartively weak ones in sync mode. But this
41 > shouldn't be the problem because as far as I know, there are no
42 > ync-mode drivers for good old Linux (which is ironic if you consider
43 > it).
44
45 When I said "sync" mode I mean mounting the device in mass storage
46 mode with with "-o sync" (as opposed to the default cached/async
47 mode), which I believe is the default in Windows Vista & Win7 (because
48 most windows users cannot be bothered to unmount before pulling the
49 plug).
50
51 Thanks

Replies

Subject Author
Re: [gentoo-user] USB mass storage device slow in Gentoo, fast in Windows...? Paul Hartman <paul.hartman+gentoo@×××××.com>