Bitcoin Forum
June 24, 2024, 02:02:55 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 [42] 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 ... 102 »
  Print  
Author Topic: [GUIDE] GridSeed 5-Chip USB, Blade & Black Miner Support/Tuning  (Read 308665 times)
maardein
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250


View Profile
March 25, 2014, 03:49:54 PM
 #821

Hi guys,
    Anyone managed to run Gridseed 5 Chip with full hashrate for LTC (300kh/s) with reduced BTC rates?

    According to specs for GC3355 (per chip):

 160 BTC Units
 4 LTC Units
 BTC mode up to 2.25G/s BTCHashRate, with 2.4W/GHash
 LTC mode up to 60K/s LTC Hash Rate
 Due-Coin mode up to 1.75G/s BTCHash Rate + 60K/s LTC HashRate, or up to 2.25G/s BTC Hash Rate + 38K LTC HashRate

   Anyone?

I got around 250kh/s + 9Gh/s at 700 frequency when I tested dual mode on the controller.

BTC: 1788UegKXGXXicfPcbZ1bmSUJ99ZWRCF7p
LTC: LZ2rCcoxK4X8wRRynqdxoimd4d3TDNk7Lk
PMP: PApSSdorQds5tQysymwDXPAN3viJLFTUs8
vertoe
Hero Member
*****
Offline Offline

Activity: 518
Merit: 505


View Profile
March 25, 2014, 03:52:43 PM
 #822


I did the port above, happy someone built a windows binary as I only run Linux myself.

would your fork compile on arch linux raspberry pi ?

I created gridseed aur packages for cgminer and cpuminer, if you run arch linux.
https://aur.archlinux.org/packages/?K=gridseed
They work on the raspberry pi (just tested).

Just modified the existing aur packages to use the gridseed git versions.
Contact me for feedback or any issues.
manfred87
Full Member
***
Offline Offline

Activity: 201
Merit: 100


View Profile
March 25, 2014, 05:09:31 PM
 #823

COMPLETE HOW-TO:
modify Scripta from Stock to automatically detect Gridseed GC3355 and show them in Web-Interface. ( No more ssh needed )

1. Download http://www.lateralfactory.com/download.php?file=scripta-1_1.tgz
2. Windows-User extract the .img-File and bring it to SD Card with http://sourceforge.net/projects/win32diskimager/
3. Boot Raspberry Pi with this SD Card
4. Detect IP Adress of Raspberry Pi in your Router
5. open ssh connection to port 7722 of that IP, user root, password scripta

6. Get modified cgminer
Code:
cd /opt/minepeon/bin
Code:
wget https://db.tt/UygLkqwd -O cgminer

7. Patch: Apply Gridseed Settings
Code:
nano /opt/minepeon/etc/miner.options.json
add here ( mind the { ... }, { ... } -Structure! )
Quote
{
 "key": "gridseed-options",
 "value": "baud=115200,freq=850,chips=5"
},
press Ctrl + o , Return, Ctrl + x to save changes

8. Patch: Allow Numbers as Password
Code:
 nano /var/www/f_settings.php
correct around line 60 to.. ( we remove “| JSON_NUMERIC_CHECK” )
Quote
file_put_contents($configPools, json_encode($newdata, JSON_PRETTY_PRINT));
press Ctrl + o , Return, Ctrl + x to save changes

9. Patch: More Stability for Raspberry Pi
Code:
nano /boot/cmdline.txt
add the parameter
Code:
 slub_debug=FP
( no new line! )
press Ctrl + o , Return, Ctrl + x to save changes

10. Patch: Graphs to be created by root
Code:
crontab -e
insert here:
Quote
0,5,10,15,20,25,30,35,40,45,50,55 * * * *  /usr/bin/php5 /opt/minepeon/etc/cron.d/5min/ALERTdeviceCount
0,5,10,15,20,25,30,35,40,45,50,55 * * * *  /usr/bin/php5 /opt/minepeon/etc/cron.d/5min/ALERThashrate
0,5,10,15,20,25,30,35,40,45,50,55 * * * *  /usr/bin/php5 /opt/minepeon/etc/cron.d/5min/hashrate
0,5,10,15,20,25,30,35,40,45,50,55 * * * *  /usr/bin/php5 /opt/minepeon/etc/cron.d/5min/temp
press Ctrl + o , Return, Ctrl + x to save changes
Code:
rm /var/spool/cron/crontabs/www-data

11.
Code:
reboot

12.
login to web interface with password scripta and be happy.




based on:

How to's:

  • STEP BY STEP RASPBERRY SCRIPTA INSTALLATION
  • BUILD CGMINER ON THE RASPBERRY
  • ROOT ACCESS TO LIGHTNINGASIC CONTROLLER
  • UBUNTU/LINUX INSTALLATION GUIDE


STEP BY STEP RASPBERRY SCRIPTA INSTALLATION


Step by Step Raspberry SCRIPTA Installation:



  • 1 - SD Formatter (link) clean up your SD Card. At least a 4GB SD.
  • 2 - Download the SCRIPTA Image (link)
  • 3 - Win 32 Disk Imager (link) and write the scripta image on the SD Card.
  • 4 - Put the SD Card into your Raspberry.
  • 5 - SSH access on port 7722, user: root / psw: scripta
  • 6 - Use WinSCP (link) to move over the latest rasp cgminer for gridseed (https://db.tt/UygLkqwd) or Use PuTTY (link)
Code:
wget https://db.tt/UygLkqwd -O cgminer
  • 7 - Go to the location where you copied over your cgminer and do "chmod 777 cgminer"
  • 8 - Go to the SCRIPTA Web GUI, under Miner hit Miner commands, STOP
  • 9 - Go to the location where you copied over your cgminer and run it from there using these commands:
Code:
./cgminer --scrypt -o <miningpooladdress:port> -u <user> -p <pw> --gridseed-options=baud=115200,freq=850

    Stability-Fix:
    Code:
    sudo nano /boot/cmdline.txt
    Add the following code at the end of the first line (on the same line as the other text, DO NOT add new line!)
    Code:
    slub_debug=FP

    Orginal Sources from: https://litecointalk.org/index.php?topic=9908.0

    How to get Scripta working as it was intended

    Follow the instructions by Darkfriend77 below but when you get to step 6, go to directory opt/minepeon/bin and remove the original cgminer there (rm cgminer). Now copy the new cgminer into this folder to replace the original and chmod it as below.
    Now go to directory opt/minepeon/startup and edit the file miner-start.sh with nano.
    Change the line -
    Code:
    sudo /usr/bin/screen -dmS cgminer /opt/minepeon/bin/cgminer -c /opt/minepeon/etc/miner.conf
    to
    Code:
    sudo /usr/bin/screen -dmS cgminer /opt/minepeon/bin/cgminer --scrypt --no-submit-stale --gridseed-options=baud=115200,freq=850 -c /opt/minepeon/etc/miner.conf
    Lastly apply the stability fix.
    Now you can close ssh and restart your pi and it should automatically fire up your gridseeds and start mining.


    BUILD CGMINER ON THE RASPBERRY


    referenced from litecointalk

    Quote
    build your CGMiner on the raspberry

    Something like this:

    Do a quick update just in case.
    Code:
    sudo apt-get update

    Get dependencies if you already havent.
    Code:
    sudo apt-get install build-essential autoconf automake libtool pkg-config libcurl4-gnutls-dev 
    sudo apt-get install libjansson-dev uthash-dev libncurses5-dev libudev-dev libusb-1.0-0-dev libevent-dev

    Clone the Repo:
    Code:
    git clone https://github.com/dtbartle/cgminer-gc3355.git

    Move into the directory, configure, and make the binary.
    Code:
    cd cgminer-gc3355
    ./configure CFLAGS="-O3" --enable-scrypt --enable-gridseed
    make

    Now you should see a cgminer file which was complied.  You may need to make it executable via:

    Code:
    chmod +x cgminer

    Then run this cgminer however you'd like.


    ROOT ACCESS TO LIGHTNINGASIC CONTROLLER


    Ok, I will post this here, since I think people could benefit from it. I'll have to give most of the credits to Girhes, since he told me about the failsafe mode of openWRT, and assisted me while trying to gain access (he did not have a controller himself yet).

    Please note that this is at YOUR OWN RISK, you could brick your device when you have root access to the controller. Please do NOT install any programs when you have root access, unless you really know what you are doing. There is almost no room left on the device, so installing a program could brick your device.

    1 - Start the controller in failsafe mode:

    Quote from: Girhes
    There are different HW versions of the TL-WR703N - on version 1.6 you have to power on the controller, wait until the led starts flashing twice a second (it takes about 4 seconds to get there), then push the reset button immediately. When the led starts to flash much faster your device is in failsafe mode. All other HW versions: power on the controller, wait 10-12 seconds until the led starts flashing, then immediately push the reset button for 1-2 seconds. Again, if the led will start blinking rapidly you are in failsafe mode.

    The versioin of your device is stated on the back of the device, underneath the barcode.

    2 - Telnet into the device:

    On windows go to start, type 'cmd' in the search bar, and start 'cmd.exe'. In the command window you get afterwards, type 'telnet 192.168.1.1'. Make sure you use the correct IP, my device used 192.168.1.1 in failsafe mode.

    There is no user/pass required in failsafe mode.

    3 - Switch to the live partition:

    Type 'mount_root'

    Warning! You are in the live partition now, with root permissions. You could seriously fuck thing up now!

    4 - Change the root password:

    Type 'passwd', and enter the password you would like (twice).

    5 - Enable SSH:

    Type 'vim /etc/config/dropbear', this will open the SSH config file in the vim text editor. You need to change "option enable" to "on".

    You can start editing the file by hitting the 'i' key. You can now insert/delete characters. After you are finished editing hit the 'esc' key to stop editing. Now hit the ':' key, and type 'wq'. This will write the file, and quit the editor. If you made mistakes while editing, and just want to quit (without writing the file), type 'q' instead of 'wq'.

    6 - Reboot the device:

    Just unplug the usb power, and plug it in again.

    7 - Have fun!

    You can now SSH into the device while it is running in normal mode. (user: root, password whatever you entered in step 4). Just be carefull not to mess things up. If you are not at least a little familiar with linux, please be very carefull.



    UBUNTU/LINUX INSTALLATION GUIDE


    Hi Scrypt miners,

    I was lucky enough to get one of the first Scrypt ASICs produced by Chinese GridSeed during my stay in South Korea last month. Cheers to Dis Btopia of xbitcoinx.com! Smiley I just hooked up one unit containing 5 chips to my Ubuntu box via USB port and here is what I did to get it running. Mind you, these instructions are for mining Scrypt, not SHA256 or dual mode, which the ASIC can also do. Most of the information I pieced together from this post in Chinese: http://cybtc.com/article-468-1.html

    Download GridSeed's modified cpuminer and unpack zip file:
    Code:
    wget https://github.com/gridseed/cpuminer/archive/master.zip
    unzip master.zip
    cd cpuminer-master

    ..or download via git:
    Code:
    git clone git@github.com:gridseed/cpuminer.git
    cd cpuminer

    Install automake:
    Code:
    sudo apt-get install automake

    You might need to install other compiling tools. I didn't need to, because I compiled other things before.

    Compile:
    Code:
    ./autogen.sh
    ./configure CFLAGS="-O3"
    make

    Connect and power up ASIC.

    Find correct USB device:
    Code:
    ls /dev/*USB*

    ..or watch syslog while plugging in ASIC:
    Code:
    tail -f /var/log/syslog

    Start mining (replace "ttyUSB0" with device found above and add your pool data):
    Code:
    sudo ./minerd --freq=600 --gc3355=/dev/ttyUSB0 --url=<your pool> --userpass=user:pass

    You should now see lots of output with yellow "LTC" lines. If you see red lines, that's bad. Wink Anyway, post here if you run into troubles.

    I am not quite sure what the green and red LEDs are about. As far as I can tell there is no English documentation about that anywhere. I assume green (which is on as soon as power and USB are connected) indicates a certain ready state and red (which flashes sometimes) means hardware errors.

    I am getting a lot of "Invalid nonce" errors in the cpuminer output along with red LED flashing. Probably because by mistake I got a 12V/0.5A power supply instead of 12V/5A and chips run low on power. So I can't tell you much about hash rates etc. right now. I'll get another power supply next week, so stay tuned.

    misc2012-de
    Member
    **
    Offline Offline

    Activity: 105
    Merit: 10


    View Profile
    March 25, 2014, 05:14:37 PM
     #824

    Nice work Manfred, BUT the problem is, it's not stable........RaspPi will crash with 20 of those gridseed units after an uncertain time........even if you modifiy cmdline.txt with slub_debug=FP....

    Code:
    smsc95xx 1-1.1:1.0 eth0: Failed to read reg index 0x00000114: -110
    suchmoon
    Legendary
    *
    Offline Offline

    Activity: 3710
    Merit: 8989


    https://bpip.org


    View Profile WWW
    March 25, 2014, 06:02:23 PM
     #825

    COMPLETE HOW-TO:

    Good stuff. I modified /etc/rc.local to start a different cgminer, instead of replacing minepeon's version, but it's essentially the same. Now the question I have is how to make Scripta handle more than one instance of cgminer? My crude workaround was to copy /var/www contents into subfolders, e.g. /var/www/1, /var/www/2 etc, and change 4028 port number in PHP files. It kind of works, except charts don't update, and I would prefer all instances and miners on one page. Is there a better way?
    maxzilla
    Member
    **
    Offline Offline

    Activity: 112
    Merit: 10


    View Profile
    March 25, 2014, 06:12:04 PM
     #826

    Nice work Manfred, BUT the problem is, it's not stable........RaspPi will crash with 20 of those gridseed units after an uncertain time........even if you modifiy cmdline.txt with slub_debug=FP....

    Code:
    smsc95xx 1-1.1:1.0 eth0: Failed to read reg index 0x00000114: -110

    Try Hashra controla 1.2.0
    It detects all gridseeds automatically in the webconsole (even 20 of them) and runs a solid 7200 khs (also on remote pool) stable .
    dozerz
    Legendary
    *
    Offline Offline

    Activity: 2227
    Merit: 1057



    View Profile
    March 25, 2014, 06:49:32 PM
     #827

    whats the best/most up to date raspi image for the lazy people?

    space for rent, shilling for sats
    usao
    Legendary
    *
    Offline Offline

    Activity: 1109
    Merit: 1000



    View Profile
    March 25, 2014, 06:56:14 PM
     #828

    whats the best/most up to date raspi image for the lazy people?
    hashra
    CartmanSPC
    Legendary
    *
    Offline Offline

    Activity: 1270
    Merit: 1000



    View Profile
    March 25, 2014, 07:07:03 PM
     #829

    Does Hashra controla run cgminer or cpuminer?

    usao
    Legendary
    *
    Offline Offline

    Activity: 1109
    Merit: 1000



    View Profile
    March 25, 2014, 07:37:21 PM
     #830

    Does Hashra controla run cgminer or cpuminer?
    The original question contained the phrase "Lazy", which is why I replied in the first place.
    I actually have no idea. It just has a web interface where you enter your pool, and MHZ speed and hit "Start".
    That's about as lazy as it gets. Right up my alley.
    miner765
    Member
    **
    Offline Offline

    Activity: 96
    Merit: 10


    View Profile
    March 25, 2014, 09:13:35 PM
     #831

    Is it only me that hashra controlla shows 7.2mh/s and pool shows around 6-6.5?
    maxzilla
    Member
    **
    Offline Offline

    Activity: 112
    Merit: 10


    View Profile
    March 25, 2014, 09:28:34 PM
     #832

    Is it only me that hashra controlla shows 7.2mh/s and pool shows around 6-6.5?

    What pool are you mining on? Gridseed chips are at their best when you set the pool difficulty to 64. Most pools allows you to hint the difficulty (wafflepool put d=64 as password)
    miner765
    Member
    **
    Offline Offline

    Activity: 96
    Merit: 10


    View Profile
    March 25, 2014, 10:33:34 PM
     #833

    Is it only me that hashra controlla shows 7.2mh/s and pool shows around 6-6.5?

    What pool are you mining on? Gridseed chips are at their best when you set the pool difficulty to 64. Most pools allows you to hint the difficulty (wafflepool put d=64 as password)

    Scryptguild. Will try setting difficulty to 64, had it on 256.
    suchmoon
    Legendary
    *
    Offline Offline

    Activity: 3710
    Merit: 8989


    https://bpip.org


    View Profile WWW
    March 25, 2014, 10:34:41 PM
     #834

    Is it only me that hashra controlla shows 7.2mh/s and pool shows around 6-6.5?

    What pool are you mining on? Gridseed chips are at their best when you set the pool difficulty to 64. Most pools allows you to hint the difficulty (wafflepool put d=64 as password)

    They are ok at high difficulties too, even middlecoin with 1024 is fine. Only short term variance might be affected.

    Wafflepool's "d=" doesn't go below 512.
    toxic0n
    Member
    **
    Offline Offline

    Activity: 413
    Merit: 10


    View Profile
    March 26, 2014, 01:37:15 AM
     #835

    Anyone know how to setup IP Tables on the Scripta image to avoid the client.reconnect attack?
    AJMiles
    Newbie
    *
    Offline Offline

    Activity: 56
    Merit: 0


    View Profile
    March 26, 2014, 03:49:32 AM
     #836

    I put up a mining guide for other who want to connect to DirectPool

    https://bitcointalk.org/index.php?topic=519078.0

    Enjoy~
    KryptoKings
    Hero Member
    *****
    Offline Offline

    Activity: 854
    Merit: 506



    View Profile
    March 26, 2014, 04:23:15 AM
     #837

    Nice work Manfred, BUT the problem is, it's not stable........RaspPi will crash with 20 of those gridseed units after an uncertain time........even if you modifiy cmdline.txt with slub_debug=FP....

    Code:
    smsc95xx 1-1.1:1.0 eth0: Failed to read reg index 0x00000114: -110

    Try Hashra controla 1.2.0
    It detects all gridseeds automatically in the webconsole (even 20 of them) and runs a solid 7200 khs (also on remote pool) stable .

    agreed. i have 60 gridseeds. 20 to every pi on 10 port usb hubs. installed it yesterday and ran 24 hours nice and smooth on Coinmine.pw.
    dkgenius
    Newbie
    *
    Offline Offline

    Activity: 4
    Merit: 0


    View Profile
    March 26, 2014, 04:32:57 AM
     #838

    Hey,

    I'm new to mining but I keep getting this in my feed.  Is this normal or am I doing something wrong?

    https://www.dropbox.com/s/7jw5kdibooeefpl/workupdate.png

    Any help is appreciated. Thanks.
    anarchyx914
    Sr. Member
    ****
    Offline Offline

    Activity: 338
    Merit: 251


    View Profile
    March 26, 2014, 02:27:57 PM
     #839

    Has anyone managed to compile CGMiner and get it to run stable for 24 hours? I am running about 20 gridseeds, but when I compile CGMiner as per instructions my system crashes after a few hours of mining, giving these messages:

    SendWork usb write err:(-7) LIBUSB_ERROR_TIMEOUT

    When I use the pre-compiled version, I dont get this error. I really want to use the manually compiled version so I can see the device IDs and tweak each device individually, the pre-compiled version does not show device IDs for me for some reason ;((
    usao
    Legendary
    *
    Offline Offline

    Activity: 1109
    Merit: 1000



    View Profile
    March 26, 2014, 03:17:52 PM
     #840

    Hey,

    I'm new to mining but I keep getting this in my feed.  Is this normal or am I doing something wrong?

    https://www.dropbox.com/s/7jw5kdibooeefpl/workupdate.png

    Any help is appreciated. Thanks.
    Having 0 accepted shares in 45 mins is not normal.
    Im using cgminer on 5x GSDs which have been running non-stop for 3.5 days.

    As you can see from the pix, im getting plenty of accepted shares...
    Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 [42] 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 ... 102 »
      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!