Occationally the cgminer log says:
--------------------------------------------------------------------
[2013-07-31 23:36:10] BAJ2: GetResults failed (err=-8 amt=0)
[2013-07-31 23:36:11] BAJ2: RequestResults failed (err=-4 amt=0)
[2013-07-31 23:36:12] BAJ 2 failure, disabling!
[2013-07-31 23:36:12] Thread 3 being disabled
and my Jalapeno stops working.
Can anybody tell me what this (especially the codes err=..., amt=...) mean ?
Thanks in advance
amt = amount (I think...). Possibly if i/o op partially succeeded. Tells you the amount of bytes that were transfered., Personally I have never seen anything else than 0
err = error code. This is specific to the function called.
depending on the trace err is werr or rerr to indicate if the error happened on read or write
For instance error returned for doing i/o with a USB device usually maps with libusb error codes that can be found at
/usr/include/libusb-1.0/libusb.h
ie:
LIBUSB_ERROR_TIMEOUT = -7,