loshia
Legendary
Offline
Activity: 1610
Merit: 1000
|
 |
August 23, 2014, 04:45:04 PM Last edit: August 25, 2014, 04:03:28 AM by loshia |
|
reverse engender Hehe.  Hehe my grammar sucks  You need oscilloscope and a packet analyzer. Add some brain cels and you are there. This is not a rocket science you know. The Chinese stollen "KNOWHOW" can easily be revealed. But why someone needs to do that? Nonsense  Opening the source will allow other folks to do job instead of them they just do not get it. Sometimes I am wondering how Chinese move forward in general but this is another story But all of you got general idea right? Do not buy something which is not open sourced. No matter of its origin China US or Europe!!!! Period! And when you need to complain use google to translate your massage to mandarin and send a pigeon(attach your message to the leg of the bird) mail to your Chinese hardware vendor  Hehe 
|
|
|
|
toasterboy24
Newbie
Offline
Activity: 1
Merit: 0
|
 |
August 24, 2014, 05:48:36 AM |
|
This is my very first time ever minning and I love it. How ever you guys will prolly laugh at me when i say I am only running a Feforce GT 630 2GB graphics card and a intel core 3 quad CPU at 2.67GHz and 16 Gb ram any suggestions how to mine a little faster without spend a lot of money or none.
|
|
|
|
os2sam
Legendary
Offline
Activity: 3586
Merit: 1099
Think for yourself
|
 |
August 25, 2014, 01:15:09 AM |
|
This is my very first time ever minning and I love it. How ever you guys will prolly laugh at me when i say I am only running a Feforce GT 630 2GB graphics card and a intel core 3 quad CPU at 2.67GHz and 16 Gb ram any suggestions how to mine a little faster without spend a lot of money or none.
You need to get some mining hardware. CGMiner doesn't support GPU's nor CPU's. And hasn't for a very long time. This is a good starting place for researching mining hardware. https://en.bitcoin.it/wiki/Mining_hardware_comparison
|
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
|
|
|
spiceminer15
|
 |
August 28, 2014, 05:01:45 AM |
|
can anyone help me get temperature readings from cgminer API?
i'm looking through the docs and I don't see it,
well now I see tempature if I request "devs". but only one of the blades
edit, "stats" seems to have what Im looking for
|
|
|
|
Count_Frackula
|
 |
August 28, 2014, 04:12:53 PM |
|
This is my very first time ever minning and I love it. How ever you guys will prolly laugh at me when i say I am only running a Feforce GT 630 2GB graphics card and a intel core 3 quad CPU at 2.67GHz and 16 Gb ram any suggestions how to mine a little faster without spend a lot of money or none.
Short answer, stop mining until you replace all your hardware. A GeForce 630 won't be very power efficient, even if you run Cudaminer - which would give you your fastest hashing. In short, you'll end up paying for more in power costs than you'd make in Cryptocurrency.
|
|
|
|
spiceminer15
|
 |
August 28, 2014, 08:49:01 PM |
|
anyone know how the "elapsed" time is formatted in the API? how to convert it to readable time. I figured i'd ask before trying to figure it out
|
|
|
|
scole7
Newbie
Offline
Activity: 9
Merit: 0
|
 |
August 29, 2014, 10:15:41 AM |
|
I'm tried to follow the instructions in windows-build.txt for using mingw to build a native windows cgminer, but I get USB errors. It's not a hardware problem. The pre-built binary cgminer.exe runs fine. I saw this in the http://ck.kolivas.org/apps/cgminer/README... Native WIN32 build instructions: see windows-build.txt but these instructions are now hopelessly out of date Are there updated instructions for doing a native windows build with mingw?
|
|
|
|
os2sam
Legendary
Offline
Activity: 3586
Merit: 1099
Think for yourself
|
 |
August 29, 2014, 01:39:15 PM |
|
I'm tried to follow the instructions in windows-build.txt for using mingw to build a native windows cgminer, but I get USB errors. It's not a hardware problem. The pre-built binary cgminer.exe runs fine. I saw this in the http://ck.kolivas.org/apps/cgminer/README... Native WIN32 build instructions: see windows-build.txt but these instructions are now hopelessly out of date Are there updated instructions for doing a native windows build with mingw? Since there's a prebuilt Windoze binary that works fine and that the instructions are hopelessly out of date, why do you need to build your own?
|
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
|
|
|
scole7
Newbie
Offline
Activity: 9
Merit: 0
|
 |
August 29, 2014, 02:12:57 PM |
|
You can read the long story below if you want, but short story I want make some changes and build my own version. I can get a cgminer.exe built but when I run it, I get these errors...
[2014-08-29 09:17:21] Started cgminer 4.5.0 [2014-08-29 09:17:22] BAS 0 RequestIdentify usb write err:(-7) LIBUSB_ERROR_TIMEOUT [2014-08-29 09:17:22] BAS 0 attempted reset got err:(0) LIBUSB_SUCCESS [2014-08-29 09:17:22] BAS 0 RequestIdentify usb write err:(-7) LIBUSB_ERROR_TIMEOUT [2014-08-29 09:17:22] BAS 0 attempted reset got err:(0) LIBUSB_SUCCESS [2014-08-29 09:17:22] BAS 0 RequestIdentify usb write err:(-7) LIBUSB_ERROR_TIMEOUT
Obviously related to USB , but not sure what I need to do to resolve. Any help would be appreciated.
Long story... I'm running cgminer for a crowd source funding project call Bitcoin Utopia. It allows participants to mine and donate to several non-profit projects. First, pardon my lack knowledge and terminology. Very new to running this. Anyway, it runs cgminer a little different than intended, I think. It doesn't run cgminer continuously. There are different size "work units" that request a certain amount of work based on the size of your mining rig. Once it completes that chunk of mining, cgminer shuts down, a new work unit is initialized and cgminer is started again. An issue many of us are having, especially with r-boxes, is they periodically lock up or freeze. We call it "the-blue-light-stopped-blinking" problem. We're also trying to get it working with Gridseed miners too. We've downloaded a version of cgminer that will works with Gridseed, but after it completes the first work unit, stops and starts another job, the Gridseed miner is locked and must be powered off and on to start working. I've looked at the cgminer source and I'm not sure I see where it releases the USB resources when it shuts down. Thought that might be the issue. Not a C programmer, but can follow it a little. May not the issue, want to try to make it work. That's why I want to be able build my own cgminer. Again, any help would be appreciated. I don't mind reading, but there's so much info, not sure what to read.
Thanks,
Steve
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4508
Merit: 1668
Ruu \o/
|
 |
August 29, 2014, 02:16:09 PM |
|
You can read the long story below if you want, but short story I want make some changes and build my own version. I can get a cgminer.exe built but when I run it, I get these errors...
[2014-08-29 09:17:21] Started cgminer 4.5.0 [2014-08-29 09:17:22] BAS 0 RequestIdentify usb write err:(-7) LIBUSB_ERROR_TIMEOUT [2014-08-29 09:17:22] BAS 0 attempted reset got err:(0) LIBUSB_SUCCESS [2014-08-29 09:17:22] BAS 0 RequestIdentify usb write err:(-7) LIBUSB_ERROR_TIMEOUT [2014-08-29 09:17:22] BAS 0 attempted reset got err:(0) LIBUSB_SUCCESS [2014-08-29 09:17:22] BAS 0 RequestIdentify usb write err:(-7) LIBUSB_ERROR_TIMEOUT
Obviously related to USB , but not sure what I need to do to resolve. Any help would be appreciated.
If you compiled with your own libusb installed instead of the included one that comes with cgminer, don't do that. There's a reason we include our own custom version of libusb in the code, and that's because every other version out there is buggy.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
scole7
Newbie
Offline
Activity: 9
Merit: 0
|
 |
August 29, 2014, 03:26:14 PM Last edit: August 29, 2014, 04:44:23 PM by scole7 |
|
So I started with a fresh mingw install to make sure I didn't have an incorrect libusb anywhere. The downloaded 4.5.0 cgminer binary runs fine, but still get the usb errors with the version I build. Here are commands I used to build... autoreconf -fvi CFLAGS="-O2 -msse2" ./configure --enable-bflsc --enable-icarus --enable-bitforce --enable-bitfury --enable-usbutils --disable-opencl --disable-adl make Do I go through the libusb install process described in windows-build.txt below, but use the libusb folder included with cgminer instead of downloading libusb? Or will it automatically use it when going through the cgminer build process? ************************************************************************************** * Optional - Install libusb if you need auto USB device detection; required for Ztex * ************************************************************************************** Go to this url ==> http://git.libusb.org/?p=libusb.git;a=snapshot;h=master;sf=zipsave the file to your local storage. Open the file and copy the libusb* folder to \MinGW\msys\1.0\home\(your user directory/folder). Or if you do not want to download the file directly and would like to use git then Type the following from the MSYS shell in your home folder. git clone git://git.libusb.org/libusb.git Run the MinGW MSYS shell (Start Icon/keyboard key ==> All Programs ==> MinGW ==> MinGW Shell). Change the working directory to your libusb project folder. Example: cd libusb-something [Enter Key] if you are unsure then type "ls -la" Another way is to type "cd libusb" and then press the tab key; It will auto fill. Type the lines below one at a time. Look for problems after each one before going on to the next. ./autogen.sh --disable-debug-log --prefix=/MinGW make make install You may now exit the MSYS shell. Ctrl-D or typing "logout" and pressing the enter key should get you out of the window. You will have to copy "libusb-1.0.dll" to your working cgminer binary directory. You will find "libusb-1.0.dll" in the \MinGW\bin directory/folder.
|
|
|
|
scole7
Newbie
Offline
Activity: 9
Merit: 0
|
 |
August 29, 2014, 08:14:44 PM |
|
If you compiled with your own libusb installed instead of the included one that comes with cgminer, don't do that. There's a reason we include our own custom version of libusb in the code, and that's because every other version out there is buggy.
I did a build using the libusb included, but still get the LIBUSB errors. These are the commands I used... autoreconf -fvi CFLAGS="-O2 -msse2" ./configure --enable-bflsc --enable-icarus --enable-bitforce --enable-bitfury --enable-usbutils --disable-opencl --disable-adl make There were no errors, that I'm aware of anyway. a cgminer.exe was created. There's not a libusb dll I need to deploy is there?
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4508
Merit: 1668
Ruu \o/
|
 |
August 29, 2014, 09:51:14 PM |
|
If you compiled with your own libusb installed instead of the included one that comes with cgminer, don't do that. There's a reason we include our own custom version of libusb in the code, and that's because every other version out there is buggy.
I did a build using the libusb included, but still get the LIBUSB errors. These are the commands I used... autoreconf -fvi CFLAGS="-O2 -msse2" ./configure --enable-bflsc --enable-icarus --enable-bitforce --enable-bitfury --enable-usbutils --disable-opencl --disable-adl make There were no errors, that I'm aware of anyway. a cgminer.exe was created. There's not a libusb dll I need to deploy is there? Well -msse2 is not recommended in the docs, and opencl and adl aren't even in the configure so get rid of those. The dll it picks up when it runs is what determines which libusb is being used so yes that's why I distribute my built ones with the binary. Either use my built libusb dll or get the one built from the libusb source I include.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
scole7
Newbie
Offline
Activity: 9
Merit: 0
|
 |
August 29, 2014, 11:20:35 PM |
|
There's no libusb dll in the 4.5.0 binary for windows. I can unzip the binary deployment in a directory and it runs fine. Here's the commands I just tried for a build using mingw... autoreconf -fvi CFLAGS="-O2" ./configure --enable-avalon --enable-avalon2 --enable-bflsc --enable-bitfury --enable-cointerra --enable-drillbit --enable-hashfast --enable-hashratio --enable-icarus --enable-klondike make
Still get usb errors. How do you build your windows binaries?
|
|
|
|
|
scole7
Newbie
Offline
Activity: 9
Merit: 0
|
 |
August 30, 2014, 12:02:54 AM |
|
That is help and I appreciate the advice. Does mingw just not work on windows or does it require better knowledge of how to build on windows?
|
|
|
|
Morblias
|
 |
August 30, 2014, 01:12:34 AM |
|
Any idea what I am doing wrong here? Fresh install of ubuntu 14, tried this: sudo apt-get install build-essential autoconf automake libtool pkg-config libcurl3-dev libudev-dev git clone https://github.com/ckolivas/cgminer cd cgminer sudo ./autogen.sh sudo ./configure --enable-bflsc sudo make sudo make install cgminer It shows the following trying to run my BFL Monarch: BitForceSC detect (3:3) failed to initialise (incorrect device?) USB init, open device failed, err -3 you don't have privilege to access BAS device 3:3
|
Tips / Donations accepted: 1Morb18DsDHNEv6TeQXBdba872ZSpiK9fY
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4508
Merit: 1668
Ruu \o/
|
 |
August 30, 2014, 02:25:49 AM |
|
Any idea what I am doing wrong here?
It shows the following trying to run my BFL Monarch:
BitForceSC detect (3:3) failed to initialise (incorrect device?) USB init, open device failed, err -3 you don't have privilege to access BAS device 3:3
I really hate doing this but: https://github.com/ckolivas/cgminer/blob/master/ASIC-README#L191Plus the monarch code is not in the master branch so you're wasting your time unless you git checkout the bflsc28 branch
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4508
Merit: 1668
Ruu \o/
|
 |
August 31, 2014, 04:25:38 AM |
|
Here's what's been going on in ck-coding land with a quote from my post in the pools subsection: http://solo.ckpool.org No frills, no fuss 0.5% fee anonymous solo bitcoin mining for everyone No registration required, no payment schemes no pool op walletsConfiguration:Just point your miner to: stratum+tcp://solo.ckpool.org:3333 Set your username to your btcaddress with any or even no worker extension, and any password. eg: cgminer -o stratum+tcp://solo.ckpool.org:3333 -u 1PKN98VN2z5gwSGZvGKS2bj8aADZBkyhkZ.0 -p x If you enter an invalid address you will be rejected Suitable for: Large mining farms Regular miners struggling to recoup costs who wish to take extra risk for greater reward potential for part or all of their hashrate The last backup for all miners who don't have a solo setup or wish to avoid the overheads of running one Miners with old/inefficient miners that will never earn any rewards through regular mining that wish to leave it mining as a lottery Proxy support:Miners with many devices wishing to consolidate their devices into a single connection to solo ckpool are recommended to use the complementary ckpool code as ckproxy stratum proxy (for linux). Ckpool code is available here: https://bitbucket.org/ckolivas/ckpoolStatistics:Solo.ckpool.org currently only displays minimal per user information based on btcaddress. To access this, enter your BTC address at the end of: http://solo.ckpool.org/users/Advantages over regular solo mining:Mining at solo.ckpool.org avoids the overheads of running a full bitcoin node that requires both great storage and bandwidth for optimal performance. Solo.ckpool.org is extensively connected to high speed low latency bitcoin nodes for rapid block change notification and propagation. Unlike regular pools, ckpool never mines transaction-free blocks due to its ultra-scaleable code which has miners on both new blocks and transactions concurrently. How it works:ckpool automatically takes your bitcoin address and gives you a unique stratum connection mining to your own address. If you find a block, all 25BTC + transaction fees get generated directly at your bitcoin address! There is no need to worry about passwords, logins, withdrawals, authentication or pool wallet hacks. You remain anonymous apart from your btc address. All you need to confirm you are mining to your own address is to examine the coinbase and template sent to you over stratum. Note that if you do not find a block, you get no reward at all with solo mining. 0.5% goes to 1PKN98VN2z5gwSGZvGKS2bj8aADZBkyhkZ to operate the pool and contribute to further ckpool code development. Pool code and pool operated and created by Con Kolivas, creator of cgminer and ckpool.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
ManeBjorn
Legendary
Offline
Activity: 1288
Merit: 1004
|
 |
August 31, 2014, 05:00:15 AM Last edit: August 31, 2014, 05:32:14 AM by ckolivas |
|
This is great! I am going to point some power at it when I get home It will be interesting to see how it goes. Excellent work as always.  Here's what's been going on in ck-coding land with a quote from my post in the pools subsection:
|
|
|
|
|