Mount a folder from host? no FUSE?

Applications, development tools, FPGA, C, WEB
Post Reply
jerzydziewierz
Posts: 31
Joined: Mon Mar 28, 2016 1:10 pm

Mount a folder from host? no FUSE?

Post by jerzydziewierz » Sun May 01, 2016 7:28 am

Hi Friends,

I am trying to mount a folder from my host laptop to the red pitaya, so that i can devel my software on laptop, and simplify file transfer later on,

from the point of view of RP,
First, i tried samba; i can log in and load/store files to the host using smb command, but it won't mount a folder permamently. I was pondering on this for a while and it turned out that RP probably does not have "fuse" instaled;

Code: Select all

redpitaya> mount.cifs //10.42.0.1 /mnt/host -o user=jurek,pass=xxxxxx
mount error: cifs filesystem not supported by the system
mount error(19): No such device
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
but cifs-utils is installed. I have probed this more and someone suggested to verify that "fuse" is installed.

Code: Select all

redpitaya> modprobe fuse
modprobe: ERROR: ../libkmod/libkmod.c:557 kmod_search_moddep() could not open moddep file '/lib/modules/3.18.0-xilinx/modules.dep.bin'
So, i gave up and tried sshfs:

Code: Select all

redpitaya> sshfs -o allow_other,defer_permissions jurek@10.42.0.1:/ /mnt/host
fuse: device not found, try 'modprobe fuse' first
so I am at the same point.

How to resolve problem with modprobe? how to install fuse?
I am a power user but do not know about how linux kernel is organised yet.

pavel
Posts: 799
Joined: Sat May 23, 2015 5:22 pm

Re: Mount a folder from host? no FUSE?

Post by pavel » Sun May 01, 2016 8:12 am

Could try the workaround (replacing uImage) that I proposed in this post?

jerzydziewierz
Posts: 31
Joined: Mon Mar 28, 2016 1:10 pm

Re: Mount a folder from host? no FUSE?

Post by jerzydziewierz » Sun May 01, 2016 9:24 am

ok, now sshfs appears to work OK for purpose of seeing host files from RP,

samba still gives me the same error but i am going to give up for now

Code: Select all

redpitaya> mount -t cifs //10.42.0.1/gitrepo /mnt/host2
Password for root@//10.42.0.1/gitrepo:  
mount error: cifs filesystem not supported by the system
mount error(19): No such device
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

pavel
Posts: 799
Joined: Sat May 23, 2015 5:22 pm

Re: Mount a folder from host? no FUSE?

Post by pavel » Sun May 01, 2016 11:41 am

Looking at the error message, I'd say that CIFS support is missing. Have you installed cifs-utils?

Code: Select all

apt-get install cifs-utils

pavel
Posts: 799
Joined: Sat May 23, 2015 5:22 pm

Re: Mount a folder from host? no FUSE?

Post by pavel » Sun May 01, 2016 11:51 am

Correction. CIFS should be enabled in the Linux kernel. I'll add it to my patches.

pavel
Posts: 799
Joined: Sat May 23, 2015 5:22 pm

Re: Mount a folder from host? no FUSE?

Post by pavel » Sun May 01, 2016 8:45 pm

I've added CIFS to my kernel patches and rebuilt uImage. It can be downloaded from the same link as before:
https://googledrive.com/host/0B-t5klOOy ... Wmc/uImage

jerzydziewierz
Posts: 31
Joined: Mon Mar 28, 2016 1:10 pm

Re: Mount a folder from host? no FUSE?

Post by jerzydziewierz » Mon May 02, 2016 9:12 am

Hi Pavel,

That's awesome, thank You,


By the way,
I am Your student now - I will need to customize your SDR code for my project. I trust that that's OK with you. I will share my findings :-)

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 107 guests