OtaconEmmerich
|
|
October 22, 2013, 11:20:05 AM |
|
ARGH! This is the 5th time or so I've gotten a Seg fault or LibUSB I/O error. It seems to happen almost every 24-30 hours or so. I wonder if this is an issue in 3.6.1? I hope updating to 3.6.3 fixes it, I was waiting for another update but..Maybe I can make a scheduled script to restart it every 20 hours if it still shows up..What would be the best way to do that?
|
|
|
|
P_Shep (OP)
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
October 22, 2013, 09:13:28 PM |
|
Cron can do that, you'll have to google it though.
Try 3.6.3, may work better. I'm not going to release 3.6.4, the changes I don't think will much affect this build.
|
|
|
|
3KyNoX
Member
Offline
Activity: 81
Merit: 10
|
|
October 23, 2013, 04:23:31 PM |
|
Is there a way to get cgminer working on Atheros based router (TPLINK WR1043ND) that cannot use 'service' command. Got DD-WRT installed with Optware (Optware trick for Atheros comes from http://www.dd-wrt.com/phpBB2/viewtopic.php?t=86912&postdays=0&postorder=asc&start=0 that permit to use 'opkg' instead of 'service' command). Tried with 'opkg' : root@BNT /tmp $ opkg install cgminer_3.6.3_mipsel.ipk Unknown package 'cgminer'. Collected errors: * pkg_hash_fetch_best_installation_candidate: Packages for cgminer found, but incompatible with the architectures configured * opkg_install_cmd: Cannot install package cgminer. ipkg returns nothing : root@BNT /tmp $ ipkg install cgminer_3.6.3_mipsel.ipk ERROR: File not found: //usr/local/lib/ipkg/lists/whiterussian You probably want to run `ipkg update' ERROR: File not found: //usr/local/lib/ipkg/lists/non-free You probably want to run `ipkg update' ERROR: File not found: //usr/local/lib/ipkg/lists/backports You probably want to run `ipkg update' /bin/ipkg: line 1184: sort: not found root@BNT /tmp $ The error returned with ipkg comes from the optware atheros trick and doesn't matter. Thanks for help.
|
Donate : 1MmSvVtcZMLtCbk6RcEXRei91K8VrgPxoC
|
|
|
P_Shep (OP)
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
October 23, 2013, 04:53:11 PM |
|
Is there a way to get cgminer working on Atheros based router (TPLINK WR1043ND) that cannot use 'service' command. Got DD-WRT installed with Optware (Optware trick for Atheros comes from http://www.dd-wrt.com/phpBB2/viewtopic.php?t=86912&postdays=0&postorder=asc&start=0 that permit to use 'opkg' instead of 'service' command). Tried with 'opkg' : root@BNT /tmp $ opkg install cgminer_3.6.3_mipsel.ipk Unknown package 'cgminer'. Collected errors: * pkg_hash_fetch_best_installation_candidate: Packages for cgminer found, but incompatible with the architectures configured * opkg_install_cmd: Cannot install package cgminer. There's your problem. If I put a lot of effort in, I probably could get it to compile for atheros... but then I couldn't test it in any way.
|
|
|
|
3KyNoX
Member
Offline
Activity: 81
Merit: 10
|
|
October 23, 2013, 06:48:51 PM |
|
Thanks for your reply.
I could test it, and help you in any ways. I'm compiling things since a long time using gcc on linux, but can't find your method for cgminer.
Anyway it could add support for Atheros peoples. I'm ready for testing purpose.
|
Donate : 1MmSvVtcZMLtCbk6RcEXRei91K8VrgPxoC
|
|
|
OtaconEmmerich
|
|
October 23, 2013, 08:14:51 PM |
|
Yet another Seg fault How can I check to see what's causing these? At least this time around I didn't have to reboot the router.
|
|
|
|
-ck
Legendary
Offline
Activity: 4284
Merit: 1645
Ruu \o/
|
|
October 23, 2013, 08:41:47 PM |
|
I've tried to make the current git master compile against the system libusb optionally now with the --with-system-libusb option.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
P_Shep (OP)
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
October 23, 2013, 08:42:16 PM |
|
Mine's been up for over 6 days now with no issue.
I could compile a debug version for you, which you'll have to run with gdb, to try can catch the error.
There's a 'low memory' flag you could try adding to cgminer.sh '--lowmem' might help?
|
|
|
|
P_Shep (OP)
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
October 23, 2013, 08:42:56 PM |
|
I've tried to make the current git master compile against the system libusb optionally now with the --with-system-libusb option.
Nice, that's very useful, thanks.
|
|
|
|
OtaconEmmerich
|
|
October 24, 2013, 01:01:01 AM |
|
I've tried to make the current git master compile against the system libusb optionally now with the --with-system-libusb option.
That does sound very useful. Mine's been up for over 6 days now with no issue.
I could compile a debug version for you, which you'll have to run with gdb, to try can catch the error.
There's a 'low memory' flag you could try adding to cgminer.sh '--lowmem' might help?
I'll try running with that flag next time, I can't get cgminer running as a service FYI. Every time It crashes I have to kill the screen instance if it doesn't default back to a prompt and retype the whole damned line. I wouldn't mind running a debug verison if it will help figure out what is causing this bug.
|
|
|
|
nitrox
Member
Offline
Activity: 136
Merit: 10
tester
|
|
October 26, 2013, 07:11:47 PM |
|
how to add patch for HEX16A in cgminer for openwrt from this post The patch for cgminer is available for download from the technobit's web page link
|
|
|
|
nitrox
Member
Offline
Activity: 136
Merit: 10
tester
|
|
October 27, 2013, 07:29:38 PM |
|
come on anyone ?
|
|
|
|
P_Shep (OP)
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
October 27, 2013, 08:49:38 PM |
|
come on anyone ?
Ask Con. This isn't the place for that.
|
|
|
|
P_Shep (OP)
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
November 05, 2013, 07:06:40 PM |
|
|
|
|
|
OtaconEmmerich
|
|
November 07, 2013, 08:15:45 AM |
|
Had an error installing the new update. 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
|
|
|
|
|
OtaconEmmerich
|
|
November 18, 2013, 07:10:47 AM |
|
Spits out a bunch of errors out for me. [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. [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
|
|
|
|
|
OtaconEmmerich
|
|
December 09, 2013, 06:04:13 PM |
|
Boo Same error as last time. LIBUSB_ERROR_NOT_SUPPORTED Back to 3.6.1 again.
|
|
|
|
P_Shep (OP)
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
December 09, 2013, 06:45:35 PM |
|
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.
|
|
|
|
|