gt_addict
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 22, 2017, 04:30:55 PM |
|
yes you can make an image of the SD card, with for example Win32DiskImager. ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fmelgrubb.files.wordpress.com%2F2014%2F07%2Fimage_thumb58.png&t=665&c=oVAgyJ-HCSufDg) read to save the image, write to put it on the SD (self explanatory actually) Nice one thanks irritant.
|
**SUPPORT SIDEHACK** Miner Development Donations to: 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
Donations/Tips to:- 1GTADDicTXD1uachKKgW24DZDxDGhSMdRa
Join Bitconnect: https://bitconnect.co/?ref=gtaddict
|
|
|
takagari
Legendary
Offline
Activity: 1050
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 22, 2017, 08:29:57 PM Last edit: March 22, 2017, 09:10:57 PM by takagari |
|
I am working through the windows install of this and at this point sed -r "s/winsock.h/winsock2.h/" /mingw/include/ptw32_errno.h -i sed -r "s/0x0501\)/0x0001\)\n#include <ptw32_errno.h>\n/" /mingw/include/ws2tcpip.h -i sed -r "s/__struct_timespec_defined/_TIMESPEC_DEFINED/" /mingw/include/time.h -i sed -r "s/\_UWIN \*\//\*\/\n\nstatic char* strtok_r(char *s, const char *d, char **n) { char *r; if (s == NULL) s = *n; s += strspn(s, d); if (*s == '\\\0') return NULL; r = s; s += strcspn(s, d); if (*s) *s++ = '\\\0'; *n = s; return r; }\n/" /mingw/include/string.h -i
All four flag unable to edit or find Any idea where I missed a step to cause this? I ensured the security was set to everyone.. Moved on from the above and in the dir C:\MinGW\msys\1.0\home\<username>\git\vthoang\cgminer No .exe file at all I wish there was an easier way to run these without a bunch of copy/paste that user doesn't understand, and luck of a working GUI type program coming which will support these?
|
|
|
|
sidehack
Legendary
Offline
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 22, 2017, 09:12:47 PM |
|
Do the precompiled downloadable Windows executables provided in the first post and referenced in the Windows post not work on your system?
|
|
|
|
takagari
Legendary
Offline
Activity: 1050
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 22, 2017, 09:17:53 PM |
|
I'm not sure what you a reffering to I followed which was the next post, I'm now at a 678MB folder and it doesn't seem to work Edit: It would seem I missed this portion as it looked like it was under the linux at first read. so a whole bunch of work for nothing cross-compiled cgminer.exe binaries
Mar 09, 2017 @ 2a41ffb - cgminer-4.10.0-windows-gekko-2a41ffb.7z Feb 16, 2017 @ 42b083f - cgminer-4.10.0-windows-gekko-42b083f.7z Feb 12, 2017 @ 214f9e6 - cgminer-4.10.0-windows-gekko-214f9e6.7z Feb 01, 2017 @ 21102a1- cgminer-4.10.0-windows-gekko-21102a1.7z Jan 29, 2017 @ 39f6e46 - cgminer-4.10.0-windows-gekko-39f6e46.7z
This has gotten me a fair bit further
|
|
|
|
takagari
Legendary
Offline
Activity: 1050
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 22, 2017, 10:30:27 PM |
|
Seems to temp run but getting a lot of errors cgminer version 4.10.0 - Started: [2017-03-22 17:29:44.280] -------------------------------------------------------------------------------- (5s):0.000 (1m):0.000 (5m):0.000 (15m):0.000 (avg):0.000h/s A:0 R:0 HW:0 WU:0.0/m Connected to solo.ckpool.org diff 4K with stratum as user 1HZQ65UQetyPuGGz9oaUNvfwsR4nAHnstj Block: 6c924791... Diff:476G Started: [18:25:32.980] Best share: 0 -------------------------------------------------------------------------------- [U]SB management [P]ool management [S]ettings [D]isplay options [Q]uit 0: GSD 10010318: COMPAC-0 100.00MHz HW:0 | ZOMBIE -------------------------------------------------------------------------------- [2017-03-22 18:29:51.852] Found 0 chip(s) on GSD 671 [2017-03-22 18:29:51.854] GSD 671 failure, disabling! Just trying one off my pc's port is this why? not enough power?
|
|
|
|
ppetrovic68
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 22, 2017, 10:33:45 PM |
|
@vh I just had cgminer die, twice, with hotplug thread 362 create failed
being the last message in the log. I have the latest vh cgminer (built two days ago, Monday) on RaspPi B+. 2 Compacs (on one powered hub) and 2 2Pacs on Pluggable USB2 7 Port hub (60W). Pluggable hub was used until Monday to run 2 Compacs@300 Mhz on previous, cgminer-gekko, version - no HWs, no problems whatsoever. Since the other hub has lower power I lowered frequency for Compacs to 275, and plugged 2Pacs, with a bit higher vcore, @225. I have big nice fan blowing air on all four of the sticks and one smaller one adding more airflow on 2Pacs. Everything was running nicely for about 15 hours - no HWs on 2Pacs, occasional HW on Compacs (I guess I should lower freq a bit more, until I get beefier hub). Then one of 2Pacs decided it does not want to cooperate anymore [2017-03-22 21:40:46.307] GSD 1: No valid hashes recently, attempting to reset [2017-03-22 21:40:46.582] GSD 1 attempted reset got err:(0) LIBUSB_SUCCESS [2017-03-22 21:40:46.586] GSD 1: Device failed to respond to restart [2017-03-22 21:40:46.700] GSD 1 failure, disabling! [2017-03-22 21:40:47.309] Hotplug: GekkoScience added GSD 2 [2017-03-22 21:40:47.518] Found 0 chip(s) on GSD 2 [2017-03-22 21:40:47.554] GSD 2 failure, disabling! [2017-03-22 21:40:52.746] Hotplug: GekkoScience added GSD 3 [2017-03-22 21:40:52.952] Found 0 chip(s) on GSD 3 [2017-03-22 21:40:52.971] GSD 3 failure, disabling!
and that continued untul [2017-03-22 22:17:41.847] Hotplug: GekkoScience added GSD 355 [2017-03-22 22:17:42.056] Found 0 chip(s) on GSD 355 [2017-03-22 22:17:42.085] GSD 355 failure, disabling! [2017-03-22 22:17:47.280] Hotplug: GekkoScience added GSD 356 [2017-03-22 22:17:47.486] Found 0 chip(s) on GSD 356 [2017-03-22 22:17:47.502] GSD 356 failure, disabling! [2017-03-22 22:17:52.709] Hotplug: GekkoScience added GSD 357 [2017-03-22 22:17:52.916] Found 0 chip(s) on GSD 357 [2017-03-22 22:17:52.950] GSD 357 failure, disabling! [2017-03-22 22:17:58.123] hotplug thread 362 create failed
when cgminer died. Second 2Pac and Compacs were still running nicely. As i run cgminer from a script that restarts it if it dies, cgminer started again, found 1 2Pac, 2 Compacs but the second 2Pac was still a no-show [2017-03-22 22:18:00.326] Started cgminer 4.10.0 [2017-03-22 22:18:00.917] Probing for an alive pool [2017-03-22 22:18:01.110] Found 2 chip(s) on GSD 0 [2017-03-22 22:18:01.113] Found 0 chip(s) on GSD 1 [2017-03-22 22:18:01.118] Found 1 chip(s) on GSC 0 [2017-03-22 22:18:01.134] Found 1 chip(s) on GSC 1 [2017-03-22 22:18:01.144] GSD 1 failure, disabling! [2017-03-22 22:18:01.757] Pool 0 difficulty changed to 4096 [2017-03-22 22:18:02.123] Pool 1 difficulty changed to 2048 [2017-03-22 22:18:02.126] Network diff set to 476G [2017-03-22 22:18:08.323] Hotplug: GekkoScience added GSD 2 [2017-03-22 22:18:08.385] GSD 0: Ticket mask set to 3 [2017-03-22 22:18:08.431] GSC 0: Ticket mask set to 3 [2017-03-22 22:18:08.436] GSC 1: Ticket mask set to 3 [2017-03-22 22:18:08.527] Found 0 chip(s) on GSD 2 [2017-03-22 22:18:08.542] GSD 2 failure, disabling! [2017-03-22 22:18:13.719] Hotplug: GekkoScience added GSD 3 [2017-03-22 22:18:13.927] Found 0 chip(s) on GSD 3 ... [2017-03-22 22:53:36.660] Hotplug: GekkoScience added GSD 358 [2017-03-22 22:53:36.866] Found 0 chip(s) on GSD 358 [2017-03-22 22:53:36.890] GSD 358 failure, disabling! [2017-03-22 22:53:39.419] Accepted 8e84362f Diff 460/128 GSD 0 pool 0 [2017-03-22 22:53:42.056] Hotplug: GekkoScience added GSD 359 [2017-03-22 22:53:42.263] Found 0 chip(s) on GSD 359 [2017-03-22 22:53:42.297] GSD 359 failure, disabling! [2017-03-22 22:53:44.432] Accepted 49827498 Diff 892/128 GSC 1 pool 0 [2017-03-22 22:53:47.463] hotplug thread 362 create failed
Script started cgminer again, 1 2Pac, 2 Compacs found, more of the same from the other 2Pac, but this time I noticed what was happening, unplugged the second 2Pac, plugged it in again and it came back to life. It seems that 362 is the magic number. I'm not sure if it's the original cgminer's magic number or if it's related to 2Pac driver. Hope this helps.
|
|
|
|
sidehack
Legendary
Offline
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 22, 2017, 10:45:30 PM |
|
Might turn the voltage up a bit on the 2Pac or something. I don't know if it's a work restart thing or a power imbalance thing but sometimes they'll kick out. The only way to bring it back up is to cycle the ASICs' reset pin, which for most people means unplug/replug because there's no software control of the reset line.
As for why it kills cgminer, that I don't know.
|
|
|
|
-ck
Legendary
Offline
Activity: 4228
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 22, 2017, 10:57:34 PM |
|
As for why it kills cgminer, that I don't know.
Resource exhaustion. hotplug thread 362 create failed
[2017-03-22 22:17:41.847] Hotplug: GekkoScience added GSD 355 [2017-03-22 22:17:42.056] Found 0 chip(s) on GSD 355 [2017-03-22 22:17:42.085] GSD 355 failure, disabling! [2017-03-22 22:17:47.280] Hotplug: GekkoScience added GSD 356 [2017-03-22 22:17:47.486] Found 0 chip(s) on GSD 356 [2017-03-22 22:17:47.502] GSD 356 failure, disabling! [2017-03-22 22:17:52.709] Hotplug: GekkoScience added GSD 357 [2017-03-22 22:17:52.916] Found 0 chip(s) on GSD 357 [2017-03-22 22:17:52.950] GSD 357 failure, disabling! [2017-03-22 22:17:58.123] hotplug thread 362 create failed
Each driver thread instance remains after the device dies, and after 360 odd devices, each with its own driver thread, the system will not allow the one application to create any more threads. The solution is to not create an actual driver thread until it's clear the device is really working (in code) rather than just detected.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
sidehack
Legendary
Offline
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 22, 2017, 11:00:17 PM |
|
I see, that makes sense. Hopefully VH sees that and does something about it.
|
|
|
|
ppetrovic68
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 23, 2017, 12:17:45 AM |
|
Might turn the voltage up a bit on the 2Pac or something. I don't know if it's a work restart thing or a power imbalance thing but sometimes they'll kick out. The only way to bring it back up is to cycle the ASICs' reset pin, which for most people means unplug/replug because there's no software control of the reset line.
As for why it kills cgminer, that I don't know.
After the initial warmup (running sticks on stock vcore and 100Mhz), I upped the voltage to 1.50 and started increasing frequency. One stick chugs nicely, the other one dies. Then I upped the voltage on the second one a bit more (can't be sure if it was quarter turn or half a turn) and I just measured it at 1.63 - I'm talking about string voltage (as described on an image posted earlier, I believe, in this thread). ASIC voltages are, what is expected I guess, half of that. Since my last post I lowered frequency to 200Mhz, but nothing changed. One stick works, the other one works for a while then commits suicide ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) BTW, Compacs had reset pin marked. I tried locating it on 2Pac but failed.
|
|
|
|
NotFuzzyWarm
Legendary
Offline
Activity: 3738
Merit: 2667
Evil beware: We have waffles!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 23, 2017, 12:32:01 AM |
|
<snip> After the initial warmup (running sticks on stock vcore and 100Mhz), I upped the voltage to 1.50 and started increasing frequency. One stick chugs nicely, the other one dies. Then I upped the voltage on the second one a bit more (can't be sure if it was quarter turn or half a turn) and I just measured it at 1.63 - I'm talking about string voltage (as described on an image posted earlier, I believe, in this thread). ASIC voltages are, what is expected I guess, half of that. Since my last post I lowered frequency to 200Mhz, but nothing changed. One stick works, the other one works for a while then commits suicide ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) BTW, Compacs had reset pin marked. I tried locating it on 2Pac but failed. Try swapping the sticks between the USB hub ports. Does the same stick take a nap or does the fault stay with the same port?
|
|
|
|
ppetrovic68
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 23, 2017, 12:34:11 AM |
|
I found the problem - sidehack has put 4 Asics instead of two on second stick Since my last post I decided to lower the voltage on the second stick to the same level as the first one and got this ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) [2017-03-23 01:25:23.282] Hotplug: GekkoScience added GSD 13 [2017-03-23 01:25:23.516] Found 4 chip(s) on GSD 13
|
|
|
|
ppetrovic68
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 23, 2017, 12:39:23 AM |
|
<snip> After the initial warmup (running sticks on stock vcore and 100Mhz), I upped the voltage to 1.50 and started increasing frequency. One stick chugs nicely, the other one dies. Then I upped the voltage on the second one a bit more (can't be sure if it was quarter turn or half a turn) and I just measured it at 1.63 - I'm talking about string voltage (as described on an image posted earlier, I believe, in this thread). ASIC voltages are, what is expected I guess, half of that. Since my last post I lowered frequency to 200Mhz, but nothing changed. One stick works, the other one works for a while then commits suicide ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) BTW, Compacs had reset pin marked. I tried locating it on 2Pac but failed. Try swapping the sticks between the USB hub ports. Does the same stick take a nap or does the fault stay with the same port? Tried switching ports. It's the same stick, 10010253, every time. What I did not try, yet, is to switch cables (I use Y-cables, same ones I used with Compacs, just to be sure they're ok). I read in one of the threads that Pluggable has three bucks (for ports 1-2, 3-4 and 5-6-7) so I plugged data+power cables ports 1 and 3 (to make sure sticks are on different power lines) and power only ends are in ports 5 and 7 (on the third power line).
|
|
|
|
sidehack
Legendary
Offline
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 23, 2017, 12:40:30 AM |
|
Wow. I've never seen that before. I've seen zero, one and two but never more than the right number.
|
|
|
|
vh (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 23, 2017, 12:48:35 AM |
|
I guess there's no point in retrying via software when we see "Found 0 chip(s) on GSD 0". Let me see if I can get it to just display "OFF" to signal folks to unplug, adjust voltage, and plug it back in.
|
|
|
|
ppetrovic68
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 23, 2017, 12:50:28 AM |
|
Wow. I've never seen that before. I've seen zero, one and two but never more than the right number.
I got a special stick ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2Fb7kF9yj.png&t=665&c=cjMCb_Ywqvr3kA)
|
|
|
|
ppetrovic68
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 23, 2017, 12:57:17 AM |
|
I guess there's no point in retrying via software when we see "Found 0 chip(s) on GSD 0". Let me see if I can get it to just display "OFF" to signal folks to unplug, adjust voltage, and plug it back in.
Hm, I'd be careful with that. I've seen, more than once, Found 0 chip(s) on cgminer startup and after one or two "restarts" stick is detected/reports correctly [2017-03-21 23:24:25.059] Started cgminer 4.10.0 [2017-03-21 23:24:25.584] No devices detected! [2017-03-21 23:24:25.588] Waiting for USB hotplug devices or press q to quit [2017-03-21 23:28:28.921] Hotplug: GekkoScience added GSD 0 [2017-03-21 23:28:29.130] Found 0 chip(s) on GSD 0 [2017-03-21 23:28:29.151] GSD 0 failure, disabling! [2017-03-21 23:28:34.472] Hotplug: GekkoScience added GSD 1 [2017-03-21 23:28:34.681] Found 0 chip(s) on GSD 1 [2017-03-21 23:28:34.711] GSD 1 failure, disabling! [2017-03-21 23:28:56.688] Hotplug: GekkoScience added GSD 2 [2017-03-21 23:28:56.901] Found 2 chip(s) on GSD 2 [2017-03-21 23:29:02.313] GSD 2: Ticket mask set to 3
|
|
|
|
NotFuzzyWarm
Legendary
Offline
Activity: 3738
Merit: 2667
Evil beware: We have waffles!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 23, 2017, 01:04:13 AM Last edit: March 23, 2017, 04:06:10 PM by NotFuzzyWarm |
|
The post on Plugable's 7-port charging hub power setup is from me ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Possibly using Y-cables is contributing to the drop out? I run 2x 2Pacs and 1 Compac on the Plugable 7-port 60w charging hub. For form-factor and cooling I have a 2Pac on port-2, the other 2Pac on port-4, and the Compac on port-6. Nice and compact for cooling and each stick is on its own buck. Tried running them without the y-cables, just plugged straight into the hub?
|
|
|
|
ppetrovic68
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 23, 2017, 01:05:07 AM |
|
Eh, just remembered one more thing (my last post for today, I promise ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) ) If you reset the stick after a few rounds of Found 0 chip(s) - Disabling! and it's starts hashing, numbers in the device list and device number reported once a share is found are misaligned. Right now I have GSDs listed as 21 and 22 in device list and shares reported for devices 15 and 16 ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FSTtOqze.png&t=665&c=RXba5LP0s0OVGQ)
|
|
|
|
takagari
Legendary
Offline
Activity: 1050
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 23, 2017, 01:19:48 AM |
|
[U]SB management [P]ool management [S]ettings [D]isplay options [Q]uit 0: GSD 10010318: COMPAC-2 100.00MHz HW:0 | 15.32G / 11.52Gh/s WU:77.8/m 1: GSD 10010326: COMPAC-2 100.00MHz HW:0 | 12.68G / 12.17Gh/s WU:82.4/m Not to shabby. bloody hot, need to get a hub and small fan for sure How do you set the Mhz?
|
|
|
|
|