cgminer 3.2.0 crashes my raspberry pi when using 10 black arrow lancelots.
Regarding the crash, being linux, you should be able to get a crash dump that shows what happened.
The RPi binaries in my github are compiled with -g ... I'll put up the 3.2.0 today
So if you:ulimit -c 2097152
before you run it, it will create a core dump
Then,gdb cgminer core
Will produce a backtrace
In addition, I randomly get this when I start it on 3.1.2
[2013-06-01 17:25:57] Icarus Detect: Test failed at /dev/ttyUSB7: get 00000000, should: 000187a2
Sometimes I'll get that on 5 or 6 devices... sometimes just one. Not sure what is causing that but upgrading won't even let me run them, it locks up after starting within 10 seconds.
Yes that's basically how the Icarus device are. Somewhat unreliable to initialise
One of the big advantages of the default hotplug settings (3.2.0) is that when the devices don't work, it will try again 5 seconds later and usually they work the next time.
(I'll need to add to hotplug to give up on a device after a few tries in a row ... if the device really is no good or wont initialise)
With the latest cgminer git there is a python script in there called usbtest.pyhttps://github.com/ckolivas/cgminer/blob/master/usbtest.py
(I've been using this for quite a long time, about a year, but recently added it to the git)
It talks to the old serial device:
With that you can send a single command to a USB miner.
An example to use it:
Firstly either make sure cgminer isn't running, or disable hotplug with java API 'hotplug|0'
Then AFTER that, plug in your USB miner
Then e.g. ./usbtest.py /dev/ttyUSB0 icarus
(you'll have to find your miner number e.g. ls /dev/ttyUSB*
It sends 2 test icarus work items to the device and shows the expected result and the actual result
You will find that on occasion it fails or returns incorrect results - even on the serial-USB kernel setup with python.
i.e. all of this simply shows that indeed they sometimes fail to initialise, but with hotplug, usually get it right the 2nd time if it fails the first time.