Bitcoin Forum
May 27, 2024, 08:52:34 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Need help with gridseed cpuminer  (Read 813 times)
baronobeefdip (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
July 10, 2014, 11:18:50 PM
Last edit: July 11, 2014, 05:02:14 PM by baronobeefdip
 #1

I have Mint Linux installed on my computer and I just started playing around with the gridseed ASIC device. I have everything setup fine but I keep getting the end result that I didn't want. I installed cpuminer in this manner

I downloaded the gridseed version of it, then I downloaded all the necessary dependencies and ran these commands in the directory containing the cpuminer program source files.
Code:
./configure CFLAGS="-O3 msse2"
make
make install

The program compiled and installed fine, the minerd command is available and I can use it. This is where I started running into problems. I ran the following command
Code:
minerd --freq=850 --gc3355=/dev/ttyACM0 -u stratum+tcp://gridseed.wemineltc.com:3333 -u baronobeefdip.1 -p ****

The program starts to run and I leave it alone for 15 minutes. When I returned I see that I can only see yellow lines of output. I am supposed to be seeing green lines of output which would indicate to me that it is hashing away and is mining coins. Instead there are no green lines showing in the terminal and I am assuming this means that it hasn't been doing anything. to top it off the site of the pool shows my worker doesn't have a hashrate next to it. What am I doing wrong here. I know for sure it isn't the device since I got this all working in windows 7 earlier. I want it to work in Linux but it doesn't seem to be working for me in Mint. Is there a different Linux distro that you would reccomend or is Mint good enough?
gpfleging
Newbie
*
Offline Offline

Activity: 51
Merit: 0


View Profile
July 11, 2014, 01:35:33 AM
 #2

Have you tried to run the command with sudo?

If you have verified with lsusb -v that you can see the USB device connected to the machine then you should be able to get it going on linux with no issues, I had a machine set up running multiple brands of USB ASICs to both bgminer & cgminer running with different configs so that part should work ok.  The thing that I had to do was use sudo to allow the miner software permission to access the USB devices.  One I did that it worked like a dream.

Good luck..
baronobeefdip (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
July 11, 2014, 05:08:42 PM
Last edit: July 11, 2014, 06:00:02 PM by baronobeefdip
 #3

Have you tried to run the command with sudo?

If you have verified with lsusb -v that you can see the USB device connected to the machine then you should be able to get it going on linux with no issues, I had a machine set up running multiple brands of USB ASICs to both bgminer & cgminer running with different configs so that part should work ok.  The thing that I had to do was use sudo to allow the miner software permission to access the USB devices.  One I did that it worked like a dream.

Good luck..
I have been running it under root (after issuing the sudo -s command) and it seems to be doing that. I started running it with the sudo command before the minerd command and I am still getting lots of yellow text and no green text. thus the hashrate on the pool site is showing nothing. I am at a loss here. I am see the device in lspci and the minerd command is recognizing the device and is able to use it. the command is also successfully connected to the pool and showing some activity. the only problem I am having is that the program isn't doing anything under Linux. It works great in windows and I get the green and blue text through mining. I am not understanding why it's not working under Linux. To be clear, the program was compiled as I described in the first post, the program is working and is connecting to the pool and recognizing the device and is able to use it. It just won't work, I can see it's not working because the terminal isn't showing green text and is instead showing lots of yellow. Obviously something is wrong and I don't know what it is. It works fine in this same program under windows I just don't know why it's not working here. Is there a driver or something that I need to install in order for it to work better under Linux? Also, what am I looking for in the lsusb command, There is too much stuff being displayed and I am wanting to know what I should greg since it's a lot of stuff to go through. What Linux distribution would you recommend, I am using MINT and I am starting to think that this might be the problem. If it doesn't seem so that I am really at a loss here. I'm patching it for now and I'll post back with the results.

UPDATE!!!
Just updates the machine (apt-get upgrade) in hoping that a newer version of the Linux kernel would better support the device. I also ran the lsusb -v command and this came up
Code:
Bus 002 Device 006: ID 0483:5740 STMicroelectronics STM32F407
  idProduct          0x5740 STM32F407
  iProduct                2 STM32 Virtual COM Port

Still no sign of any green text so whatever is wrong it's still wrong. And to further clarify, the yellow text that keeps showing up is basically telling me that it can't stop dispatching new work. Windows finds work within 30 seconds but this doesn't seem to be doing the same.

ANOTHER UPDATE!!!
So I ran cpuminer with the syslog option and this is what came up. This could be useful in finding my solution to the problem
Code:
Jul 11 12:56:46 baron modem-manager[792]: <info>  (ttyACM0) closing serial port...
Jul 11 12:56:46 baron modem-manager[792]: <info>  (ttyACM0) serial port closed
Jul 11 12:56:46 baron modem-manager[792]: <info>  (ttyACM0) opening serial port...
Jul 11 12:56:52 baron modem-manager[792]: <info>  (ttyACM0) closing serial port...
Jul 11 12:56:52 baron modem-manager[792]: <info>  (ttyACM0) serial port closed
Jul 11 12:56:52 baron modem-manager[792]: <info>  (ttyACM0) opening serial port...
Jul 11 12:57:04 baron modem-manager[792]: <info>  (ttyACM0) closing serial port...
Jul 11 12:57:04 baron modem-manager[792]: <info>  (ttyACM0) serial port closed
Jul 11 12:57:04 baron modem-manager[792]: <info>  (ttyACM0) opening serial port...
Jul 11 12:57:10 baron modem-manager[792]: <info>  (ttyACM0) closing serial port...
Jul 11 12:57:10 baron modem-manager[792]: <info>  (ttyACM0) serial port closed

It seems that the modem manager keeps continuously opening and closing the port, I also checked the modem manager and it doesn't seem to be detecting the device. I wonder if I need some drivers for this thing. This is just something to consider.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!