Open njappboy opened 10 years ago
I use: sudo apt-get install build-essential autoconf automake pkg-config libtool libcurl4-openssl-dev libncurses5-dev libudev-dev
I'll retry the build with those libraries installed.
Retried but the result was the same. Never actually starts mining.
sudo apt-get update sudo apt-get install build-essential autoconf automake pkg-config libtool libcurl4-openssl-dev libncurses5-dev libudev-dev
git clone git://github.com/dtbartle/cgminer-gc3355.git cgminer cd cgminer sudo autoconf sudo ./configure --enable-scrypt --enable-gridseed --disable-opencl --prefix=/home/pi sudo make && make install
Try to start cgminer with enabled hotplug:
--hotplug=1
Mansouu - thank you for the suggestion. I rebuilt the raspberrypi and cgminer-gc3355 and tried using --hotplug=1 switch, but I'm still seeing error output. I wish I could confirm if this is software or hardware related. The GC3355 is brand new so I'm hoping it is not the issue.
Here is the log output if anyone is interested. [2014-04-01 21:14:45] Started cgminer 3.7.2 [2014-04-01 21:14:45] USB scan devices: checking for GSD devices [2014-04-01 21:14:45] RES: thread starting [2014-04-01 21:14:45] GSD looking for and found GSD 0483:5740 [2014-04-01 21:14:45] USB lock gridseed 1-4 [2014-04-01 21:14:45] RES: gridseed (1:4) lock=1 [2014-04-01 21:14:45] USB res lock gridseed 1-4 [2014-04-01 21:14:45] RES: gridseed (1:4) lock ok=1 [2014-04-01 21:14:45] USB init, kernel attached ... - GSD device 1:4 [2014-04-01 21:14:45] USB init, kernel detached ifinfo 0 interface 1 successfully - GSD device 1:4 [2014-04-01 21:14:45] USB init - GSD device 1:4 usbver=0200 prod='STM32 Virtual COM Port ' manuf='STMicroelectronics' serial='6D81337D5148' [2014-04-01 21:14:45] GridSeed options: 'baud=115200,freq=1000,chips=5,modules=1,usefifo=0' [2014-04-01 21:14:45] Device found, firmware version 01140113, driver version v3.8.5.20140210.02 [2014-04-01 21:14:45] System reseting [2014-04-01 21:14:45] GSD0: GetResults (amt=0 err=-7 ern=25) [2014-04-01 21:14:45] Set GC3355 core frequency to 1000 MHz [2014-04-01 21:14:45] GSD looking for GSD 0483:5740 but found 0424:ec00 instead [2014-04-01 21:14:45] GSD looking for GSD 10c4:ea60 but found 0424:ec00 instead [2014-04-01 21:14:45] GSD looking for GSD 0403:6010 but found 0424:ec00 instead [2014-04-01 21:14:45] GSD looking for GSD 067b:2303 but found 0424:ec00 instead [2014-04-01 21:14:45] GSD looking for GSD 0483:5740 but found 0424:9512 instead [2014-04-01 21:14:45] GSD looking for GSD 10c4:ea60 but found 0424:9512 instead [2014-04-01 21:14:45] GSD looking for GSD 0403:6010 but found 0424:9512 instead [2014-04-01 21:14:45] GSD looking for GSD 067b:2303 but found 0424:9512 instead [2014-04-01 21:14:45] GSD looking for GSD 0483:5740 but found 1d6b:0002 instead [2014-04-01 21:14:45] GSD looking for GSD 10c4:ea60 but found 1d6b:0002 instead [2014-04-01 21:14:45] GSD looking for GSD 0403:6010 but found 1d6b:0002 instead [2014-04-01 21:14:45] GSD looking for GSD 067b:2303 but found 1d6b:0002 instead [2014-04-01 21:14:45] Probing for an alive pool [2014-04-01 21:14:45] Testing pool stratum+tcp://stratum-us.anc.hashfaster.com:3337 [2014-04-01 21:14:45] Popping work to stage thread [2014-04-01 21:14:46] Succeeded delayed connect [2014-04-01 21:14:46] Failed to get sessionid in initiate_stratum [2014-04-01 21:14:46] Pool 0 difficulty changed to 16 [2014-04-01 21:14:46] Stratum authorisation success for pool 0 [2014-04-01 21:14:46] Pool 0 stratum+tcp://stratum-us.anc.hashfaster.com:3337 alive [2014-04-01 21:14:46] Pushing sem post to thread 0 [2014-04-01 21:14:46] Work update message received [2014-04-01 21:14:46] Selecting pool 0 for work [2014-04-01 21:14:46] Generated stratum merkle 8faafa708e46cb0a73147d6b29c9ddd53f8dfe71cb933ad30e36cee17cdf1458 [2014-04-01 21:14:46] Generated stratum header 000000019ef836874e08aada79dc5913aa611990a6924b114023133a09c1004da5fe91e98faafa708e46cb0a73147d6b29c9ddd53f8dfe71cb933ad30e36cee17cdf1458533b2c1e1c065e3b000000000000008000000000000000000000000000000000000000000000000000000000000000 [2014-04-01 21:14:46] Work job_id 769e nonce2 0 ntime 533b2c1e [2014-04-01 21:14:46] API not running - API will not be available [2014-04-01 21:14:46] Generated target 000000000000000000000000000000000000000000000000000000f0ff0f0000 [2014-04-01 21:14:46] Generated stratum work [2014-04-01 21:14:46] Pushing work from pool 0 to hash queue [2014-04-01 21:14:46] Network diff set to 40 [2014-04-01 21:14:46] Waiting on sem in miner thread [2014-04-01 21:14:46] New block: a5fe91e909c1004d4023133aa6924b11aa61199079dc59134e08aada9ef83687... diff 40 [2014-04-01 21:14:46] Popping work from get queue to get work [2014-04-01 21:14:46] Selecting pool 0 for work [2014-04-01 21:14:46] Generated stratum merkle cc46789e4ec6fc85e2b58c80de7df60128f53e5cb766f22d508f1a0acaa5109e [2014-04-01 21:14:46] Got work from get queue to get work for thread 0 [2014-04-01 21:14:46] Generated stratum header 000000019ef836874e08aada79dc5913aa611990a6924b114023133a09c1004da5fe91e9cc46789e4ec6fc85e2b58c80de7df60128f53e5cb766f22d508f1a0acaa5109e533b2c1e1c065e3b000000000000008000000000000000000000000000000000000000000000000000000000000000 [2014-04-01 21:14:46] Work job_id 769e nonce2 1 ntime 533b2c1e [2014-04-01 21:14:46] Generated target 000000000000000000000000000000000000000000000000000000f0ff0f0000 [2014-04-01 21:14:46] Generated stratum work [2014-04-01 21:14:46] Pushing work from pool 0 to hash queue [2014-04-01 21:14:46] Selecting pool 0 for work [2014-04-01 21:14:46] Generated stratum merkle 8c1614f304e00bd4a959a30ce841afa221ffb3326d97f9398ab1392fe36bb673 [2014-04-01 21:14:46] Generated stratum header 000000019ef836874e08aada79dc5913aa611990a6924b114023133a09c1004da5fe91e98c1614f304e00bd4a959a30ce841afa221ffb3326d97f9398ab1392fe36bb673533b2c1e1c065e3b000000000000008000000000000000000000000000000000000000000000000000000000000000 [2014-04-01 21:14:46] Work job_id 769e nonce2 2 ntime 533b2c1e [2014-04-01 21:14:46] Generated target 000000000000000000000000000000000000000000000000000000f0ff0f0000 [2014-04-01 21:14:46] Generated stratum work [2014-04-01 21:14:46] Pushing work from pool 0 to hash queue [2014-04-01 21:14:46] Generated target 00000000000000000000000000000000000000000000000000000000ffff0000 [2014-04-01 21:14:47] GSD0: GetResults (amt=0 err=-7 ern=25) [2014-04-01 21:14:47] GSD0: GetResults (amt=0 err=-7 ern=25) [2014-04-01 21:14:47] GSD0: GetResults (amt=0 err=-7 ern=25) [2014-04-01 21:14:47] GSD0: GetResults (amt=0 err=-7 ern=25) [2014-04-01 21:14:47] GSD0: GetResults (amt=0 err=-7 ern=25) [2014-04-01 21:14:47] GSD0: GetResults (amt=0 err=-7 ern=25) [2014-04-01 21:14:47] GSD0: GetResults (amt=0 err=-7 ern=25) [2014-04-01 21:14:47] GSD0: GetResults (amt=0 err=-7 ern=25) [2014-04-01 21:14:47] GSD0: GetResults (amt=0 err=-7 ern=25) [2014-04-01 21:14:47] GSD0: GetResults (amt=0 err=-7 ern=25) [2014-04-01 21:14:47] [thread 0: 449392 hashes, 421.8 khash/sec]
You are probably running cgminer from the folder you compiled it in, but your initial install with sudo make && make install
won't actually install it to the system. You have to use sudo make install
, obviously. Not sure why nobody realized this from the errors in his first post. Also, as far as I know, you'll have to run sudo cgminer
if you've properly used make install
.
freq=1000,chips=5,modules=1,usefifo=0
- That's a pretty high frequency. I don't think this version of cgminer supports modules=
. Not sure why you have usefifo=
set, either. All you need is freq=850
for your settings, to start with.
So the reason for the errors was not enough amps. Moved up to a 7amp power supply and I'm good. Of course I didn't use cgminer-gc3355, instead I took the zoomhash.com raspberry pi image and have the Gridseed controlled by the pi. Works like a charm now.
I'm running this on a raspberry pi Model B, with 2014-01-07-wheezy-raspbian.
After first boot and running the pi config I proceed to install cgminer-gc3355:
The make/make install does output some errors:
The make completes so I start cgminer:
But it hangs after the last line of output here:![screen shot 2014-03-21 at 10 31 17 am](https://f.cloud.github.com/assets/78145/2483825/80767566-b105-11e3-88aa-04c9878db27b.png)