Bitcoin Forum
May 12, 2024, 10:20:37 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: Bitmain Antminer E3 (SD Card Flashing / Firmware Upgrade Details) on: February 03, 2019, 03:53:19 AM
My apologies, you are correct I mixed up those instructions with the t9+ recovery found here:

https://service.bitmain.com/support/download?product=Flashing%20SD%20card%20with%20image

I tried so many things I confused the two :-/.

The "t9+ -SD Tools.zip" found in the above link *does* have a folder in the zip, which is what I was referring to.

Will fix the OP.
2  Alternate cryptocurrencies / Mining (Altcoins) / Bitmain Antminer E3 (SD Card Flashing / Firmware Upgrade Details) on: February 03, 2019, 12:54:12 AM
After hours & hours of trying to get the SD card flash to work on the E3 I finally found a solution that worked (for me). This may work on non-E3 Bitmain asics, but YMMV

Original Instructions: https://support.bitmain.com/hc/en-us/articles/360008618093-How-to-upgrade-E3-firmware-via-SD-card

Note: These aren't the steps to perform, this is just more details & specifics about what's going on that Bitmain's instructions left out.

1. The Antminer E3 is super picky on which SD card you are using (2/3 of my 8gb cards were no good - Samsung worked). If you turn the power on with the SD card in (and jumper moved) and the front green & red LED lights are solid, most likely it doesn't like your card - try a different one.

2. Windows 7 / 10 was a problem (again for me - I'm sure people have got this to work in Windows). After countless formats between Windows 7 & Windows 10, I fired up a live CD of Fedora Linux, installed & ran gparted (you could just download a live cd of (https://gparted.org/livecd.php) to do the same), removed all partitions and formatted to fat32.

3. Inside the E3-SD-20180806-pool.zip you need to copy the contents to the root of the SD card.

4. Once you have a supported card and files in the right place, once you power on the miner the green & red LEDs on the front of your control board (by the Ethernet port) will be off for about 10 seconds. They will blink once, then go back off. After another 10 ~ 20 seconds they will continuously blink to tell you the copy process to the main board has completed. At this point, power the miner down, take out the SD card and move the jumper back.

Let me know if this helps, I wasted a ton of time with their shoddy ass instructions. Their support just sends you in circles.
3  Other / Beginners & Help / Re: Xubuntu Headless Miner *unable to open display* SOLVED on: June 19, 2013, 08:23:30 AM
Thank you devz3ro

Not a problem, glad I was able to help!
4  Other / Beginners & Help / Re: 1 free Ripple BTC giveaway - just post address! (Over 50 BTC gaveaway) on: May 17, 2013, 03:55:57 AM
rNMSHTVFY6ahQQ4ptx6487FUeWivDTyF6H

Sorry I have no XRP balance to create a trust :/ Anyone kind enough to donate? TIA!
5  Other / Beginners & Help / Re: Xubuntu Headless Miner *unable to open display* SOLVED on: May 17, 2013, 03:45:18 AM
Anyone getting the error below using the latest cgminer + Xubuntu:

./cgminer: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

Try the following:

Code:
$ sudo apt-get install libudev-dev libudev1
$ sudo cd /lib/x86_64-linux-gnu
$ sudo ln -s libudev.so.1 libudev.so.0
6  Other / Beginners & Help / Re: Xubuntu Headless Miner *unable to open display* SOLVED on: May 11, 2013, 04:14:51 AM
Here is my current mining script for my 7950 Sapphire 4L (I'm pretty sure shaders and thread-concurrency is redundant, but it works so I'm not messing with it):

#!/bin/bash
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
export DISPLAY=:0
cd ./bfgminer
./bfgminer --scrypt -o stratum+tcp://someminingpool.com:3333 -u worker.1 -p worker --gpu-powertune 20 --gpu-engine 1075 --gpu-memclock 1650 --auto-fan --temp-target 75 --failover-only --shaders 1792 --thread-concurrency 21712 -I 19 --lookup-gap 2 --gpu-vddc 1.012 -g 1 -w 256
7  Other / Beginners & Help / Xubuntu Headless Miner *unable to open display* SOLVED on: May 10, 2013, 05:08:20 PM
Are you stuck with the dreaded
Code:
xhost:  unable to open display ":0"
when trying to run cgminer / bfgminer on a headless machine?

After banging my head against the wall for a few hours I figured this out and decided to try and pass the knowledge onto anyone else that may be having a difficult time.

My goal was to have a completely headless setup which means:
Start the pc with no monitor, keyboard, or mouse plugged in whatsoever and be able to mine.

I followed both Xubuntu guides to get bfgminer and the ati drivers installed & enabled (more from the 12.10 one because that had the bfgminer instructions):

"Installed - Xubuntu 13.04, Raring Ringtail"

1. https://docs.google.com/document/d/1Gw7YPYgMgNNU42skibULbJJUx_suP_CpjSEdSi8_z9U/preview?sle=true
2. https://docs.google.com/document/d/1a1T3j5Vr5mAmet47VnVfZ2ba4XVQkwLrYarl6PpUs_E/edit

The instructions assume you aren't headless. The command that makes it all possible is 'xhost +'. The problem is 'xhost +' from a headless machine gives you something similar to the following (even as root):

    miner@rig:~$ export DISPLAY=:0
    miner@rig:~$ xhost +
    xhost:  unable to open display ":0"
    miner@rig:~$ sudo aticonfig --adapter=all --odgt
    ERROR - X needs to be running to perform AMD Overdrive(TM) commands
    miner@rig:~$

    miner@rig:~$ cgminer -n
     [2013-04-18 14:16:18] CL Platform 0 vendor: Advanced Micro Devices, Inc.                    
     [2013-04-18 14:16:18] CL Platform 0 name: AMD Accelerated Parallel Processing                    
     [2013-04-18 14:16:18] CL Platform 0 version: OpenCL 1.2 AMD-APP (1016.4)                    
     [2013-04-18 14:16:18] Error -1: Getting Device IDs (num)                    
     [2013-04-18 14:16:18] clDevicesNum returned error, no GPUs usable                    
     [2013-04-18 14:16:18] 0 GPU devices max detected

But if you run
Code:
netstat -l
you can clearly see that X is running.

What you will need to do is:

1. Install x11vnc
Code:
sudo apt-get install x11vnc

2. Create a password to connect
Code:
sudo x11vnc -storepasswd /etc/x11vnc.pass

3. Start it on ":0" referencing your magic cookie
Code:
sudo /usr/bin/x11vnc -auth /var/run/lightdm/root/:0 -noxrecord -noxfixes -noxdamage -rfbauth /etc/x11vnc.pass -forever -bg -rfbport 5900 -o /tmp/x11vnc.log -display :0

4. Connect to your headless machine via VNC on port 5900 (example using realvnc: 192.168.0.100:5900)

5. Open a terminal via the VNC session and type:
Code:
xhost +

6. Either connect via ssh and try to run your miner or try to start it via the VNC session.


Troubleshooting:

If the x11vnc password is giving your problems you can skip step 2 and run this in step 3 (to connect insecurely with no password)
Code:
sudo /usr/bin/x11vnc -auth /var/run/lightdm/root/:0 -noxrecord -noxfixes -noxdamage -forever -bg -rfbport 5900 -o /tmp/x11vnc.log -display :0

If you are having issues connecting via VNC, you can try the following (although I only used it with tightvncserver):

Edit using vi or pico, etc:

/home/youruser/.vnc/xstartup

Comment out:
Code:
#/etc/X11/Xsession

Add the following to the end of the file:

Code:
unset SESSION_MANAGER
exec startxfce4

Close & save the file, then issue the following command:

Code:
sudo coldreboot

Please donate LTC if this helped :-) @ LTgWjHtzgkLiXSDDBFdh8XwWJw3x6Hv5qu
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!