Ourperrin
Newbie

Activity: 3
Merit: 0
|
 |
February 24, 2014, 08:54:03 AM |
|
Hi I am a noob to this I have just installed cgminer 4.0.0 onto my raspberry pi I have a nanofury connected to my usb hub, the pi is running raspbian. How can I get the nano fury working on this version of cgminer? I have managed to start cgminer but the miner is found. Do I need to enable it in the configuration file? How do I do this retrospectively? (There was the option to edit it while installing cgminer)
Also when I ssh into the pi and start the miner when I close the connection it stops the miner, how can I stop this?
Any help would be much appreciated
Thanks
|
|
|
|
|
lamero
Newbie

Activity: 6
Merit: 0
|
 |
February 24, 2014, 08:56:09 AM |
|
Hi guys. I need help (I read a lot of topic but I can't find a solution) with a Raspberry pi (raspbian distro) an a Antminer U1. I compiled CGMINER: pi@raspberrypi$: ./configure --enable-bmsc I launched it with: pi@raspberrypi$: sudo ./cgminer --bmsc-options 115200:20 -o http://p2pool.org:9332 -u <mywalletid> -p xxx --bmsc-freq 0781 -D I have: ... AMU0: GetResults (amt=0 err=-7 ern=110) Send freq getstatus ok AMU0: GetResults (amt=0 err=-7 ern=110) AMU0: Read freq Comms timeout (rerr=-7 relen=0) AMU0: GetResults (amt=0 err=-7 ern=110) AMU0: Read freq Comms timeout (rerr=-7 relen=0) Send freq getstatus 84000400 AMU0: GetResults (amt=0 err=-7 ern=110) Send freq getstatus ok Read data(5):800f00011d ...
So I tried: pi@raspberrypi $ sudo ./cgminer -n And this is the result: USB all: found 10 devices - listing known devices .USB dev 0: Bus 1 Device 15 ID: 10c4:ea60 Manufacturer: 'Silicon Labs' Product: 'CP2102 USB to UART Bridge Controller' 1 known USB devices I have a powered USB hub (DLINK 7 ports 2A). What's wrong? Thanks
|
|
|
|
|
-ck (OP)
Legendary

Activity: 4788
Merit: 1732
Ruu \o/
|
 |
February 24, 2014, 09:02:10 AM |
|
Hi guys. I need help (I read a lot of topic but I can't find a solution) with a Raspberry pi (raspbian distro) an a Antminer U1. I compiled CGMINER: pi@raspberrypi$: ./configure --enable-bmsc I launched it with: pi@raspberrypi$: sudo ./cgminer --bmsc-options 115200:20 -o http://p2pool.org:9332 -u <mywalletid> -p xxx --bmsc-freq 0781 -D You're using commands from an unofficial fork. Please read the readme as the complicated commands have been replaced and vastly simplified in the official cgminer: ./configure --enable-icarus sudo ./cgminer --anu-freq 200
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
lamero
Newbie

Activity: 6
Merit: 0
|
 |
February 24, 2014, 09:28:00 AM |
|
pi@raspberryp$ sudo ./cgminer --anu-freq 200 Gives me: pi@raspberryp$ ./cgminer: --anu-freq: unrecognized option Instead this works: pi@raspberryp$ sudo ./cgminer -o http://p2pool.org:9332 -u <mywalletid> -p xxx
|
|
|
|
|
-ck (OP)
Legendary

Activity: 4788
Merit: 1732
Ruu \o/
|
 |
February 24, 2014, 09:29:50 AM |
|
pi@raspberryp$ sudo ./cgminer --anu-freq 200 Gives me: pi@raspberryp$ ./cgminer: --anu-freq: unrecognized option Instead this works: pi@raspberryp$ sudo ./cgminer -o http://p2pool.org:9332 -u <mywalletid> -p xxx Then you have not compiled with icarus support from the latest official cgminer code. There is only one official place to download cgminer.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
kano
Legendary

Activity: 4844
Merit: 1932
Linux since 1997 RedHat 4
|
 |
February 24, 2014, 09:52:37 AM |
|
... Also when I ssh into the pi and start the miner when I close the connection it stops the miner, how can I stop this? ...
https://github.com/kanoi/cgminer-runEdit: of course that requires 'screen' to be installed
|
|
|
|
|
|
-ck (OP)
Legendary

Activity: 4788
Merit: 1732
Ruu \o/
|
 |
February 24, 2014, 12:26:06 PM |
|
Go back to my original instructions then, as it should build from git. cgminer 3.9.0 is also ancient and anu support has only been very recent so that's pointless.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
lamero
Newbie

Activity: 6
Merit: 0
|
 |
February 24, 2014, 01:07:11 PM |
|
pi@raspberrypi $ git clone https://github.com/ckolivas/cgminer pi@raspberrypi $ cd cgminer pi@raspberrypi $ ./autogen.sh pi@raspberrypi $ CFLAGS="-O2 -Wall -march=native" pi@raspberrypi $ ./configure --enable-icarus pi@raspberrypi $ make pi@raspberrypi $ sudo ./cgminer -o "socks5:127.0.0.1:9151|http://p2pool.org:9332" -u <mywalletid> -p xxx --anu-freq 200
Worked. Thanks 
|
|
|
|
|
-ck (OP)
Legendary

Activity: 4788
Merit: 1732
Ruu \o/
|
 |
February 24, 2014, 01:10:39 PM |
|
pi@raspberrypi $ git clone https://github.com/ckolivas/cgminer pi@raspberrypi $ cd cgminer pi@raspberrypi $ ./autogen.sh pi@raspberrypi $ CFLAGS="-O2 -Wall -march=native" pi@raspberrypi $ ./configure --enable-icarus pi@raspberrypi $ make pi@raspberrypi $ sudo ./cgminer -o "socks5:127.0.0.1:9151|http://p2pool.org:9332" -u <mywalletid> -p xxx --anu-freq 200
Worked. Thanks  Great. You don't even need --anu-freq since 200 is the default, but you can usually easily overclock these to 250.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
lamero
Newbie

Activity: 6
Merit: 0
|
 |
February 24, 2014, 01:16:57 PM |
|
Without extra fan?
|
|
|
|
|
Buchi-88
Legendary

Activity: 4564
Merit: 3365
|
 |
February 24, 2014, 01:21:14 PM |
|
Thanks for the new version I am running quite well, but for what this is added? pi@raspberrypi $ CFLAGS="-O2 -Wall -march=native" is for the operation antminer important? because from time to time my PI hang upwith CG 4.0.0? regards
|
|
|
|
Ourperrin
Newbie

Activity: 3
Merit: 0
|
 |
February 24, 2014, 08:59:21 PM |
|
... Also when I ssh into the pi and start the miner when I close the connection it stops the miner, how can I stop this? ...
https://github.com/kanoi/cgminer-runEdit: of course that requires 'screen' to be installed Thanks Kano, how do I install this? What is the command I need to type? Thanks
|
|
|
|
|
|
|
Bogart
Legendary

Activity: 966
Merit: 1000
|
 |
February 24, 2014, 11:42:22 PM |
|
from time to time my PI hang upwith CG 4.0.0?
Hanging Pi? Try adding the slub_debug=FP boot argument as described here: http://projectklondike.org/how-to-run#rpi-freeze
|
"All safe deposit boxes in banks or financial institutions have been sealed... and may only be opened in the presence of an agent of the I.R.S." - President F.D. Roosevelt, 1933
|
|
|
kano
Legendary

Activity: 4844
Merit: 1932
Linux since 1997 RedHat 4
|
 |
February 25, 2014, 02:58:14 AM |
|
Deleted post: Remove my name from the AUTHORS file. The information in there is wrong (as you know - what you wrote is not correct) and the email address in there is also wrong (as you have known for a long time)
If there is wrong information, give me a correction for it. Removing your name would certainly be wrong. Look here you fucking retard. You know it is wrong since the commits that you look at in cgminer firstly included a change of email address long ago that you ignored and also you know what code I wrote but changed the AUTHORS to ignore most of that. When you made a hostile forked cgminer (that one of the first things in the fork was to remove Con's donation address and replace it with your donation address) you had a pittance of code in there (even less than me) and even your excuse for claiming that you are the master fork is based on a commit of a few hundred lines that were mostly copied from Con's code, it was simply an idea to use a structure of functions to call the necessary mining functions rather than have them hard coded as they were in the GPU code you copied, and a driver that even showed you didn't understand some of the code you copied. Yes I know you like playing god in your little thread where you can lie as you like and pretend that you are some incompetent moron who doesn't even know he's lying, but the fact is you know both of these things about AUTHORS file. I demand my name be removed from that file - and since it is my name I certainly have the right to. P.S. yes this will be posted on the forum.
|
|
|
|
Buchi-88
Legendary

Activity: 4564
Merit: 3365
|
 |
February 25, 2014, 08:39:14 AM |
|
Thanks, i will test 
|
|
|
|
chek2fire
Legendary

Activity: 3430
Merit: 1143
Intergalactic Conciliator
|
 |
February 25, 2014, 04:41:46 PM |
|
Deleted post: Remove my name from the AUTHORS file. The information in there is wrong (as you know - what you wrote is not correct) and the email address in there is also wrong (as you have known for a long time)
If there is wrong information, give me a correction for it. Removing your name would certainly be wrong. Look here you fucking retard. You know it is wrong since the commits that you look at in cgminer firstly included a change of email address long ago that you ignored and also you know what code I wrote but changed the AUTHORS to ignore most of that. When you made a hostile forked cgminer (that one of the first things in the fork was to remove Con's donation address and replace it with your donation address) you had a pittance of code in there (even less than me) and even your excuse for claiming that you are the master fork is based on a commit of a few hundred lines that were mostly copied from Con's code, it was simply an idea to use a structure of functions to call the necessary mining functions rather than have them hard coded as they were in the GPU code you copied, and a driver that even showed you didn't understand some of the code you copied. Yes I know you like playing god in your little thread where you can lie as you like and pretend that you are some incompetent moron who doesn't even know he's lying, but the fact is you know both of these things about AUTHORS file. I demand my name be removed from that file - and since it is my name I certainly have the right to. P.S. yes this will be posted on the forum. I see that cgminer is in GPLv3 so http://en.wikipedia.org/wiki/GNU_General_Public_Licenseanyone can take the code change it and use it as he like s and return the change code to the owner. I dont see that Luke do something wrong with the code. If you dont want this you can change the GPL to something else http://www.gnu.org/licenses/quick-guide-gplv3.htmlthe freedom to use the software for any purpose, the freedom to change the software to suit your needs, the freedom to share the software with your friends and neighbors, and the freedom to share the changes you make. and something else if you feel that luke violated cgminer code Under GPLv2, if you violated the license in any way, your rights were automatically and permanently lost. The only way to get them back was to petition the copyright holder. While a strong defense against violations is valuable, this policy could cause a lot of headache when someone accidentally ran afoul of the rules. Asking all the copyright holders for a formal restoration of the license could be burdensome and costly: a typical GNU/Linux distribution draws upon the work of thousands.
GPLv3 offers a reprieve for good behavior: if you violate the license, you'll get your rights back once you stop the violation, unless a copyright holder contacts you within 60 days. After you receive such a notice, you can have your rights fully restored if you're a first-time violator and correct the violation within 30 days. Otherwise, you can work out the issue on a case-by-case basis with the copyright holders who contacted you, and your rights will be restored afterward.
Compliance with the GPL has always been the top priority of the FSF Compliance Lab and other groups enforcing the license worldwide. These changes ensure that compliance remains the top priority for enforcers, and gives violators incentive to comply. i like also to thank you for the great code that you have made you and conman and i dont think is good for the mining community all of this fight
|
|
|
|
kano
Legendary

Activity: 4844
Merit: 1932
Linux since 1997 RedHat 4
|
 |
February 25, 2014, 08:36:26 PM |
|
Deleted post: Remove my name from the AUTHORS file. The information in there is wrong (as you know - what you wrote is not correct) and the email address in there is also wrong (as you have known for a long time)
If there is wrong information, give me a correction for it. Removing your name would certainly be wrong. Look here you fucking retard. You know it is wrong since the commits that you look at in cgminer firstly included a change of email address long ago that you ignored and also you know what code I wrote but changed the AUTHORS to ignore most of that. When you made a hostile forked cgminer (that one of the first things in the fork was to remove Con's donation address and replace it with your donation address) you had a pittance of code in there (even less than me) and even your excuse for claiming that you are the master fork is based on a commit of a few hundred lines that were mostly copied from Con's code, it was simply an idea to use a structure of functions to call the necessary mining functions rather than have them hard coded as they were in the GPU code you copied, and a driver that even showed you didn't understand some of the code you copied. Yes I know you like playing god in your little thread where you can lie as you like and pretend that you are some incompetent moron who doesn't even know he's lying, but the fact is you know both of these things about AUTHORS file. I demand my name be removed from that file - and since it is my name I certainly have the right to. P.S. yes this will be posted on the forum. I see that cgminer is in GPLv3 so http://en.wikipedia.org/wiki/GNU_General_Public_Licenseanyone can take the code change it and use it as he like s and return the change code to the owner. I dont see that Luke do something wrong with the code. If you dont want this you can change the GPL to something else ... My request has nothing to do with GPLv3 It is the fact that the information about me in his AUTHORS file is false and he knows it is.
|
|
|
|
wolf_miner
Legendary

Activity: 1019
Merit: 1001
|
 |
February 25, 2014, 08:44:45 PM |
|
Hi when i try to compile cgminer there is an error, can you help me. Thanks in advance Luca make[2]: Entering directory `/home/cgminer-3.12.3' CC cgminer-cgminer.o CC cgminer-util.o CC cgminer-sha2.o CC cgminer-api.o CC cgminer-logging.o CC cgminer-klist.o CC cgminer-usbutils.o CC cgminer-driver-avalon.o CC cgminer-driver-hexminera.o CC cgminer-driver-hexminerc.o CCLD cgminer compat/libusb-1.0/libusb/.libs/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `udev_hotplug_event': /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:165: undefined reference to `udev_monitor_receive_device' /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:171: undefined reference to `udev_device_get_action' compat/libusb-1.0/libusb/.libs/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `udev_device_info': /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:137: undefined reference to `udev_device_get_devnode' /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:142: undefined reference to `udev_device_get_sysname' compat/libusb-1.0/libusb/.libs/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `udev_hotplug_event': /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:194: undefined reference to `udev_device_unref' compat/libusb-1.0/libusb/.libs/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `linux_udev_start_event_monitor': /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:64: undefined reference to `udev_monitor_new_from_netlink' /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:70: undefined reference to `udev_monitor_filter_add_match_subsystem_devtype' /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:76: undefined reference to `udev_monitor_enable_receiving' /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:81: undefined reference to `udev_monitor_get_fd' /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:58: undefined reference to `udev_new' compat/libusb-1.0/libusb/.libs/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `linux_udev_stop_event_monitor': /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:101: undefined reference to `udev_monitor_unref' /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:106: undefined reference to `udev_unref' compat/libusb-1.0/libusb/.libs/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `linux_udev_scan_devices': /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:212: undefined reference to `udev_enumerate_new' /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:218: undefined reference to `udev_enumerate_add_match_subsystem' /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:219: undefined reference to `udev_enumerate_scan_devices' /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:220: undefined reference to `udev_enumerate_get_list_entry' /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:230: undefined reference to `udev_device_unref' /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:222: undefined reference to `udev_list_entry_get_next' /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:223: undefined reference to `udev_list_entry_get_name' /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:226: undefined reference to `udev_device_new_from_syspath' compat/libusb-1.0/libusb/.libs/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `udev_device_info': /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:137: undefined reference to `udev_device_get_devnode' /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:142: undefined reference to `udev_device_get_sysname' compat/libusb-1.0/libusb/.libs/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `linux_udev_scan_devices': /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:235: undefined reference to `udev_device_unref' /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:238: undefined reference to `udev_enumerate_unref' /home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:206: undefined reference to `udev_new' collect2: error: ld returned 1 exit status make[2]: *** [cgminer] Error 1 make[2]: Leaving directory `/home/cgminer-3.12.3' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/cgminer-3.12.3' make: *** [all] Error 2 tc@box:/home/cgminer-3.12.3$
Modify message
libusb 1.0.17 libusb-dev 1.0.17 libusbcompat 0.1.5 libusbcompat-dev 0.1.5 udev-dev 173 udev-extra 173 udev-keymap 173 udev-lib 173
|
|
|
|
|
|