Search content
Sort by

Showing 8 of 8 results by doroboNeko
Post
Topic
Board Mining (Altcoins)
Re: Official FutureBit Moonlander 2 Driver and Support Thread
by
doroboNeko
on 28/10/2018, 00:25:18 UTC
Last I knew as of a few months ago the auto restart still was not ported over to the Linux ARM V2 tar download which is needed for the pi., or am I missing something?


I am using RPi with latest bfgminer precompiled binary, and it works perfectly. Auto restart of faulty sticks is there.

As soon as I'm done with the Apollo pre-order I will give some love to the Moonlanders. I have a bunch of updates queued for the driver and will be releasing a new version in the next month hopefully.

Regarding this, have you seen https://github.com/luke-jr/bfgminer/issues/763 ?.
I think my problem has been solved. Just letting you know so you can merge that so others that had that problem don't have to anymore  Wink
Post
Topic
Board Mining (Altcoins)
Re: Official FutureBit Moonlander 2 Driver and Support Thread
by
doroboNeko
on 24/05/2018, 02:13:18 UTC


You should see 5.4.2-38 at the top if your running the latest version.


It crashed again with segmentation fault although it was not running that specific version. It was running 5.2.0-243. How would i go about rebuilding for latest version?

That is the latest version...my fork is just stuck on 5.2 because thats when I forked it...should probably update that. How many units are you running, and what kind of system.

Just on unit on Gentoo.

Wanted to let everyone know that if you're running Gentoo, to check your CFLAGS/CXXFLAGS first. I forgot that i had changed them to some unsafe optimizations. I had gdb referring to libcurl.so when it segv, so i rebuilt curl package with standard safe c/cxxflags and it has been working without problem until now. If i don't respond to this in a couple days then you can assume that my problem has been solved   Grin. Crossing my fingers.

Nope. Is it wierd that gdb shows me that the program is using libcurl.so instead of libcurl-gnutls.so, and if so how do i make it link to the correct one? I don't know what else could be the problem beside that.
Post
Topic
Board Mining (Altcoins)
Re: Official FutureBit Moonlander 2 Driver and Support Thread
by
doroboNeko
on 23/05/2018, 02:36:31 UTC


You should see 5.4.2-38 at the top if your running the latest version.


It crashed again with segmentation fault although it was not running that specific version. It was running 5.2.0-243. How would i go about rebuilding for latest version?

That is the latest version...my fork is just stuck on 5.2 because thats when I forked it...should probably update that. How many units are you running, and what kind of system.

Just on unit on Gentoo.

Wanted to let everyone know that if you're running Gentoo, to check your CFLAGS/CXXFLAGS first. I forgot that i had changed them to some unsafe optimizations. I had gdb referring to libcurl.so when it segv, so i rebuilt curl package with standard safe c/cxxflags and it has been working without problem until now. If i don't respond to this in a couple days then you can assume that my problem has been solved   Grin. Crossing my fingers.
Post
Topic
Board Mining (Altcoins)
Re: Official FutureBit Moonlander 2 Driver and Support Thread
by
doroboNeko
on 12/05/2018, 21:09:42 UTC


You should see 5.4.2-38 at the top if your running the latest version.


It crashed again with segmentation fault although it was not running that specific version. It was running 5.2.0-243. How would i go about rebuilding for latest version?

That is the latest version...my fork is just stuck on 5.2 because thats when I forked it...should probably update that. How many units are you running, and what kind of system.

Just on unit on Gentoo.
Post
Topic
Board Mining (Altcoins)
Re: Official FutureBit Moonlander 2 Driver and Support Thread
by
doroboNeko
on 11/05/2018, 17:53:53 UTC


You should see 5.4.2-38 at the top if your running the latest version.


It crashed again with segmentation fault although it was not running that specific version. It was running 5.2.0-243. How would i go about rebuilding for latest version?
Post
Topic
Board Mining (Altcoins)
Re: Official FutureBit Moonlander 2 Driver and Support Thread
by
doroboNeko
on 08/05/2018, 20:49:01 UTC
git clone https://github.com/jstefanop/bfgminer.git ./futurebit
cd futurebit
git checkout futurebit2_driver
./autogen.sh
./configure --disable-other-drivers --enable-scrypt --enable-futurebit
make


should do it if you have all the right dependencies installed(check the readme for those).

okay. just built and is running now although it got lots of warnings when building. i'll let you know if i have a problem in a day or two. Thanks for the help  Smiley
Post
Topic
Board Mining (Altcoins)
Re: Official FutureBit Moonlander 2 Driver and Support Thread
by
doroboNeko
on 08/05/2018, 19:25:00 UTC
Hi. I have downloaded the software specific to the miner and it run fine on a Debian machine. Then i moved the miner to another machine that has Gentoo and bfgminer ran fine for like a day or two and then does segmentation fault. It has happened very consistently so i ran it through dbg to get log. I don't know if there is another place where i can put this or if there is other way to get more debugging info.
Code:
Starting program: /home/user/bfgminer_5.4.2-futurebit2_linux_x86_64/bfgminer --scrypt -o stratum+tcp://hub.miningpoolhub.com:20523/\#skipcbcheck -u userName.minerName -p p -d 128 -S ALL --set MLD:clock=796
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff4ae2700 (LWP 2349)]
[New Thread 0x7ffff42e1700 (LWP 2350)]
[New Thread 0x7ffff3ae0700 (LWP 2351)]
[Thread 0x7ffff42e1700 (LWP 2350) exited]
[New Thread 0x7ffff32df700 (LWP 2352)]
[Thread 0x7ffff3ae0700 (LWP 2351) exited]
[New Thread 0x7ffff2ade700 (LWP 2353)]
[Thread 0x7ffff32df700 (LWP 2352) exited]
[New Thread 0x7ffff22dd700 (LWP 2354)]
[Thread 0x7ffff2ade700 (LWP 2353) exited]
[New Thread 0x7ffff1adc700 (LWP 2355)]
[Thread 0x7ffff22dd700 (LWP 2354) exited]
[New Thread 0x7ffff12db700 (LWP 2356)]
[Thread 0x7ffff1adc700 (LWP 2355) exited]
[New Thread 0x7ffff0ada700 (LWP 2357)]
[Thread 0x7ffff12db700 (LWP 2356) exited]
[Thread 0x7ffff0ada700 (LWP 2357) exited]
[New Thread 0x7ffff0ada700 (LWP 2360)]
[New Thread 0x7ffff12db700 (LWP 2361)]
[Thread 0x7ffff12db700 (LWP 2361) exited]
[New Thread 0x7ffff12db700 (LWP 2362)]
[Thread 0x7ffff0ada700 (LWP 2360) exited]
[New Thread 0x7ffff1adc700 (LWP 2364)]
[New Thread 0x7ffff22dd700 (LWP 2365)]
[New Thread 0x7ffff3cb8700 (LWP 2366)]
[New Thread 0x7ffff34b7700 (LWP 2367)]
[New Thread 0x7ffff2cb6700 (LWP 2368)]
[New Thread 0x7fffe3fff700 (LWP 2369)]
[Thread 0x7ffff2cb6700 (LWP 2368) exited]
[New Thread 0x7ffff2cb6700 (LWP 2370)]
[New Thread 0x7fffe37fe700 (LWP 9331)]
[Thread 0x7fffe37fe700 (LWP 9331) exited]

Thread 13 "stratum0" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff12db700 (LWP 2362)]
0x00007ffff757ddc0 in ?? () from /usr/lib64/libcurl-gnutls.so.4
#0  0x00007ffff757ddc0 in ?? () from /usr/lib64/libcurl-gnutls.so.4
#1  0x00007ffff757319c in curl_easy_recv () from /usr/lib64/libcurl-gnutls.so.4
#2  0x0000000000437acb in clear_sock (pool=pool@entry=0x6971e0) at util.c:1837
#3  0x000000000043c7c0 in recv_line (pool=pool@entry=0x6971e0) at util.c:1937
#4  0x000000000042ce13 in stratum_thread (userdata=0x6971e0) at miner.c:9657
#5  0x00007ffff71148f7 in start_thread () from /lib64/libpthread.so.0
#6  0x00007ffff64ccc7f in clone () from /lib64/libc.so.6

Thread 20 (Thread 0x7ffff2cb6700 (LWP 2370)):
#0  0x00007ffff711facd in read () from /lib64/libpthread.so.0
#1  0x00007ffff6eecaaf in _nc_wgetch () from /usr/lib64/libncurses.so.5
#2  0x00007ffff6eed426 in wgetch () from /usr/lib64/libncurses.so.5
#3  0x00000000004117f3 in __real_getch () at ./miner.h:206
#4  my_cancellable_getch () at miner.c:3787
#5  0x00000000004328f5 in input_thread (userdata=) at miner.c:8895
#6  0x00007ffff71148f7 in start_thread () from /lib64/libpthread.so.0
#7  0x00007ffff64ccc7f in clone () from /lib64/libc.so.6

Thread 19 (Thread 0x7fffe3fff700 (LWP 2369)):
#0  0x00007ffff64cd2a3 in epoll_wait () from /lib64/libc.so.6
#1  0x00000000004172f9 in hotplug_thread (p=) at miner.c:13087
#2  0x00007ffff71148f7 in start_thread () from /lib64/libpthread.so.0
#3  0x00007ffff64ccc7f in clone () from /lib64/libc.so.6

Thread 17 (Thread 0x7ffff34b7700 (LWP 2367)):
#0  0x00007ffff6497c6d in nanosleep () from /lib64/libc.so.6
#1  0x00007ffff6497baa in sleep () from /lib64/libc.so.6
#2  0x0000000000422bb2 in watchdog_thread (userdata=) at miner.c:11609
#3  0x00007ffff71148f7 in start_thread () from /lib64/libpthread.so.0
#4  0x00007ffff64ccc7f in clone () from /lib64/libc.so.6

Thread 16 (Thread 0x7ffff3cb8700 (LWP 2366)):
#0  0x00007ffff712019d in nanosleep () from /lib64/libpthread.so.0
#1  0x0000000000435f75 in _cgsleep_us_r_nanosleep (tv_start=, us=) at util.c:1474
#2  0x0000000000439cf3 in cgsleep_ms_r (ms=30000, tv_start=0x7ffff3cb6ea0) at util.c:1457
#3  cgsleep_ms (ms=ms@entry=30000) at util.c:1483
#4  0x000000000042b8c5 in watchpool_thread (userdata=) at miner.c:11461
#5  0x00007ffff71148f7 in start_thread () from /lib64/libpthread.so.0
#6  0x00007ffff64ccc7f in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7ffff22dd700 (LWP 2365)):
#0  0x00007ffff64c3f63 in select () from /lib64/libc.so.6
#1  0x000000000042780a in submit_work_thread (userdata=) at miner.c:6976
#2  0x00007ffff71148f7 in start_thread () from /lib64/libpthread.so.0
#3  0x00007ffff64ccc7f in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7ffff1adc700 (LWP 2364)):
#0  0x00007ffff711facd in read () from /lib64/libpthread.so.0
#1  0x0000000000451d8c in read (__nbytes=8, __buf=0x7ffff1ad9dd0, __fd=13) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  _serial_read (fd=fd@entry=13, buf=buf@entry=0x7ffff1ad9dd0 "<\020\377\032\t'V\024`\f", bufsiz=bufsiz@entry=8,
    eol=eol@entry=0x0) at lowl-vcom.c:1239
#3  0x0000000000455042 in futurebit_scanhash (thr=0x6bbc10, work=0x6bb330, max_nonce=) at driver-futurebit.c:650
#4  0x0000000000433d3f in minerloop_scanhash (mythr=0x6bbc10) at deviceapi.c:274
#5  0x0000000000434eb2 in miner_thread (userdata=0x6bbc10) at deviceapi.c:772
#6  0x00007ffff71148f7 in start_thread () from /lib64/libpthread.so.0
#7  0x00007ffff64ccc7f in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7ffff12db700 (LWP 2362)):
#0  0x00007ffff757ddc0 in ?? () from /usr/lib64/libcurl-gnutls.so.4
#1  0x00007ffff757319c in curl_easy_recv () from /usr/lib64/libcurl-gnutls.so.4
#2  0x0000000000437acb in clear_sock (pool=pool@entry=0x6971e0) at util.c:1837
#3  0x000000000043c7c0 in recv_line (pool=pool@entry=0x6971e0) at util.c:1937
#4  0x000000000042ce13 in stratum_thread (userdata=0x6971e0) at miner.c:9657
#5  0x00007ffff71148f7 in start_thread () from /lib64/libpthread.so.0
#6  0x00007ffff64ccc7f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ffff4ae2700 (LWP 2349)):
#0  0x00007ffff64c18fd in poll () from /lib64/libc.so.6
#1  0x00007ffff7fb5fc1 in ?? () from /lib64/libusb-1.0.so.0
#2  0x00007ffff71148f7 in start_thread () from /lib64/libpthread.so.0
#3  0x00007ffff64ccc7f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ffff7f9ab40 (LWP 2345)):
#0  0x00007ffff711b7f6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000000408a4e in main (argc=1, argv=) at miner.c:13859


Could be an issue with gentoo specific libraries that bfgminer relies on. Since this is a linux machine its easy to build the binaries...I would just do a custom compile on your system and see if that resolves the issue.

Do i need to build with a specific config or do just clone your git and build with all options?
Post
Topic
Board Mining (Altcoins)
Re: Official FutureBit Moonlander 2 Driver and Support Thread
by
doroboNeko
on 07/05/2018, 03:52:26 UTC
Hi. I have downloaded the software specific to the miner and it run fine on a Debian machine. Then i moved the miner to another machine that has Gentoo and bfgminer ran fine for like a day or two and then does segmentation fault. It has happened very consistently so i ran it through dbg to get log. I don't know if there is another place where i can put this or if there is other way to get more debugging info.
Code:
Starting program: /home/user/bfgminer_5.4.2-futurebit2_linux_x86_64/bfgminer --scrypt -o stratum+tcp://hub.miningpoolhub.com:20523/\#skipcbcheck -u userName.minerName -p p -d 128 -S ALL --set MLD:clock=796
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff4ae2700 (LWP 2349)]
[New Thread 0x7ffff42e1700 (LWP 2350)]
[New Thread 0x7ffff3ae0700 (LWP 2351)]
[Thread 0x7ffff42e1700 (LWP 2350) exited]
[New Thread 0x7ffff32df700 (LWP 2352)]
[Thread 0x7ffff3ae0700 (LWP 2351) exited]
[New Thread 0x7ffff2ade700 (LWP 2353)]
[Thread 0x7ffff32df700 (LWP 2352) exited]
[New Thread 0x7ffff22dd700 (LWP 2354)]
[Thread 0x7ffff2ade700 (LWP 2353) exited]
[New Thread 0x7ffff1adc700 (LWP 2355)]
[Thread 0x7ffff22dd700 (LWP 2354) exited]
[New Thread 0x7ffff12db700 (LWP 2356)]
[Thread 0x7ffff1adc700 (LWP 2355) exited]
[New Thread 0x7ffff0ada700 (LWP 2357)]
[Thread 0x7ffff12db700 (LWP 2356) exited]
[Thread 0x7ffff0ada700 (LWP 2357) exited]
[New Thread 0x7ffff0ada700 (LWP 2360)]
[New Thread 0x7ffff12db700 (LWP 2361)]
[Thread 0x7ffff12db700 (LWP 2361) exited]
[New Thread 0x7ffff12db700 (LWP 2362)]
[Thread 0x7ffff0ada700 (LWP 2360) exited]
[New Thread 0x7ffff1adc700 (LWP 2364)]
[New Thread 0x7ffff22dd700 (LWP 2365)]
[New Thread 0x7ffff3cb8700 (LWP 2366)]
[New Thread 0x7ffff34b7700 (LWP 2367)]
[New Thread 0x7ffff2cb6700 (LWP 2368)]
[New Thread 0x7fffe3fff700 (LWP 2369)]
[Thread 0x7ffff2cb6700 (LWP 2368) exited]
[New Thread 0x7ffff2cb6700 (LWP 2370)]
[New Thread 0x7fffe37fe700 (LWP 9331)]
[Thread 0x7fffe37fe700 (LWP 9331) exited]

Thread 13 "stratum0" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff12db700 (LWP 2362)]
0x00007ffff757ddc0 in ?? () from /usr/lib64/libcurl-gnutls.so.4
#0  0x00007ffff757ddc0 in ?? () from /usr/lib64/libcurl-gnutls.so.4
#1  0x00007ffff757319c in curl_easy_recv () from /usr/lib64/libcurl-gnutls.so.4
#2  0x0000000000437acb in clear_sock (pool=pool@entry=0x6971e0) at util.c:1837
#3  0x000000000043c7c0 in recv_line (pool=pool@entry=0x6971e0) at util.c:1937
#4  0x000000000042ce13 in stratum_thread (userdata=0x6971e0) at miner.c:9657
#5  0x00007ffff71148f7 in start_thread () from /lib64/libpthread.so.0
#6  0x00007ffff64ccc7f in clone () from /lib64/libc.so.6

Thread 20 (Thread 0x7ffff2cb6700 (LWP 2370)):
#0  0x00007ffff711facd in read () from /lib64/libpthread.so.0
#1  0x00007ffff6eecaaf in _nc_wgetch () from /usr/lib64/libncurses.so.5
#2  0x00007ffff6eed426 in wgetch () from /usr/lib64/libncurses.so.5
#3  0x00000000004117f3 in __real_getch () at ./miner.h:206
#4  my_cancellable_getch () at miner.c:3787
#5  0x00000000004328f5 in input_thread (userdata=) at miner.c:8895
#6  0x00007ffff71148f7 in start_thread () from /lib64/libpthread.so.0
#7  0x00007ffff64ccc7f in clone () from /lib64/libc.so.6

Thread 19 (Thread 0x7fffe3fff700 (LWP 2369)):
#0  0x00007ffff64cd2a3 in epoll_wait () from /lib64/libc.so.6
#1  0x00000000004172f9 in hotplug_thread (p=) at miner.c:13087
#2  0x00007ffff71148f7 in start_thread () from /lib64/libpthread.so.0
#3  0x00007ffff64ccc7f in clone () from /lib64/libc.so.6

Thread 17 (Thread 0x7ffff34b7700 (LWP 2367)):
#0  0x00007ffff6497c6d in nanosleep () from /lib64/libc.so.6
#1  0x00007ffff6497baa in sleep () from /lib64/libc.so.6
#2  0x0000000000422bb2 in watchdog_thread (userdata=) at miner.c:11609
#3  0x00007ffff71148f7 in start_thread () from /lib64/libpthread.so.0
#4  0x00007ffff64ccc7f in clone () from /lib64/libc.so.6

Thread 16 (Thread 0x7ffff3cb8700 (LWP 2366)):
#0  0x00007ffff712019d in nanosleep () from /lib64/libpthread.so.0
#1  0x0000000000435f75 in _cgsleep_us_r_nanosleep (tv_start=, us=) at util.c:1474
#2  0x0000000000439cf3 in cgsleep_ms_r (ms=30000, tv_start=0x7ffff3cb6ea0) at util.c:1457
#3  cgsleep_ms (ms=ms@entry=30000) at util.c:1483
#4  0x000000000042b8c5 in watchpool_thread (userdata=) at miner.c:11461
#5  0x00007ffff71148f7 in start_thread () from /lib64/libpthread.so.0
#6  0x00007ffff64ccc7f in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7ffff22dd700 (LWP 2365)):
#0  0x00007ffff64c3f63 in select () from /lib64/libc.so.6
#1  0x000000000042780a in submit_work_thread (userdata=) at miner.c:6976
#2  0x00007ffff71148f7 in start_thread () from /lib64/libpthread.so.0
#3  0x00007ffff64ccc7f in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7ffff1adc700 (LWP 2364)):
#0  0x00007ffff711facd in read () from /lib64/libpthread.so.0
#1  0x0000000000451d8c in read (__nbytes=8, __buf=0x7ffff1ad9dd0, __fd=13) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  _serial_read (fd=fd@entry=13, buf=buf@entry=0x7ffff1ad9dd0 "<\020\377\032\t'V\024`\f", bufsiz=bufsiz@entry=8,
    eol=eol@entry=0x0) at lowl-vcom.c:1239
#3  0x0000000000455042 in futurebit_scanhash (thr=0x6bbc10, work=0x6bb330, max_nonce=) at driver-futurebit.c:650
#4  0x0000000000433d3f in minerloop_scanhash (mythr=0x6bbc10) at deviceapi.c:274
#5  0x0000000000434eb2 in miner_thread (userdata=0x6bbc10) at deviceapi.c:772
#6  0x00007ffff71148f7 in start_thread () from /lib64/libpthread.so.0
#7  0x00007ffff64ccc7f in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7ffff12db700 (LWP 2362)):
#0  0x00007ffff757ddc0 in ?? () from /usr/lib64/libcurl-gnutls.so.4
#1  0x00007ffff757319c in curl_easy_recv () from /usr/lib64/libcurl-gnutls.so.4
#2  0x0000000000437acb in clear_sock (pool=pool@entry=0x6971e0) at util.c:1837
#3  0x000000000043c7c0 in recv_line (pool=pool@entry=0x6971e0) at util.c:1937
#4  0x000000000042ce13 in stratum_thread (userdata=0x6971e0) at miner.c:9657
#5  0x00007ffff71148f7 in start_thread () from /lib64/libpthread.so.0
#6  0x00007ffff64ccc7f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ffff4ae2700 (LWP 2349)):
#0  0x00007ffff64c18fd in poll () from /lib64/libc.so.6
#1  0x00007ffff7fb5fc1 in ?? () from /lib64/libusb-1.0.so.0
#2  0x00007ffff71148f7 in start_thread () from /lib64/libpthread.so.0
#3  0x00007ffff64ccc7f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ffff7f9ab40 (LWP 2345)):
#0  0x00007ffff711b7f6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000000408a4e in main (argc=1, argv=) at miner.c:13859