<p>I am now using cgminer 3.4.2 (Ubuntu 12.04LTS) as it is much more stable than bfgminer and all the bugs in cgminer have been worked out (it also supports hot plugging)</p>

<p>The best way is to compile cgminer from git direct. There is some dependency on usbdev1 that needs to be compiled into cgminer.</p>

<ol>
<li>Install the dependencies using apt-get (including all the build stuff)</li>
<li>Make a direcotry somewhere and go into it</li>
<li>git clone git://github.com/ckolivas/cgminer.git</li>
<li>cd into the cgminer directory</li>
<li><code>./autogen.sh --enable-bflsc --enable-icarus --disable-opencl</code></li>
<li><code>CFLAGS="-O2 -Wall -march=native" ./configure --enable-bflsc --enable-icarus --disable- opencl</code> </li>
<li><code>make -j8</code></li>
<li>Run <code>cgminer</code> from that directory, without any options. (except the mining pools you need) It will pick up on the erupters and is ready for BFL rigs too! Hot plugging works well also!</li>
</ol>

<p><img src="https://i.sstatic.net/jkKA0.png" alt="enter image description here"></p>

<p><em>Its not running full speed because I have a slight power issue after adding 7 more. Need a new PSU</em></p>

CC BY-SA 3.0
2013-09-05T22:05:04.277Z
2013-09-05T22:05:04.277Z
Piotr Kula
<p>I had the same problem. </p>

<p>I solved it by spawning a cgminer for each erupter using --usb :1 to limit each miner to 1 device  which gave me the performance back, </p>

<p>i.e. 1xcgminer mapped to 1 erupter will drive it at 350mh but add a 2nd or a 3rd and performance disappears.</p>

<p>I hadnt tried bfminer but I might as well now having seen your results </p>

CC BY-SA 3.0
2013-07-19T09:11:13.707Z
I have been running bfminer and it is much more stable than cgminer in my opinion (actually not a single crash in more than 15 days or constant mining).  Not sure if its the erupters more stable. Before I had 6990's running on cgminer - i had to restart cgminer almost every day(luckily i had cgminerwatcher installed- so it did it for me)
Piotr Kula
CC BY-SA 3.0
2013-07-18T22:57:07.673Z
2013-07-18T22:57:07.673Z
Ian Ravenscroft
<p>just use cgminer 3.1.1 ... i'm using 4x asic usb miner's... it works fine... and i'm using it on powered hub and raspberry pi</p>

CC BY-SA 3.0
2013-09-06T08:46:16.693Z
3.1.1 did not work for me on Ubuntu. I have 3.4.2 on Ubuntu now (had to compile it) but it works a charm. I liek the way you use your Raspberry Pi :)
Piotr Kula
CC BY-SA 3.0
2013-08-28T19:20:36.950Z
2013-08-28T19:20:36.950Z
xyz
<p>I setup p2pool on my ubuntu  12.04LTS x64 machine. Installed cgminer 3.3 and ran it. the newest cgminer is supposed to support the USB mode with the erupters without any extra configuration. </p>

<p>I have 2 erupters on a powered usb2 hub and 2 running off the motherboard direct. The hashing is just not stable; jumping from 50mh to 300, then getting sick and restarting- there are a ton of rejects. The avg on 4 should be 1.2gh but I am hardy getting 300mh.</p>

<p>I don't know what is wrong. I have been reading many posts all over over the place, one after the other and I am stumped. It is not meant to be this difficult- is it??</p>

<p>What did I miss?</p>

<p><img src="https://i.sstatic.net/EMfZG.png" alt="enter image description here"></p>

CC BY-SA 3.0
2013-06-25T14:16:04.447Z
what kind of heat are they giving off? have you tried apublic pool to see if it is your p2pool installation? let me know, i'll try to walk you through it...
Joe White
CC BY-SA 3.0
2013-06-25T14:23:36.000Z
The are warm/hot - I know they should get as hot as not able to touch them for too long. But they get about 45/50degrees but all 4 have various temperatures. Can you suggest a public pool please (i know i can google but if you know 1 that works 100% then let me try it) I tried installing bfgminer now but that does not even detect them.. :(
Piotr Kula
CC BY-SA 3.0
2013-06-25T14:33:35.957Z
Whoa.. I think I got bfg miner to work properly. for some reason when I ran bfgminer the usb's disappeared in /dev/ttyUSB .. I had to reboot and they were back. I made sure that bitcoind loaded all blocks, ran my p2pool script then started bfgminer with -S all ... 350MH now!!! I don't understand.
Piotr Kula
CC BY-SA 3.0
2013-06-25T17:36:01.120Z
i was just about to suggest BFGMiner, but decided to wait. glad it worked...
The reason it works now is because BFGMiner is more up to date than CGMiner is.... BFGMiner gets constant updates by luke-jr where as cgminer is hit and miss. luke-jr spends a lot of time getting the latest drivers in place.
Joe White
CC BY-SA 3.0
2013-06-26T10:08:17.520Z
Fantastic :) I thought cgminer was more up to date.. I learnt something new. Thanks for trying to help!
Piotr Kula
<asic><linux><p2pool>
Bitcoin erupters not stable on Ubuntu and cgminer 3.3?
Piotr Kula
# Bitcoin erupters not stable on Ubuntu and cgminer 3.3?

(Asked by: username_0 on 2013-06-25)

I setup p2pool on my ubuntu 12.04LTS x64 machine. Installed cgminer 3.3 and ran it. the newest cgminer is supposed to support the USB mode with the erupters without any extra configuration.

I have 2 erupters on a powered usb2 hub and 2 running off the motherboard direct. The hashing is just not stable; jumping from 50mh to 300, then getting sick and restarting- there are a ton of rejects. The avg on 4 should be 1.2gh but I am hardy getting 300mh.

I don't know what is wrong. I have been reading many posts all over over the place, one after the other and I am stumped. It is not meant to be this difficult- is it??

What did I miss?

![enter image description here](https://i.sstatic.net/EMfZG.png)

**Tags:** asic, linux, p2pool

> **Comments:**
> **username_1**: what kind of heat are they giving off? have you tried apublic pool to see if it is your p2pool installation? let me know, i'll try to walk you through it...  
> **username_0**: The are warm/hot - I know they should get as hot as not able to touch them for too long. But they get about 45/50degrees but all 4 have various temperatures. Can you suggest a public pool please (i know i can google but if you know 1 that works 100% then let me try it) I tried installing bfgminer now but that does not even detect them.. :(  
> **username_0**: Whoa.. I think I got bfg miner to work properly. for some reason when I ran bfgminer the usb's disappeared in /dev/ttyUSB .. I had to reboot and they were back. I made sure that bitcoind loaded all blocks, ran my p2pool script then started bfgminer with -S all ... 350MH now!!! I don't understand.  
> **username_1**: i was just about to suggest BFGMiner, but decided to wait. glad it worked... The reason it works now is because BFGMiner is more up to date than CGMiner is.... BFGMiner gets constant updates by luke-jr where as cgminer is hit and miss. luke-jr spends a lot of time getting the latest drivers in place.  
> **username_0**: Fantastic :) I thought cgminer was more up to date.. I learnt something new. Thanks for trying to help!  

---

## 3 answers

### Answer by username_0 on 2013-09-05. Score: 2 | Accepted answer

I am now using cgminer 3.4.2 (Ubuntu 12.04LTS) as it is much more stable than bfgminer and all the bugs in cgminer have been worked out (it also supports hot plugging)

The best way is to compile cgminer from git direct. There is some dependency on usbdev1 that needs to be compiled into cgminer.

1. Install the dependencies using apt-get (including all the build stuff)
2. Make a direcotry somewhere and go into it
3. git clone git://github.com/ckolivas/cgminer.git
4. cd into the cgminer directory
5. `./autogen.sh --enable-bflsc --enable-icarus --disable-opencl`
6. `CFLAGS="-O2 -Wall -march=native" ./configure --enable-bflsc --enable-icarus --disable- opencl`
7. `make -j8`
8. Run `cgminer` from that directory, without any options. (except the mining pools you need) It will pick up on the erupters and is ready for BFL rigs too! Hot plugging works well also!

![enter image description here](https://i.sstatic.net/jkKA0.png)

*Its not running full speed because I have a slight power issue after adding 7 more. Need a new PSU*


---

### Answer by username_2 on 2013-07-18. Score: 1

I had the same problem.

I solved it by spawning a cgminer for each erupter using --usb :1 to limit each miner to 1 device which gave me the performance back,

i.e. 1xcgminer mapped to 1 erupter will drive it at 350mh but add a 2nd or a 3rd and performance disappears.

I hadnt tried bfminer but I might as well now having seen your results

> **Comments:**
> **username_0**: I have been running bfminer and it is much more stable than cgminer in my opinion (actually not a single crash in more than 15 days or constant mining).  Not sure if its the erupters more stable. Before I had 6990's running on cgminer - i had to restart cgminer almost every day(luckily i had cgminerwatcher installed- so it did it for me)  

---

### Answer by username_3 on 2013-08-28. Score: 0

just use cgminer 3.1.1 ... i'm using 4x asic usb miner's... it works fine... and i'm using it on powered hub and raspberry pi

> **Comments:**
> **username_0**: 3.1.1 did not work for me on Ubuntu. I have 3.4.2 on Ubuntu now (had to compile it) but it works a charm. I liek the way you use your Raspberry Pi :)  

---

