NeoBeum
Newbie
Offline
Activity: 29
Merit: 10
|
Anyone have a step by step for creating the batch file equivalent for Ubuntu. I just switched over from windows. I am loving it but there is a bit of a learning curve going on. If I enter it from terminal I can get the test string to work but when I put in my pool info and try again I get an error saying there is an extra command. Any help appreciated. UPDATE: I have it running manually now just have to type it all into the command line. So still trying to figure out how to create the batch file equivalent for unbuntu.
read the manual for .bash_aliases https://ss64.com/bash/syntax-bashrc.htmlhttps://ss64.com/bash/alias.htmland here's a starter for you https://gist.github.com/NeoBeum/5f9405734f4c026b59b4de5605b9af33
|
|
|
|
joe7893
Newbie
Offline
Activity: 11
Merit: 0
|
|
July 27, 2019, 11:49:53 PM Last edit: July 29, 2019, 01:35:52 AM by frodocooper |
|
Thanks another piece of knowledge added.
|
|
|
|
mstrozier
Member
Offline
Activity: 114
Merit: 151
|
|
July 28, 2019, 01:54:32 AM Last edit: July 29, 2019, 01:37:10 AM by frodocooper Merited by frodocooper (5), xandry (2) |
|
Hi everyone!
Would someone please post what speeds and settings they used to get 1TH/s on the r606?
Also if I was to buy a second one, could my rasberry pi run two or more r606s or would I have to get another pi?
Thanks!
Sam pretty much covered the 1TH/s speeds. As for the Raspberry Pi it really depends on which one you are using. I have not tested a Raspberry Pi 4 yet (I receive a 2gb ram version this coming Tuesday 7/30/19 so will be testing soon) however the Raspberry Pi 3 b+ and older units, the gigabyte lan and USB ports all share the same (one) USB Bus. Which really limits what you can do with the Pi 3 b+ etc. I was running 4 Newpacs and 2 R606 on a Pi 3 b+ and the R606 no matter the Mhz and voltage they would not go over 500 - 550 Mhz if I was lucky. The system would detune and average about 650 to 750 Gh/s each. Switching to a dedicated desktop running Linux Mint (just another flavor of ubuntu) and from here I have been able to maintain average speeds of about 900 - 950 Gh/s each. I do not know why the Pi developers decided to make the Pi 3 and Pi 3b+ all run off one usb Bus. As it becomes a huge bottleneck when you have more devices being used. I originally ordered a Odroid XU4 to replace my Pi 3 b+ however UPS lost my package, so got a refund and picked up the Pi 4 to tinker with instead. I have 2 test projects I am wanting to run on the Pi 4. 1st running these miners as I would like something that uses little wattage and can control the miners, as my Linux box is a power hungry FX-8350. I'm wanting to set this box aside to running Handbrake on media files and use 3D apps to design models for 3D Printing projects. 2nd test project is as a NAS. I'm now using my Raspberry Pi 3 b+ as a small NAS unit with 1TB of total space. Does ok but transfer rates on the network is hitting 12 - 18 MB/s. Again another weak link of the Pi 3 series. So wanting to test the transfer rates out on the Pi 4 since it's now using 3.0 USB ports and also use multiple buses now, no longer combining all usb ports and networking to one bus. Fun times.
Update. For those new to linux, please take some time to look over some free courses from Udemy. I use this site extensively for both paid and free content. I'm a programmer on IBM I series / Power 9 (running os/400) machines and always love expanding my knowledge in Tech. This site is a pretty useful tool. And there are also courses in regards to the Block chain, bitcoin etc. So not really and AD for Udemy, however they help me out quite a bit so passing on the knowledge. Link for Udemy Search of free Linux online courses: https://www.udemy.com/courses/search/?src=ukw&q=linux%20for%20beginners&p=1&price=price-free.
|
|
|
|
shrimplomein
Newbie
Offline
Activity: 18
Merit: 1
|
|
July 28, 2019, 09:32:35 AM |
|
Another NOOB question: Is it a bad idea to adjust voltage on R606 while it's mining or does it matter at all? Is there a best practice procedure when adjusting the voltage setting on the R606? For example, if I want to test out different voltage settings, should I shut down cgminer first, then set the voltage, then restart cgminer? I just want to reduce any chance of damaging the hardware.
Thanks in advance.
|
|
|
|
K21000
Member
Offline
Activity: 71
Merit: 11
|
|
July 29, 2019, 08:40:32 AM Last edit: July 30, 2019, 11:04:07 AM by frodocooper Merited by frodocooper (5), xandry (2) |
|
I haven't gotten around to adjusting the parts needed for the R606 to run on macOS yet. If you want it to try to run it there, you'll need to make an adjustment to use the R606 branch: curl -o cgminer.rb "https://raw.githubusercontent.com/vthoang/homebrew-cgminer/master/cgminer.rb"
edit the cgminer.rb file and change branch from 'master' to 'r606' followed with: brew install --build-from-source ./cgminer.rb
I'll get around to testing that when the branch gets merged back. At which point it should mostly fix itself. I got around to trying this today and i can confirm this works. As of now my R606 is hashing at a stable 740 ghs under mac os 10.13 Full order of commands needed to get R606 to work on mac: curl -o cgminer.rb "https://raw.githubusercontent.com/vthoang/homebrew-cgminer/master/cgminer.rb" Followed by: Change the value of branch in the file to "R606" and save then exit. Then build from source by running: brew install --build-from-source ./cgminer.rb
Is there a way to disable the autotune frequency setting for the R606?
|
|
|
|
NeoBeum
Newbie
Offline
Activity: 29
Merit: 10
|
|
July 30, 2019, 02:21:21 AM Last edit: July 30, 2019, 11:05:03 AM by frodocooper |
|
... 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.
|
|
|
|
harmonicdrive
Newbie
Offline
Activity: 9
Merit: 6
|
|
July 30, 2019, 04:04:06 AM |
|
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
|
|
|
|
mstrozier
Member
Offline
Activity: 114
Merit: 151
|
|
July 30, 2019, 11:40:25 PM Last edit: July 31, 2019, 02:40:31 AM by frodocooper Merited by frodocooper (4), xandry (2) |
|
Evening all. Raspberry Pi 4 kit arrived today 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/pvsqy30Setup: https://ibb.co/TTpVS2nHappy 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.
|
|
|
|
ZimbaCardi
Member
Offline
Activity: 128
Merit: 36
|
|
July 31, 2019, 02:31:03 AM |
|
Love the setup, specially the cable discipline!
|
|
|
|
419mining
Copper Member
Full Member
Offline
Activity: 190
Merit: 111
https://www.419mining.com
|
|
July 31, 2019, 02:36:59 AM Last edit: July 31, 2019, 02:42:08 AM by frodocooper |
|
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 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, 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.mdThere 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.
|
|
|
|
ZimbaCardi
Member
Offline
Activity: 128
Merit: 36
|
|
July 31, 2019, 02:50:41 AM |
|
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+
|
|
|
|
nuanicaj
Member
Offline
Activity: 178
Merit: 12
|
|
August 01, 2019, 06:19:01 PM |
|
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?
|
|
|
|
os2sam
Legendary
Offline
Activity: 3586
Merit: 1098
Think for yourself
|
|
August 01, 2019, 10:34:19 PM |
|
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.
|
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
|
|
|
SparkyTiny
Newbie
Offline
Activity: 3
Merit: 0
|
|
August 04, 2019, 01:48:15 PM Last edit: August 05, 2019, 01:12:37 AM by frodocooper |
|
Finally trying out the R606. Using Raspbian-Buster on a 3B+. The cgminer detects the R606 correctly with: cgminer -nYet, when trying the full command: cgminer -o <> -u <> -p <> --gekko-terminus-detectThe miner returns "No devices detected." Thanks Output from computer with comments... # 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 <hidden> -p <hidden> --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
|
|
|
|
os2sam
Legendary
Offline
Activity: 3586
Merit: 1098
Think for yourself
|
|
August 04, 2019, 03:06:37 PM |
|
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.
|
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
|
|
|
SparkyTiny
Newbie
Offline
Activity: 3
Merit: 0
|
|
August 04, 2019, 07:04:17 PM Last edit: August 05, 2019, 01:13:55 AM by frodocooper |
|
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 This is the strange output: [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
|
|
|
|
sidehack
Legendary
Offline
Activity: 3402
Merit: 1865
Curmudgeonly hardware guy
|
|
August 04, 2019, 07:17:01 PM |
|
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.
|
|
|
|
SparkyTiny
Newbie
Offline
Activity: 3
Merit: 0
|
|
August 04, 2019, 10:22:05 PM Last edit: August 05, 2019, 01:14:49 AM by frodocooper |
|
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
|
|
|
|
mstrozier
Member
Offline
Activity: 114
Merit: 151
|
|
August 05, 2019, 01:23:35 PM Last edit: August 06, 2019, 02:27:35 AM by frodocooper Merited by frodocooper (5) |
|
If you are installing this on a Raspberry Pi, follow the instructions I placed: https://bitcointalk.org/index.php?topic=5053833.msg50968875#msg50968875You 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. And the script coding would appear as: ./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: 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.
|
|
|
|
bluudz
Full Member
Offline
Activity: 215
Merit: 116
Why so serious?
|
|
August 06, 2019, 02:30:13 AM Last edit: August 06, 2019, 02:32:27 AM by frodocooper |
|
Hello. I just received my NewPac, started it with the ./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.
|
|
|
|
|