Author

Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.0 - page 230. (Read 5806004 times)

legendary
Activity: 1513
Merit: 1040
Ah, ok.

Got it to work now. cgminer won't recognise BEs they are already plugged in before cgminer is running. I just switched my 10 port hub off and on again and here we go. Smiley
sr. member
Activity: 280
Merit: 250
Sometimes man, just sometimes.....
I tried to get my ASICMiner BEs to work with zadigs USB driver and cgminer 3.4.2. BEs are listed as USB devices in win7 device manager correctly.

"cgminer-nogpu.exe -o eu-stratum.btcguild.com:3333 -u xxxxx -p xxxxx --enable-icarus"
DOS windows shows up for a second. Without --enable-icarus cgminer starts but no devices found.

any ideas?

Are you running as an admin when you load? That one of the things I forgot to do. Check the properties for your shortcut if your using one and make sure the "run as admin" is checked off.

I just moved all my USB miners to a win7 PC with 3.4.2.  It's working flawlessly.  I'm not running as admin, and not using "-enable-icarus".  No parms at all aside from pointing to config file, that has nothing in it but pool addresses.

M

--enable-icarus is only for compiling cgminer, it is not a command line argument.
legendary
Activity: 1540
Merit: 1001
I tried to get my ASICMiner BEs to work with zadigs USB driver and cgminer 3.4.2. BEs are listed as USB devices in win7 device manager correctly.

"cgminer-nogpu.exe -o eu-stratum.btcguild.com:3333 -u xxxxx -p xxxxx --enable-icarus"
DOS windows shows up for a second. Without --enable-icarus cgminer starts but no devices found.

any ideas?

Are you running as an admin when you load? That one of the things I forgot to do. Check the properties for your shortcut if your using one and make sure the "run as admin" is checked off.

I just moved all my USB miners to a win7 PC with 3.4.2.  It's working flawlessly.  I'm not running as admin, and not using "-enable-icarus".  No parms at all aside from pointing to config file, that has nothing in it but pool addresses.

M
hero member
Activity: 546
Merit: 500
I tried to get my ASICMiner BEs to work with zadigs USB driver and cgminer 3.4.2. BEs are listed as USB devices in win7 device manager correctly.

"cgminer-nogpu.exe -o eu-stratum.btcguild.com:3333 -u xxxxx -p xxxxx --enable-icarus"
DOS windows shows up for a second. Without --enable-icarus cgminer starts but no devices found.

any ideas?

Are you running as an admin when you load? That one of the things I forgot to do. Check the properties for your shortcut if your using one and make sure the "run as admin" is checked off.
legendary
Activity: 1513
Merit: 1040
I tried to get my ASICMiner BEs to work with zadigs USB driver and cgminer 3.4.2. BEs are listed as USB devices in win7 device manager correctly.

"cgminer-nogpu.exe -o eu-stratum.btcguild.com:3333 -u xxxxx -p xxxxx --enable-icarus"
DOS windows shows up for a second. Without --enable-icarus cgminer starts but no devices found.

any ideas?
hero member
Activity: 1246
Merit: 501
./cgminer: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory


sudo apt-get upgrade

Had a similar problem earlier with "the other miner" on a fresh Ubuntu Server 13.04 install.  The command above fixed it.
legendary
Activity: 3586
Merit: 1098
Think for yourself
The only thing now I have to find is a way to run cgminer from the taskbar like I've done for GUIMiner and how to control multiple devices when I get more bitcoin miners (one instruction book said to tell it by com ports but that was before WinUSB was the needed).

CGMiner will us all that are available by default.

Also look at the Advanced USB options in the readme.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
Can i set the order of the pools directly in the cgminer-command without moving back and forth the pools with user/pass?
java API pools Smiley
Edit: though I should have also mentioned the exact command: poolpriority (API-README)

Now i know what you spoke about. This api has to be enabled in cgminer command first. But it looks i still have to install some form of java. JDK? It tells me only that java is unknown. I run cgminer on rpi.

I hoped there is an easy way to change the order directly in commandline since then i would have a clean stat again.
On RPi Arch: pacman -S jre7-openjdk-headless
The other way is using 'nc' but I've had trouble with that on RPi Arch ...
newbie
Activity: 50
Merit: 0
Thank you very much for the info Smiley

I am keen to get 13.04 on it so I might just upgrade.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/

sudo apt-get install libudev1


This is my error output with that command:

@-Ubuntu1:~/Desktop$ sudo apt-get install libudev1
[sudo] password for :
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Package libudev1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libudev1' has no installation candidate

I have tried to run this beforehand:

sudo apt-get update

No luck Sad



On another note, ckolivas, I wanted to thank you for the windows version of 3.4.2. I installed it onto my HP N40L Microserver and have a tonne of block erupters running without a hitch. I only had to install Windows 7, then that WinUSB driver utility which didn't take long at all.

It detects and starts mining with the block erupters so quickly and without error. 3.4.0 used to crash every couple of days, but 3.4.2 doesn't seem to have that crash any more.

Thanks so much!



You're welcome. Actually you're on an older ubuntu. That build is for ubuntu13.04, so you'll either have to upgrade ubuntu or build it yourself. The latter option is likely going to be less work.
newbie
Activity: 50
Merit: 0

sudo apt-get install libudev1


This is my error output with that command:

@-Ubuntu1:~/Desktop$ sudo apt-get install libudev1
[sudo] password for :
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Package libudev1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libudev1' has no installation candidate

I have tried to run this beforehand:

sudo apt-get update

No luck Sad



On another note, ckolivas, I wanted to thank you for the windows version of 3.4.2. I installed it onto my HP N40L Microserver and have a tonne of block erupters running without a hitch. I only had to install Windows 7, then that WinUSB driver utility which didn't take long at all.

It detects and starts mining with the block erupters so quickly and without error. 3.4.0 used to crash every couple of days, but 3.4.2 doesn't seem to have that crash any more.

Thanks so much!


-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
install ..... libudev

hey mate

Thanks for the advice

But after installing it I still get the same error.

Is there a specific version I need? Sorry, I am a linux noob.

What command should I be using to install it?

I used:

sudo apt-get install libudev-dev

It installed but cgminer still says:

./cgminer: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory
sudo apt-get install libudev1
newbie
Activity: 50
Merit: 0
install ..... libudev

hey mate

Thanks for the advice

But after installing it I still get the same error.

Is there a specific version I need? Sorry, I am a linux noob.

What command should I be using to install it?

I used:

sudo apt-get install libudev-dev

It installed but cgminer still says:

./cgminer: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory
hero member
Activity: 546
Merit: 500
I think its working now. I don't know what I was missing in the shortcut when I first did it since now its open and mining. Just clicking the executable would just close but now that I've got the shortcut running its got 41 shares going at 334 MHashes.

The only thing now I have to find is a way to run cgminer from the taskbar like I've done for GUIMiner and how to control multiple devices when I get more bitcoin miners (one instruction book said to tell it by com ports but that was before WinUSB was the needed).
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Someone have any idea why cgminer 3.4.2 closes when I enter pool login information? I think my eurupter is detected since its not giving me the your using the wrong driver error with the winUSB drivers but It just closes. I'm not sure if theres an error log to look at since it hasn't started doing anything yet.

PM me if you can give me a heads up.

I'm currently trying it on windows 7 since windows vista wouldn't let me set the shortcut commands.

Thanks
Run it from a command prompt and the window can't close. You'll get far more useful information that way.
hero member
Activity: 546
Merit: 500
Someone have any idea why cgminer 3.4.2 closes when I enter pool login information? I think my eurupter is detected since its not giving me the your using the wrong driver error with the winUSB drivers but It just closes. I'm not sure if theres an error log to look at since it hasn't started doing anything yet.

PM me if you can give me a heads up.

I'm currently trying it on windows 7 since windows vista wouldn't let me set the shortcut commands.

Thanks
legendary
Activity: 3586
Merit: 1098
Think for yourself
sometimes main pool is "not submitting work fast enough" but as the pool has not failed cgminer will not switch to backup pool?

That's not a pool failure.

If you don't want that to happen then you'll need to have a pool that provides work fast enough as your primary pool.

Failover only goes to the next pool when the primary actually fails for good and for a certain amount of time.
copper member
Activity: 2310
Merit: 1032
Allright guys, Got a question I cant find an answer too, I am running latest cgminer, set up a back up pool, EEverything is good, But sometimes main pool is "not submitting work fast enough" but as the pool has not failed cgminer will not switch to backup pool?

I shall clarify this a little, When pool is "not submitting work fast enough" there are a trickle of odd shares, this prevents it from switching, and also means I am running at 0.01% of capacity, Is there an to pass work onto backup pool but keeping the first pool as active as poss?
So I am allways at 100% speed no matter what?

Let me know what other info you need. I just input details in cgminer, and went through the options (p) for the pool menu, tryed all the options, none of them seams to run both pools at the same time whilst first pool is in this state.
legendary
Activity: 2674
Merit: 1083
Legendary Escrow Service - Tip Jar in Profile
Can i set the order of the pools directly in the cgminer-command without moving back and forth the pools with user/pass?
java API pools Smiley
Edit: though I should have also mentioned the exact command: poolpriority (API-README)

Now i know what you spoke about. This api has to be enabled in cgminer command first. But it looks i still have to install some form of java. JDK? It tells me only that java is unknown. I run cgminer on rpi.

I hoped there is an easy way to change the order directly in commandline since then i would have a clean stat again.
member
Activity: 63
Merit: 11
1 - Reinstalled the operating system
2 - Installed all the drivers
3 - Installed any and all software
4 - Created a RESTORE POINT (IMPORTANT: Do not insert a single erupter before this point)
I wonder, would you be able to do this with a virtual machine instead? Create a VM with just Windows 7, cgminer, and the drivers installed, then save the state.  Next plug in the miners and do the USB device forwarding. Then, if there's some sort of issue, just reset the virtual machine to the saved state each time. I guess the hard part would just be forwarding 181 USB devices to the virtual machine...
I actually started with VMWare workstation, but there's a small limit on the number of allowed connected USB devices to a VM, and don't even get me started on the stability issues.  I can't definitively speak for the MS hypervisor but I don't expect there to be much different results as the underlying hardware support that facilitates virtualization is probably the limiting factor.  For mining with many usb erupters, there's really no efficient way to virtualize this process because it does take quite a bit of CPU power and the virtualization overhead and limitations won't let you get too far.  Currently without virtualization, I'm running an Intel quad i5 3.2GHz with 2GBs of ram and it's constantly at 45% CPU, and about 1.1 GB of ram, using 3 separate USB buses to run 181 erupters.  I expect ~300 erupters to be the capacity for this CPU.. hope to find out in the very near term Smiley
Jump to: