-
shadowfax-87[m]
Does anyone have experience compiling the souce code on Raspberry Pi 3? The P2Pool is compiling ok, but I am getting error messages compiling the monero binaries. I am using a RPi3 with Ubuntu Server 21.0 64-bit.
-
abberant[m]
do you have 4gb of ram? try using -j1 instead of the -j$(nproc) or whatever
-
abberant[m]
I had the same issue
-
shadowfax-87[m]
abberant[m]: Nope just 1Gb. I will try to recompile ...
-
selsta
post the error message
-
shadowfax-87[m]
<selsta> "post the error message" <- make[3]: *** [contrib/epee/src/CMakeFiles/epee.dir/build.make:82: contrib/epee/src/CMakeFiles/epee.dir/byte_slice.cpp.o] Error 1... (full message at
libera.ems.host/_matrix/media/r0/do…cd6c36a3f7affd0f0b9b700320390b93603)
-
shadowfax-87[m]
It happens after 43% of the code compiled.
-
selsta
need full log, please post to paste.debian.net
-
abberant[m]
and this is with -j1?
-
shadowfax-87[m]
abberant[m]: yes.
-
shadowfax-87[m]
I will recompile again with the -j$(nproc) flag.
-
selsta
that won't fix it
-
selsta
it will (possible) make it worse lol
-
selsta
your log doesn't contain the error, post a full log
-
shadowfax-87[m]
where the log file is saved?
-
selsta
there is no file, just copy it
-
selsta
from screen
-
shadowfax-87[m]
Sent to paste.debian.net.
-
selsta
-
selsta
add this release-rpi target to Makefile and then try `make release-rpi`
-
EDad
I could if sworn reading a swap file was needed to compile on low ram pi's
-
shadowfax-87[m]
Now the compiler is stucked at around 29% ...
-
abberant[m]
Do you still need the modified monerod to use p2pool? I'm looking at seth's docker guide to see if it can save me time and it looks like the sources are from the vanilla monerod?
-
abberant[m]
I'm just going to assume those are references to the base one to compare versions...
-
shadowfax-87[m]
I am actually think whether the low memory could be an issue to compile. I will try another approach tomorrow. I am UTC-3.
-
xmrvsbeast[m]
yes, low memory will definitely give you issues with compiling moneord, you need at least 3gb IMO and only run one job
-
xmrvsbeast[m]
4gb is ideal
-
jaska087
nonono... 4gb is minimal requirement. 64gb is ideal ;)
-
DataHoarder
abberant[m]: you need the modified p2pool, and its pr was merged on a monero branch. it is still not released
-
abberant[m]
oh at least it got merged, sweet
-
abberant[m]
thanks as usual for info 👍
-
DataHoarder
-
mightysnowman[m]
wait what is the hashrate raffle and how to join it?
-
DataHoarder
mightysnowman[m]: provided by XvB
xmrvsbeast.com/p2pool
-
mightysnowman[m]
ye but how to join it
-
DataHoarder
see that page
-
DataHoarder
Register/Update at the bottom
-
mightysnowman[m]
dang it I need to have open ports?
-
mightysnowman[m]
I need to give my p2pool node access in the registration?
-
DataHoarder
they redirect miners to your instance
-
DataHoarder
you can have *another* p2pool instance elsewhere
-
DataHoarder
with same wallet address
-
mightysnowman[m]
can I update the ip and port of the node every day?
-
mightysnowman[m]
there's one service that can make a port on my pc open but ip and the public port randomizes everyday
-
sech1
use dyn-dns
-
sech1
noip.com and similar sites
-
sech1
public port changes too? Not sure then
-
mightysnowman[m]
yeah noip doesnt allow to update the port
-
DataHoarder
but yes, you can update it every day
-
DataHoarder
save the "pin" you are given
-
mightysnowman[m]
okay then I should be fine
-
mightysnowman[m]
wait for how long the winned hashrate stays?
-
DataHoarder
whatever amount XvB gives you
-
DataHoarder
20m, 6h, 2h :)
-
DataHoarder
check history
-
DataHoarder
we have had up to 5 MH/s of raffle
-
Inge
peer list: 518
-
sech1
Real peer list is probably 150 or so
-
sech1
dynamic IPs mess it up
-
mightysnowman[m]
can someone test if my p2pool node is reachable from outside? 35.157.111.131:17828
-
DataHoarder
seems to work, even through VPN
-
mightysnowman[m]
cool
-
mightysnowman[m]
the thing with the port forwarding service thing is that it has no udp, only tcp
-
mightysnowman[m]
do any of the monero related stuff use udp?
-
EDad
mightysnowman[m]: I am using noip as it's one of the options included with my router. The downside is my router only checks once a hour so there "could" be some downtime. I've hit the raffle twice so far with the setup. So it does work.
-
sech1
Everything is using tcp (both monerod and p2pool)
-
mfoolb
^
-
jaska087
hmm.. xvb node gives me 1 more outputs then my own node, is this normal? also the weight is different. Do these matter?
-
sech1
what weight? That node might see different set of transactions in mempool
-
sech1
1 more output - it can mine to a wallet that's not in PPLNS window, for example
-
jaska087
ah right
-
mightysnowman[m]
ah yes, as soon as I start mining on p2pool again monero rng god decides to hit with the 400% block
-
sech1
hyc is it really safe to run two monerod instances with the same data dir?
SChernykh/p2pool #49
-
DataHoarder
^ interested on that
-
sech1
"added support for multiple daemons using the same LMDB database" from that reddit link
-
jaska087
sounds sketchy
-
mightysnowman[m]
Also what is the fail count on the raffle? how often the fail count gets increased when connection fails?
-
pauliouk
fail count is how many times you've won the raffle, but haven't had a share in the X days it looks at. Also increases if the system can't connect to you
-
abberant[m]
okay I have new developments
-
-
abberant[m]
looks like shares that should be accepted are being rejected
-
abberant[m]
I'm not the only one on my monero node that I think is facing similar problems, any idea why this is? what could be making them get rejected...
-
abberant[m]
I have plenty of connections and am getting new blocks live
-
abberant[m]
also p2pool has to sync a ton of blocks everytime I restart, even if its only been like 10 seconds, idk if this is normal
-
DataHoarder
It verifies all blocks you have, saved and new abberant[m]
-
jaska087
that sync is normal as there is no file to read from
-
abberant[m]
ok
-
DataHoarder
There is the block cache it fetches blocks from
-
DataHoarder
but it treats it like a local network source
-
jaska087
well yes that but normally its all in memory right?
-
abberant[m]
could shares getting rejected be cause of the daemon or only p2pool?
-
abberant[m]
the only thing different about my setup compared to everyone else is that I have zmq on 0.0.0.0 to bind to my public ip so that friends can connect
-
abberant[m]
otherwise I've reinstalled everything and tried different versions and everything else I can think of and have been getting shares rejected for over a week now, I'm starting to think its not worth my effort
-
abberant[m]
how would it accept every share but ones with enough diff to be submitted to the network :(
-
hyc
sech1 in general yes it's safe, but I don't think there's any use case any more
-
hyc
originally it was to allow multiple monerods on different networks to use the same DB
-
hyc
but now one monerod can talk on tor/i2p/clearnet simultaneously
-
hyc
so I can't see why anyone would need that feature now
-
sech1
abberant do you get any shares on p2pool side? What's in p2pool status?
-
abberant[m]
like low diff shares?
-
abberant[m]
-
abberant[m]
-
abberant[m]
> <@abberant:matrix.org> also half the time I get this... (full message at
libera.ems.host/_matrix/media/r0/do…61f4b9ce058d785cf4eff83c005840fcdfb)
-
QuickBASIC
@hyc> so I can't see why anyone would need that feature now. <--- someone will find a use case even if you can't think of it. Port forwards in and out of WSL suck so I sometimes I run monerod inside of WSL and point data-dir at /mnt/c/ProgramData/bitmonero (where Windows monerod.exe puts it) even though the daemon is running on Windows too it
-
QuickBASIC
works.
-
abberant[m]
can also run clusters for load balancing without using tons of storage
-
sech1
Try to run with loglevel 5, you can see which peers your p2pool tries to connect to and what happens
-
abberant[m]
going to try next, I cleared p2pool cache which I havent tried yet in recent memory so I'm going to see if it makes a difference