-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
rclone v1.28 on ARM (Western Digital NAS) #426
Comments
Thanks for sending that. I'm not having much luck working out what is going on though! Can you try downloading the go compiler from https://storage.googleapis.com/golang/go1.6.linux-armv6l.tar.gz and see if that works? Just run the go binary with no arguments and see if it prints something sensible. If the compiler does work you could try building rclone locally. Can you also paste the result of Thanks Nick |
Thanks for reply: cat /proc/cpuinfo Processor : ARMv7 Processor rev 1 (v7l) After download (and tar ....) the go command prints: fulvio |
Here is a build of the tip of rclone development built with the tip of the go compiler - see if that helps! http://pub.rclone.org/rclone-v1.28-28-g9539bbf-arm-go-tip.zip |
rclone-v1.28-28-g9539bbf-arm-go-tip_errors.txt The command: See attached file. Thanks |
Thanks for trying that - I'm going to ask for some more help on the Go developer mailing list. I think that this is an incompatibility between the go compiler or runtime and your ARM based system, rather than anything rclone is doing. |
It looks like this is caused by the kernel on your device being compiled with a 64k page size which isn't supported by go at the moment
There is a patch for the compiler to support this, but the compiler internals have changed a lot since then, so I couldn't apply it. Hopefully those bugs will get fixed soon and then rclone will just start working. |
Ok, I wait for the fix |
I've a Western Digital My Cloud Mirror NAS:
So looks like there are at least 3 different possible configurations in use by popular ARM devices. Still, Golang has no runtime support for it. :( |
rclone-v1.33-linux-arm: |
This is a go runtime problem unfortunately :-(
I'll find the go bug report later..
|
Reading the go bug reports looks like this will be fixed for go 1.8. If I get time I'll back port the patch to go 1.7 and post a build of rclone. |
@ncw, any news on this ? I met the same issue with the last arm binary |
I looked through the bugs above and it looks like the problem may be fixed in the development version of Go. I've compiled up two versions of rclone for you all to test. There is an ARMv6 version and an ARMv7 version - it would be interesting if you could try both. http://pub.rclone.org/rclone-v1.33-63-gace1e21-tip-arm.zip The above was compiled with
|
@ncw I don't have the issue anymore. I'm gonna test it and tell you if anything else doesn't work. Thank you |
On my device (Western Digital NAS) the rclone-armv7 doesn't work, rclone-armv6 works properly from NAS to Dropbox, no errors found. fulvio |
Great thanks for testing. Go 1.8 is due to be released in Feb 2017 so rclone will support these devices officially then. In the mean time you can use that binary, or give me a nudge on this ticket and I'll compile you a new one. |
1.34 has a lot of great features/fixes for crypt & mounting. Do you have a 1.34 build with Go's dev branch? I haven't searched around enough, but do you have build instructions that I can adapt to use Go's dev branch to build this? |
If you install the go 1.8 beta, set GOPATH, then
Will build it for you. I did a beta build using |
Having similar issues. Trying to get golang to compile/run on these boxes are a PITA with the 64K size. I thought the 1.8 versions were suppose to set 64k if it detected arm but not sure that is the case.
Armv7 version form previous post.
Most recent 1.34.48
|
@DTrace001 I've uploaded the latest rclone compiled with the latest go for you to try. http://pub.rclone.org/rclone-v1.34-75-gcbfec0d-arm-go-tip.zip I've also included a Can you try that too please? Assuming one or both of those fails, then please post the output for both and also the output of I'm not sure whether 64k pages are supposed to be working properly for go 1.8 - I'll ask on the developer mailing list once I've got your results. |
Here are the outputs you requested:
|
@DTrace001 thanks for that. I'll ask on the go developers list and see if anyone has any ideas. |
@ncw Thanks for looking into this ! |
I asked on the dev mailing list and they said to open an issue which I have done here: golang/go#18408 - I'm hoping that @DTrace001 will respond to requests for more info about the hardware etc on that issue - I'm happy to continue compiling stuff if required. |
After golang/go#18408 has been declared fixed, I've rebuild the compiler with the fix and rebuild rclone for you to have a go with. http://pub.rclone.org/rclone-v1.35-13-ge1a49ca-arm-go-tip.zip |
I just tried it and it seems to work on my WD My Cloud which is also arm7 with 64k kernel page size, thank you! |
+1 |
Thanks for testing. I'll start using go 1.8 to compile rclone when it is formally released. I think this will be in time for the next rclone release if things go to plan. |
Sorry for the late reply. It does work as others have already mentioned. |
rclone_err.txt
rclone version: 1.28
OS: ARMv7l (on Western Digital NAS)
uname -a
Linux NasWD 3.2.26 #1 SMP Thu Jul 9 11:14:15 PDT 2015 wd-2.4-rel armv7l GNU/Linux
The command: GOTRACEBACK=system rclone config
The text was updated successfully, but these errors were encountered: