|
November 02, 2014, 08:45:24 AM |
|
So, most of the miners Ive ever tried on the PI absolutely hate its USB ports.. Ive had stability issues, CRC packet tossing problems, LIBUSB timeout errors ... enough to drive anyone insane w/ a PI....
A year or go w/ some miners back then I remedied the issue by adding:
dwc_otg.lpm_enable=0 dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x3
to my /boot/cmdline.txt file ... it fixed the issues at the time...
>> to today, Ive had issues w/ newer 'faster' miners. Like the ones mentioned above, on various different hardware.
Well, after wanting to throw all my pi's out or just putting 1 per miner just so they 'might stay stable' ... I just knew there had to be / hopefully was a magic setting that would fix it all.... The rest of that puzzle was solved today (hopefully, so far it is)...
add this to the /boot/cmdline.txt as well: dwc_otg.speed=1
This setting forces the USB ports on the pi into USB 1.1 mode and I believe disables some other highspeed 2.0 features as well.
As it turns out, the PI hates having a USB 2.0 or higher port plugged into it, it causes enormous latency issues w/ devices(in the form of packet loss, the exact thing CGMINER complains about). Maybe it just hates USB 2.0 devices period, I dont know, but it really hates hubs.
After running my miners for an hour or so, ALL of those CGMINER complaints, USB timeouts, CRC packet tossing is now COMPLETELY GONE!!!!!! This would normally happen once or twice every 10 mins, or 10 times every 10mins...was completely random. Now ALL GONE.
I would go so far to even say you could probably get away w/ a shitload of miners now on the pi w/ this setting. Enough till the CPU of pi starts getting maxed anyways =P
Im truely amazed by this... =)
I hope this helps some of you guys out.
NOTE: I hope the story is the same in the morning, of course, many hours later and they are just as stable =) ... will follow up on this. But for right now, Im extremely excited!
|