Pages:
Author

Topic: Low speed at two Block Erupters (CGMiner) :( (Read 4301 times)

member
Activity: 122
Merit: 10
September 29, 2013, 11:52:55 AM
#24
Hello,

i have the same problem with my Eruptors.
I get Timeout messages for all of them.
Till today i used cgminer 3.3.0 and there was no problem, when i tryed 3.4.0 and now currently 3.5.0 version there is present this error.
I run cgminer in Windows XP SP2.
Zadig drivers are installed ( otherwise i couldn't run cgminer 3.3.0 ).
USB HUB have 3.5A max utput, so there is no underpower problem.
I also rebooted XP before i started cgminer 3.5.0.

How can i eliminate this timeout problem?
Here is the command for starting of cgminer: cgminer-nogpu.exe -c cgminer.conf --no-submit-stale

And this is the content of cgminer.conf:
Code:
{
"pools" : [
{
"url" : xxxxxxxxx",
"user" : "xxxxxxxx",
"pass" : "xxxxxxxxx"
}
]
,
"api-port" : "4028",
"expiry" : "240",
"hotplug" : "5",
"log" : "10",
"no-pool-disable" : true,
"queue" : "4",
"scan-time" : "5",
"shares" : "0",
"load-balance" : true,
"kernel-path" : "/usr/local/bin"
}
hero member
Activity: 616
Merit: 500
maybe its a bit underpowered? I had a similar problem when I connected two Block Erupters to a 5-port USB hub with cardreader that only has a 1000mA PSU.

I think not,

Output voltage 5 V

Output current 1 A


500mA + 500mA = 1A.  Not counting the hub's overhead, so your hub's PSU is underpowered.

You're forgetting the port is powered, and all of the current is summed together. 500 + 500 + 500 = 1.5A. He wasn't underpowered.
newbie
Activity: 45
Merit: 0
OK i will be waiting for next version of CGMiner then Smiley
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
But still i want solve that problem with CGMiner. So what binary i need?
Your problem is you have chosen a distribution that does not have an up to date libusb which cgminer depends on, and none of the binaries are made for your distribution. Even if you build cgminer yourself, the problem will remain there due to the library for usb included with debian. Your choices are to install a better libusb by building it yourself at the same time as building cgminer, or downloading one from somewhere (no there is none available for your distribution as far as I'm aware) or changing distribution. The only binaries that have libusb built in statically (included in the binary instead of using the system one) are the ones provided in that link I gave you earlier.

We did not anticipate running into such a libusb bug. For windows we included a good dll. That's not how things work on linux. We are considering including a "good" libusb built in statically on later versions of cgminer.
newbie
Activity: 45
Merit: 0
Guys i installed BFGMiner and it doesn´t say nothing about timeouts and speed is 600Mh/s. But still i want solve that problem with CGMiner. So what binary i need?
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Maybe he's running 32 bit debian. That binary is for 64bit ubuntu...
full member
Activity: 140
Merit: 100
In POS we trust
But why one Block Erupter works (connected DIRECTLY to computer-USB2.0) fine on 336MH/s and second, connected on powered HUB doesn´t work?
They might work with not enough curent, but the they are runnng slower thann 336 MH/s. Maybe somethings there is wrong with your hub?

//btw my last message was:

not working for me it says:


-bash: ./cgminer: binary file cannot be executed

i replace old cgminer file
change rights with chmod. start bash and then go to the directory that contains cgminer. Then do
Code:
sudo chmod 777 ./cgminer
(lower right might do as well, but 777 is easy to remind)
newbie
Activity: 45
Merit: 0
But why one Block Erupter works (connected DIRECTLY to computer-USB2.0) fine on 336MH/s and second, connected on powered HUB doesn´t work?

//btw my last message was:

not working for me it says:


-bash: ./cgminer: binary file cannot be executed

i replace old cgminer file
full member
Activity: 140
Merit: 100
In POS we trust
Quote
500mA + 500mA = 1A.  Not counting the hub's overhead, so your hub's PSU is underpowered.
Quote
//definetely not. Now i tried with one Block Erupter connected to HUB and one connected directly to computer, and effect was same, so i am sure there isn´t problem with power


I'm sure it is, but hey, whatever.  Knock yourself out chasing your tail.
Indeed, a Block Erupter needs 505 - 510 mA, a USB 2.0 Port only delivers 500mA, so this cant work from a USB 2.0 port directly. You can either plug them into USB 3.0 ports (which deliver 1000mA per port) or use an USB hub with enough power.
newbie
Activity: 45
Merit: 0
not working for me it says:


-bash: ./cgminer: binary file cannot be executed

i replace old cgminer file Sad(
full member
Activity: 725
Merit: 142
as i said, i don´t know how to compile it/use it Sad( I don´t know what i need to do with *.a file. Can you send me tutorial for it?

It's actually a binary file, the "a" is just part of the version number. No compiling necessary. Open a terminal and type in these two commands:
Code:
wget https://github.com/kanoi/cgminer-binaries/raw/master/Ubuntu_11.04_x86_64/cgminer-3.4.0a
chmod +x cgminer-3.4.0a
Then run cgminer like you normally do (you can even rename 'cgminer-3.4.0a' to just plain 'cgminer').
hero member
Activity: 1246
Merit: 501
Quote
500mA + 500mA = 1A.  Not counting the hub's overhead, so your hub's PSU is underpowered.
Quote
//definetely not. Now i tried with one Block Erupter connected to HUB and one connected directly to computer, and effect was same, so i am sure there isn´t problem with power


I'm sure it is, but hey, whatever.  Knock yourself out chasing your tail.
newbie
Activity: 45
Merit: 0
as i said, i don´t know how to compile it/use it Sad( I don´t know what i need to do with *.a file. Can you send me tutorial for it?
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Quote
500mA + 500mA = 1A.  Not counting the hub's overhead, so your hub's PSU is underpowered.
Quote
//definetely not. Now i tried with one Block Erupter connected to HUB and one connected directly to computer, and effect was same, so i am sure there isn´t problem with power

Sry i am little noob at linux. There isn´t download for Debian. And i don´t know what to do with *.a file Sad
Try the ubuntu binary
newbie
Activity: 45
Merit: 0
Quote
500mA + 500mA = 1A.  Not counting the hub's overhead, so your hub's PSU is underpowered.
Quote
//definetely not. Now i tried with one Block Erupter connected to HUB and one connected directly to computer, and effect was same, so i am sure there isn´t problem with power

Sry i am little noob at linux. There isn´t download for Debian. And i don´t know what to do with *.a file Sad
hero member
Activity: 1246
Merit: 501
maybe its a bit underpowered? I had a similar problem when I connected two Block Erupters to a 5-port USB hub with cardreader that only has a 1000mA PSU.

I think not,

Output voltage 5 V

Output current 1 A


500mA + 500mA = 1A.  Not counting the hub's overhead, so your hub's PSU is underpowered.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Make sure there isn't another libusb-1.0.dll somewhere on your system?

Aah maybe this was problem. I will check it

P.S. i installed CGMiner with this tutorial:

http://blog.phrog.org/2013/07/06/simple-debian-cgminer-asicminer-block-erupter-usb-setup/

//I uninstalled all packages via apt-get remove (including libusb.dll 1.00) but effect was same (i rebooted too)
Ah wait you're on linux? Here I was talking DLLs

Grab Kano's binary which has the other libusb built in statically. The problem is the old libusb is broken on both linux and windows.
Here. I even went to the trouble of finding the relevant post:
https://bitcointalksearch.org/topic/m.2983720
newbie
Activity: 45
Merit: 0
Make sure there isn't another libusb-1.0.dll somewhere on your system?

Aah maybe this was problem. I will check it

P.S. i installed CGMiner with this tutorial:

http://blog.phrog.org/2013/07/06/simple-debian-cgminer-asicminer-block-erupter-usb-setup/

//I uninstalled all packages via apt-get remove (including libusb.dll 1.00) but effect was same (i rebooted too)
Output was same, but here is output with hotplug:

Code:
cgminer version 3.4.0 - Started: [2013-08-27 09:42:24]
--------------------------------------------------------------------------------
 (5s):61.40M (avg):61.54Mh/s | A:1  R:0  HW:0  WU:1.4/m
 ST: 2  SS: 0  NB: 1  LW: 6  GF: 0  RF: 0
 Connected to stratum.bitcoin.cz diff 1 with stratum as user taxik.worker1
 Block: 003b83e55adaf99b...  Diff:65.8M  Started: [09:42:24]  Best share: 1
--------------------------------------------------------------------------------
 [P]ool management [S]ettings [D]isplay options [Q]uit
 AMU 0:                | 64.99M/121.5Mh/s | A:1 R:0 HW:0 WU:2.8/m
 AMU 1:                |  0.000/ 0.000h/s | A:0 R:0 HW:0 WU:0.0/m
--------------------------------------------------------------------------------
 [2013-08-27 09:42:22] Started cgminer 3.4.0
 [2013-08-27 09:42:22] No devices detected!
 [2013-08-27 09:42:22] Waiting for USB hotplug devices or press q to quit
 [2013-08-27 09:42:22] Probing for an alive pool
 [2013-08-27 09:42:23] Switching pool 0 http://api.bitcoin.cz:8332 to stratum+tc
p://stratum.bitcoin.cz:3333
 [2013-08-27 09:42:24] Network diff set to 65.8M
 [2013-08-27 09:42:45] Hotplug: Icarus added AMU 0
 [2013-08-27 09:42:50] Hotplug: Icarus added AMU 1
 [2013-08-27 09:42:53] AMU0: TIMEOUT GetResults took 2479ms but was 100ms
 [2013-08-27 09:42:53] Accepted cfbbb3b6 Diff 1/1 AMU 0
 [2013-08-27 09:42:53] Stratum from pool 0 requested work restart

Pls guys help me, everyday i am loosing profit from second Block Erupter Sad((
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Make sure there isn't another libusb-1.0.dll somewhere on your system?
newbie
Activity: 45
Merit: 0
maybe its a bit underpowered? I had a similar problem when I connected two Block Erupters to a 5-port USB hub with cardreader that only has a 1000mA PSU.

I think not, because Windows computer works fine with BitMinter client and powered hub, but here are specifiations of my hub:

Power supply 5 W

Input voltage 100 - 240 V

Output voltage 5 V

Input frequency 50 / 60 Hz

Output current 1 A
//definetely not. Now i tried with one Block Erupter connected to HUB and one connected directly to computer, and effect was same, so i am sure there isn´t problem with power
Pages:
Jump to: