@vh
I just had cgminer die, twice, with
hotplug thread 362 create failed
being the last message in the log.
I have the latest vh cgminer (built two days ago, Monday) on RaspPi B+. 2 Compacs (on one powered hub) and 2 2Pacs on Pluggable USB2 7 Port hub (60W).
Pluggable hub was used until Monday to run 2 Compacs@300 Mhz on previous, cgminer-gekko, version - no HWs, no problems whatsoever.
Since the other hub has lower power I lowered frequency for Compacs to 275, and plugged 2Pacs, with a bit higher vcore, @225.
I have big nice fan blowing air on all four of the sticks and one smaller one adding more airflow on 2Pacs.
Everything was running nicely for about 15 hours - no HWs on 2Pacs, occasional HW on Compacs (I guess I should lower freq a bit more, until I get beefier hub).
Then one of 2Pacs decided it does not want to cooperate anymore
[2017-03-22 21:40:46.307] GSD 1: No valid hashes recently, attempting to reset
[2017-03-22 21:40:46.582] GSD 1 attempted reset got err:(0) LIBUSB_SUCCESS
[2017-03-22 21:40:46.586] GSD 1: Device failed to respond to restart
[2017-03-22 21:40:46.700] GSD 1 failure, disabling!
[2017-03-22 21:40:47.309] Hotplug: GekkoScience added GSD 2
[2017-03-22 21:40:47.518] Found 0 chip(s) on GSD 2
[2017-03-22 21:40:47.554] GSD 2 failure, disabling!
[2017-03-22 21:40:52.746] Hotplug: GekkoScience added GSD 3
[2017-03-22 21:40:52.952] Found 0 chip(s) on GSD 3
[2017-03-22 21:40:52.971] GSD 3 failure, disabling!
and that continued untul
[2017-03-22 22:17:41.847] Hotplug: GekkoScience added GSD 355
[2017-03-22 22:17:42.056] Found 0 chip(s) on GSD 355
[2017-03-22 22:17:42.085] GSD 355 failure, disabling!
[2017-03-22 22:17:47.280] Hotplug: GekkoScience added GSD 356
[2017-03-22 22:17:47.486] Found 0 chip(s) on GSD 356
[2017-03-22 22:17:47.502] GSD 356 failure, disabling!
[2017-03-22 22:17:52.709] Hotplug: GekkoScience added GSD 357
[2017-03-22 22:17:52.916] Found 0 chip(s) on GSD 357
[2017-03-22 22:17:52.950] GSD 357 failure, disabling!
[2017-03-22 22:17:58.123] hotplug thread 362 create failed
when cgminer died. Second 2Pac and Compacs were still running nicely.
As i run cgminer from a script that restarts it if it dies, cgminer started again, found 1 2Pac, 2 Compacs but the second 2Pac was still a no-show
[2017-03-22 22:18:00.326] Started cgminer 4.10.0
[2017-03-22 22:18:00.917] Probing for an alive pool
[2017-03-22 22:18:01.110] Found 2 chip(s) on GSD 0
[2017-03-22 22:18:01.113] Found 0 chip(s) on GSD 1
[2017-03-22 22:18:01.118] Found 1 chip(s) on GSC 0
[2017-03-22 22:18:01.134] Found 1 chip(s) on GSC 1
[2017-03-22 22:18:01.144] GSD 1 failure, disabling!
[2017-03-22 22:18:01.757] Pool 0 difficulty changed to 4096
[2017-03-22 22:18:02.123] Pool 1 difficulty changed to 2048
[2017-03-22 22:18:02.126] Network diff set to 476G
[2017-03-22 22:18:08.323] Hotplug: GekkoScience added GSD 2
[2017-03-22 22:18:08.385] GSD 0: Ticket mask set to 3
[2017-03-22 22:18:08.431] GSC 0: Ticket mask set to 3
[2017-03-22 22:18:08.436] GSC 1: Ticket mask set to 3
[2017-03-22 22:18:08.527] Found 0 chip(s) on GSD 2
[2017-03-22 22:18:08.542] GSD 2 failure, disabling!
[2017-03-22 22:18:13.719] Hotplug: GekkoScience added GSD 3
[2017-03-22 22:18:13.927] Found 0 chip(s) on GSD 3
...
[2017-03-22 22:53:36.660] Hotplug: GekkoScience added GSD 358
[2017-03-22 22:53:36.866] Found 0 chip(s) on GSD 358
[2017-03-22 22:53:36.890] GSD 358 failure, disabling!
[2017-03-22 22:53:39.419] Accepted 8e84362f Diff 460/128 GSD 0 pool 0
[2017-03-22 22:53:42.056] Hotplug: GekkoScience added GSD 359
[2017-03-22 22:53:42.263] Found 0 chip(s) on GSD 359
[2017-03-22 22:53:42.297] GSD 359 failure, disabling!
[2017-03-22 22:53:44.432] Accepted 49827498 Diff 892/128 GSC 1 pool 0
[2017-03-22 22:53:47.463] hotplug thread 362 create failed
Script started cgminer again, 1 2Pac, 2 Compacs found, more of the same from the other 2Pac, but this time I noticed what was happening, unplugged the second 2Pac, plugged it in again and it came back to life.
It seems that 362 is the magic number. I'm not sure if it's the original cgminer's magic number or if it's related to 2Pac driver.
Hope this helps.