Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 May 2005 11:33:00 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        "Alexander S. Usov" <A.S.Usov@kvi.nl>, freebsd-stable@freebsd.org
Subject:   Re: ehci is broken?
Message-ID:  <6.2.1.2.0.20050509102926.03f0bd30@64.7.153.2>
In-Reply-To: <d5jb5o$7kf$1@sea.gmane.org>
References:  <d5jb5o$7kf$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 05:22 PM 07/05/2005, Alexander S. Usov wrote:
>Hi!
>
>It looks that somewhere recently something was broken
>in ehci again. Trying to write something to msdosfs/ext3fs
>mounted from external usb2 drive blocks quite qickly.
>Writing process gets stuck in wdrain state, and disk seems
>unresponsive -- it just lights up the lamp and does nothing.
>
>Any ideas what to check?

Are you sure its not something specific to your USB stick or the FS ?  I am 
able to write to a couple of different USB sticks here using USB 2.0 no 
problem on RELENG_5

umass0: SanDisk Corporation Cruzer Mini, rev 2.00/0.10, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <SanDisk Cruzer Mini 0.1> Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 488MB (1000944 512 byte sectors: 64H 32S/T 488C)

umass1: LEXAR MEDIA JUMPDRIVE ELITE, rev 2.00/20.00, addr 3
da1 at umass-sim1 bus 1 target 0 lun 0
da1: <LEXAR JUMPDRIVE ELITE 1000> Removable Direct Access SCSI-0 device
da1: 40.000MB/s transfers
da1: 493MB (1010784 512 byte sectors: 64H 32S/T 493C)

[releng5-865]# time dd if=/dev/zero of=/mnt/test bs=1024k count=100
100+0 records in
100+0 records out
104857600 bytes transferred in 25.112543 secs (4175507 bytes/sec)
0.000u 0.472s 0:25.11 1.8%      22+2423k 4+800io 0pf+0w
[releng5-865]# time dd if=/dev/zero of=/mnt2/test bs=1024k count=100
100+0 records in
100+0 records out
104857600 bytes transferred in 14.301753 secs (7331800 bytes/sec)
0.000u 0.484s 0:14.30 3.3%      30+3330k 5+800io 0pf+0w
[releng5-865]#

[releng5-865]# df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ad0s1a    989M     56M    854M     6%    /
devfs          1.0K    1.0K      0B   100%    /dev
/dev/ad0s1d    1.9G     27M    1.8G     1%    /tmp
/dev/ad0s1f     23G    5.6G     16G    26%    /usr
/dev/ad0s1e    8.7G    976M    7.1G    12%    /var
/dev/da0s1d    473M    100M    335M    23%    /mnt
/dev/da1s1d    477M    100M    339M    23%    /mnt2
[releng5-865]#

[releng5-865]# time dd if=/dev/zero of=/mnt/test bs=1024k count=100 & time 
dd if=/dev/zero of=/mnt2/test bs=1024k count=100 &
[1] 816
[2] 817
[releng5-865]# 100+0 records in
100+0 records out
104857600 bytes transferred in 24.052264 secs (4359573 bytes/sec)
100+0 records in
100+0 records out
104857600 bytes transferred in 26.485008 secs (3959130 bytes/sec)

[2]  + Done                          dd if=/dev/zero of=/mnt2/test bs=1024k 
count=100
0.000u 0.513s 0:24.08 2.1%      24+2582k 0+800io 0pf+0w
[1]  + Done                          dd if=/dev/zero of=/mnt/test bs=1024k 
count=100
0.000u 0.513s 0:26.54 1.9%      27+2882k 0+800io 0pf+0w
[releng5-865]#

         ---Mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.2.1.2.0.20050509102926.03f0bd30>