[Pkg-bitcoin-devel] Bug#824117: bfgminer: daemon mode

Raphaël Halimi raphael.halimi at gmail.com
Mon May 16 16:50:32 UTC 2016


Ok, sorry, scratch that patch (for now). BFGMiner refuses to start
during boot.

I'm truly sorry for not testing this crucial part before submitting the
patch, but the init script works flawlessly if it's run after boot-time,
so I assumed it was ready; but for an unknown reason, during boot,
bfgminer fails to contact the pool and exits immediately without
bothering to retry or wait a bit.

When I noticed this, at first I thought I messed up the dependencies so
that bfgminer started before the network was up, but I tried all sorts
of combinations (even finally resorting to $all, which runs the
init script almost in last position - only rc.local and rmnologin are
run after that), to no avail. I'm struggling with this since yesterday
and still didn't find a way to make it work at boot.

I'm sure it's not a network issue because during my tests, I tried to
telnet the port on the pool host from within the init script, and it worked.

bfgminer's debug mode isn't very useful either, the only additional
information it provides is about hardware detection.

I really don't understand what's going on. If bfgminer wasn't happy with
a single lagging/slow pool, it shouldn't work after boot either; but it
does.

I'll try to ask upstream if they can help me with this. Sorry again for
the noise.

Regards,

-- 
Raphaël Halimi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-bitcoin-devel/attachments/20160516/db01a6e4/attachment-0001.sig>


More information about the Pkg-bitcoin-devel mailing list