Post
Topic
Board Mining software (miners)
Re: BAMT restarting Cgminer 2.7.4 every time system clock reaches HH:MM:01
by
rontus
on 30/08/2012, 14:18:47 UTC
It's incompatible with recent versions of cgminer as it doesn't think cgminer is running and kills it off inappropriately. Try replacing the BAMT mother file in the /opt/bamt directory with this one:
http://ck.kolivas.org/apps/cgminer/temp/mother

Note that in the next version of bamt, apparently they're dropping support of cgminer.

Ha! I was not aware of those files. Beyond my knowledge level of these things. I do not know what you modified, but it works!

Sent you a small quarter of BTC tip for being so helpful!

Well, I guess I don't really have a need to upgrade BAMT after this so it is no problem.

Difference between new mother-file and the old one:
Code:
269,270c269,272
<       #  babysit cgminer
<       my $cg = `ps Haux | grep cgminer | wc -l`;
---
>       #  babysit cgminer
>       my @ps = `ps axu | grep /opt/miners/cgminer`;
>
>       my $cg = 0;
272c274,282
<       if ( $cg -gt "1" )
---
>       foreach $l (@ps)
>         {
>               if ($l =~ /\/opt\/miners\/cgminer\scgminer/)
>               {
>                       $cg = 1;
>               }
>       }
>
>       if ($cg)