"Transport endpoint is not connected" after working for a while.

1,939 views
Skip to first unread message

arist...@gmail.com

unread,
Jul 24, 2013, 12:18:38 PM7/24/13
to ex...@googlegroups.com
I'm having problems using my WD 2.5 1TB USB3.0 HDD (WDBBEP0010BSL)
I'm using it on a Cubieboard with Debian Wheezy armhf

Here are the details.
It works fine for a while and then disconnects.
Any help much appreciated.

 
$ mount -t exfat /dev/sda2 ~/extfat
FUSE exfat 1.0.1

A test speed shoes the expected speed around 27MB/s:

$ cat /dev/zero | pv| dd bs=1M count=512  of=test conv=fdatasync
dd: warning: partial read (131072 bytes); suggest iflag=fullblock
55.4MB 0:00:02 [27.2MB/s] [          <=>                                                                                                                                                                   ]
2+510 records in
2+510 records out
58032128 bytes (58 MB) copied, 2.03165 s, 28.6 MB/s 

$ wget ftp://ftp.dei.uc.pt/pub/linux/ubuntu/releases/precise/ubuntu-12.04.2-alternate-amd64.iso
--2013-07-24 17:27:54--  ftp://ftp.dei.uc.pt/pub/linux/ubuntu/releases/precise/ubuntu-12.04.2-alternate-amd64.iso
           => `ubuntu-12.04.2-alternate-amd64.iso'
Resolving ftp.dei.uc.pt (ftp.dei.uc.pt)... 193.136.212.161
Connecting to ftp.dei.uc.pt (ftp.dei.uc.pt)|193.136.212.161|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/linux/ubuntu/releases/precise ... done.
==> SIZE ubuntu-12.04.2-alternate-amd64.iso ... 739246080
==> PASV ... done.    ==> RETR ubuntu-12.04.2-alternate-amd64.iso ... done.
Length: 739246080 (705M) (unauthoritative)
99% [================================================================================================================================================================>  ] 734,130,176 1.37M/s   in 2m 9s
ubuntu-12.04.2-alternate-amd64.iso: Software caused connection abort, closing control connection.

$ ll
ls: cannot open directory .: Transport endpoint is not connected

After disconnecting, hard drive changes name:

$ sudo fdisk -l
Disk /dev/sdb: 1000.2 GB, 1000170586112 bytes
255 heads, 63 sectors/track, 121597 cylinders, total 1953458176 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               2   976982041   488491020   af  HFS / HFS+
/dev/sdb2       976982043  1953458175   488238066+   7  HPFS/NTFS/exFAT 

$ sudo mount -t exfat /dev/sdb2 exfat/
FUSE exfat 1.0.1
WARN: volume was not unmounted cleanly.
 
After mounting again, the speed is very low.

$ cat /dev/zero | pv| dd bs=1M count=1k  of=test conv=fdatasync
dd: warning: partial read (65536 bytes); suggest iflag=fullblock                                                                                                                                           ]
^C5.78MB 0:00:29 [15.2kB/s] [                               <=>                                                                                                                                              ]
0+40 records in
0+40 records out


From this point it the speed seems to throttle at 1MBps. Using wget it seems to stay for about 5 seconds at 9 MBps which is the maximum the network interface supports and then drops bellow 1MBps.

$ wget ftp://ftp.dei.uc.pt/pub/linux/ubuntu/releases/precise/ubuntu-12.04.2-alternate-amd64.iso
--2013-07-24 17:57:25--  ftp://ftp.dei.uc.pt/pub/linux/ubuntu/releases/precise/ubuntu-12.04.2-alternate-amd64.iso
           => `ubuntu-12.04.2-alternate-amd64.iso.1'
Resolving ftp.dei.uc.pt (ftp.dei.uc.pt)... 193.136.212.161
Connecting to ftp.dei.uc.pt (ftp.dei.uc.pt)|193.136.212.161|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/linux/ubuntu/releases/precise ... done.
==> SIZE ubuntu-12.04.2-alternate-amd64.iso ... 739246080
==> PASV ... done.    ==> RETR ubuntu-12.04.2-alternate-amd64.iso ... done.
Length: 739246080 (705M) (unauthoritative)
47% [============================================================================>                                                                                      ] 353,455,808  961K/s   in 5m 46s
ubuntu-12.04.2-alternate-amd64.iso.1: Software caused connection abort, closing control connection.

After a while it disconnects again

$ sudo umount /dev/sdb2

$ sudo fdisk -l  
Disk /dev/sda: 1000.2 GB, 1000170586112 bytes
255 heads, 63 sectors/track, 121597 cylinders, total 1953458176 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               2   976982041   488491020   af  HFS / HFS+
/dev/sda2       976982043  1953458175   488238066+   7  HPFS/NTFS/exFAT

The disk name changed again.

$ sudo mount -t exfat /dev/sda2 exfat/
FUSE exfat 1.0.1
WARN: volume was not unmounted cleanly.
$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2       466G  385G   82G  83% /home/user/exfat

Andrew Nayenko

unread,
Jul 24, 2013, 12:48:21 PM7/24/13
to ex...@googlegroups.com, arist...@gmail.com
Hi,

"Transport endpoint is not connected" error means that fuse-exfat either
crashed or called abort(). Please show /var/log/messages.

> I'm having problems using my WD 2.5 1TB USB3.0 HDD (WDBBEP0010BSL<http://www.wdc.com/global/products/specs/?driveID=1036&language=1>
> )
> I'm using it on a Cubieboard with Debian Wheezy armhf
>
> Here are the details.
> It works fine for a while and then disconnects.
> Any help much appreciated.
>
>
>
>> *$ mount -t exfat /dev/sda2 ~/extfat
>> *FUSE exfat 1.0.1
>
>
> A test speed shoes the expected speed around 27MB/s:
>
> *$ cat /dev/zero | pv| dd bs=1M count=512 of=test conv=fdatasync
>> *dd: warning: partial read (131072 bytes); suggest iflag=fullblock
>> 55.4MB 0:00:02 [27.2MB/s] [ <=>
>>
>> ]
>> 2+510 records in
>> 2+510 records out
>> 58032128 bytes (58 MB) copied, 2.03165 s, 28.6 MB/s
>
>
> *$ wget
>> ftp://ftp.dei.uc.pt/pub/linux/ubuntu/releases/precise/ubuntu-12.04.2-alternate-amd64.iso
>> *--2013-07-24 17:27:54--
>> ftp://ftp.dei.uc.pt/pub/linux/ubuntu/releases/precise/ubuntu-12.04.2-alternate-amd64.iso
>> => `ubuntu-12.04.2-alternate-amd64.iso'
>> Resolving ftp.dei.uc.pt (ftp.dei.uc.pt)... 193.136.212.161
>> Connecting to ftp.dei.uc.pt (ftp.dei.uc.pt)|193.136.212.161|:21...
>> connected.
>> Logging in as anonymous ... Logged in!
>> ==> SYST ... done. ==> PWD ... done.
>> ==> TYPE I ... done. ==> CWD (1) /pub/linux/ubuntu/releases/precise ...
>> done.
>> ==> SIZE ubuntu-12.04.2-alternate-amd64.iso ... 739246080
>> ==> PASV ... done. ==> RETR ubuntu-12.04.2-alternate-amd64.iso ... done.
>> Length: 739246080 (705M) (unauthoritative)
>> 99%
>> [================================================================================================================================================================>
>> ] 734,130,176 1.37M/s in 2m 9s
>> ubuntu-12.04.2-alternate-amd64.iso: Software caused connection abort,
>> closing control connection.
>
>
> *$ ll
>> *ls: cannot open directory .: Transport endpoint is not connected
>
>
> After disconnecting, hard drive changes name:
>
> *$ sudo fdisk -l
>> *Disk /dev/sdb: 1000.2 GB, 1000170586112 bytes
>> 255 heads, 63 sectors/track, 121597 cylinders, total 1953458176 sectors
>> Units = sectors of 1 * 512 = 512 bytes
>> Sector size (logical/physical): 512 bytes / 512 bytes
>> I/O size (minimum/optimal): 512 bytes / 512 bytes
>> Disk identifier: 0x00000000
>> Device Boot Start End Blocks Id System
>> /dev/sdb1 2 976982041 488491020 af HFS / HFS+
>> /dev/*sdb2* 976982043 1953458175 488238066+ 7 HPFS/NTFS/exFAT
>
>
> *$ sudo mount -t exfat /dev/sdb2 exfat/
>> *FUSE exfat 1.0.1
>> WARN: volume was not unmounted cleanly.
>
>
> After mounting again, the speed is very low.
>
> *$ cat /dev/zero | pv| dd bs=1M count=1k of=test conv=fdatasync
>> *dd: warning: partial read (65536 bytes); suggest iflag=fullblock
>>
>> ]
>> ^C5.78MB 0:00:29 [15.2kB/s] [ <=>
>>
>> ]
>> 0+40 records in
>> 0+40 records out
>
>
>
> From this point it the speed seems to throttle at 1MBps. Using wget it
> seems to stay for about 5 seconds at 9 MBps which is the maximum the
> network interface supports and then drops bellow 1MBps.
>
> *$ wget
>> ftp://ftp.dei.uc.pt/pub/linux/ubuntu/releases/precise/ubuntu-12.04.2-alternate-amd64.iso
>> *--2013-07-24 17:57:25--
>> ftp://ftp.dei.uc.pt/pub/linux/ubuntu/releases/precise/ubuntu-12.04.2-alternate-amd64.iso
>> => `ubuntu-12.04.2-alternate-amd64.iso.1'
>> Resolving ftp.dei.uc.pt (ftp.dei.uc.pt)... 193.136.212.161
>> Connecting to ftp.dei.uc.pt (ftp.dei.uc.pt)|193.136.212.161|:21...
>> connected.
>> Logging in as anonymous ... Logged in!
>> ==> SYST ... done. ==> PWD ... done.
>> ==> TYPE I ... done. ==> CWD (1) /pub/linux/ubuntu/releases/precise ...
>> done.
>> ==> SIZE ubuntu-12.04.2-alternate-amd64.iso ... 739246080
>> ==> PASV ... done. ==> RETR ubuntu-12.04.2-alternate-amd64.iso ... done.
>> Length: 739246080 (705M) (unauthoritative)
>> 47%
>> [============================================================================>
>>
>> ] 353,455,808 961K/s in 5m 46s
>> ubuntu-12.04.2-alternate-amd64.iso.1: Software caused connection abort,
>> closing control connection.
>
>
> After a while it disconnects again
>
> *$ sudo umount /dev/sdb2*
>
>
> *$ sudo fdisk -l
>> *Disk /dev/sda: 1000.2 GB, 1000170586112 bytes
>> 255 heads, 63 sectors/track, 121597 cylinders, total 1953458176 sectors
>> Units = sectors of 1 * 512 = 512 bytes
>> Sector size (logical/physical): 512 bytes / 512 bytes
>> I/O size (minimum/optimal): 512 bytes / 512 bytes
>> Disk identifier: 0x00000000
>> Device Boot Start End Blocks Id System
>> /dev/sda1 2 976982041 488491020 af HFS / HFS+
>> /dev/sda2 976982043 1953458175 488238066+ 7 HPFS/NTFS/exFAT
>
>
> The disk name changed again.
>
> *$ sudo mount -t exfat /dev/sda2 exfat/
>> *FUSE exfat 1.0.1
>> WARN: volume was not unmounted cleanly.
>> *$ df -h
>> *Filesystem Size Used Avail Use% Mounted on
>> /dev/sda2 466G 385G 82G 83% /home/user/exfat
>
>

--
Andrew Nayenko <res...@gmail.com>

aristidesfl

unread,
Jul 24, 2013, 2:34:06 PM7/24/13
to Andrew Nayenko, ex...@googlegroups.com

On Wednesday, 24 July 2013 at 17:48 , Andrew Nayenko wrote:

 /var/log/messages

Andrew Nayenko

unread,
Jul 24, 2013, 3:09:50 PM7/24/13
to ex...@googlegroups.com, aristidesfl
There are I/O errors in the log. So, it's a hardware issue.

> Here is the log: https://gist.github.com/aristidesfl/881a61de4d1beb0cfc96/raw/667174709b07113fcc7f735cd3fe8b82ee105d7e/messages
>
>
> On Wednesday, 24 July 2013 at 17:48 , Andrew Nayenko wrote:
>
>> /var/log/messages

--
Andrew Nayenko <res...@gmail.com>

aristidesfl

unread,
Jul 24, 2013, 3:29:26 PM7/24/13
to Andrew Nayenko, ex...@googlegroups.com
An hardware issue? Like what? From the host or from the disk?
The disk seems to work fine with other OS

Andrew Nayenko

unread,
Jul 24, 2013, 4:00:33 PM7/24/13
to ex...@googlegroups.com, aristidesfl
> An hardware issue? Like what? From the host or from the disk?
> The disk seems to work fine with other OS

Well, if the disk is OK, then it's Cubieboard. Messages like
lost page write due to I/O error on sdb2
from kernel block layer indicate that things went wrong at hardware level.

> On Wednesday, 24 July 2013 at 20:09 , Andrew Nayenko wrote:
>
>> There are I/O errors in the log. So, it's a hardware issue.
>>
>>> Here is the log: https://gist.github.com/aristidesfl/881a61de4d1beb0cfc96/raw/667174709b07113fcc7f735cd3fe8b82ee105d7e/messages
>>>
>>>
>>> On Wednesday, 24 July 2013 at 17:48 , Andrew Nayenko wrote:
>>>
>>>> /var/log/messages
>>
>> --
>> Andrew Nayenko <res...@gmail.com (mailto:res...@gmail.com)>
>>
>>
>
>

--
Andrew Nayenko <res...@gmail.com>
Reply all
Reply to author
Forward
0 new messages