Pages:
Author

Topic: GekkoScience NewPac / Terminus R606 (BM1387) Official Support Thread - page 66. (Read 62068 times)

member
Activity: 114
Merit: 151
The miner seem to be acting a bit weird. It is mining fine for a while and then it restart itself, WU gets lower and the hashrate drops also. I have it on default clocks 100Mhz on Linux Mint connected directly to laptop now. Any suggestions why is this happening? Is there any setting to make it more stable?

It is possibly a power issue.  Better to run them using a powered hub such as the Gekko Science 7 port hub.  Instead of directly plugged into laptop/desktop/SBC  etc.
full member
Activity: 215
Merit: 116
Why so serious?
The miner seem to be acting a bit weird. It is mining fine for a while and then it restart itself, WU gets lower and the hashrate drops also. I have it on default clocks 100Mhz on Linux Mint connected directly to laptop now. Any suggestions why is this happening? Is there any setting to make it more stable?
legendary
Activity: 3416
Merit: 1865
Curmudgeonly hardware guy

=================
=Expected Performance=
=================
The expected performance of the NewPac is about 0.228 * MHz = GH.  
At the default frequency of 100MHz, the NewPac runs at 22.8 GH.

Rough power usage and efficiency of a NewPac:


...

=================
=Cooling=
=================
If you run a stick miner, use a cooling fan.  
 
Increased cooling can reduce the chip's overall power usage.

Non cooled sticks are subject to thermal runaway where heat will trigger increased amperage draw increasing heat in a cycle until the unit fails.

full member
Activity: 215
Merit: 116
Why so serious?
Should I just start it with 500 freq? Will it not burn?
legendary
Activity: 3416
Merit: 1865
Curmudgeonly hardware guy

===============
=Basic Q&A / Troubleshooting=
===============

Q. How can I set a different frequency for the R606 vs NewPac vs 2Pac vs the Compac?

cgminer will accept a custom frequency per device type.
--gekko-r606-freq 600 --gekko-newpac-freq 200 --gekko-compac-freq 200 --gekko-2pac-freq 150

full member
Activity: 215
Merit: 116
Why so serious?
Hello.

I just received my NewPac, started it with the

Code:
./cgminer -o stratum+tcp://jp.stratum.slushpool.com:3333 -u floopers.Gekko -p x --gekko-newpac-freq 100

but it only run about 20Gh/s.

I'm on linux and running cgminer 4.11.1

Can anyone advice me on which parameters to start the miner with to increase the hashrate? I saw the person who sold it to me had it running on 500Mh/s but it seems to high and I don't want to burn the miner.
member
Activity: 114
Merit: 151
If you are installing this on a Raspberry Pi, follow the instructions I placed: https://bitcointalksearch.org/topic/m.50968875

You would not be using Terminus in your commands for the R606.  Rather it's --enable gekko during the build.   I would suggest rebuilding in a new folder with the linked instructions and try again.  Also one thing to note, the Raspberry Pi 3 B+ and prior models only had one USB lane that is shared across the board (ethernet etc) which tended to create a bottleneck.  If you are running one R606 and no other devices you may be ok.  During my testing of the Pi 3 b+ I could never achieve advertised speeds with my R606's.  But I later discovered it was because of the traffic issue (one usb lane) as I had 4 newpacs, 2 r606 and 2 futurebit moonlander 2's running off it.  Cheesy

And the script coding would appear as:

Code:
./cgminer -o stratum+tcp://miningaddress:port# -u wallet_address -p miner_password --usb 1:4 --widescreen --gekko-r606-freq 550

You would find your bus:device for the --usb by keying lsusb at a command line.  You will see something similar to below:

Code:
mstrozier@raspberrypi:~ $ lsusb
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
Bus 001 Device 010: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
Bus 001 Device 009: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
Bus 001 Device 008: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family]
Bus 001 Device 007: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
Bus 001 Device 006: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
Bus 001 Device 005: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family]
Bus 001 Device 003: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

For me my R606 is at Bus 001 and Device 004 which is where the --usb 1:4 is from.  The others are my newpac's.  And the CP210x family are Futurebit Moonlanders.

I'm now running on a Raspberry Pi 4 and on this board there is I believe 3 USB lanes and I have not had any trouble running my devices on it and getting correct speeds etc.
newbie
Activity: 3
Merit: 0
Just downloaded it.
from: git clone github/vthoang/cgminer.git
Followed instructions that came with R606.
Only rcv it in mail earlier this week.

cgminer version is 4.11.1
legendary
Activity: 3416
Merit: 1865
Curmudgeonly hardware guy
Are you using one of the 2019 builds, or an older version that only recognizes NewPacs? Remember this device didn't exist before about April.
newbie
Activity: 3
Merit: 0
I have been trying many variations of the command line.
using cgminer -D -T --verbose -o<> -u<> -p<>
reading the output gentrated, it is successfully connecting to the server, and getting acknowledged there.
However, usb_init fails.

on line 8 below, usb scan finds and acknowledges the correct device.
Then on line 12 it reports a mismatch.
And things go poorly after that.

The resulting output is similar using the --gekko-terminus-detect, or --gekko-terminus-freq 100, or neither.

Thanks Smiley

This is the strange output:

Code:
 [2019-08-04 14:56:51.423] USB scan devices: checking for GSX devices                    
 [2019-08-04 14:56:51.590] GSX looking for BSC 10c4:ea60 but found 0403:6015 instead                    
 [2019-08-04 14:56:51.590] GSX looking for BSD 10c4:ea60 but found 0403:6015 instead                    
 [2019-08-04 14:56:51.590] GSX looking for BSE 10c4:ea60 but found 0403:6015 instead                    
 [2019-08-04 14:56:51.590] GSX looking for GSC 10c4:ea60 but found 0403:6015 instead                    
 [2019-08-04 14:56:51.590] GSX looking for GSD 10c4:ea60 but found 0403:6015 instead                    
 [2019-08-04 14:56:51.590] GSX looking for GSE 10c4:ea60 but found 0403:6015 instead                    
 [2019-08-04 14:56:51.591] GSX looking for and found GSH 0403:6015                    
 [2019-08-04 14:56:51.591] USB lock GekkoScience 1-4                    
 [2019-08-04 14:56:51.591] RES: GekkoScience (1:4) lock=1                    
 [2019-08-04 14:56:51.591] USB res lock GekkoScience 1-4                    
 [2019-08-04 14:56:51.593] RES: GekkoScience (1:4) lock ok=1                    
 [2019-08-04 14:56:51.657] USB init, iProduct mismatch - GSH device 1:4                    
 [2019-08-04 14:56:51.657] Found R606 Bitcoin Miner vs NewPac Bitcoin Miner                    
 [2019-08-04 14:56:51.657] USB free GSH                    
 [2019-08-04 14:56:51.657] failed usb_init                    
 [2019-08-04 14:56:51.657] USB unlock GekkoScience 1-4                    
 [2019-08-04 14:56:51.657] GSX looking for BSC 10c4:ea60 but found 24f0:0140 instead                    
 [2019-08-04 14:56:51.657] RES: GekkoScience (1:4) lock=0                    
 [2019-08-04 14:56:51.658] GSX looking for BSD 10c4:ea60 but found 24f0:0140 instead                    
 [2019-08-04 14:56:51.658] USB res unlock GekkoScience 1-4                    
 [2019-08-04 14:56:51.658] GSX looking for BSE 10c4:ea60 but found 24f0:0140 instead                    
 [2019-08-04 14:56:51.658] GSX looking for GSC 10c4:ea60 but found 24f0:0140 instead                    
 [2019-08-04 14:56:51.658] GSX looking for GSD 10c4:ea60 but found 24f0:0140 instead                    
 [2019-08-04 14:56:51.658] GSX looking for GSE 10c4:ea60 but found 24f0:0140 instead                    
 [2019-08-04 14:56:51.658] GSX looking for GSH 0403:6015 but found 24f0:0140 instead                    
 [2019-08-04 14:56:51.658] GSX looking for BSC 10c4:ea60 but found 046d:c08b instead                    
 [2019-08-04 14:56:51.658] GSX looking for BSD 10c4:ea60 but found 046d:c08b instead                    
 [2019-08-04 14:56:51.658] GSX looking for BSE 10c4:ea60 but found 046d:c08b instead                    
 [2019-08-04 14:56:51.658] GSX looking for GSC 10c4:ea60 but found 046d:c08b instead                    
 [2019-08-04 14:56:51.658] GSX looking for GSD 10c4:ea60 but found 046d:c08b instead                    
 [2019-08-04 14:56:51.659] GSX looking for GSE 10c4:ea60 but found 046d:c08b instead                    
 [2019-08-04 14:56:51.659] GSX looking for GSH 0403:6015 but found 046d:c08b instead                    
 [2019-08-04 14:56:51.659] GSX looking for BSC 10c4:ea60 but found 2109:2812 instead                    
 [2019-08-04 14:56:51.659] GSX looking for BSD 10c4:ea60 but found 2109:2812 instead                    
 [2019-08-04 14:56:51.659] GSX looking for BSE 10c4:ea60 but found 2109:2812 instead                    
 [2019-08-04 14:56:51.659] GSX looking for GSC 10c4:ea60 but found 2109:2812 instead                    
 [2019-08-04 14:56:51.659] GSX looking for GSD 10c4:ea60 but found 2109:2812 instead                    
 [2019-08-04 14:56:51.659] GSX looking for GSE 10c4:ea60 but found 2109:2812 instead                    
 [2019-08-04 14:56:51.659] GSX looking for GSH 0403:6015 but found 2109:2812 instead                    
 [2019-08-04 14:56:51.659] GSX looking for BSC 10c4:ea60 but found 0424:ec00 instead                    
 [2019-08-04 14:56:51.659] GSX looking for BSD 10c4:ea60 but found 0424:ec00 instead                    
 [2019-08-04 14:56:51.659] GSX looking for BSE 10c4:ea60 but found 0424:ec00 instead                    
 [2019-08-04 14:56:51.660] GSX looking for GSC 10c4:ea60 but found 0424:ec00 instead                    
 [2019-08-04 14:56:51.660] GSX looking for GSD 10c4:ea60 but found 0424:ec00 instead                    
 [2019-08-04 14:56:51.660] GSX looking for GSE 10c4:ea60 but found 0424:ec00 instead                    
 [2019-08-04 14:56:51.660] GSX looking for GSH 0403:6015 but found 0424:ec00 instead                    
 [2019-08-04 14:56:51.660] GSX looking for BSC 10c4:ea60 but found 0424:9514 instead                    
 [2019-08-04 14:56:51.660] GSX looking for BSD 10c4:ea60 but found 0424:9514 instead                    
 [2019-08-04 14:56:51.660] GSX looking for BSE 10c4:ea60 but found 0424:9514 instead                    
 [2019-08-04 14:56:51.660] GSX looking for GSC 10c4:ea60 but found 0424:9514 instead                    
 [2019-08-04 14:56:51.660] GSX looking for GSD 10c4:ea60 but found 0424:9514 instead                    
 [2019-08-04 14:56:51.660] GSX looking for GSE 10c4:ea60 but found 0424:9514 instead                    
 [2019-08-04 14:56:51.660] GSX looking for GSH 0403:6015 but found 0424:9514 instead                    
 [2019-08-04 14:56:51.660] GSX looking for BSC 10c4:ea60 but found 1d6b:0002 instead                    
 [2019-08-04 14:56:51.660] GSX looking for BSD 10c4:ea60 but found 1d6b:0002 instead                    
 [2019-08-04 14:56:51.660] GSX looking for BSE 10c4:ea60 but found 1d6b:0002 instead                    
 [2019-08-04 14:56:51.660] GSX looking for GSC 10c4:ea60 but found 1d6b:0002 instead                    
 [2019-08-04 14:56:51.661] GSX looking for GSD 10c4:ea60 but found 1d6b:0002 instead                    
 [2019-08-04 14:56:51.661] GSX looking for GSE 10c4:ea60 but found 1d6b:0002 instead                    
 [2019-08-04 14:56:51.661] GSX looking for GSH 0403:6015 but found 1d6b:0002 instead                    
 [2019-08-04 14:56:51.661] No devices detected!                    
 [2019-08-04 14:56:51.661] Waiting for USB hotplug devices or press q to quit
legendary
Activity: 3586
Merit: 1099
Think for yourself
Finally trying out the R606.
Using Raspbian-Buster on a 3B+.
The cgminer detects the R606 correctly with: cgminer -n
Yet, when trying the full command: cgminer -o <> -u <> -p <> --gekko-terminus-detect
The miner returns "No devices detected."

Start your command line with sudo, "Super User do"

"sudo ./cgminer -o <> -u <> -p <>"

Drop the "--gekko-terminus-detect" as the top post of this thread has no reference, that I saw, to that argument so it must not be needed.

Quote: Also use code tags when post large amounts of reference text from the miner output.
newbie
Activity: 3
Merit: 0
Finally trying out the R606.
Using Raspbian-Buster on a 3B+.
The cgminer detects the R606 correctly with: cgminer -n
Yet, when trying the full command: cgminer -o <> -u <> -p <> --gekko-terminus-detect
The miner returns "No devices detected."

Thanks Smiley

Output from computer with comments...

Code:
# rebuilding the make files
CFLAGS="-O2" ./autogen.sh --enable-gekko
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
Configuring...
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking target system type... armv7l-unknown-linux-gnueabihf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for ranlib... ranlib
checking whether gcc needs -traditional... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for mprotect... yes
checking for sigaction... yes
checking for sigaltstack... yes
checking for siginterrupt... yes
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether memmem is declared... yes
checking for memmem... yes
checking whether memmem works... yes
checking for C/C++ restrict keyword... __restrict
checking for uid_t in sys/types.h... yes
checking for inline... inline
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for wchar_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking whether stdint.h conforms to C99... yes
checking whether memmem is declared without a macro... yes
checking whether mempcpy is declared without a macro... yes
checking whether memrchr is declared without a macro... yes
checking whether rawmemchr is declared without a macro... yes
checking whether stpcpy is declared without a macro... yes
checking whether stpncpy is declared without a macro... yes
checking whether strchrnul is declared without a macro... yes
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... yes
checking whether strnlen is declared without a macro... yes
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... yes
checking whether strcasestr is declared without a macro... yes
checking whether strtok_r is declared without a macro... yes
checking whether strerror_r is declared without a macro... yes
checking whether strsignal is declared without a macro... yes
checking whether strverscmp is declared without a macro... yes
checking whether memmem works in linear time... yes
checking for memmem... (cached) yes
checking whether memmem works... (cached) yes
checking for struct sigaction.sa_sigaction... yes
checking for volatile sig_atomic_t... yes
checking for sighandler_t... yes
checking whether sigaction is declared without a macro... yes
checking whether sigaddset is declared without a macro... yes
checking whether sigdelset is declared without a macro... yes
checking whether sigemptyset is declared without a macro... yes
checking whether sigfillset is declared without a macro... yes
checking whether sigismember is declared without a macro... yes
checking whether sigpending is declared without a macro... yes
checking whether sigprocmask is declared without a macro... yes
checking for sigprocmask... yes
checking whether NULL can be used in arbitrary expressions... yes
checking for ANSI C header files... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for pthread_create in -lpthread... yes
checking for library containing addstr... -lncurses
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBUSB... yes
checking for JANSSON... yes
checking uthash.h usability... no
checking uthash.h presence... no
checking for uthash.h... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBCURL... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating ccan/Makefile
config.status: creating lib/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands



------------------------------------------------------------------------
cgminer 4.11.1
------------------------------------------------------------------------


Configuration Options Summary:

 libcurl(GBT).: Enabled: -lcurl
 libsystemd...........: Disabled
 curses.TUI...........: FOUND: -lncurses

 DragonMint.T1.Halong.: Disabled
 Antminer.S1.Bitmain..: Disabled
 Antminer.S2.Bitmain..: Disabled
 Antminer.S3.Bitmain..: Disabled
 Avalon.ASICs.........: Disabled
 Avalon2.ASICs........: Disabled
 Avalon4.ASICs........: Disabled
 Avalon7.ASICs........: Disabled
 Avalon miner.ASICs...: Disabled
 BlackArrowMinion.ASIC: Disabled
 BlackArrow.ASICs.....: Disabled
 BFL.ASICs............: Disabled
 BitForce.FPGAs.......: Disabled
 BitFury.ASICs........: Disabled
 BitFury16.ASICs......: Disabled
 BlockErupter.ASICs...: Disabled
 GekkoScience.ASICs...: Enabled
 Cointerra.ASICs......: Disabled
 Spond-sp10.ASICs.....: Disabled
 Spond-sp30.ASICs.....: Disabled
 Bitmine-A1.ASICs.....: Disabled
 Dragonmint.T1.ASICs..: Disabled
 Drillbit.BitFury.....: Disabled
 Hashfast.ASICs.......: Disabled
 Hashratio.ASICs......: Disabled
 Icarus.ASICs/FPGAs...: Disabled
 Klondike.ASICs.......: Disabled
 KnC.ASICs............: Disabled
 ModMiner.FPGAs.......: Disabled

Compilation............: make (or gmake)
 CPPFLAGS.............:
 CFLAGS...............: -O2
 LDFLAGS..............:  -lpthread
 LDADD................: -ldl -lcurl  -ljansson -lpthread    -lm -lusb-1.0 -lrt

Installation...........: make install (as root if needed, with 'su' or 'sudo')
 prefix...............: /usr/local

#
# now to make the files...
#
make -j 2
make  all-recursive
make[1]: Entering directory '/home/pi/git/vthoang/cgminer'
Making all in lib
make[2]: Entering directory '/home/pi/git/vthoang/cgminer/lib'
 GEN      signal.h
 GEN      string.h
make  all-recursive
make[3]: Entering directory '/home/pi/git/vthoang/cgminer/lib'
make[4]: Entering directory '/home/pi/git/vthoang/cgminer/lib'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/pi/git/vthoang/cgminer/lib'
make[3]: Leaving directory '/home/pi/git/vthoang/cgminer/lib'
make[2]: Leaving directory '/home/pi/git/vthoang/cgminer/lib'
Making all in compat
make[2]: Entering directory '/home/pi/git/vthoang/cgminer/compat'
make[3]: Entering directory '/home/pi/git/vthoang/cgminer/compat'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/pi/git/vthoang/cgminer/compat'
make[2]: Leaving directory '/home/pi/git/vthoang/cgminer/compat'
Making all in ccan
make[2]: Entering directory '/home/pi/git/vthoang/cgminer/ccan'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/pi/git/vthoang/cgminer/ccan'
make[2]: Entering directory '/home/pi/git/vthoang/cgminer'
 CC       cgminer-cgminer.o
 CC       cgminer-util.o
 CC       cgminer-sha2.o
 CC       cgminer-api.o
 CC       cgminer-logging.o
 CC       cgminer-klist.o
 CC       cgminer-noncedup.o
 CC       cgminer-usbutils.o
 CC       cgminer-driver-gekko.o
 CCLD     cgminer
make[2]: Leaving directory '/home/pi/git/vthoang/cgminer'
make[1]: Leaving directory '/home/pi/git/vthoang/cgminer'
cd ~/git/vthoang/cgminer
bash: cd: too many arguments
# rebuilding the make files
CFLAGS="-O2" ./autogen.sh --enable-gekko
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:11: installing './compile'
configure.ac:5: installing './missing'
src/Makefile.am: installing './depcomp'
Configuring...
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking target system type... armv7l-unknown-linux-gnueabihf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for ranlib... ranlib
checking whether gcc needs -traditional... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for mprotect... yes
checking for sigaction... yes
checking for sigaltstack... yes
checking for siginterrupt... yes
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether memmem is declared... yes
checking for memmem... yes
checking whether memmem works... yes
checking for C/C++ restrict keyword... __restrict
checking for uid_t in sys/types.h... yes
checking for inline... inline
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for wchar_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking whether stdint.h conforms to C99... yes
checking whether memmem is declared without a macro... yes
checking whether mempcpy is declared without a macro... yes
checking whether memrchr is declared without a macro... yes
checking whether rawmemchr is declared without a macro... yes
checking whether stpcpy is declared without a macro... yes
checking whether stpncpy is declared without a macro... yes
checking whether strchrnul is declared without a macro... yes
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... yes
checking whether strnlen is declared without a macro... yes
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... yes
checking whether strcasestr is declared without a macro... yes
checking whether strtok_r is declared without a macro... yes
checking whether strerror_r is declared without a macro... yes
checking whether strsignal is declared without a macro... yes
checking whether strverscmp is declared without a macro... yes
checking whether memmem works in linear time... yes
checking for memmem... (cached) yes
checking whether memmem works... (cached) yes
checking for struct sigaction.sa_sigaction... yes
checking for volatile sig_atomic_t... yes
checking for sighandler_t... yes
checking whether sigaction is declared without a macro... yes
checking whether sigaddset is declared without a macro... yes
checking whether sigdelset is declared without a macro... yes
checking whether sigemptyset is declared without a macro... yes
checking whether sigfillset is declared without a macro... yes
checking whether sigismember is declared without a macro... yes
checking whether sigpending is declared without a macro... yes
checking whether sigprocmask is declared without a macro... yes
checking for sigprocmask... yes
checking whether NULL can be used in arbitrary expressions... yes
checking for ANSI C header files... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for pthread_create in -lpthread... yes
checking for library containing addstr... -lncurses
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBUSB... yes
checking for JANSSON... yes
checking uthash.h usability... no
checking uthash.h presence... no
checking for uthash.h... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBCURL... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating ccan/Makefile
config.status: creating lib/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands



------------------------------------------------------------------------
cgminer 4.11.1
------------------------------------------------------------------------


Configuration Options Summary:

 libcurl(GBT).: Enabled: -lcurl
 libsystemd...........: Disabled
 curses.TUI...........: FOUND: -lncurses

 DragonMint.T1.Halong.: Disabled
 Antminer.S1.Bitmain..: Disabled
 Antminer.S2.Bitmain..: Disabled
 Antminer.S3.Bitmain..: Disabled
 Avalon.ASICs.........: Disabled
 Avalon2.ASICs........: Disabled
 Avalon4.ASICs........: Disabled
 Avalon7.ASICs........: Disabled
 Avalon miner.ASICs...: Disabled
 BlackArrowMinion.ASIC: Disabled
 BlackArrow.ASICs.....: Disabled
 BFL.ASICs............: Disabled
 BitForce.FPGAs.......: Disabled
 BitFury.ASICs........: Disabled
 BitFury16.ASICs......: Disabled
 BlockErupter.ASICs...: Disabled
 GekkoScience.ASICs...: Enabled
 Cointerra.ASICs......: Disabled
 Spond-sp10.ASICs.....: Disabled
 Spond-sp30.ASICs.....: Disabled
 Bitmine-A1.ASICs.....: Disabled
 Dragonmint.T1.ASICs..: Disabled
 Drillbit.BitFury.....: Disabled
 Hashfast.ASICs.......: Disabled
 Hashratio.ASICs......: Disabled
 Icarus.ASICs/FPGAs...: Disabled
 Klondike.ASICs.......: Disabled
 KnC.ASICs............: Disabled
 ModMiner.FPGAs.......: Disabled

Compilation............: make (or gmake)
 CPPFLAGS.............:
 CFLAGS...............: -O2
 LDFLAGS..............:  -lpthread
 LDADD................: -ldl -lcurl  -ljansson -lpthread    -lm -lusb-1.0 -lrt

Installation...........: make install (as root if needed, with 'su' or 'sudo')
 prefix...............: /usr/local

#
#
# now to make it...
make -j 2
make  all-recursive
make[1]: Entering directory '/home/pi/git/vthoang/cgminer'
Making all in lib
make[2]: Entering directory '/home/pi/git/vthoang/cgminer/lib'
 GEN      signal.h
 GEN      string.h
make  all-recursive
make[3]: Entering directory '/home/pi/git/vthoang/cgminer/lib'
make[4]: Entering directory '/home/pi/git/vthoang/cgminer/lib'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/pi/git/vthoang/cgminer/lib'
make[3]: Leaving directory '/home/pi/git/vthoang/cgminer/lib'
make[2]: Leaving directory '/home/pi/git/vthoang/cgminer/lib'
Making all in compat
make[2]: Entering directory '/home/pi/git/vthoang/cgminer/compat'
make[3]: Entering directory '/home/pi/git/vthoang/cgminer/compat'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/pi/git/vthoang/cgminer/compat'
make[2]: Leaving directory '/home/pi/git/vthoang/cgminer/compat'
Making all in ccan
make[2]: Entering directory '/home/pi/git/vthoang/cgminer/ccan'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/pi/git/vthoang/cgminer/ccan'
make[2]: Entering directory '/home/pi/git/vthoang/cgminer'
 CC       cgminer-cgminer.o
 CC       cgminer-util.o
 CC       cgminer-sha2.o
 CC       cgminer-api.o
 CC       cgminer-logging.o
 CC       cgminer-klist.o
 CC       cgminer-noncedup.o
 CC       cgminer-usbutils.o
usbutils.c: In function :
usbutils.c:1580:4: warning:  is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
   libusb_set_debug(NULL, opt_usbdump);
   ^~~~~~~~~~~~~~~~
In file included from miner.h:129,
                from usbutils.c:18:
/usr/include/libusb-1.0/libusb.h:1300:18: note: declared here
void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
                 ^~~~~~~~~~~~~~~~
 CC       cgminer-driver-gekko.o
In file included from driver-gekko.c:1:
driver-gekko.c: In function :
driver-gekko.h:8:24: warning: implicit declaration of function ; did you mean ? [-Wimplicit-function-declaration]
#define thread_yield() pthread_yield(NULL)
                       ^~~~~~~~~~~~~
driver-gekko.c:579:4: note: in expansion of macro
   thread_yield();
   ^~~~~~~~~~~~
 CCLD     cgminer
make[2]: Leaving directory '/home/pi/git/vthoang/cgminer'
make[1]: Leaving directory '/home/pi/git/vthoang/cgminer'
#
# now see if it works...
./cgminer -n
[2019-08-04 09:17:19.399] USB all: found 7 devices - listing known devices
.USB dev 0: Bus 1 Device 4 ID: 0403:6015
 Manufacturer: 'GekkoScience'
 Product: 'R606 Bitcoin Miner'
[2019-08-04 09:17:19.400] 1 known USB devices
[2019-08-04 09:17:19.399] USB all: found 7 devices - listing known devices
.USB dev 0: Bus 1 Device 4 ID: 0403:6015
 Manufacturer: 'GekkoScience'
 Product: 'R606 Bitcoin Miner'                    
[2019-08-04 09:17:19.400] 1 known USB devices                    
#
# - looks good, found the R606
# now to try mining
./cgminer -T -o us-ltc.ss.btc.com:1800 -u -p --gekko-terminus-detect
[2019-08-04 09:24:13.868] Started cgminer 4.11.1
[2019-08-04 09:24:13.869] Probing for an alive pool
[2019-08-04 09:24:13.977] Pool 0 difficulty changed to 262144
[2019-08-04 09:24:13.978] Network diff set to 15.9M
[2019-08-04 09:24:15.100] No devices detected!
[2019-08-04 09:24:15.100] Waiting for USB hotplug devices or press q to quit
[2019-08-04 09:24:13.868] Started cgminer 4.11.1                    
[2019-08-04 09:24:13.869] Probing for an alive pool                    
[2019-08-04 09:24:13.977] Pool 0 difficulty changed to 262144                    
[2019-08-04 09:24:13.978] Network diff set to 15.9M                    
[2019-08-04 09:24:15.100] No devices detected!                    
[2019-08-04 09:24:15.100] Waiting for USB hotplug devices or press q to quit                    
(5s):0.000 (1m):0.000 (5m):0.000 (15m):0.000 (avg):0.000h/s           (5s):0.000 (1m):0.000 (5m):0.000 (15m):0.000 (avg):0.000h/s          
legendary
Activity: 3586
Merit: 1099
Think for yourself
I have two R606, have set triple lights, highest I powered them down, the lights stay on I can't put them in any other Mhz?


How can they be reset?

Did you try pressing the down button?  It's just below the up button.
member
Activity: 178
Merit: 12
I have two R606, have set triple lights, highest I powered them down, the lights stay on I can't put them in any other Mhz?


How can they be reset?
member
Activity: 128
Merit: 36
There are a few things we found with the Pi 3B+ ....

Very valuable information, thanks. My "Solo Farm" keeps growing but am not ready to upgrade my month old Pi 3B+
copper member
Activity: 190
Merit: 111
https://www.419mining.com
Thanks for the update mstrozier.

Ya we are seeing the problem with the Pi3 as the muxing of the USB ports to a single USB 2.0 port. To quote the manufacturer

Quote
The USB host port inside the Pi[3] is an On-The-Go (OTG) host as the application processor powering the Pi, BCM2835, was originally intended to be used in the mobile market: i.e. as the single USB port on a phone for connection to a PC, or to a single device. In essence, the OTG hardware is simpler than the equivalent hardware on a PC.

as for the pi 4,

Quote
For the Pi 4, a fully-featured host controller drives the downstream USB ports. Downstream USB is provided by a Via Labs VL805 chip - that supports two USB 2.0 ports and two USB 3.0 ports. This is connected to the BCM2711 SoC using a PCIe link, which is extremely fast. Therefore, the Pi 4 does not have the speed constraints of previous models, which means very fast datarates, especially when using the USB 3.0 ports.

you can read more here: https://www.raspberrypi.org/documentation/hardware/raspberrypi/usb/README.md

There are a few things we found with the Pi 3B+ during our investigations (these are not a guarantee get it working at higher speeds, just finding we are documenting and though we should share)

1> the Wifi is a separate chip than the Ethernet over USB2.0 Microchip LAN7515 chip. Even though you may get better speeds wired than wifi, your eating USB bandwidth if used wired.
2> There is an issue with USB 3.0 hubs in conjunction with the some USB devices and the Raspberry Pi. A bug in most USB 3.0 hub hardware means that the Raspberry Pi cannot talk to full- or low-speed devices connected to a USB 3.0 hub. USB 2.0 high-speed devices, including USB 2.0 hubs, operate correctly when connected via a USB 3.0 hub so avoid connecting low- or full-speed devices into a USB 3.0 hub. As a workaround, plug a USB 2.0 hub into the downstream port of the USB 3.0 hub and connect the low-speed device, or use a USB 2.0 hub between the Pi and the USB 3.0 hub, then plug low-speed devices into the USB 2.0 hub.
3> because everything is handled by the SoC and a single port USB. limit the pi to as little services as possible and we even recommend overclocking if you are able. The Pi USB2.0 bandwidth is directly proportional to how much load the Pi SoC can handle. If you can disable Xwindows and run via SSH, you will get better performance.
member
Activity: 128
Merit: 36
Love the setup, specially the cable discipline!
member
Activity: 114
Merit: 151
Evening all.  Raspberry Pi 4 kit arrived today  Grin  and tested both as a NAS and running these miners.    I'll be ordering a 2nd soon to do more NAS work as I got mixed results.  Ranging from 24MB/s to 118MB/s.   Granted tested with a USB 3.1 Flash drive.  Should be more stable with a dedicated SSD.

Anyway, in regards to running the gekko newpac's and R606, they work perfectly.   After reviewing a little more, it appears the new Pi 4b has 3 USB Buses.  Nice improvement.  So far, running 1 R606, 4 Newpac's and 2 Futurebit Moonlanders, they achieved proper speeds and clocks.   I'm only running 1 R606 at the moment as my other is currently down to be serviced.   Below is a screen shot of the current process.  Currently running at 600Mhz on volt 5.  The newpacs at 450Mhz and the Moonlanders at 700Mhz.   Also these are running on Wi-fi on my home 5G network.

Screen shot: https://ibb.co/pvsqy30

Setup: https://ibb.co/TTpVS2n

Happy with results.

**edit**
Played with the overclocks a bit.  Still at volt 5 running 650Mhz on the Pi 4.  Holding strong.  Work is at 99.5%.  And hashing at 860Gh/s average.  Not bad.
newbie
Activity: 9
Merit: 6
Hi All!

I'm hoping someone can help me.  I am running into issues with my 606 and I'm like 99% sure I didn't break it when I took out the stock fan and put in a mega fan ...

Had it running for I want to say a month and a half and the thing blazed with stock fan and extra exhaust fan running on 250w psu.  I took the fan plug out completely and have the new fan on external power. 

One thing is I recently got an antminer on the network, could my network be the issue?  I have tried some improvements with no success.

Grasping at straws since I don't like having to ask peeps ...

My WU is very low which is not usual.  My internet searches haven't helped me.  

lots of edits but ya, I know the HW is good based on how many times I thought I killed my 2 pacs lol
newbie
Activity: 29
Merit: 10
... have not tested a Raspberry Pi 4 yet...

I was going to grab a RP4, but then I saw and I'm going to tinker with https://www.asus.com/au/Single-Board-Computer/Tinker-Board-S/

Just wanted to ask if you've heard of this?

Edit: On second thought, I think a Pi4 will be better unless ASUS do a 2019 refresh.
Pages:
Jump to: