Post
Topic
Board Mining software (miners)
Re: CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.6.4
by
lano1106
on 24/10/2013, 05:14:05 UTC
Con,

is your distributed version of libusbx a vanilla version from upstream known to work fine with cgminer or you have done some local modifs to it?

I am asking because the official version of cgminer from ArchLinux community repo is built with the system libs for libusbx and jansson (was also doing it as well since I need to recompile for ADL).

Version 3.6.4 and mining with 8 AM USB Eruptors, everything is extremely stable, except when I quit the application. At that point, all threads appear to be deadlocked. I have made a manual 'kill -11' to get a core. It is not very informative as the exec was stripped. I will recompile and keep symbols to get better stacks but for the moment, I am just shooting in the water in case you know right of the bat what happens:

#0  0x00007ffb0eb9e07f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x0000000000408385 in ?? ()
#2  0x00007ffb0e7e8045 in __libc_start_main () from /usr/lib/libc.so.6
#3  0x0000000000408f59 in ?? ()
(gdb) info threads
  Id   Target Id         Frame
  15   Thread 0x7ffb0d2fd700 (LWP 15595) 0x00007ffb0e8b947d in poll () from /usr/lib/libc.so.6
  14   Thread 0x7ffaed7f2700 (LWP 15617) 0x00007ffb0eba092c in __lll_lock_wait ()
   from /usr/lib/libpthread.so.0
  13   Thread 0x7ffaee7f4700 (LWP 15622) 0x00007ffb0eba092c in __lll_lock_wait ()
   from /usr/lib/libpthread.so.0
  12   Thread 0x7ffaf17fa700 (LWP 15609) 0x00007ffb0eba092c in __lll_lock_wait ()
   from /usr/lib/libpthread.so.0
  11   Thread 0x7ffaf07f8700 (LWP 15611) 0x00007ffb0eba092c in __lll_lock_wait ()
   from /usr/lib/libpthread.so.0
  10   Thread 0x7ffaf2ffd700 (LWP 15606) 0x00007ffb0eba092c in __lll_lock_wait ()
   from /usr/lib/libpthread.so.0
  9    Thread 0x7ffb057ca700 (LWP 15602) 0x00007ffb0e8bac53 in select () from /usr/lib/libc.so.6
  8    Thread 0x7ffaf1ffb700 (LWP 15608) 0x00007ffb0eba092c in __lll_lock_wait ()
   from /usr/lib/libpthread.so.0
  7    Thread 0x7ffaf27fc700 (LWP 15607) 0x00007ffb0eba092c in __lll_lock_wait ()
   from /usr/lib/libpthread.so.0
  6    Thread 0x7ffb05fcb700 (LWP 15601) 0x00007ffb0eb9e07f in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
  5    Thread 0x7ffaeeff5700 (LWP 15614) 0x00007ffb0eb9e07f in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
  4    Thread 0x7ffb04fc9700 (LWP 15603) 0x00007ffb0eb9e07f in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0
  3    Thread 0x7ffaf3fff700 (LWP 15604) 0x00007ffb0e8bac53 in select () from /usr/lib/libc.so.6
  2    Thread 0x7ffb0dafe700 (LWP 15594) 0x00007ffb0e8b947d in poll () from /usr/lib/libc.so.6
* 1    Thread 0x7ffb101a57c0 (LWP 15593) 0x00007ffb0eb9e07f in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /usr/lib/libpthread.so.0