Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Libnfs 1.3 - initial mount problem (Synology only?) #5

Open
yang299kms opened this issue Oct 16, 2012 · 2 comments
Open

Libnfs 1.3 - initial mount problem (Synology only?) #5

yang299kms opened this issue Oct 16, 2012 · 2 comments

Comments

@yang299kms
Copy link

When using the latest xbmc with nfs exports from my synology 412+ Libnfs v1.3 always fails on the initial mount after loading the .so. The next export i try to mount works fine. The first export I try to mount will continue to fail until the context is delete during idle processing. If I try to mount again before libnfs is unloaded then the mount will be good. The test exports I have from my vm build host does not have this problem. All the ports are open and listening on the Synology. Oddly libnfs is unable to connect using rpc on port 2049, the previous rpc calls on port 111 and port paper port both work. And the next call to nfs_mount on a different export will work. Since libnfs needs to be version 1.3 for the latest xbmc I had no way other then putting in a hack into NFSFile.cpp to delete the failed conext and reset the last acceded time variable after mount fail. This let's me try to mount the same export again and succeed. When I setup the Linux vm exports I copied the options from my Synology exports file. The previous libnfs did not have this problem.

@davilla
Copy link
Contributor

davilla commented Oct 18, 2012

can you reproduce on desktop mainline ?

@davilla
Copy link
Contributor

davilla commented Oct 18, 2012

or alpha6

@yang299kms
Copy link
Author

Desktop editions don't have this problem. I tried nightly builds of ios and windows. I also tried the libnfs examples in Linux and they work fine. The same examples compiled for the xios do not work and have the same problems

@yang299kms
Copy link
Author

i compiled the latest xbmc from mainline for linux and the libnfs problem does not happen.

/usr/lib/i386-linux-gnu/libnfs.so.1 -> libnfs.so.1.0.3
/usr/lib/i386-linux-gnu/libnfs.so -> libnfs.so.1.0.3
/usr/lib/i386-linux-gnu/libnfs.so.1.0.3

@yang299kms yang299kms mentioned this issue Dec 16, 2012
toys4me referenced this issue Mar 4, 2013
Modified S10setup to move userdata to sdcard on boot if /xbmc-data direc...
@yang299kms
Copy link
Author

i tried the latest libnfs from https://github.com/sahlberg/libnfs and this isn't an issue anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants