Pages:
Author

Topic: CGminer v3.8.5 on Broadcom based DD-WRT / OpenWRT - page 2. (Read 76917 times)

full member
Activity: 235
Merit: 100
uptime on router 8 hrs, still running and uses very little resources. 3.8.5.
What router model and what firmware if you wouldn't mind sharing.
newbie
Activity: 3
Merit: 0
I have an Asus RT N16 with ddwrt and a 5GH/s BFL miner.

I'm following the instructions posted at
http://pastebin.com/hwgm3kEe and
https://109.201.133.195/index.php?topic=76685.msg3911947

When starting cgminer I get:
  root@DD-WRT:/opt# cgminer
 [2013-12-12 05:41:53] Started cgminer 3.8.5                   
 [2013-12-12 05:41:53] Failed to sem_wait errno=89 cgsem=0x0x5061c8 in usbutils.c usb_resource_thread():3651

Not sure if I set up the usb libs properly, here is what I have
root@DD-WRT:/opt/lib# ls | grep libusb
libusb-0.1.so.4
libusb-0.1.so.4.4.4
libusb-1.0.so
libusb-1.0.so.0
libusb-1.0.so.0.1.0
libusb.so

root@DD-WRT:/opt/lib# ls -lR . | grep ^l
lrwxrwxrwx 1 root root      19 Dec 12 05:55 libusb-0.1.so.4 -> libusb-0.1.so.4.4.4
lrwxrwxrwx 1 root root      19 Dec 12 05:24 libusb-1.0.so -> libusb-1.0.so.0.1.0
lrwxrwxrwx 1 root root      19 Dec 12 04:31 libusb-1.0.so.0 -> libusb-1.0.so.0.1.0

Any ideas what could be the problem?
   

Well that should work OK. You don't need to worry about libusb though, cgminer is statically compiled.
To run straight from the cmd line, you may need to reset the library path:
unset LD_LIBRARY_PATH
unset LD_PRELOAD

I tried unsetting the path and after running cgminer it prints out the semwait error then exits.
No difference when I run: service cgminer start.
This is what I get when listing the usb devices:

root@DD-WRT:~# ls -l /dev/usb/tts/
total 0
crw------- 1 root root 188, 0 Jan  1  1970 0

Any ideas about what's wrong?


 
newbie
Activity: 7
Merit: 0
uptime on router 8 hrs, still running and uses very little resources. 3.8.5.
legendary
Activity: 1795
Merit: 1198
This is not OK.
I have an Asus RT N16 with ddwrt and a 5GH/s BFL miner.

I'm following the instructions posted at
http://pastebin.com/hwgm3kEe and
https://109.201.133.195/index.php?topic=76685.msg3911947

When starting cgminer I get:
  root@DD-WRT:/opt# cgminer
 [2013-12-12 05:41:53] Started cgminer 3.8.5                   
 [2013-12-12 05:41:53] Failed to sem_wait errno=89 cgsem=0x0x5061c8 in usbutils.c usb_resource_thread():3651

Not sure if I set up the usb libs properly, here is what I have
root@DD-WRT:/opt/lib# ls | grep libusb
libusb-0.1.so.4
libusb-0.1.so.4.4.4
libusb-1.0.so
libusb-1.0.so.0
libusb-1.0.so.0.1.0
libusb.so

root@DD-WRT:/opt/lib# ls -lR . | grep ^l
lrwxrwxrwx 1 root root      19 Dec 12 05:55 libusb-0.1.so.4 -> libusb-0.1.so.4.4.4
lrwxrwxrwx 1 root root      19 Dec 12 05:24 libusb-1.0.so -> libusb-1.0.so.0.1.0
lrwxrwxrwx 1 root root      19 Dec 12 04:31 libusb-1.0.so.0 -> libusb-1.0.so.0.1.0

Any ideas what could be the problem?
   

Well that should work OK. You don't need to worry about libusb though, cgminer is statically compiled.
To run straight from the cmd line, you may need to reset the library path:
unset LD_LIBRARY_PATH
unset LD_PRELOAD
newbie
Activity: 3
Merit: 0
I have an Asus RT N16 with ddwrt and a 5GH/s BFL miner.

I'm following the instructions posted at
http://pastebin.com/hwgm3kEe and
https://109.201.133.195/index.php?topic=76685.msg3911947

When starting cgminer I get:
  root@DD-WRT:/opt# cgminer
 [2013-12-12 05:41:53] Started cgminer 3.8.5                   
 [2013-12-12 05:41:53] Failed to sem_wait errno=89 cgsem=0x0x5061c8 in usbutils.c usb_resource_thread():3651

Not sure if I set up the usb libs properly, here is what I have
root@DD-WRT:/opt/lib# ls | grep libusb
libusb-0.1.so.4
libusb-0.1.so.4.4.4
libusb-1.0.so
libusb-1.0.so.0
libusb-1.0.so.0.1.0
libusb.so

root@DD-WRT:/opt/lib# ls -lR . | grep ^l
lrwxrwxrwx 1 root root      19 Dec 12 05:55 libusb-0.1.so.4 -> libusb-0.1.so.4.4.4
lrwxrwxrwx 1 root root      19 Dec 12 05:24 libusb-1.0.so -> libusb-1.0.so.0.1.0
lrwxrwxrwx 1 root root      19 Dec 12 04:31 libusb-1.0.so.0 -> libusb-1.0.so.0.1.0

Any ideas what could be the problem?
   
newbie
Activity: 7
Merit: 0

Installed and seems to be running.  I'll report on it after 24 hours have passed.
full member
Activity: 235
Merit: 100
Oh boy, Guess what?   Undecided
Code:
[2013-12-10 15:47:55] Started cgminer 3.8.5
 [2013-12-10 15:47:57] Probing for an alive pool
 [2013-12-10 15:47:58] Pool 0 difficulty changed to 2
 [2013-12-10 15:47:59] Network diff set to 908M
 [2013-12-10 15:49:18] AMU 5 SendWork usb write err:(-7) LIBUSB_ERROR_TIMEOUT   
 [2013-12-10 15:49:18] AMU 2 SendWork usb write err:(-7) LIBUSB_ERROR_TIMEOUT   
 [2013-12-10 15:49:18] AMU 4 SendWork usb write err:(-7) LIBUSB_ERROR_TIMEOUT   
 [2013-12-10 15:49:18] AMU 3 SendWork usb write err:(-7) LIBUSB_ERROR_TIMEOUT   
 [2013-12-10 15:50:45] AMU 5 attempted reset got err:(-5) LIBUSB_ERROR_NOT_FOUND
 [2013-12-10 15:50:45] AMU5: Comms error (werr=-5 amt=0)
 [2013-12-10 15:50:45] AMU 5 failure, disabling!
(5s):883.3M (avg):1.253Gh/s | A:0  R:0  HW:0  WU:0.0/m
It tries to mine, but 1 second after Network Diff shows up it all goes green(as in all the LED's on my BE's turn green)
It seems like at least it's TRYING to work but something hitches, Back to 3.6.3 and restarting every ~24 hours.
legendary
Activity: 1795
Merit: 1198
This is not OK.
full member
Activity: 235
Merit: 100
Thanks for all the effort you do Con, and Thanks for compiling these Shep. Whenever you get to 3.8.5 I'll give it a go again.

Also I ment 3.6.3  in the last post, Which has been stable sense I upgraded my firmware and reinstalled Optware fresh and will stay that way I hope.
newbie
Activity: 7
Merit: 0
Boo  Angry
Same error as last time. LIBUSB_ERROR_NOT_SUPPORTED  Angry
Back to 3.6.1 again.

I rolled back to 3.6.3 per P_Shep's suggestion.  I have had no problems since.  Hopefully ckolivas can figure out what's going on with the newer versions.  I tested 3.7.x & 3.8.x versions but could not get them to detect my BFL MiniRig SC.
legendary
Activity: 1795
Merit: 1198
This is not OK.
Oh great, Thanks Con. Smiley
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Same error as last time. LIBUSB_ERROR_NOT_SUPPORTED  Angry
I know what this is likely to be. Fixed in git, version 3.8.5 cgminer, when it's out, should have it fixed.
legendary
Activity: 1795
Merit: 1198
This is not OK.
Yeah, seems 3.6.3 is the last one which works. It's the one I've left running since I haven't had any problems and needed to upgrade.
full member
Activity: 235
Merit: 100
Boo  Angry
Same error as last time. LIBUSB_ERROR_NOT_SUPPORTED  Angry
Back to 3.6.1 again.
legendary
Activity: 1795
Merit: 1198
This is not OK.
Upped to 3.8.3:

https://www.dropbox.com/s/j5zxk6bwovp7t50/cgminer_3.8.3_mipsel.ipk

Another 'Rpi only' device was added in the last version which I shouldn't have enabled. Removed that now. Can't say if there's be no AMU errors though.
full member
Activity: 235
Merit: 100
Spits out a bunch of errors out for me.
Code:
[2013-11-17 23:00:38] AMU 0 SendWork usb write err:(-12) LIBUSB_ERROR_NOT_SUPPORTED
along with this after it finishes spitting out the errors.
Code:
[2013-11-17 22:51:49] Started cgminer 3.8.1
modprobe: module i2c-dev not found in modules.dep
 [2013-11-17 22:51:51] BlackArrowBitFuryGPIO failed to modprobe i2c-dev (256) - you need to be root?
 [2013-11-17 22:51:51] No devices detected!
 [2013-11-17 22:51:51] Waiting for USB hotplug devices or press q to quit       
 [2013-11-17 22:51:51] Probing for an alive pool
 [2013-11-17 22:51:52] Pool 0 difficulty changed to 2
 [2013-11-17 22:51:53] Network diff set to 609M
(5s):0.000 (avg):0.000h/s | A:0  R:0  HW:0  WU:0.0/m
legendary
Activity: 1795
Merit: 1198
This is not OK.
Upped to 3.8.1

https://www.dropbox.com/s/i8eze451k2obtgc/cgminer_3.8.1_mipsel.ipk

I've left off the pre/post inst scripts so it works on asuswrt.
full member
Activity: 235
Merit: 100
Had an error installing the new update.
Code:
Upgrading cgminer on /opt/ from 3.6.3 to 3.7.2...
sh: /opt/ipkg-rIrXPj/cgminer-d2hl3D/preinst: not found
preinst script returned status 127
An error ocurred, return value: 1.
Collected errors:
Aborting installation of cgminer
legendary
Activity: 1795
Merit: 1198
This is not OK.
legendary
Activity: 1795
Merit: 1198
This is not OK.
come on anyone ?

Ask Con. This isn't the place for that.
Pages:
Jump to: