ziomik (OP)
Legendary
Offline
Activity: 1960
Merit: 1012
SELL bitcoinmarket.net | bitcoinitalia.com SELL
|
![](https://bitcointalk.org/Themes/custom1/images/post/thumbup.gif) |
October 21, 2012, 03:50:12 PM Last edit: October 22, 2012, 05:34:34 PM by ziomik |
|
Hi, has anyone tried to compile with success bitcoind for nas synology DS211j (arm)? I'm going crazy!
|
DOMINI IN VENDITA/NOLEGGIO bitcoinmarket.net | bitcoinitalia.com
Contattatemi pure per info. ---- +++ ---- "Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi ---- +++ ----
|
|
|
Panoramix
Newbie
Offline
Activity: 27
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 22, 2012, 03:12:44 PM |
|
Hi, has anyone tried to compile with success bitcoind for nas synology DS211j (arm)? I'm going crazy!
I've been thinking about doing this as well. I'd be very interested in your experiences.
|
|
|
|
P_Shep
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 22, 2012, 04:59:42 PM |
|
Been trying for DD-WRT (MIPS).
Not gone well.
|
|
|
|
ziomik (OP)
Legendary
Offline
Activity: 1960
Merit: 1012
SELL bitcoinmarket.net | bitcoinitalia.com SELL
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 22, 2012, 05:34:06 PM Last edit: October 23, 2012, 06:03:28 AM by ziomik |
|
I'm very stubborn and I did;) You can download the compiled file , here (v0.7.1-64-g2ef1569-beta): http://www.sendspace.com/file/rnr45yIf you want to compile your own (with some variations may be fine for other ARM platforms) I worked on clean Debian platform for a Cross-Compiled. Download the correct toolchain for your ARM. For Synology NAS: http://download.synology.com/download/ds/userguide/Synology_DiskStation_Manager_3rd_Party_Apps_Developer_Guide.pdfDownload db http://pkgs.fedoraproject.org/repo/pkgs/openldap/db-4.8.26.tar.gzDownload openssl http://www.openssl.org/source/openssl-1.0.1c.tar.gzDownload boost http://sourceforge.net/projects/boost/files/boost/1.49.0/boost_1_49_0.tar.bz2apt-get install git build-essential libncurses5-dev bison flex gettext texinfo libgmp3-dev libmpfr-dev git clone https://github.com/bitcoin/bitcoin.git Put all the downloaded files in a folder and start a sh file with the following code: export CC=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc export CXX=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-g++ export LD=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-ld export CFLAGS=-I/usr/local/arm-none-linux-gnueabi/include export LDFLAGS=-L/usr/local/arm-none-linux-gnueabi/lib export PATH=$PATH:/usr/local/arm-none-linux-gnueabi/bin export CROSS_PREFIX=arm-none-linux-gnueabi tar -xvzf db-4.8.26.tar.gz cd db-4.8.26/build_unix ../dist/configure --enable-cxx --host=${CROSS_PREFIX} --prefix=/root/arm-libs && make && make install && cd ../.. tar -xvzf openssl-1.0.1c.tar.gz cd openssl-1.0.1c/ ./Configure --prefix=/root/arm-libs dist && make && make install && cd .. tar -xvjf boost_1_49_0.tar.bz2 cd boost_1_49_0/ echo "using gcc : arm : /usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-g++ ;" >> tools/build/v2/user-config.jam ./bootstrap.sh ./bjam toolset=gcc-arm link=static ./bjam toolset=gcc-arm link=static --prefix=/root/arm-libs install cd .. export BOOST_INCLUDE_PATH=/root/arm-libs/include export BDB_INCLUDE_PATH=/root/arm-libs/include export OPENSSL_INCLUDE_PATH=/root/arm-libs/include export BOOST_LIB_PATH=/root/arm-libs/lib export BDB_LIB_PATH=/root/arm-libs/lib export OPENSSL_LIB_PATH=/root/arm-libs/lib cd /bitcoin/src/ make STATIC=1 -f makefile.unix bitcoind USE_UPNP=- arm-none-linux-gnueabi-strip bitcoind Finally, you will find the file in bitcoind in bitcoin/src/ It's not all my work, but I have a little changed from an old post on the forum synology of a user named "PK"
|
DOMINI IN VENDITA/NOLEGGIO bitcoinmarket.net | bitcoinitalia.com
Contattatemi pure per info. ---- +++ ---- "Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi ---- +++ ----
|
|
|
hamdi
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 22, 2012, 05:39:27 PM |
|
doesnt i slow down the nas?
|
|
|
|
ziomik (OP)
Legendary
Offline
Activity: 1960
Merit: 1012
SELL bitcoinmarket.net | bitcoinitalia.com SELL
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 22, 2012, 05:44:52 PM |
|
Now is downloading blockchain and the CPU is used 100% ![Shocked](https://bitcointalk.org/Smileys/default/shocked.gif) I want to see, when it will end, if it changes the workload Mem: 102484K used, 16000K free, 0K shrd, 600K buff, 9312K cached CPU: 0.0% usr 0.0% sys 9.0% nic 0.0% idle 81.8% io 0.0% irq 9.0% sirq
|
DOMINI IN VENDITA/NOLEGGIO bitcoinmarket.net | bitcoinitalia.com
Contattatemi pure per info. ---- +++ ---- "Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi ---- +++ ----
|
|
|
runeks
Legendary
Offline
Activity: 980
Merit: 1008
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 23, 2012, 06:14:47 PM |
|
Cool! Might be an idea to copy over a block chain from another computer you have though. I imagine verifying the block chain on a device like that will take weeks.
|
|
|
|
ziomik (OP)
Legendary
Offline
Activity: 1960
Merit: 1012
SELL bitcoinmarket.net | bitcoinitalia.com SELL
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 23, 2012, 06:20:06 PM |
|
Maybe you're right ... ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) userDiskManager> ls -l total 973812 -rw------- 1 user user 134217728 Oct 22 18:57 blk00000.dat -rw------- 1 user user 134217728 Oct 22 20:58 blk00001.dat -rw------- 1 user user 134217728 Oct 23 09:56 blk00002.dat -rw------- 1 user user 134217728 Oct 23 13:24 blk00003.dat -rw------- 1 user user 134217728 Oct 23 15:36 blk00004.dat -rw------- 1 user user 134217728 Oct 23 19:00 blk00005.dat -rw------- 1 user user 83886080 Oct 23 20:21 blk00006.dat -rw------- 1 user user 15728640 Oct 22 18:57 rev00000.dat -rw------- 1 user user 15728640 Oct 22 20:58 rev00001.dat -rw------- 1 user user 15728640 Oct 23 09:56 rev00002.dat -rw------- 1 user user 15728640 Oct 23 13:24 rev00003.dat -rw------- 1 user user 15728640 Oct 23 15:36 rev00004.dat -rw------- 1 user user 16777216 Oct 23 19:00 rev00005.dat -rw------- 1 user user 11534336 Oct 23 20:21 rev00006.dat userDiskManager>
|
DOMINI IN VENDITA/NOLEGGIO bitcoinmarket.net | bitcoinitalia.com
Contattatemi pure per info. ---- +++ ---- "Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi ---- +++ ----
|
|
|
runeks
Legendary
Offline
Activity: 980
Merit: 1008
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 23, 2012, 06:53:23 PM |
|
Looks like it downloaded 640 MB in 24 hours. But I don't think it verifies any transactions until block 190,000 (the latest check point). After that it will probably slow down significantly. Also, note that you seem to be running the ultra-prune version (which you should, since it has been merged to main), which has been known to corrupt wallets. Just a heads up.
|
|
|
|
ziomik (OP)
Legendary
Offline
Activity: 1960
Merit: 1012
SELL bitcoinmarket.net | bitcoinitalia.com SELL
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 23, 2012, 07:32:45 PM |
|
Isn't the ultra-prune in action. I downloaded the sources from the official github.. git clone https://github.com/bitcoin/bitcoin.git Maybe I misunderstood, what you want to tell me? ![Undecided](https://bitcointalk.org/Smileys/default/undecided.gif)
|
DOMINI IN VENDITA/NOLEGGIO bitcoinmarket.net | bitcoinitalia.com
Contattatemi pure per info. ---- +++ ---- "Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi ---- +++ ----
|
|
|
runeks
Legendary
Offline
Activity: 980
Merit: 1008
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 23, 2012, 09:21:56 PM |
|
Yes, you are running the ultra-prune version. I was just letting you know that there have been reports of this version corrupting wallets, and that it's a fairly big code change, so it might not be as stable as the official releases. So if you want to run bleeding edge, this is the version to get. If you want stable, it might be better to grab an official release like 0.7.1 and building that.
|
|
|
|
hardcore-fs
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 24, 2012, 02:48:47 AM |
|
Why bother, all you would do is increase the CPU temp of the synology , causing it to NOT enter the sleep mode, thereby using MORE electricity than you can earn from generating bitcoins.
HC
|
BTC:1PCTzvkZUFuUF7DA6aMEVjBUUp35wN5JtF
|
|
|
ziomik (OP)
Legendary
Offline
Activity: 1960
Merit: 1012
SELL bitcoinmarket.net | bitcoinitalia.com SELL
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 24, 2012, 06:02:31 AM |
|
The purpose is not to generate bitcoin, but having a personal wallet I'll put on the network and will manage through the web wherever I am.
|
DOMINI IN VENDITA/NOLEGGIO bitcoinmarket.net | bitcoinitalia.com
Contattatemi pure per info. ---- +++ ---- "Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi ---- +++ ----
|
|
|
ziomik (OP)
Legendary
Offline
Activity: 1960
Merit: 1012
SELL bitcoinmarket.net | bitcoinitalia.com SELL
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 10, 2012, 12:16:53 PM |
|
I have a strange answer bitcoind running. I have not found solutions. Aid? ./bitcoind -datadir=/volume1/.bitcoin/ Bitcoin: Failed to connect best block
|
DOMINI IN VENDITA/NOLEGGIO bitcoinmarket.net | bitcoinitalia.com
Contattatemi pure per info. ---- +++ ---- "Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi ---- +++ ----
|
|
|
ziomik (OP)
Legendary
Offline
Activity: 1960
Merit: 1012
SELL bitcoinmarket.net | bitcoinitalia.com SELL
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 23, 2012, 01:28:11 PM |
|
Help..... ![Cry](https://bitcointalk.org/Smileys/default/cry.gif) debug.log Default data directory /root/.bitcoin Used data directory /volume1/.bitcoin/ dbenv.open LogDir=/volume1/.bitcoin/database ErrorFile=/volume1/.bitcoin/db.log Bound to [::]:8333 Bound to 0.0.0.0:8333 Loading block index... Opening LevelDB in /volume1/.bitcoin/blktree Opened LevelDB successfully Opening LevelDB in /volume1/.bitcoin/coins Opened LevelDB successfully LoadBlockIndex(): last block file = 18 LoadBlockIndex(): last block file: CBlockFileInfo(blocks=1051, size=90935905, heights=192137..193187, time=2012-08-03..2012-08-10) LoadBlockIndex(): hashBestChain=000000000019d6689c08 height=0 date=01/03/09 18:15:05 Verifying last 0 blocks at level 1 block index 35045ms Loading wallet... nFileVersion = 79900 wallet 16219ms ERROR: CheckProofOfWork() : nBits below minimum work ERROR: CBlock::ReadFromDisk() : errors in block header ERROR: SetBestBlock() : ReadFromDisk for connect failed Loading addresses... Loaded 118 addresses from peers.dat 22ms mapBlockIndex.size() = 193188 nBestHeight = 0 setKeyPool.size() = 101 mapWallet.size() = 0 mapAddressBook.size() = 4 Done loading Bitcoin: Failed to connect best block Flush(false) wallet.dat refcount=0 wallet.dat checkpoint ThreadRPCServer started send version message: version 60002, blocks=0, us=0.0.0.0:0, them=0.0.0.0:0, peer=127.0.0.1:0 ThreadIRCSeed exited ThreadSocketHandler started ThreadOpenAddedConnections started ThreadOpenAddedConnections exited ThreadOpenConnections started ThreadMessageHandler started ThreadMessageHandler exited ThreadDumpAddress exited ThreadDNSAddressSeed started Loading addresses from DNS seeds (could take a while) ThreadRPCServer exited wallet.dat detach ThreadSocketHandler exited wallet.dat closed DBFlush(false) ended 77ms StopNode() GetMyExternalIP() received [xxx.xxx.xxx.xxx] xxx.xxx.xxx.xxx:0 GetMyExternalIP() returned xxx.xxx.xxx.xxx AddLocal(95.228.138.78:8333,5) ThreadOpenConnections exited Added 31 addresses from 178.18.90.41: 0 tried, 149 new Added 24 addresses from 173.242.112.53: 0 tried, 173 new 120 addresses found from DNS seeds ThreadDNSAddressSeed exited Flushed 173 addresses to peers.dat 123ms Committing 0 changed transactions to coin database... Flush(true) DBFlush(true) ended 0ms Bitcoin exited
|
DOMINI IN VENDITA/NOLEGGIO bitcoinmarket.net | bitcoinitalia.com
Contattatemi pure per info. ---- +++ ---- "Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi ---- +++ ----
|
|
|
ziomik (OP)
Legendary
Offline
Activity: 1960
Merit: 1012
SELL bitcoinmarket.net | bitcoinitalia.com SELL
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 23, 2012, 04:52:34 PM |
|
solution is recompiled new build. ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif)
|
DOMINI IN VENDITA/NOLEGGIO bitcoinmarket.net | bitcoinitalia.com
Contattatemi pure per info. ---- +++ ---- "Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi ---- +++ ----
|
|
|
Raize
Donator
Legendary
Offline
Activity: 1419
Merit: 1015
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2012, 04:49:04 PM |
|
Holy crap ziomik. That's awesome. How long did it run at 100% CPU before it finished verifying the blockchain? I'm tempted to give this a shot.
|
|
|
|
ziomik (OP)
Legendary
Offline
Activity: 1960
Merit: 1012
SELL bitcoinmarket.net | bitcoinitalia.com SELL
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2012, 10:41:16 PM |
|
Hello, I had to stop because, as you can see from the post above, the version I had compiled was the ultra-prune and was clobbered. Now I have compiled 0.7.2 and began again to download the blockchain. At this time are the block number 15432. At the download has worked 100% cpu but now it is the ram that is consumed much. My nas use it as a video straming and while doing this work, I just finished looking at the film "The Watch" without a hint of problems .. ![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
|
DOMINI IN VENDITA/NOLEGGIO bitcoinmarket.net | bitcoinitalia.com
Contattatemi pure per info. ---- +++ ---- "Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi ---- +++ ----
|
|
|
Raize
Donator
Legendary
Offline
Activity: 1419
Merit: 1015
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 25, 2012, 12:39:09 AM |
|
When you say video streaming do you mean Plex or Video Station? That's too bad about RAM usage, but I'm actually thinking of upgrading my NAS. I can especially justify it if it can host the blockchain for me!
|
|
|
|
ziomik (OP)
Legendary
Offline
Activity: 1960
Merit: 1012
SELL bitcoinmarket.net | bitcoinitalia.com SELL
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 25, 2012, 08:19:36 AM |
|
use Plex. I want to see if it will decrease the use, when bitcoind end of download ... we will see ..
|
DOMINI IN VENDITA/NOLEGGIO bitcoinmarket.net | bitcoinitalia.com
Contattatemi pure per info. ---- +++ ---- "Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi ---- +++ ----
|
|
|
|