knireis Posted October 15, 2013 Report Share Posted October 15, 2013 BTSync does not run on my Sheevaplug running debian wheezy. I use Tuxpoldo's package. It installs fine but won't run. Troubleshooting gives:root@lisse:~# /usr/lib/btsync/btsync-daemon --nodaemon --config /etc/btsync/user.sierink.conf; echo "Return value: $?"Alignment errorReturn value: 1According to Tuxpoldo this is due to an incompatible CPU. Cpu info:root@lisse:~# cat /proc/cpuinfoprocessor : 0model name : Feroceon 88FR131 rev 1 (v5l)BogoMIPS : 1191.11Features : swp half thumb fastmult edspCPU implementer : 0x56CPU architecture: 5TECPU variant : 0x2CPU part : 0x131CPU revision : 1Hardware : Marvell SheevaPlug Reference BoardRevision : 0000Serial : 0000000000000000Any change of fixing this? Quote Link to comment Share on other sites More sharing options...
tuxpoldo Posted October 16, 2013 Report Share Posted October 16, 2013 Additional info for the developers: the installed btsync binary is the one for ARM cpus. Quote Link to comment Share on other sites More sharing options...
vadimt Posted October 16, 2013 Report Share Posted October 16, 2013 Please execute echo 2 > /proc/cpu/alignmentand BTSync should work.Thanks! Quote Link to comment Share on other sites More sharing options...
tuxpoldo Posted October 16, 2013 Report Share Posted October 16, 2013 Please execute echo 2 > /proc/cpu/alignment and BTSync should work. Hi Vadim, one question: do you think I should include a check for the alignment and automatically fix it in my deployment scripts or do you think this will have some side effects? Quote Link to comment Share on other sites More sharing options...
knireis Posted October 16, 2013 Author Report Share Posted October 16, 2013 Please execute echo 2 > /proc/cpu/alignmentand BTSync should work.Thanks! Yes, it works, thanksIs this a one time thing or is it needed after a reboot? Quote Link to comment Share on other sites More sharing options...
tuxpoldo Posted October 16, 2013 Report Share Posted October 16, 2013 Yes, it works, thanksIs this a one time thing or is it needed after a reboot? Unfortunately this has to be set at every reboot. That's the reason why I'm thinking about creating a possibility to set it also directly on btsync startup. But as a workaround if you are using the btsync server packages, you can add the line to the /etc/default/btsync configuration file:`which sudo` echo >> /etc/default/btsync`which sudo` echo 'echo 2 > /proc/cpu/alignment' >> /etc/default/btsyncThere are nome interesting articles about the alignment problem:NSLU2-Linux Info / Alignment IssuesArmEabiFixes - Debian Wiki Quote Link to comment Share on other sites More sharing options...
vadimt Posted October 16, 2013 Report Share Posted October 16, 2013 Hi Vadim,one question: do you think I should include a check for the alignment and automatically fix it in my deployment scripts or do you think this will have some side effects?It may affect the performance of the other applications in the system. Not sure that it's good idea.Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.