Pages:
Author

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

newbie
Activity: 7
Merit: 2
I encountered the same error when using 2021-10-30-raspios-bullseye-armhf-lite.img so I used 2021-05-07-raspios-buster-armhf-lite.img and it worked fine.
newbie
Activity: 2
Merit: 0
I have acquired a Pi 4 8gig and would like to run my newpac's and r606 through it.
I understand the install and version of cg miner is designed for Raspbian - Kernel version: 4.4.
Is there an install for 'PI OS'? My searches so far have been fruitless as was my attempt to compile it using the current instructions.
I also tried one of the Raspbian images from here https://downloads.raspberrypi.org/raspbian_lite/ however this did not work either.
Anyone know which one works with the PI 4?
Thanks in advance.


  

Here are the instructions I used to install CGMiner on my Pi 4.  I just used the Raspbian OS that came with it.

https://bitcointalksearch.org/topic/m.50968875

I've gone through these installs on my PI4 (and PI3b) and latest Raspbian OS and the posted CGMiner package. I constantly get errors from the make -j 2;

collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:907: cgminer] Error 1
make[2]: Leaving directory '/home/pi/miner/cgminer'
make[1]: *** [Makefile:1896: all-recursive] Error 1
make[1]: Leaving directory '/home/pi/miner/cgminer'
make: *** [Makefile:810: all] Error 2
pi@RockPi:~/miner/cgminer $

I've tried several Raspbian OS versions and keep getting the same errors when compiling CGMiner..
legendary
Activity: 3583
Merit: 1094
Think for yourself
I have acquired a Pi 4 8gig and would like to run my newpac's and r606 through it.
I understand the install and version of cg miner is designed for Raspbian - Kernel version: 4.4.
Is there an install for 'PI OS'? My searches so far have been fruitless as was my attempt to compile it using the current instructions.
I also tried one of the Raspbian images from here https://downloads.raspberrypi.org/raspbian_lite/ however this did not work either.
Anyone know which one works with the PI 4?
Thanks in advance.


 

Here are the instructions I used to install CGMiner on my Pi 4.  I just used the Raspbian OS that came with it.

https://bitcointalksearch.org/topic/m.50968875
newbie
Activity: 23
Merit: 0
I have acquired a Pi 4 8gig and would like to run my newpac's and r606 through it.
I understand the install and version of cg miner is designed for Raspbian - Kernel version: 4.4.
Is there an install for 'PI OS'? My searches so far have been fruitless as was my attempt to compile it using the current instructions.
I also tried one of the Raspbian images from here https://downloads.raspberrypi.org/raspbian_lite/ however this did not work either.
Anyone know which one works with the PI 4?
Thanks in advance.


 
newbie
Activity: 22
Merit: 0
Regarding
cgminer issue with bitcoin core 0.20 and superior... (pool 0 json failed to decode gbt)

Try something like this:

Code:
diff --git a/cgminer.c b/cgminer.c
index ece7ce10..ab52e30a 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -2960,7 +2960,7 @@ static bool gbt_solo_decode(struct pool *pool, json_t *res_val)
        flags = json_string_value(json_object_get(coinbase_aux, "flags"));
        default_witness_commitment = json_string_value(json_object_get(res_val, "default_witness_commitment"));
 
-       if (!previousblockhash || !target || !version || !curtime || !bits || !coinbase_aux || !flags) {
+       if (!previousblockhash || !target || !version || !curtime || !bits) {
                applog(LOG_ERR, "Pool %d JSON failed to decode GBT", pool->pool_no);
                return false;
        }
@@ -3039,10 +3039,12 @@ static bool gbt_solo_decode(struct pool *pool, json_t *res_val)
        ofs += ser_number(pool->scriptsig_base + ofs, height); // max 5
 
        /* Followed by flags */
-       len = strlen(flags) / 2;
-       pool->scriptsig_base[ofs++] = len;
-       hex2bin(pool->scriptsig_base + ofs, flags, len);
-       ofs += len;
+       if (flags) {
+               len = strlen(flags) / 2;
+               pool->scriptsig_base[ofs++] = len;
+               hex2bin(pool->scriptsig_base + ofs, flags, len);
+               ofs += len;
+       }
 
        /* Followed by timestamp */
        cgtime(&now);

Compiles clean, and should work just fine. Didn't test myself, since not running a node.


Worked for me,  thanks 100knot2dae !
newbie
Activity: 17
Merit: 0
Wes0310, according to the device line, cgminer is only detecting 1 chip on that stick. If it's brand-new (just received), it's probably damaged and should be replaced. If it's not new, could be the voltage is set way too low and it's not picking up properly, or the voltage is set too high and it's overheating.

Adjust the voltage up a bit, make sure you have good cooling, and try it again. Sometimes an unplug-replug will take care of that.

gt_addict, I had similar issues with temp sensors not reporting on some advanced-controls prototype sticks last summer but chalked it up to the firmware. This one's code is much more robust, and when I first got temp sensors going I let one run for a week without any hiccups. But something's for sure going on, and the "quick fix" is just disabling that part pending a redesign. I can probably get the same functionality out of the microcontroller's internal temp sensor, though it's not as close to the heatsinks so won't read out the same which is why I didn't want to rely on it. Might have that implemented before Batch 2 starts shipping.

Additionally, I have a couple pods here that, on volt setting 4, could only hit something like 535MHz but were otherwise great. So everything will be tested at Volt 4 but with a second round at Volt 5 if it's only a few percent low. We did a similar adjust-retest for the weaker 2Pacs and nobody complained.


I've been trying to get support from my reseller on Amazon but just getting ignored  Huh
My R606 keeps doing this as well after running fine for a month or so.
It will turn on normally but as soon as I plug the USB I get the GSI failure, disabling error and it keeps restarting.
Could you let me know which is the temp  sensor I could try to replace it.
Thanks
legendary
Activity: 3583
Merit: 1094
Think for yourself
Yep that seems to be an issue some people are having. It runs from that config file instead of the user made one. Never had that issue myself but it certainly seems to be a common problem.

I think people sometimes, unwittingly, save the config which writes a .conf file and then the command line gets overridden from then on.
hero member
Activity: 2534
Merit: 623
Yep that seems to be an issue some people are having. It runs from that config file instead of the user made one. Never had that issue myself but it certainly seems to be a common problem.
newbie
Activity: 7
Merit: 0
@gt_addict
hello and thanks, I tried as you say but unfortunately always the same, only 100 MHz.

Despite this I have found that it loads the configuration from /root/.cgminer/cgminer.conf. With the command
Code:
sudo su -
I entered this hidden folder and modified the cgminer.conf file with 400 MHz.
Then I ran the ./cgminer -o etc file (same if directly or from .sh file)
IT WORKS  Smiley now goes to 400 MHz and of course I have the fan otherwise it gets too hot
I Hope it can be of help for someone else, thanks for the help anyway  Grin
hero member
Activity: 2534
Merit: 623
Quote
Have you tried creating a .sh file with all the details in which you then make executable and run that.

No I don't know how to do it, can you tell me how?

I try to create a .sh file like this:
Code:
sudo /home/pi/git/vthoang/cgminer/cgminer -o stratum+tcp://solo.ckpool.org:3333 -u  -p x --gekko-newpac-boost --gekko-newpac-freq 400

Always the same, work fine but only 100 MHz

Open a new text document in the cgminer folder. Write your command line but start it “cgminer -o …….etc” save it as a .sh file eg.gekko.sh. Close it and find the .sh file in the folder. It will have a picture of some cogs as the icon. Right click on it and change the permission to “make executable”. Save and close that window. Double click on the same icon and it should ask if you want to execute in terminal. Select that option and if its done correctly it will open terminal and run.
newbie
Activity: 7
Merit: 0
Quote
Have you tried creating a .sh file with all the details in which you then make executable and run that.

No I don't know how to do it, can you tell me how?

I try to create a .sh file like this:
Code:
sudo /home/pi/git/vthoang/cgminer/cgminer -o stratum+tcp://solo.ckpool.org:3333 -u  -p x --gekko-newpac-boost --gekko-newpac-freq 400

Always the same, work fine but only 100 MHz
newbie
Activity: 20
Merit: 1
Cam I get some help on building cgminer?
Already got the NewPac running under Win10, but how do I build my own cgminer with NewPac driver for Windows?
It seems that I should do it under linux? But where is the source code with the driver? Nerver tried linux before, can I do it with vmware?
A little confused here, Im new to this btw Smiley
hero member
Activity: 2534
Merit: 623
Quote
That is not a powerful hub. I wouldn't want to run more than two sticks on that max.

I only have one GekkoNewPac so this hub for one is more than enough.

Quote
If the target frequency is always at 100m then there is an issue with your .sh file.

What does your .sh file say?

which .sh file do you mean? Thanks

Easy tiger, as you can see I said two sticks max. I merely said it wasnt a powerful hub.

Have you tried creating a .sh file with all the details in which you then make executable and run that.

Hi there ! Getting stuck with one of my NewPac Miner, still 0 Chip(s) message coming from CGMiner. I'm running my whole set with a RaspberryPi 4 , and a 10 ports Sipolar USB hub. I've got this message concerning the micro temp. What's the matter with this key ?

If you have tried swapping it to different known good ports on the hub and the voltage pot is the same position as the working sticks and there is no visible signs of damage then I would say its a dead stick.
newbie
Activity: 5
Merit: 0
Hi there ! Getting stuck with one of my NewPac Miner, still 0 Chip(s) message coming from CGMiner. I'm running my whole set with a RaspberryPi 4 , and a 10 ports Sipolar USB hub. I've got this message concerning the micro temp. What's the matter with this key ? https://i.postimg.cc/QdRjcpfw/proof.png
newbie
Activity: 7
Merit: 0
Quote
That is not a powerful hub. I wouldn't want to run more than two sticks on that max.

I only have one GekkoNewPac so this hub for one is more than enough.

Quote
If the target frequency is always at 100m then there is an issue with your .sh file.

What does your .sh file say?

which .sh file do you mean? Thanks
hero member
Activity: 2534
Merit: 623
Hi NotFuzzyWarm thanks for the reply  Smiley
Yes, the GekkoNewpac is powered by a powerful USB-Hub

there is no problem with that ...

That is not a powerful hub. I wouldn't want to run more than two sticks on that max.

If the target frequency is always at 100m then there is an issue with your .sh file.

What does your .sh file say?
newbie
Activity: 7
Merit: 0
Is it directly powered by the Pi or are you using a decent powered USB hub that can supply up to 2.5A?
All of the USB sticks must be ran off of a powered hub as they exceed the typical 500ma a PC port will supply.

Hi NotFuzzyWarm thanks for the reply  Smiley
Yes, the GekkoNewpac is powered by a powerful USB-Hub

https://www.amazon.com/AmazonBasics-USB-C-7-Port-Power-Adapter/dp/B076YN9FW4/ref=sr_1_3?keywords=Amazon+Basics+-+Hub+USB-A+3.1&qid=1636186879&qsid=138-1590455-4066326&sr=8-3&sres=B076YN9FW4%2CB01M7PL2WP%2CB074ZTJNXX%2CB01MCTET84%2CB01M4J1H1U%2CB076YFNTRS%2CB01GGKYR2O%2CB01M3PTUV6%2CB01GGKYXVE%2CB07D7NNJ61%2CB01GGKYT7M%2CB01GGKYIHS%2CB078LGP33Y%2CB07PVMYQN8%2CB00NH13G5A%2CB01M9AWON7&srpt=MULTIPORT_HUB

there is no problem with that ...
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
Is it directly powered by the Pi or are you using a decent powered USB hub that can supply up to 2.5A?
All of the USB sticks must be ran off of a powered hub as they exceed the typical 500ma a PC port will supply.
newbie
Activity: 7
Merit: 0
Hi, I have a gekko new usb miner, I have installed cgminer on rasperry pi 4.

For now it is working on solo.ckpool.org, it seems to work fine.
The only problem is that I can't increase the frequency, overclocking doesn't work for me.

If I add the option
Code:
 --gekko-newpac-freq 200 
for example it always remains at 100 MHz.
Any set frequency always remains at 100 Mhz!

What am I doing wrong?

Can anyone help me please?
hero member
Activity: 2534
Merit: 623
Newbie question.

I have an r606 currently mining. If I were to purchase a couple of the newpac f sticks can I plug them into the same computer and mine with them as well using cgminer?

The new sticks (well all the sticks) need a powered hub to run best. You shouldn't run them on an un-powered or directly on inbuilt ports on a PC.
Pages:
Jump to: