Bitcoin Forum
September 27, 2024, 10:17:44 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 [366] 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 ... 572 »
7301  Bitcoin / Mining software (miners) / Re: CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.6.1 on: October 15, 2013, 07:38:09 PM
wouldn't see so bad to report if git hub had report bugs option for cgminer on. then all the things you find wouldn't get buried over. This post is at least 600 pages deep Grin Grin Shocked .
People were using it for support instead of bug reporting.
7302  Bitcoin / Mining software (miners) / Re: CGminer v3.6.1 on Broadcom based DD-WRT / OpenWRT on: October 15, 2013, 08:00:42 AM
Updated my cgminer, Got it on a different hub with just one BE right now. It's running smooth so far, I'll check it in 30 minutes and add another BE. This version of CGminer may have fixed the timeout issues I had before. I may try this on my tablet later on and see if that fixes I had on that too. Very promising.

Update: Added another BE, Spat out LIBUSB errors after a while. Fun.
Which libusb errors?
7303  Bitcoin / Mining software (miners) / Re: CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.6.1 on: October 15, 2013, 01:52:50 AM
In case it helps you.  I just got a LOT of this on the newest version after running for a few hours:

[2013-10-14 20:55:37] BAL 0 usb write err:(-11) LIBUSB_ERROR_NO_MEM
 [2013-10-14 20:55:37] BAL0: RequestQueJob failed (err=-11 amt=0)
 [2013-10-14 20:55:37] BAL 0 usb write err:(-11) LIBUSB_ERROR_NO_MEM
 [2013-10-14 20:55:37] BAL0: RequestResults failed (err=-11 amt=0)

That's the one I got too.

M
Did either of you try the experimental binaries I listed above?

This suggests a memory leak within the windows specific part of the libusb code. Anyway now that timeouts are managed differently it means we can try libusbx instead of libusb, so I'm putting up some testing binaries that use it. Please try them, but I'm not holding much to hope.

http://ck.kolivas.org/apps/cgminer/temp/
7304  Bitcoin / Mining software (miners) / Re: CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.6.1 on: October 14, 2013, 10:07:07 PM
i'm running 24 AMU's on a raspberry pi. cpu load is down to 23-25% now with 3.6.1. had about 60% cpu load on 3.5.1 :-D
Well that's nice Smiley

3.6.1 isn't working for me.  (win7x64 - 33 usb block erupters).   I let it run for a while, then it stopped mining, repeatedly saying something like USB write error_no_mem.

I tried to copy/paste the error but lost it.  I can get it again if need be.
And FFS LOL windows. Always with the new and exciting modes of failure. This suggests a memory leak within the windows specific part of the libusb code. Anyway now that timeouts are managed differently it means we can try libusbx instead of libusb, so I'm putting up some testing binaries that use it. Please try them, but I'm not holding much to hope.

http://ck.kolivas.org/apps/cgminer/temp/
7305  Bitcoin / Mining software (miners) / Re: CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.6.1 on: October 14, 2013, 09:26:44 PM
With this new feature in 3.5.1:

Quote
- If we switch away from a pool in failover mode, we will now only switch back to it if it's up for at least 5 minutes to avoid reconnecting to pools that are only intermittently up - good for DDoS situations which we've seen a lot of lately.

Is there a way to adjust the switch back timing?  When mining Altcoins on a multi coin pool like Middlecoin or Hashcows, 5 minutes is way too long since fail-over gets triggered upon switch of coin. So if the pool is mining a certain most profitable scrypt coin for a round of 10 minutes only, then half that is lost because of this new feature!  The ideal would be to set it down to 1 minute or even just 30 seconds.

Repeating this since it's a feature carried over into 3.6.1.

Any chance we can adjust the switchback time from failover?

Sorry but code designed just for altcoin mining takes absolutely last priority.
7306  Bitcoin / Mining software (miners) / Re: CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.6.1 on: October 14, 2013, 01:38:48 PM
Ok, let's try again. 3.6.1 is up now (keeping the old announce but editing it since so little has changed). This should fix things.
7307  Bitcoin / Mining software (miners) / Re: CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.6.0 on: October 14, 2013, 12:34:42 PM
Ah ok, some last minute fsckage. Will rework a 3.6.1 soon.
7308  Bitcoin / Mining software (miners) / Re: CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.6.0 on: October 14, 2013, 11:31:55 AM
[2013-10-14 12:27:59] Started cgminer 3.6.0
 [2013-10-14 12:27:59] Loaded configuration file /home/.cgminer/cgminer.conf
 [2013-10-14 12:28:00] No devices detected!
 [2013-10-14 12:28:00] Waiting for USB hotplug devices or press q to quit
 [2013-10-14 12:28:00] Probing for an alive pool

Did you leave it up for a bit? Sometimes it can take a while for them to hotplug. Also show us the output of 'cgminer -n' and lsusb please.
7309  Bitcoin / Mining software (miners) / Re: CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.6.0 on: October 14, 2013, 11:24:59 AM
I don't have any bitfurys [yet]
however
a re-compilation with
just --enable-icarus
and it does not detect any amu's
 
this is a fairly clean system - I was testing a new debian system for general use so I thought I'd test this
More info about "does not detect" ?
7310  Bitcoin / Mining software (miners) / Re: CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.6.0 on: October 14, 2013, 11:10:18 AM
3.5.1 works for me but
3.6.0 with
./configure --enable-icarus --enable-bitfury --disable-opencl
will not find any USB Eruptors now


I hear AMUs and BF1s don't like to work together somewhat. Try unplugging them and replugging them while it's running or some other combination.
7311  Bitcoin / Mining software (miners) / CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.6.0 on: October 14, 2013, 10:52:54 AM
New version: 3.6.01 - 14th October 2013

The substantial rewrite of the usb code has stabilised. Basically cgminer no longer depends anywhere near as much now on libusb, doing a lot of extra work itself to avoid bugs in the libusb code. Numerous drivers should benefit from this in both performance and stability. Also a new driver in this version. The code base diverged from that of 3.5.1 so some of the changes between them were not shared since the issues were tackled a different way, while many of the changes in the changelog are repeated from 3.5.1. Sorry, some of the build request changes for macosx and other architectures did not get looked at due to lack of time. A lot of the driver changes are in preparation for new devices around the corner along with tackling head on long standing issues with libusb we have been unable to address.


Human readable changelog:

3.6.1:
- Fixed the breakage of devices dependent on control transfers (like AMUs).

3.6.0:
- Rewrite of the usb communication code to using all the asynchronous functions of libusb and doing all timeouts internally within the cgminer code. This should dramatically reduce or even obliterate the long timeout errors people were seeing with some devices and makes communication less prone to failure. Here's hoping the AMU devices finally perform reliably on windows with it. Overall, latency, errors and overhead should be lower while performance slightly higher.
- Completely separate read/write communications on USB allowing them to happen concurrently for the few devices that can benefit from this.
- Support for bitburner fury boards
- Updates to klondike code
- Fixes for newer GPU SDKs on older GPUs that would fail to start.
- Cleaner shutdowns for USB to minimise risk of hanging on shutdown.
- New driver skeleton design for devices that wish to do their own work management or do not need to split work up into parts - currently only used by BPMC bitfury devices.
- Minor performance/overhead improvements.
- Low level bugfixes/improvements.
- Most of the other changes from 3.5.0->3.5.1


Full changelog:

3.6.1:
- Emulate the libusb_control_transfer sync setup in our async variant.
- usbutils - make all libusb_error_name messages the same

3.6.0:
- increasing max miners for avalon driver
- using separate identifier for bitburner fury boards
- changes to bitburner driver for bitburner fury boards
- hexstr is too small in test_work_current
- Windows uses errno for WSAETIMEDOUT
- Convert the usb callback function to using cgsem_t timed waits to avoid race
conditions with conditionals/mutexes.
- Give correct return code in cgsem_mswait
- Check for correct timeout error in cgsem_mswait
- Fix util.h exports for cgsem_mswait
- Implement a generic cgsem_mswait similar to sem_timedwait
- Use the one LIBUSB_ERROR_TIMEOUT for cancelled transactions since this error
is explicitly tested for in various drivers.
- Do not use locking on usb callback function pthread signalling to prevent
deadlock with libusb's own event lock.
- Use a write lock when performing any USB control transfers to prevent
concurrent transfers.
- Free a libusb transfer after we have finished using it to avoid a dereference
in usb_control_transfer
- Do not perform bfi int patching for opencl1.2 or later.
- Although async transfers are meant to use heap memory, we never return before
the transfer function has completed so stack memory will suffice for control
transfers, fixing a memory leak in the process.
- klondike - correct/reverse min/max stats
- api incorrect message name
- klondike - use a link list queue rather than a circular buffer - and add
timing stats
- Use a timeout with usb handle events set to a nominal 200ms and wait for the
polling thread to shut down before deinitialising libusb.
- Use stack memory for hex used in stratum share submissions.
- Use stack memory in test_work_current, avoiding a malloc/free cycle each time.
- Provide a lower level __bin2hex function that does not allocate memory itself.
- Convert the bitfury driver to use the hash_driver_work version of hash_work.
- Add a hash_driver_work function to allow for drivers that wish to do their own
work queueing and management.
- Convert all usb control transfers to asynchronous communication with our own
timeout management as well.
- Klondike - increase circular read buffer size
- Klondike - extra zero value and range checking in temp conversion
- klondike - display MHz also
- Make pthread conditional timeouts handle all bulk usb transfer timeouts
performing libusb_cancel_transfer, disabling timeouts within libusb itself.
- Avoid calling get_statline_before on exit to avoid trying to use it on drivers
in an indeterminate state.
- Avoid calling get_statline on exit.
- Add a small amount to the usb timeout before cancelling to allow for a regular
usb polling interval to pass.
- Do not attempt to clear a usb halt before sending the cancel message since all
transfers should normally be cancelled before attempting to clear a halt
condition, and only change the return message to a timeout if it's consistent
with a cancellation.
- Retry up to USB_RETRY_MAX times to clear a halt condition before failing.
- Show the error number as well as the description in erroring bulk transfers.
- Drop logging level for failed to connect to stratum to verbose mode only since
we hit it regularly.
- We are always dependent on libusb handling events so use the blocking
libusb_handle_events in the polling thread and use a bool to know if we should
continue polling.
- Use fractional hashrate return values in bitfury_scanhash to minimise the
number of times we return 0 based on hashrate so far to further damp out
displayed hashrate.
- Check for presence of driver name in DRIVER_COUNT_FOUND to prevent strcmp on a
null pointer when a driver is not built in.
- CMR allow sending flash and clock commands
- Kill off threads that have failed using hash_sole_work instead of just
disabling them.
- Make the bf1 getinfo size a macro
- Failing to add_cgpu in bitfury should be a terminal failure.
- Check return values when attempting to open a BF1 device and set the msg size
as a macro.
- Display errors on failed usb read and write and consider sequential IO errors
a permanent failure.
- Use libusb's own error name function instead of hand coding the error names.
- Limit ms_tdiff to 1 hour as a sanity check.
- Enable the usb buffer in avalon driver.
- Check for async transfer variants of error messages.
- Remove unused variables.
- Try switching pools if for some reason we end up with only idle pools and have
ended up current_pool set to an idle one.
- Check a pool is stable for >5 mins before switching back to it.
- Minimise the time between dropping the read devlock and grabbing the write
devlock to avoid tons of logging spam in the interim.
- Check for libusb transfer stall error to be consistent with async IO errors
returned for a halt condition.
- Check for continuous IO errors on USB and consider the device inactive if more
than retry max.
- Make the devlock a cglock in usbutils and only grab the write lock for
fundamental changes allowing us to send and receive transfers concurrently
without lock contention.
- Prevent overflows in us_tdiff and ms_tdiff.
- Change second initialise message on bitfury verbose mode.
- Submitting an ntime offset nonce needs to be done on a copy of the work
instead of the original so abstract out shared components as much as possible,
minimising strdups in copy_work and make submit_work_async work take copied
work, cleaning up code in the process.
- Provide a way for drivers to submit work that it has internally rolled the
ntime value by returning the amount it has ntime rolled to be added.
- Typo in configure.ac
- Remove unmaintained broken ztex driver.
- Icarus - use a data structure for I/O rather than magic numbers
- delete old tracked ccan/opt/*.o files
- klondike correct cvtKlnToC() temperature calculation
- klondike - correct 1st reply debug based on define
- klondike - debug dump structured replies
- klondike - avoid division by zero if maxcount is unexpectedly zero
- klondike store and report errorcount and noise
- klondike - fix chipstats api stats buffer overrun with 16 chips
- klondike add new nonecount only once
- klondike - report mh/s based on nonces found + put old estimate into API stats
- klondike use a memcpy
- klondike fix bracket tabs indenting
- api.c missing Klondike from ASIC list
- Klondike update code to current git
- Add 2nd CMR to 01-cgminer.rules
- Add Klondike to 01-cgminer.rules
- Klondike to main directory
- Klondike consistent code spacing
- Klondike update driver code to current git
- update firmware for 16 chips, add dist files
- beta final 0.3.0 release
- updated firmware, IOC method
- prevent nonces when not state W
- added driver config option support
- fixes for 300 MHz, fix K1 parts list
- update driver, docs
- update firmware & utils
- updated cgminer driver for 3.3.1
- update firmware and driver, create new cgminer fork
- update klondike driver
- add cgminer driver file as-is
- Add API output displaying USB cancellations.
- Store statistics on how often we have to cancel async bulk transfers and add a
debug message whenever we do.
- Treat any unexpected timeouts waiting for async transfers as though there may
be a usb halt condition and attempt to clear the halt before cancelling the
tranfer.
- Remove zero packet flag on usb as it's unsupported outside linux and
unnecessary.
- Fake the libusb transfer timed out message if we force cancel it with our own
async functions.
- Use asynchronous transfers for all bulk transfers, allowing us to use our own
timers and cancelling transfers that take too long.
- Add libusb error warning message when significant error occurs.
- Icarus CMR2 detect FPGA setup
- Disable bitfury device thread on it disappearing.
7312  Bitcoin / Hardware / Re: CoinTerra announces its first ASIC - Hash-Rate greater than 500 GH/s on: October 13, 2013, 11:16:18 PM
For what it's worth, CoinTerra have been talking to me about their MCU protocol and I have been working on a preliminary driver model for them, so they have most definitely not disappeared. I suspect they're approaching the communication via forum aspect differently to other manufacturers.
7313  Bitcoin / Mining software (miners) / Re: CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.5.1 on: October 13, 2013, 08:55:58 PM
Actually we've reached a time where almost no one is making a profit mining which won't pass for maybe another year. Is it really time that people would be interested in a donation option?
7314  Bitcoin / Mining software (miners) / Re: CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.5.1 on: October 13, 2013, 04:52:52 AM
Code:
 [2013-10-12 23:39:07] USB init, claim ifinfo 0 interface 0 failed, err -3 - AMU device 20:9

what does this mean on a mac?

also getting:
Code:
[2013-10-12 23:34:49] USB init, claim ifinfo 0 interface 1 failed, err -3 - BF1 device 20:7-i1
I wish I knew. -3 is an access permissions problem, whatever the heck that means on osx.
7315  Bitcoin / Mining / Re: Solo Mine as last backup on: October 13, 2013, 03:59:48 AM
Bitcoind solo can't keep up with ASIC hashrates, struggling beyond 5GH even on a powerful PC. Install pool software if you want more than that.
7316  Bitcoin / Mining software (miners) / Re: CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.5.1 on: October 13, 2013, 03:57:25 AM
Someone told me how to switch to the 3.5.1 branch since I had only been getting 3.5.0; the 3.5.1 works fine.

-MarkM-

It still shouldn't have been a problem on the master branch... (which still reads 3.5.0 but is actually the branch under active development).
7317  Bitcoin / Mining software (miners) / Re: CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.5.1 on: October 13, 2013, 02:55:25 AM
I have been running BLT and AMU devices on Fedora Core 17 using cgminer 3.2.0 but even a fresh clone of the github repo, which builds as 3.5.0, does not work for my AMU devices. It detects my BLTs but not the AMUs. I for now I have had to go back to using the old 3.2.0.

(I even tried bfgminer again, but a git pull of that to get its latest code results in one that wont' detect my BLTs as well as not detecting  my AMUs so for me bfgminer is still looking less useful than cgminer because at least the ancient 3.2.0 of cgminer will run my eruptors and lancelots.

I would like to be able to update though. Does anyone know why more-recent versions than 3.2.0 do not work?

-MarkM-

Bizarre. Nothing in the new code that shouldn't detect what the old code could. Check your permissions and udev rules file and that you built in full support since you're compiling it for yourself.
7318  Bitcoin / Mining software (miners) / Re: CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.5.1 on: October 12, 2013, 10:44:04 PM
Re: Zadig

Most of the confusion stems from the fact people think of it as a driver when it is not.

Zadig is a tool to associate a driver with a device and it comes prepackaged with the WinUSB driver which is what cgminer uses with all USB devices.
7319  Bitcoin / Mining software (miners) / Re: CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.5.1 on: October 12, 2013, 05:57:07 AM
Any way we could get this fixed ?
On a fresh install with 13.9 AMD drivers, thus having to recompile the OpenCL kernels :

[SNIP]

Should be fixed in git master now. The issue is BFI INT patching doesn't work beyond Opencl1.1, so I've disabled it when it detects a new OpenCL. You may or may not get lousy performance without that patching, you'll have to try and see. Older cards like older OpenCL versions anyway.
7320  Bitcoin / Hardware / Re: HashFast announces specs for new ASIC: 400GH/s on: October 12, 2013, 12:33:26 AM
it'll come preinstalled with cgminer which ckolivas has already seen and will be working on.

I think this gets overlooked a lot.  Having an experienced mining software developer woking on product software before launch has not been usual way around here.  It's a very nice change and I'm looking forward to the results. +1 to hashfast for being proactive on this.

Agreed.
Thanks for your approval. Remember I just write the software though and have no control over the how when and what of the hardware performance, delivery, price, schedule etc. etc. My sum input into the hardware is only to do with the communication protocol and some input into how the microcontroller works. For my part, I have been pleased with what I've been involved in. That should not be taken as any kind of comment positive or negative about the hardware.

con, i'm thinking of installing the integrated cgminer/controller drivers directly onto my solo mining server which runs Stratum.  how well would that work?
The final driver will be just part of a regular cgminer release so you can do whatever you want with it, so running it from any sort of PC or embedded device that can run cgminer would be fine. To run the stratum server as well as the mining software it'd probably need to be a real PC though, as the RPi isn't really up to that.
Pages: « 1 ... 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 [366] 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 ... 572 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!