Author Topic: Litecoin BAMT - Easy USB Linux mining distro (MARCH 29 update, v1.6.2, PiMP!)  (Read 339113 times)

Offline bee

  • Jr. Member
  • **
  • Posts: 77
BAMT is a USB-bootable linux distro designed specifically for mining. Litecoin BAMT is a fork of the original BAMT project that supports scrypt mining. Litecoin BAMT has been tested with Litecoin and other scrypt coins like Feathercoin.

More details about the original BAMT project can be found here: https://bitcointalk.org/index.php?topic=65915.0

Want to try something new? The BAMT community is working on a new 64bit mining distro, check it out at http://getPiMP.org

1.6.1 had some corrupted files, please grab 1.6.2!


Quick Start:
Litecoin BAMT comes in two flavors (see version matrix here: http://bamt.wikia.com/wiki/Litecoin_BAMT#Versions ):

Quote
Litecoin BAMT 1.6.2 "R9 Series (Catalyst 13.12)" supports all radeon cards, including the new R9 series.

v1.6.2 links:
 - https://mega.co.nz/#!jMN00JSY!HXLBKudwrV8rod5h6B1WDaLmQEUqYWmQ_bSiIBVhxLk
 - torrent: magnet:?xt=urn:btih:EC118A084AE3B69E865970A25B1954D71326D634&dn=litecoinbamt_r9_1.6.2.zip
MD5: 0D5AEF75258DCEB090F5A9892C1BA2DB


Previous version of "R9 Series (Catalyst 13.11)"

v1.5 "R9 Series (Catalyst 14.1)
 - https://mega.co.nz/#!iIkGXBCK!m0MM-wgjrlD_YMq0zv9svBJdoLe2cXJHqzh6PfA3jaw
MD5: F9039C6872FBE9504355F8D89C304A87

v1.3:
 - https://mega.co.nz/#!LMUUDSAZ!DtL-eTVbHU4Q9PEfH6YonninqLBNjJu-J8nGPlrzi8I
 - torrent: magnet:?xt=urn:btih:14E7C98FF1B2A43B8AE16F6CBA3BD8014BDF01DF&dn=litecoinbamt_r9_1.3.zip
MD5: 8903B2EA6F315371ABB1555FDA11A523


Quote
Litecoin BAMT 1.4 "7xxx Series (Catalyst 12.8 )" supports 7xxx and older radeon cards, but achieves higher hashrates. I have had reports that this version may work with R9 series cards, I need testers!
Download and extract litecointbamt_7xxx_1.4.zip (667 MB) from one of these links:
- https://mega.co.nz/#!yUUnkATY!qwpcS_NU4sDXFNaL72v-okFvbQPBd1-CEkzR7kLKh88
- magnet:?xt=urn:btih:F75BDC98B827BEC46EF5BC3F4D0C671294A995AD&dn=litecoinbamt_7xxx_1.4.zip
MD5: 3C73DDFECE9D86BAD1DBDA59240306F1

Previous version of "7xxx Series (Catalyst 12.8 )"
v1.1.1 links:
 - https://mega.co.nz/#!PBtRiRLJ!UVzn2T3u93YT2pqY6sn7BGzmmncyfLbmF3QCDLtDd9s
 - torrent: magnet:?xt=urn:btih:AC65BEC587661E93D82FB7D662117E8151137E79&dn=litecoinbamt1.1.1.zip

Using http://sourceforge.net/projects/win32diskimager/ or dd, write "litecoinbamt1.1.img" to a USB stick (2gb or larger).

Insert the USB stick into your mining rig and power it on. To run without a monitor, shut down first then start the machine with the monitor unplugged. Get the IP of your BAMT machine from your routers client list or from the BAMT desktop and connect to it using "Remote Desktop Connection" (or ssh) with the username 'user' and password 'live'.

Once connected to the BAMT desktop, open cgminer.conf (located in /etc/bamt) to edit the cgminer config:


To mine on the BAMT p2pool node, change the "user" to your LTC payment address:



The BAMT p2pool node (http://pool.sgminer.net:9327) features a low fee of 1% (lower than most competing pools), and income from this pool is invested in BAMT development!

Save your new config, and run "Restart mining sessions" to use the new settings:




Bugs:
The BAMT graphs may show incorrect data sometimes, look at the cgminer console to see the most accurate stats.
Do not use the built in update tool, it doesn't work.

There is a bug in BAMT 1.5 with sgminer and 290x powertune. A workaround that should help is to switch to cgminer: go to /opt/miners, then rename cgminer to sgminer, and rename cgminer3.7.2 to cgminer. Restart mining.



Tips:
What is a cgminer config?
http://www.lurkmore.com/wiki/Cgminer.conf

For getting the best hash rate, tweak your config:
http://www.brandonorndorff.com/bitcoin/mining/how-to-setup-and-optimize-your-cgminer-config-file/

For some help with generating a config, try cgEasy.

I've included my 620khash 7950 config in cgminer-7950oc.config. Make sure to edit the config the pool entries with your own!

To access the web UI, Navigate to your BAMT IP using a browser:


To see the cgminer console, open a terminal on the server and type:
Code: [Select]
sudo su
screen -ls
screen -r xxxx.cgminer

where xxxx is the number listed for the cgminer screen from the screen -ls output.

To learn how to make/optimize a cgminer config file, visit: https://coinaxis.com/index.php/tutorials/entry/how-to-configure-cgminer-for-bitcoin-litecoin-linux



Change Log:
(1.5)
(1.4.1) (community release by honeybee: https://litecointalk.org/index.php?topic=2924.msg116877#msg116877)
  • AMD catalyst software Ver.14.1
  • AMD-APP-SDK-v2.9
  • ADL_SDK_6.0
  • Intel´s e1000e network driver
(1.3)
  • drivers for the latest radeon series cards
  • the latest sgminer (4.0.0)
  • support for 6 cards
  • modified scripts which support litecoin mining/monitoring


lilyth's pool manager (1.4+):

To enable lilyth's pool manager, execute the following from a root terminal:
chmod +x /usr/lib/cgi-bin/*.pl

Then navigate to:
http://your.miner.ip/cgi-bin/status2.pl?

...to access lilyth's pool manager:


...and config editor:


To enable the config editor, follow the instructions for 'visudo' at: https://github.com/starlilyth/bamt-poolmanager/tree/master/confedit

Note: this feature is experimental. If your plan to expose your miner to the public internet, it's recommended that you execute /opt/bamt-pm/htsec.sh to configure a password for the web interface.


Security:
By default, BAMT has remote desktop and ssh enabled with a public password. If you're not using a router/firewall, use the passwd command to change the default password for the "root" and "user" accounts to something other than "live" before connecting to the internet with this distro.


Upgrading:
To upgrade to a newer version of BAMT, login with WinSCP file manager and download your cgminer config:
http://i.imgur.com/rvIXikm.png

Then install the new release, boot it up, and upload your config with WinSCP.

When upgrading, pay attention to the DRIVERS. For a clean upgrade, use a version with the same drivers as you are currently using. If you plan on upgrading to newer drivers, it is very likely that you will need to tweak your configs.

Do not upgrade to new drivers unless you are having problems, or want problems! It is well documented that older AMD drivers achieve better performance, if the drivers are working for you but you'd like new BAMT features, update manually or request that I post an updated image for your drivers.


Common Problems:
- Bad USB stick or write. If BAMT starts to boot, and crashes somewhere, you may have a bad image. Try writing it again, or try a different USB stick.
- Bad USB stick. Really. If your problem is irregular or hard to reproduce 100% of the time, the most likely cause is a crappy USB stick. Try a better one, I use a "Kingston Digital 32GB 100 G3 USB 3.0 DataTraveler".
- Bad config file. If BAMT started fine, and you made config changes and now BAMT does not work, you may have introduced errors in the config. Try to find the problem, or start from the beginning.
- Crashing/Instability. If you are experiencing crashes or freezes, try reducing your overclock, or using a better USB stick!
- Mining stops after unplugging/plugging a monitor. Solution: restart with the monitor plugged/unplugged.


Hardware/Settings:
For the best performance, you may need to flash your video card with a BIOS that supports different voltages: http://www.techpowerup.com/vgabios/

bee's rig:
ASRock Z77 Extreme 3
3x Powercolor 7950 Boost edition 1100/1375mhz +20 powertune @ 620khash

Please post your motherboard, graphics card model, hash rate, and settings if you try this distro, I am assembling a list of what works and what doesn't. If you run into any issues, please post in this thread and hopefully someone can help!


IRC:
#litecoin-bamt on freenode


Source:
https://bitbucket.org/beebee/bamt


Donate/Contribute:
Litecoin BAMT is getting popular, if anyone would like to contribute code, documentation, videos, graphics, or anything else, please get in touch! Development & updates are happening in IRC (#litecoin-bamt on freenode).

Mine on the BAMT p2pool node (http://pool.sgminer.net:9327) to help BAMT development. Simply enter 'http://pool.sgminer.net:9327' as your pool URL, your LTC payout address as the user, and the password '1', like this:
"url" : "http://pool.sgminer.net:9327",
"user" : "LRHxoNPBSVYhQL8u9cvVzdkJo7vvyhBDCE",
"pass" : "1"


Wiki:
A lot of useful information gets buried in this thread, bineon has started a wiki page for Litecoin BAMT here: http://bamt.wikia.com/wiki/Litecoin_BAMT
Please update the wiki page with any useful information that you find in the thread that has helped you get up and running.


Donations are appreciated:
LTC: LRHxoNPBSVYhQL8u9cvVzdkJo7vvyhBDCE
BTC: 1Fo2iH6MFzDknoxZgSDMpdg3FNRC8w6hiN
« Last Edit: March 29, 2014, 06:24:51 PM by bee »
Litecoin BAMT - Easy USB Bootable Linux Mining: https://forum.litecoin.net/index.php/topic,2924.0.html
SMOS with forced donations removed: https://litecointalk.org/index.php?topic=10253.0

Donations/tips:
LTC: LRHxoNPBSVYhQL8u9cvVzdkJo7vvyhBDCE
BTC: 1Fo2iH6MFzDknoxZgSDMpdg3FNRC8w6hiN

Offline Linus

  • Jr. Member
  • **
  • Posts: 52
Re: litecoin bamt - Easy USB bootable mining Linux distro
« Reply #1 on: April 30, 2013, 07:31:20 AM »
Definitely going to try this out with a spare USB stick :)
People seem to be posting their addresses in their signatures. I suppose I could do that too.
LTCiY4zuAj9yhediB7BDqSqy1VBfakz9ZP

Offline RoostayFish

  • Jr. Member
  • **
  • Posts: 82
Re: litecoin bamt - Easy USB bootable mining Linux distro
« Reply #2 on: April 30, 2013, 02:31:20 PM »
Could anyone grab the php files so i can run them off my existing Linux setup?

Would be a great favor!
50 M/Hash under management

LTC whiskey fund = LgS1q61aJ1joWtfDMqvVw5M31vg6uwmBFW

Offline omik

  • Jr. Member
  • **
  • Posts: 123
Re: litecoin bamt - Easy USB bootable mining Linux distro
« Reply #3 on: April 30, 2013, 03:06:45 PM »
Thank you for posting. Will give it a try.

Offline Chilliwillikers

  • Newbie
  • *
  • Posts: 16
Re: litecoin bamt - Easy USB bootable mining Linux distro
« Reply #4 on: May 01, 2013, 06:13:41 AM »
Nice one.  I've been messing with it for the last hour or so.

It does seem, however, that the AMDOverdriveCtrl only affects the first gpu.  Is there a way to input settings for additional gpus?

Offline branflan

  • Newbie
  • *
  • Posts: 9
Re: litecoin bamt - Easy USB bootable mining Linux distro
« Reply #5 on: May 01, 2013, 06:37:31 AM »
got an MD5 for the download?
LaMKUrBmsqM7GukFYHvaUf4aeaMLwwfgXY

Offline FrostCS

  • Newbie
  • *
  • Posts: 5
Re: litecoin bamt - Easy USB bootable mining Linux distro
« Reply #6 on: May 01, 2013, 06:54:36 AM »
May have missed it somewhere, but I assume this is the 32bit version of bamt?

Thanks.

Offline jimmydorry

  • Newbie
  • *
  • Posts: 18
Re: litecoin bamt - Easy USB bootable mining Linux distro
« Reply #7 on: May 01, 2013, 07:07:16 AM »
The 64bit is not supported. I do have a copy of it, but haven't played with it enough.

I'm gonna play with this implementation tomorrow, thanks for the share.

Offline emma

  • Scammer
  • Full Member
  • ************
  • Posts: 401
Re: litecoin bamt - Easy USB bootable mining Linux distro
« Reply #8 on: May 01, 2013, 07:24:49 AM »
nice, i have try to got bamt workink with ltc, but i can´t cgminer working its keep getting stales :D i will try this now :D

Offline FrostCS

  • Newbie
  • *
  • Posts: 5
Re: litecoin bamt - Easy USB bootable mining Linux distro
« Reply #9 on: May 01, 2013, 07:52:02 AM »
The 64bit is not supported. I do have a copy of it, but haven't played with it enough.

I'm gonna play with this implementation tomorrow, thanks for the share.
Let me know if you make any headway with it, I remembered I got to the point where I updated the drivers for the 7xxx cards, as well as the SDK's, built cgminer and somewhere in there I got frustrated using the 0.5a file .. If you get further let me know where you ended up.. for some reason I don't think the fixes were being detected on it also. (Perhaps there are none)

Ended up on xubuntu x64 temporarily.
 :)

Offline emma

  • Scammer
  • Full Member
  • ************
  • Posts: 401
Re: litecoin bamt - Easy USB bootable mining Linux distro
« Reply #10 on: May 01, 2013, 08:43:08 AM »
its can´t find my gpu´s
0 GPUs configured
0 GPUs are OK
0 GPUs have problems
:(

root@bamt-miner:~# mine restart
Stopping mining processes...: mine
..cgminer api failed...
Mining has been disabled by presense of /tmp/noMine! BAMT does this when aticonfig fails to generate an X config. ... failed!

and

root@bamt-miner:/opt/miners/cgminer# ./cgminer
 [2013-05-01 08:50:04] All devices disabled, cannot mine!

« Last Edit: May 01, 2013, 08:50:35 AM by emma »

Offline hockeyfrissa

  • Newbie
  • *
  • Posts: 7
Re: litecoin bamt - Easy USB bootable mining Linux distro
« Reply #11 on: May 01, 2013, 10:19:10 AM »
Looks awesome, definitely going to try this when my new rig arrives tomorrow  :)

Offline Shadowfury957

  • Newbie
  • *
  • Posts: 10
Re: litecoin bamt - Easy USB bootable mining Linux distro
« Reply #12 on: May 01, 2013, 11:19:01 AM »
I tried on 2 different flash drives and got the same error while booting (green files being listed on the side and then a couple yellow and then a red one with an error, I'll check what the error was later and report back).

Offline bee

  • Jr. Member
  • **
  • Posts: 77
Re: litecoin bamt - Easy USB bootable mining Linux distro
« Reply #13 on: May 01, 2013, 01:01:48 PM »
got an MD5 for the download?
5C02BF40749029F5B66FD69AE020BEB7
its can´t find my gpu´s
0 GPUs configured
0 GPUs are OK
0 GPUs have problems
:(

root@bamt-miner:~# mine restart
Stopping mining processes...: mine
..cgminer api failed...
Mining has been disabled by presense of /tmp/noMine! BAMT does this when aticonfig fails to generate an X config. ... failed!

and

root@bamt-miner:/opt/miners/cgminer# ./cgminer
 [2013-05-01 08:50:04] All devices disabled, cannot mine!
which GPU?
Litecoin BAMT - Easy USB Bootable Linux Mining: https://forum.litecoin.net/index.php/topic,2924.0.html
SMOS with forced donations removed: https://litecointalk.org/index.php?topic=10253.0

Donations/tips:
LTC: LRHxoNPBSVYhQL8u9cvVzdkJo7vvyhBDCE
BTC: 1Fo2iH6MFzDknoxZgSDMpdg3FNRC8w6hiN

Offline cal97g

  • Jr. Member
  • **
  • Posts: 101
Re: litecoin bamt - Easy USB bootable mining Linux distro
« Reply #14 on: May 01, 2013, 01:22:18 PM »
Gun' try this when I get back. Easier than configuring everything from scratch, though I'll likely do that when I have the time for security etc.