Bitcoin Forum
December 09, 2016, 09:41:47 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 [651] 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4825284 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
Askit2
Hero Member
*****
Offline Offline

Activity: 524


View Profile
October 23, 2013, 08:01:15 PM
 #13001

This may be burried somewhere in this thread, but i haven't seen it. what does the"CG" in CGminer stand for? Undecided
Cpu Gpu Miner I think.

I appreciate donations at ( 1NwkQdmomQPLtdes5KuZhB1D22p7ZGRy4p )
If I am helping in the CGMiner thread give it to Con or Kano. They do the work there.
If you want to sign up for a coinbase account I would appreciate it if you use my referral link. US people now wire, 1% fee give or take a little for sending to your bank account. https://coinbase.com/?r=515bf6145682db9d11000028&utm_campaign=user-referral&src=
1481319707
Hero Member
*
Offline Offline

Posts: 1481319707

View Profile Personal Message (Offline)

Ignore
1481319707
Reply with quote  #2

1481319707
Report to moderator
1481319707
Hero Member
*
Offline Offline

Posts: 1481319707

View Profile Personal Message (Offline)

Ignore
1481319707
Reply with quote  #2

1481319707
Report to moderator
1481319707
Hero Member
*
Offline Offline

Posts: 1481319707

View Profile Personal Message (Offline)

Ignore
1481319707
Reply with quote  #2

1481319707
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481319707
Hero Member
*
Offline Offline

Posts: 1481319707

View Profile Personal Message (Offline)

Ignore
1481319707
Reply with quote  #2

1481319707
Report to moderator
Askit2
Hero Member
*****
Offline Offline

Activity: 524


View Profile
October 23, 2013, 09:50:19 PM
 #13002

...
One small thing. I had raspbian some semblance of running and I could use all 17 devices I have. Granted it lasted 1 hour to 3 minutes between crashes. On arch using all the same hardware I can only detect 13. The other 4 have been put on my dvr for now.
I have hub A attatched to the lower port on raspberry pi, Hub B on hub A port 1, Hub C on hub A port 3 one port doesn't work here.
Hub D is on the upper port of the raspberry pi, Hub E was hooked up to port 1 on Hub D. I have a keyboard also hooked  to hub D. Everything hooked up to hub D works except if I add either the last hub or another jalapeno by itself it will not detect. Nothing comes up, no errors, no found devices, nothing.

I  am curious does arch have less USB devices it can handle? I don't mind as I plan on running 8 per pi but I have to buy a couple more first. So far arch seems much more stable. Less GUI but much more stable.
I'm really not sure why it wouldn't see them all.
What do lsusb and ./cgminer -n say?
Pretty much it would be best to run a ./cgminer ... options ... -T -D --verbose 2> log.log also and stick the log.log in something like
http://pastebin.com/
It figures now they work. I didn't change anything so I can't figure out why. Actually I did update Arch. Maybe that helped.
Code:
[root@cgminerPi1 ~]# lsusb
Bus 001 Device 022: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 021: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 020: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 011: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 019: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 018: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 017: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 016: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 010: ID 05e3:0612 Genesys Logic, Inc.
Bus 001 Device 015: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 014: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 013: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 012: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 009: ID 05e3:0612 Genesys Logic, Inc.
Bus 001 Device 005: ID 05e3:0612 Genesys Logic, Inc.
Bus 001 Device 027: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 026: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 025: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 024: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 023: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 008: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 007: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 006: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 004: ID 05e3:0612 Genesys Logic, Inc.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. LAN9500 Ethernet 10/100 Adapter / SMSC9512/9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

[root@cgminerPi1 3.6.4]# ./cgminer -n
 [2013-10-23 15:47:10] USB all: found 27 devices - listing known devices
.USB dev 0: Bus 1 Device 22 ID: 0403:6014
  Manufacturer: 'Butterfly Labs'
  Product: 'BitFORCE SHA256 SC'
.USB dev 1: Bus 1 Device 21 ID: 0403:6014
  Manufacturer: 'FTDI'
  Product: 'BitFORCE SHA256 SC'
.USB dev 2: Bus 1 Device 20 ID: 0403:6014
  Manufacturer: 'Butterfly Labs'
  Product: 'BitFORCE SHA256 SC'
.USB dev 3: Bus 1 Device 19 ID: 0403:6014
  Manufacturer: 'Butterfly Labs'
  Product: 'BitFORCE SHA256 SC'
.USB dev 4: Bus 1 Device 18 ID: 0403:6014
  Manufacturer: 'Butterfly Labs'
  Product: 'BitFORCE SHA256 SC'
.USB dev 5: Bus 1 Device 17 ID: 0403:6014
  Manufacturer: 'Butterfly Labs'
  Product: 'BitFORCE SHA256 SC'
.USB dev 6: Bus 1 Device 16 ID: 0403:6014
  Manufacturer: 'Butterfly Labs'
  Product: 'BitFORCE SHA256 SC'
.USB dev 7: Bus 1 Device 15 ID: 0403:6014
  Manufacturer: 'Butterfly Labs'
  Product: 'BitFORCE SHA256 SC'
.USB dev 8: Bus 1 Device 14 ID: 0403:6014
  Manufacturer: 'Butterfly Labs'
  Product: 'BitFORCE SHA256 SC'
.USB dev 9: Bus 1 Device 13 ID: 0403:6014
  Manufacturer: 'Butterfly Labs'
  Product: 'BitFORCE SHA256 SC'
.USB dev 10: Bus 1 Device 12 ID: 0403:6014
  Manufacturer: 'Butterfly Labs'
  Product: 'BitFORCE SHA256 SC'
.USB dev 11: Bus 1 Device 27 ID: 0403:6014
  Manufacturer: 'Butterfly Labs'
  Product: 'BitFORCE SHA256 SC'
.USB dev 12: Bus 1 Device 26 ID: 0403:6014
  Manufacturer: 'Butterfly Labs'
  Product: 'BitFORCE SHA256 SC'
.USB dev 13: Bus 1 Device 25 ID: 0403:6014
  Manufacturer: 'Butterfly Labs'
  Product: 'BitFORCE SHA256 SC'
.USB dev 14: Bus 1 Device 24 ID: 0403:6014
  Manufacturer: 'Butterfly Labs'
  Product: 'BitFORCE SHA256 SC'
.USB dev 15: Bus 1 Device 8 ID: 0403:6014
  Manufacturer: 'Butterfly Labs'
  Product: 'BitFORCE SHA256 SC'
.USB dev 16: Bus 1 Device 7 ID: 0403:6014
  Manufacturer: 'Butterfly Labs'
  Product: 'BitFORCE SHA256 SC'
 [2013-10-23 15:47:10] 17 known USB devices
[root@cgminerPi1 3.6.4]#

I appreciate donations at ( 1NwkQdmomQPLtdes5KuZhB1D22p7ZGRy4p )
If I am helping in the CGMiner thread give it to Con or Kano. They do the work there.
If you want to sign up for a coinbase account I would appreciate it if you use my referral link. US people now wire, 1% fee give or take a little for sending to your bank account. https://coinbase.com/?r=515bf6145682db9d11000028&utm_campaign=user-referral&src=
pazor
Legendary
*
Offline Offline

Activity: 966



View Profile
October 24, 2013, 12:17:45 AM
 #13003

i am running cgminer 3.6.4  with two bfl 1.2gh/s fpgas

when the pc started everything be fine. after about 10h i got

blf0: garbled response probably throttling, clearing buffer

or

bfl0: error: get temp return invalid/timed out (16: -7)

and the speed decrease

reboot solves the problem for the next 10 hours

any idea for solving ?


treuhand-Dienst gewünscht? - frag per PM an
BTC 174X17nR7vEQBQo4GXKRGMGaTmB49Gf1yT
OtaconEmmerich
Full Member
***
Offline Offline

Activity: 237



View Profile
October 24, 2013, 01:04:47 AM
 #13004

This may be burried somewhere in this thread, but i haven't seen it. what does the"CG" in CGminer stand for? Undecided
Cpu Gpu Miner I think.
I think it's short for Con Kolivas GPU Miner. CKGMiner doesn't quite roll of the tounge well so CGMiner.
Askit2
Hero Member
*****
Offline Offline

Activity: 524


View Profile
October 24, 2013, 04:46:21 AM
 #13005

This may be burried somewhere in this thread, but i haven't seen it. what does the"CG" in CGminer stand for? Undecided
Cpu Gpu Miner I think.
I think it's short for Con Kolivas GPU Miner. CKGMiner doesn't quite roll of the tounge well so CGMiner.
I knew I should have guessed Constantly Great Miner.....

I appreciate donations at ( 1NwkQdmomQPLtdes5KuZhB1D22p7ZGRy4p )
If I am helping in the CGMiner thread give it to Con or Kano. They do the work there.
If you want to sign up for a coinbase account I would appreciate it if you use my referral link. US people now wire, 1% fee give or take a little for sending to your bank account. https://coinbase.com/?r=515bf6145682db9d11000028&utm_campaign=user-referral&src=
Askit2
Hero Member
*****
Offline Offline

Activity: 524


View Profile
October 24, 2013, 04:48:42 AM
 #13006

i am running cgminer 3.6.4  with two bfl 1.2gh/s fpgas

when the pc started everything be fine. after about 10h i got

blf0: garbled response probably throttling, clearing buffer

or

bfl0: error: get temp return invalid/timed out (16: -7)

and the speed decrease

reboot solves the problem for the next 10 hours

any idea for solving ?


I have a question for you. What OS are you running?

I am guessing windows. Only because the BFL FPGA's gave me so many time related issues on windows and not on Linux before I traded mine in. If I am right I would still recommend a Raspberry pi, they are cheap and run Linux. Just learn arch initially not Raspbian.

I appreciate donations at ( 1NwkQdmomQPLtdes5KuZhB1D22p7ZGRy4p )
If I am helping in the CGMiner thread give it to Con or Kano. They do the work there.
If you want to sign up for a coinbase account I would appreciate it if you use my referral link. US people now wire, 1% fee give or take a little for sending to your bank account. https://coinbase.com/?r=515bf6145682db9d11000028&utm_campaign=user-referral&src=
lano1106
Member
**
Offline Offline

Activity: 112


View Profile WWW
October 24, 2013, 05:14:05 AM
 #13007

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

BTC: 1ABewnrZgCds7w9RH43NwMHX5Px6ex5uNR
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
October 24, 2013, 05:26:44 AM
 #13008

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:

3.6.4 ONLY builds with the jansson and libusb included in cgminer (which is libusb-1.0.16-rc10, NOT libusbx). It ignores any installed libraries on your machine since it's the only way I can guarantee people are using the most stable libraries. As for it hanging on closing, it's a clusterfuck that I've never been able to completely fix due to millions of threads going wild and no clean way to shut it down with some things never returning. Blame me.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
pazor
Legendary
*
Offline Offline

Activity: 966



View Profile
October 24, 2013, 06:47:42 AM
 #13009

i am running cgminer 3.6.4  with two bfl 1.2gh/s fpgas

when the pc started everything be fine. after about 10h i got

blf0: garbled response probably throttling, clearing buffer

or

bfl0: error: get temp return invalid/timed out (16: -7)

and the speed decrease

reboot solves the problem for the next 10 hours

any idea for solving ?


I have a question for you. What OS are you running?

I am guessing windows. Only because the BFL FPGA's gave me so many time related issues on windows and not on Linux before I traded mine in. If I am right I would still recommend a Raspberry pi, they are cheap and run Linux. Just learn arch initially not Raspbian.

it is linux (debian) on a ibm t23.


treuhand-Dienst gewünscht? - frag per PM an
BTC 174X17nR7vEQBQo4GXKRGMGaTmB49Gf1yT
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
October 24, 2013, 10:19:05 AM
 #13010

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:

3.6.4 ONLY builds with the jansson and libusb included in cgminer (which is libusb-1.0.16-rc10, NOT libusbx). It ignores any installed libraries on your machine since it's the only way I can guarantee people are using the most stable libraries. As for it hanging on closing, it's a clusterfuck that I've never been able to completely fix due to millions of threads going wild and no clean way to shut it down with some things never returning. Blame me.
Further to this discussion, I've put a concerted effort into making shutdown and restart even more reliable, and am now unable to get it to hang on any of my own workloads on the git master tree. Please give it a go if you're building from git.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Askit2
Hero Member
*****
Offline Offline

Activity: 524


View Profile
October 24, 2013, 05:40:29 PM
 #13011

I'm not sure what happened. I checked and no mining was taking place on my pools. I was worried Arch had hung on me.

Arch was still running ok on my pi. Something else went wrong. All hashing units where marked as DEAD. Still this is a great improvement over locked up Raspbian. Unfortunately I didn't have logging on so I can't get more info then copying the output to the clipboard and it would seem that it is at least an hour after it would be useful but here is what I have. I am using quotas and failover only enabled.
Code:
[root@cgminerPi1 ~]# screen -r -x cgminer
 (5s):0.000 (avg):75.42Gh/s | A:2150459  R:30463  HW:14696  WU:1047.7/m
 ST: 3  SS: 0  NB: 331  LW: 2313387  GF: 7  RF: 0
 Connected to multiple pools with block change notify
 Block: 0003b4fc27ef24fc...  Diff:268M  Started: [10:33:46]  Best share: 668K
--------------------------------------------------------------------------------
 [P]ool management [S]ettings [D]isplay options [Q]uit
 BAJ  0:  max 43C 3.57V | DEAD  /4.632Gh/s | A:131015 R:1470 HW:   2 WU: 64.6/m
 BAJ  1:  max 42C 3.91V | DEAD  /4.922Gh/s | A:142279 R:2149 HW:   8 WU: 68.8/m
 BAJ  2:  max 43C 3.82V | DEAD  /5.003Gh/s | A:142971 R:2087 HW:   7 WU: 69.8/m
 BAJ  3:  max 44C 3.47V | DEAD  /4.914Gh/s | A:139776 R:2058 HW:  18 WU: 68.7/m
 BAJ  4:  max 39C 4.13V | DEAD  /5.521Gh/s | A:157598 R:2280 HW:   5 WU: 77.4/m
 BAJ  5:  max 39C 3.31V | DEAD  /4.597Gh/s | A:128550 R:2002 HW:5407 WU: 61.8/m
 BAJ  6:  max 43C 3.47V | DEAD  /4.888Gh/s | A:137059 R:1983 HW:2244 WU: 67.4/m
 BAJ  7:  max 42C 3.54V | DEAD  /5.107Gh/s | A:144443 R:2096 HW:   8 WU: 71.5/m
 BAJ  8:  max 39C 3.95V | DEAD  /5.138Gh/s | A:151119 R:1945 HW:   5 WU: 71.7/m
 BAJ  9:  max 43C 2.42V | DEAD  /5.305Gh/s | A:152625 R:2218 HW:   3 WU: 74.3/m
 BAJ 10:  max 42C 3.85V | DEAD  /5.054Gh/s | A:146923 R:2257 HW:   2 WU: 70.6/m
 BAJ 11:  max 42C 3.86V | DEAD  /5.244Gh/s | A:151094 R:2196 HW:   4 WU: 73.4/m
 BAJ 12:  max 41C 3.84V | DEAD  /5.174Gh/s | A:141698 R:1875 HW:5819 WU: 69.9/m
 BAJ 13:  max 34C 3.59V | DEAD  /4.507Gh/s | A: 69622 R:1053 HW:1160 WU: 61.7/m
 BAJ 14:  max 37C 3.69V | DEAD  /4.487Gh/s | A: 65162 R: 869 HW:   1 WU: 62.7/m
 BAJ 15:  max 41C 4.09V | DEAD  /4.844Gh/s | A: 75049 R:1184 HW:   1 WU: 67.8/m
 BAJ 16:  max 38C 3.21V | DEAD  /4.747Gh/s | A: 73476 R: 709 HW:   2 WU: 66.0/m
--------------------------------------------------------------------------------
 [2013-10-23 15:39:01] Pool 2 difficulty changed to 29.213822
 [2013-10-24 09:05:08] Stratum from pool 3 detected new block
 [2013-10-24 09:05:20] Stratum from pool 0 requested work restart
 [2013-10-24 09:05:30] Stratum from pool 0 detected new block
 [2013-10-24 09:05:31] Stratum connection to pool 3 interrupted
 [2013-10-24 09:07:47] Stratum from pool 0 detected new block
 [2013-10-24 09:14:34] Stratum from pool 3 detected new block
 [2013-10-24 09:16:42] Stratum from pool 0 requested work restart
 [2013-10-24 09:18:38] Stratum from pool 3 detected new block
 [2013-10-24 09:18:43] Stratum from pool 0 requested work restart
 [2013-10-24 09:25:49] Stratum connection to pool 3 interrupted
 [2013-10-24 09:31:32] Stratum from pool 3 detected new block
 [2013-10-24 09:31:35] Stratum from pool 0 requested work restart
 [2013-10-24 09:32:21] Stratum from pool 2 detected new block
 [2013-10-24 09:34:44] Stratum from pool 3 detected new block
 [2013-10-24 09:36:43] Stratum from pool 0 requested work restart
 [2013-10-24 09:46:01] Stratum connection to pool 3 interrupted
 [2013-10-24 10:01:22] Stratum from pool 3 detected new block
 [2013-10-24 10:01:58] Stratum from pool 3 detected new block
 [2013-10-24 10:03:20] Stratum from pool 0 requested work restart
 [2013-10-24 10:06:04] Stratum connection to pool 3 interrupted
 [2013-10-24 10:06:28] Stratum from pool 3 detected new block
 [2013-10-24 10:08:28] Stratum from pool 0 requested work restart
 [2013-10-24 10:09:44] Stratum from pool 0 detected new block
 [2013-10-24 10:13:30] Stratum from pool 3 detected new block
 [2013-10-24 10:13:31] Stratum from pool 0 requested work restart
 [2013-10-24 10:26:15] Stratum connection to pool 3 interrupted
 [2013-10-24 10:26:24] Stratum from pool 0 detected new block
 [2013-10-24 10:32:12] Stratum from pool 3 detected new block
 [2013-10-24 10:33:03] Stratum from pool 0 requested work restart
 [2013-10-24 10:33:46] Stratum from pool 3 detected new block
 [2013-10-24 10:33:53] Stratum from pool 0 requested work restart
 [2013-10-24 10:46:35] Stratum connection to pool 3 interrupted
 [2013-10-24 11:06:46] Stratum connection to pool 3 interrupted

I appreciate donations at ( 1NwkQdmomQPLtdes5KuZhB1D22p7ZGRy4p )
If I am helping in the CGMiner thread give it to Con or Kano. They do the work there.
If you want to sign up for a coinbase account I would appreciate it if you use my referral link. US people now wire, 1% fee give or take a little for sending to your bank account. https://coinbase.com/?r=515bf6145682db9d11000028&utm_campaign=user-referral&src=
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
October 24, 2013, 05:42:03 PM
 #13012

I'm not sure what happened. I checked and no mining was taking place on my pools. I was worried Arch had hung on me.

Arch was still running ok on my pi. Something else went wrong. All hashing units where marked as DEAD. Still this is a great improvement over locked up Raspbian. Unfortunately I didn't have logging on so I can't get more info then copying the output to the clipboard and it would seem that it is at least an hour after it would be useful but here is what I have. I am using quotas and failover only enabled.
If they all failed it looks like a major USB failure of some sort, check your kernel logs for errors.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Askit2
Hero Member
*****
Offline Offline

Activity: 524


View Profile
October 24, 2013, 06:12:48 PM
 #13013

unless Arch is hiding a kernel log from root I don't see it. That or I am in the wrong place.
Code:
[root@cgminerPi1 log]# pwd
/var/log
[root@cgminerPi1 log]# dir
btmp  faillog  journal  lastlog  old  pacman.log  wtmp
[root@cgminerPi1 log]#
Journal has a file in it but I can't seem to type the alpha neumeric code correctly to open it.

I appreciate donations at ( 1NwkQdmomQPLtdes5KuZhB1D22p7ZGRy4p )
If I am helping in the CGMiner thread give it to Con or Kano. They do the work there.
If you want to sign up for a coinbase account I would appreciate it if you use my referral link. US people now wire, 1% fee give or take a little for sending to your bank account. https://coinbase.com/?r=515bf6145682db9d11000028&utm_campaign=user-referral&src=
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
October 24, 2013, 06:13:25 PM
 #13014

unless Arch is hiding a kernel log from root I don't see it. That or I am in the wrong place.
Code:
[root@cgminerPi1 log]# pwd
/var/log
[root@cgminerPi1 log]# dir
btmp  faillog  journal  lastlog  old  pacman.log  wtmp
[root@cgminerPi1 log]#
Journal has a file in it but I can't seem to type the alpha neumeric code correctly to open it.

dmesg

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Askit2
Hero Member
*****
Offline Offline

Activity: 524


View Profile
October 24, 2013, 10:08:33 PM
 #13015

unless Arch is hiding a kernel log from root I don't see it. That or I am in the wrong place.
Code:
[root@cgminerPi1 log]# pwd
/var/log
[root@cgminerPi1 log]# dir
btmp  faillog  journal  lastlog  old  pacman.log  wtmp
[root@cgminerPi1 log]#
Journal has a file in it but I can't seem to type the alpha neumeric code correctly to open it.

dmesg


Sorry No log file. Apparently it isn't setup. I will look into that next I guess.
Restarting cgminer was all I had to do to get them running again though. It didn't seem that bad.

I appreciate donations at ( 1NwkQdmomQPLtdes5KuZhB1D22p7ZGRy4p )
If I am helping in the CGMiner thread give it to Con or Kano. They do the work there.
If you want to sign up for a coinbase account I would appreciate it if you use my referral link. US people now wire, 1% fee give or take a little for sending to your bank account. https://coinbase.com/?r=515bf6145682db9d11000028&utm_campaign=user-referral&src=
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
October 24, 2013, 10:57:39 PM
 #13016

dmesg


Sorry No log file. Apparently it isn't setup. I will look into that next I guess.
Restarting cgminer was all I had to do to get them running again though. It didn't seem that bad.
dmesg is a command you run by itself

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Askit2
Hero Member
*****
Offline Offline

Activity: 524


View Profile
October 25, 2013, 01:16:27 AM
 #13017

dmesg


Sorry No log file. Apparently it isn't setup. I will look into that next I guess.
Restarting cgminer was all I had to do to get them running again though. It didn't seem that bad.
dmesg is a command you run by itself
It spit out a lot of stuff. Seems like everything since it started. I guess it not writing to a log doesn't stop logging.....

Code:
[    5.986608] usb 1-1.3.2.2: new high-speed USB device number 17 using dwc_otg
[    6.092568] usb 1-1.3.2.2: New USB device found, idVendor=0403, idProduct=6014
[    6.092602] usb 1-1.3.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.092622] usb 1-1.3.2.2: Product: BitFORCE SHA256 SC
[    6.092638] usb 1-1.3.2.2: Manufacturer: Butterfly Labs
[    6.092653] usb 1-1.3.2.2: SerialNumber: FTWVXEG2
[    6.096119] ftdi_sio 1-1.3.2.2:1.0: FTDI USB Serial Device converter detected
[    6.096379] usb 1-1.3.2.2: Detected FT232H
[    6.096405] usb 1-1.3.2.2: Number of endpoints 2
[    6.096425] usb 1-1.3.2.2: Endpoint 1 MaxPacketSize 512
[    6.096441] usb 1-1.3.2.2: Endpoint 2 MaxPacketSize 512
[    6.096456] usb 1-1.3.2.2: Setting MaxPacketSize 512
[    6.106712] usb 1-1.3.2.2: FTDI USB Serial Device converter now attached to ttyUSB7
[    6.186963] usb 1-1.3.2.3: new high-speed USB device number 18 using dwc_otg
[    6.292252] usb 1-1.3.2.3: New USB device found, idVendor=0403, idProduct=6014
[    6.292290] usb 1-1.3.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.292309] usb 1-1.3.2.3: Product: BitFORCE SHA256 SC
[    6.292327] usb 1-1.3.2.3: Manufacturer: Butterfly Labs
[    6.292360] usb 1-1.3.2.3: SerialNumber: FTWVJCP2
[    6.295926] ftdi_sio 1-1.3.2.3:1.0: FTDI USB Serial Device converter detected
[    6.296304] usb 1-1.3.2.3: Detected FT232H
[    6.296334] usb 1-1.3.2.3: Number of endpoints 2
[    6.296352] usb 1-1.3.2.3: Endpoint 1 MaxPacketSize 512
[    6.296368] usb 1-1.3.2.3: Endpoint 2 MaxPacketSize 512
[    6.296382] usb 1-1.3.2.3: Setting MaxPacketSize 512
[    6.315260] usb 1-1.3.2.3: FTDI USB Serial Device converter now attached to ttyUSB8
[    6.397348] usb 1-1.3.2.4: new high-speed USB device number 19 using dwc_otg
[    6.502699] usb 1-1.3.2.4: New USB device found, idVendor=0403, idProduct=6014
[    6.502739] usb 1-1.3.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.502758] usb 1-1.3.2.4: Product: BitFORCE SHA256 SC
[    6.502775] usb 1-1.3.2.4: Manufacturer: Butterfly Labs
[    6.502791] usb 1-1.3.2.4: SerialNumber: FTWVJCXH
[    6.514960] ftdi_sio 1-1.3.2.4:1.0: FTDI USB Serial Device converter detected
[    6.515166] usb 1-1.3.2.4: Detected FT232H
[    6.515190] usb 1-1.3.2.4: Number of endpoints 2
[    6.515208] usb 1-1.3.2.4: Endpoint 1 MaxPacketSize 512
[    6.515227] usb 1-1.3.2.4: Endpoint 2 MaxPacketSize 512
[    6.515244] usb 1-1.3.2.4: Setting MaxPacketSize 512
[    6.516207] usb 1-1.3.2.4: FTDI USB Serial Device converter now attached to ttyUSB9
[    6.624736] usb 1-1.3.3.1: new high-speed USB device number 20 using dwc_otg
[    6.742508] usb 1-1.3.3.1: New USB device found, idVendor=0403, idProduct=6014
[    6.742545] usb 1-1.3.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.742565] usb 1-1.3.3.1: Product: BitFORCE SHA256 SC
[    6.742581] usb 1-1.3.3.1: Manufacturer: Butterfly Labs
[    6.742597] usb 1-1.3.3.1: SerialNumber: FTWNQPX2
[    6.754640] ftdi_sio 1-1.3.3.1:1.0: FTDI USB Serial Device converter detected
[    6.754916] usb 1-1.3.3.1: Detected FT232H
[    6.754943] usb 1-1.3.3.1: Number of endpoints 2
[    6.754962] usb 1-1.3.3.1: Endpoint 1 MaxPacketSize 512
[    6.754979] usb 1-1.3.3.1: Endpoint 2 MaxPacketSize 512
[    6.754995] usb 1-1.3.3.1: Setting MaxPacketSize 512
[    6.755852] usb 1-1.3.3.1: FTDI USB Serial Device converter now attached to ttyUSB10
[    6.804709] Adding 1048564k swap on /dev/mmcblk0p6.  Priority:-1 extents:1 across:1048564k SS
[    6.856336] usb 1-1.3.3.2: new high-speed USB device number 21 using dwc_otg
[    6.981331] usb 1-1.3.3.2: New USB device found, idVendor=0403, idProduct=6014
[    6.981349] usb 1-1.3.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.981361] usb 1-1.3.3.2: Product: BitFORCE SHA256 SC
[    6.981370] usb 1-1.3.3.2: Manufacturer: FTDI
[    6.981378] usb 1-1.3.3.2: SerialNumber: FTWPZMCD
[    6.984774] ftdi_sio 1-1.3.3.2:1.0: FTDI USB Serial Device converter detected
[    6.984989] usb 1-1.3.3.2: Detected FT232H
[    6.985003] usb 1-1.3.3.2: Number of endpoints 2
[    6.985014] usb 1-1.3.3.2: Endpoint 1 MaxPacketSize 512
[    6.985024] usb 1-1.3.3.2: Endpoint 2 MaxPacketSize 512
[    6.985033] usb 1-1.3.3.2: Setting MaxPacketSize 512
[    6.985896] usb 1-1.3.3.2: FTDI USB Serial Device converter now attached to ttyUSB11
[    7.086377] usb 1-1.3.3.4: new high-speed USB device number 22 using dwc_otg
[    7.157321] systemd-journald[59]: Received request to flush runtime journal from PID 1
[    7.202326] usb 1-1.3.3.4: New USB device found, idVendor=0403, idProduct=6014
[    7.202389] usb 1-1.3.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.202402] usb 1-1.3.3.4: Product: BitFORCE SHA256 SC
[    7.202411] usb 1-1.3.3.4: Manufacturer: Butterfly Labs
[    7.202420] usb 1-1.3.3.4: SerialNumber: FTWNQPYZ
[    7.205866] ftdi_sio 1-1.3.3.4:1.0: FTDI USB Serial Device converter detected
[    7.206206] usb 1-1.3.3.4: Detected FT232H
[    7.206221] usb 1-1.3.3.4: Number of endpoints 2
[    7.206232] usb 1-1.3.3.4: Endpoint 1 MaxPacketSize 512
[    7.206242] usb 1-1.3.3.4: Endpoint 2 MaxPacketSize 512
[    7.206251] usb 1-1.3.3.4: Setting MaxPacketSize 512
[    7.208043] usb 1-1.3.3.4: FTDI USB Serial Device converter now attached to ttyUSB12
[   10.469086] smsc95xx 1-1.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[   51.237152] ftdi_sio ttyUSB12: FTDI USB Serial Device converter now disconnected from ttyUSB12
[   51.237316] ftdi_sio 1-1.3.3.4:1.0: device disconnected
[   52.255172] ftdi_sio ttyUSB11: FTDI USB Serial Device converter now disconnected from ttyUSB11
[   52.255337] ftdi_sio 1-1.3.3.2:1.0: device disconnected
[   53.198744] ftdi_sio ttyUSB10: FTDI USB Serial Device converter now disconnected from ttyUSB10
[   53.198905] ftdi_sio 1-1.3.3.1:1.0: device disconnected
[   54.142399] ftdi_sio ttyUSB9: FTDI USB Serial Device converter now disconnected from ttyUSB9
[   54.142563] ftdi_sio 1-1.3.2.4:1.0: device disconnected
[   55.089457] ftdi_sio ttyUSB8: FTDI USB Serial Device converter now disconnected from ttyUSB8
[   55.089619] ftdi_sio 1-1.3.2.3:1.0: device disconnected
[   55.935746] ftdi_sio ttyUSB7: FTDI USB Serial Device converter now disconnected from ttyUSB7
[   55.935907] ftdi_sio 1-1.3.2.2:1.0: device disconnected
[   56.944595] ftdi_sio ttyUSB6: FTDI USB Serial Device converter now disconnected from ttyUSB6
[   56.944822] ftdi_sio 1-1.3.2.1:1.0: device disconnected
[   57.888536] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
[   57.888697] ftdi_sio 1-1.3.1.4:1.0: device disconnected
[   58.794401] ftdi_sio ttyUSB5: FTDI USB Serial Device converter now disconnected from ttyUSB5
[   58.794552] ftdi_sio 1-1.3.1.3:1.0: device disconnected
[   59.713660] ftdi_sio ttyUSB4: FTDI USB Serial Device converter now disconnected from ttyUSB4
[   59.713821] ftdi_sio 1-1.3.1.2:1.0: device disconnected
[   60.594022] ftdi_sio ttyUSB3: FTDI USB Serial Device converter now disconnected from ttyUSB3
[   60.594185] ftdi_sio 1-1.3.1.1:1.0: device disconnected
[   61.506846] ftdi_sio ttyUSB2: FTDI USB Serial Device converter now disconnected from ttyUSB2
[   61.507007] ftdi_sio 1-1.2.3:1.0: device disconnected
[   62.379625] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[   62.379763] ftdi_sio 1-1.2.2:1.0: device disconnected
[67374.452970] usb 1-1.2.4: new high-speed USB device number 23 using dwc_otg
[67374.552956] usb 1-1.2.4: New USB device found, idVendor=0409, idProduct=005a
[67374.552995] usb 1-1.2.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[67374.556448] hub 1-1.2.4:1.0: USB hub found
[67374.556849] hub 1-1.2.4:1.0: 4 ports detected
[67374.832450] usb 1-1.2.4.1: new high-speed USB device number 24 using dwc_otg
[67374.938029] usb 1-1.2.4.1: New USB device found, idVendor=0403, idProduct=6014
[67374.938067] usb 1-1.2.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[67374.938088] usb 1-1.2.4.1: Product: BitFORCE SHA256 SC
[67374.938104] usb 1-1.2.4.1: Manufacturer: Butterfly Labs
[67374.938120] usb 1-1.2.4.1: SerialNumber: FTWVRBUA
[67374.954826] ftdi_sio 1-1.2.4.1:1.0: FTDI USB Serial Device converter detected
[67374.955033] usb 1-1.2.4.1: Detected FT232H
[67374.955061] usb 1-1.2.4.1: Number of endpoints 2
[67374.955080] usb 1-1.2.4.1: Endpoint 1 MaxPacketSize 512
[67374.955096] usb 1-1.2.4.1: Endpoint 2 MaxPacketSize 512
[67374.955112] usb 1-1.2.4.1: Setting MaxPacketSize 512
[67374.956719] usb 1-1.2.4.1: FTDI USB Serial Device converter now attached to ttyUSB0
[67375.052377] usb 1-1.2.4.2: new high-speed USB device number 25 using dwc_otg
[67375.158624] usb 1-1.2.4.2: New USB device found, idVendor=0403, idProduct=6014
[67375.158660] usb 1-1.2.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[67375.158679] usb 1-1.2.4.2: Product: BitFORCE SHA256 SC
[67375.158698] usb 1-1.2.4.2: Manufacturer: Butterfly Labs
[67375.158714] usb 1-1.2.4.2: SerialNumber: FTWVX1WT
[67375.174487] ftdi_sio 1-1.2.4.2:1.0: FTDI USB Serial Device converter detected
[67375.174728] usb 1-1.2.4.2: Detected FT232H
[67375.174755] usb 1-1.2.4.2: Number of endpoints 2
[67375.174773] usb 1-1.2.4.2: Endpoint 1 MaxPacketSize 512
[67375.174790] usb 1-1.2.4.2: Endpoint 2 MaxPacketSize 512
[67375.174805] usb 1-1.2.4.2: Setting MaxPacketSize 512
[67375.175774] usb 1-1.2.4.2: FTDI USB Serial Device converter now attached to ttyUSB1
[67375.272562] usb 1-1.2.4.3: new high-speed USB device number 26 using dwc_otg
[67375.378639] usb 1-1.2.4.3: New USB device found, idVendor=0403, idProduct=6014
[67375.378676] usb 1-1.2.4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[67375.378696] usb 1-1.2.4.3: Product: BitFORCE SHA256 SC
[67375.378712] usb 1-1.2.4.3: Manufacturer: Butterfly Labs
[67375.378729] usb 1-1.2.4.3: SerialNumber: FTWVXE2E
[67375.394993] ftdi_sio 1-1.2.4.3:1.0: FTDI USB Serial Device converter detected
[67375.395203] usb 1-1.2.4.3: Detected FT232H
[67375.395231] usb 1-1.2.4.3: Number of endpoints 2
[67375.395250] usb 1-1.2.4.3: Endpoint 1 MaxPacketSize 512
[67375.395267] usb 1-1.2.4.3: Endpoint 2 MaxPacketSize 512
[67375.395282] usb 1-1.2.4.3: Setting MaxPacketSize 512
[67375.396171] usb 1-1.2.4.3: FTDI USB Serial Device converter now attached to ttyUSB2
[67375.492575] usb 1-1.2.4.4: new high-speed USB device number 27 using dwc_otg
[67375.598991] usb 1-1.2.4.4: New USB device found, idVendor=0403, idProduct=6014
[67375.599053] usb 1-1.2.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[67375.599075] usb 1-1.2.4.4: Product: BitFORCE SHA256 SC
[67375.599092] usb 1-1.2.4.4: Manufacturer: Butterfly Labs
[67375.599106] usb 1-1.2.4.4: SerialNumber: FTWVX3C8
[67375.614891] ftdi_sio 1-1.2.4.4:1.0: FTDI USB Serial Device converter detected
[67375.615184] usb 1-1.2.4.4: Detected FT232H
[67375.615212] usb 1-1.2.4.4: Number of endpoints 2
[67375.615231] usb 1-1.2.4.4: Endpoint 1 MaxPacketSize 512
[67375.615248] usb 1-1.2.4.4: Endpoint 2 MaxPacketSize 512
[67375.615264] usb 1-1.2.4.4: Setting MaxPacketSize 512
[67375.616287] usb 1-1.2.4.4: FTDI USB Serial Device converter now attached to ttyUSB3
[67377.762760] ftdi_sio ttyUSB3: FTDI USB Serial Device converter now disconnected from ttyUSB3
[67377.762918] ftdi_sio 1-1.2.4.4:1.0: device disconnected
[67378.746598] ftdi_sio ttyUSB2: FTDI USB Serial Device converter now disconnected from ttyUSB2
[67378.746760] ftdi_sio 1-1.2.4.3:1.0: device disconnected
[67379.723256] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
[67379.723420] ftdi_sio 1-1.2.4.2:1.0: device disconnected
[67380.638095] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[67380.638326] ftdi_sio 1-1.2.4.1:1.0: device disconnected
[root@cgminerPi1 journal]#
Hopefully you see something in there. Sorry I am slow at Linux. I really do try to learn. Thank You for helping me learn!

I appreciate donations at ( 1NwkQdmomQPLtdes5KuZhB1D22p7ZGRy4p )
If I am helping in the CGMiner thread give it to Con or Kano. They do the work there.
If you want to sign up for a coinbase account I would appreciate it if you use my referral link. US people now wire, 1% fee give or take a little for sending to your bank account. https://coinbase.com/?r=515bf6145682db9d11000028&utm_campaign=user-referral&src=
lano1106
Member
**
Offline Offline

Activity: 112


View Profile WWW
October 25, 2013, 03:42:16 AM
 #13018

3.6.4 ONLY builds with the jansson and libusb included in cgminer (which is libusb-1.0.16-rc10, NOT libusbx). It ignores any installed libraries on your machine since it's the only way I can guarantee people are using the most stable libraries. As for it hanging on closing, it's a clusterfuck that I've never been able to completely fix due to millions of threads going wild and no clean way to shut it down with some things never returning. Blame me.

Con,

you must know that it is trivial for a ArchLinux maintainer to sed your configure.ac script to do whatever he wants. Here is a snippet of the PKGBUILD script:

Code:
  # We have latest jansson and libusb - just use them
  sed "s|ac_subdirs_all='compat/libusb\-1.0\ncompat/jansson-2.5'||" -i ./configure
  sed 's|subdirs="$subdirs compat/libusb\-1.0"||' -i ./configure
  sed 's|subdirs="$subdirs compat/jansson\-2.5"||' -i ./configure
  sed 's|LIBUSB_LIBS="compat/libusb-1.0/libusb/.libs/libusb-1.0.a"|LIBUSB_LIBS=-lusb-1.0|' -i ./configure
  sed 's|JANSSON_LIBS="compat/jansson-2.5/src/.libs/libjansson.a"|JANSSON_LIBS=-ljansson|' -i ./configure
  sed 's|compat/Makefile ||' -i ./configure

  sed 's|JANSSON_INCLUDES = -I$(top_srcdir)/compat/jansson-2.5/src||' -i ./Makefile.in
  sed 's|USBUTILS_INCLUDES = -I$(top_srcdir)/compat/libusb\-1.0/libusb|USBUTILS_INCLUDES = -I/usr/include/libusb-1.0|' -i ./Makefile.in
  sed 's|SUBDIRS = lib compat ccan|SUBDIRS = lib ccan|' -i ./Makefile.in

  rm -r compat

but hey thanks for the suggestion to try out the git version. I'll do that and report back if it fix my problem.

Thank you very much!

BTC: 1ABewnrZgCds7w9RH43NwMHX5Px6ex5uNR
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
October 25, 2013, 03:45:03 AM
 #13019

3.6.4 ONLY builds with the jansson and libusb included in cgminer (which is libusb-1.0.16-rc10, NOT libusbx). It ignores any installed libraries on your machine since it's the only way I can guarantee people are using the most stable libraries. As for it hanging on closing, it's a clusterfuck that I've never been able to completely fix due to millions of threads going wild and no clean way to shut it down with some things never returning. Blame me.

Con,

you must know that it is trivial for a ArchLinux maintainer to sed your configure.ac script to do whatever he wants. Here is a snippet of the PKGBUILD script:

Code:
  # We have latest jansson and libusb - just use them
  sed "s|ac_subdirs_all='compat/libusb\-1.0\ncompat/jansson-2.5'||" -i ./configure
  sed 's|subdirs="$subdirs compat/libusb\-1.0"||' -i ./configure
  sed 's|subdirs="$subdirs compat/jansson\-2.5"||' -i ./configure
  sed 's|LIBUSB_LIBS="compat/libusb-1.0/libusb/.libs/libusb-1.0.a"|LIBUSB_LIBS=-lusb-1.0|' -i ./configure
  sed 's|JANSSON_LIBS="compat/jansson-2.5/src/.libs/libjansson.a"|JANSSON_LIBS=-ljansson|' -i ./configure
  sed 's|compat/Makefile ||' -i ./configure

  sed 's|JANSSON_INCLUDES = -I$(top_srcdir)/compat/jansson-2.5/src||' -i ./Makefile.in
  sed 's|USBUTILS_INCLUDES = -I$(top_srcdir)/compat/libusb\-1.0/libusb|USBUTILS_INCLUDES = -I/usr/include/libusb-1.0|' -i ./Makefile.in
  sed 's|SUBDIRS = lib compat ccan|SUBDIRS = lib ccan|' -i ./Makefile.in

  rm -r compat

but hey thanks for the suggestion to try out the git version. I'll do that and report back if it fix my problem.

Thank you very much!

Sure, but just be aware that many distros include libusbx and not libusb native, and that libusbx is LESS reliable despite being a later version which is precisely why I include the one that I want people to use in-tree.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
lano1106
Member
**
Offline Offline

Activity: 112


View Profile WWW
October 25, 2013, 03:49:41 AM
 #13020

Sure, but just be aware that many distros include libusbx and not libusb native, and that libusbx is LESS reliable despite being a later version which is precisely why I include the one that I want people to use in-tree.

Oups. then maybe we should report that to the maintainer as this is precisely what all ArchLinux users are using with cgminer binary package:

Code:
lano1106@whippet2 /var/abs/community/cgminer $ pacman -Qs libusb
local/libgusb 0.1.6-1
    GLib wrapper around libusb1
local/libusbx 1.0.17-1
    Library that provides generic access to USB device

BTC: 1ABewnrZgCds7w9RH43NwMHX5Px6ex5uNR
Pages: « 1 ... 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 [651] 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 ... 830 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!