Transport endpoint is not connected

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Transport endpoint is not connected

Postby evilhomer » Wed Nov 21, 2012 9:09 pm

I was messing around and broke my install. Didn't have must customization anyway, so I decided to just fdisk my usb drive and start from scratch.

1.) Completely clean install following this: http://archlinuxarm.org/platforms/armv5 ... 2-pinkgray
2.) pacman -Syu
3.) reboot
4.) pacman udev-automount
5.) reboot

I check to see if automount worked:
$this->bbcode_second_pass_code('', '[root@alarm ~]# cd /media
[root@alarm media]# ls
PogoPlug
[root@alarm media]# cd PogoPlug
-bash: cd: PogoPlug: Transport endpoint is not connected
[root@alarm media]# ls -la
ls: cannot access PogoPlug: Transport endpoint is not connected
total 8
drwxr-xr-x 3 root root 4096 Dec 31 1969 .
drwxr-xr-x 20 root root 4096 Jan 2 2000 ..
d????????? ? ? ? ? ? PogoPlug
[root@alarm media]# rmdir PogoPlug
rmdir: failed to remove `PogoPlug': Device or resource busy')

/etc/mtab's last entry is:
$this->bbcode_second_pass_code('', '/dev/sda1 /media/PogoPlug fuseblk rw,nosuid,nodev,noatime,user_id=0,group_id=0,d
efault_permissions,allow_other,blksize=4096 0 0')

umount /dev/sda1 then mounting it works. I unmounted, deleted /media/PogoPlug and rebooted and the directory was back. I'm stumped. Any ideas what I'm seeing?

Thanks.
evilhomer
 
Posts: 9
Joined: Mon Apr 30, 2012 10:29 pm

Re: Transport endpoint is not connected

Postby moonman » Thu Nov 22, 2012 7:15 am

Automount will only work if you plugin the drive after the system has booted up, or if you have uInitrd (which you don't because alarm doesn't come with it), so if you want the drive to be mounted at boot then add it to /etc/fstab and use UUID and not /dev/sdX#, use "blkid" to see UUID of a drive/partition.

https://wiki.archlinux.org/index.php/Fstab
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Transport endpoint is not connected

Postby evilhomer » Thu Nov 22, 2012 3:22 pm

Thanks. Still not having luck tho:

Finding the UUID gives:
$this->bbcode_second_pass_code('', 'sda
└─sda1 ntfs PogoPlug 7420D80620D7CCEC /media')

fstab entry:
$this->bbcode_second_pass_code('', 'UUID=7420D80620D7CCEC /media ntfs-3g rw,nosuid,nodev,noatime,user_id=0,group_id=
0,default_permissions,allow_other,blksize=4096 0 0')
which I just copied from mtab.

I installed ntfs-3g, and used that type, but also tried the type in mtab, which was fuseblk.

In either case, I can't ssh after I reboot. I have to boot to the pogoplug, then plug in the flash drive, ssh in and edit fstab.
evilhomer
 
Posts: 9
Joined: Mon Apr 30, 2012 10:29 pm

Re: Transport endpoint is not connected

Postby BrianM » Thu Nov 22, 2012 5:39 pm

Latest build seems to be broken (as on http://archlinuxarm.org/forum/viewtopic.php?f=18&t=4145)
$this->bbcode_second_pass_code('', '[root@alarm ~]# cd /media/HD_Library
-bash: cd: /media/HD_Library: Transport endpoint is not connected
[root@alarm ~]# pacman -Su fuse
warning: fuse-2.9.2-1 is up to date ')
dev-automount installed, tries to work, but fails
BrianM
 
Posts: 51
Joined: Sat Sep 29, 2012 2:23 pm

Re: Transport endpoint is not connected

Postby moonman » Fri Nov 23, 2012 1:24 am

I can confirm, it doesn't work with ntfs filesystem. While I don't have any NTFS drives, I tried to format a spare 64GB as NTFS and it gives this error. Use ext2/3/4 fs as a workaround.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Transport endpoint is not connected

Postby moonman » Fri Nov 23, 2012 2:01 am

manual mounting does work though.

umount /media/<mountpoint>
mount -t ntfs-3g /dev/sdX# /media/<mountpoint>

Looks like systemd kills ntfs-3g process after processing udev rules as ntfs-3g is run in userland? Don't know for sure. I'll take a look when I have more time unless somebody else figures it out before I do.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Transport endpoint is not connected

Postby WarheadsSE » Fri Nov 23, 2012 2:25 am

At this point I suggest making and fstab entry.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Transport endpoint is not connected

Postby moonman » Fri Nov 23, 2012 3:27 am

I think systemd does the same with fstab. Don't quote me on this. :)
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Transport endpoint is not connected

Postby evilhomer » Fri Nov 23, 2012 4:21 am

Yes, that's what I'm observing. Only manual mounting seems to work.
evilhomer
 
Posts: 9
Joined: Mon Apr 30, 2012 10:29 pm

Re: Transport endpoint is not connected

Postby moonman » Fri Nov 23, 2012 4:33 am

nope, fstab works after getting rid of udev-automount
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 7 guests