Post
Topic
Board Mining (Altcoins)
Re: Bitmain Launches the New Antminer B3 Miner
by
motomart
on 09/05/2018, 22:53:31 UTC
Unfortunately we know nothing about this version of BMMiner and Bitmain has yet to publish the source used in this firmware.
I'd be curious to know if the parameters work when passed to BMMiner directly.

PS the running cgminer, copy the launch syntax, kill the process, and then launch the miner from the CLI using the fan, fan PWM, and freq flags in line. Can't hurt to try.

I can archive the filesystem and host the gzip if anyone's interested in poking around.

Good point. Unfortunately I'm not near my miner so I can't see if the fans react to the command line at all. Frequency is ignored, at least in the GUI. Shows 750 regardless of what's being passed to bmminer.

Launch command:

Code:
/usr/bin/bmminer --version-file /usr/bin/compile_time --default-config /config/bmminer.conf -T

--help output:

Code:
root@antMiner:~# /usr/bin/bmminer --help
bmminer 2.0.0
Built with bitmain_c5 mining support.
Usage: /usr/bin/bmminer [-DElmpPQqUsouOchV]
Options for both config file and command line:
--version-file Set miner version file
--logfile-openflag Set log file open flag, default: a+
--logwork      Set log work file path, following: minertext
--logwork-asicnum Set log work asic num, following: 1, 32, 64
--logwork-diff      Allow log work diff
--logfile      Set log file, default: bmminer.log
--api-allow    Allow API access only to the given list of [G:]IP[/Prefix] addresses[/subnets]
--api-description Description placed in the API status header, default: cgminer version
--api-groups   API one letter groups G:cmd:cmd[,P:cmd:*...] defining the cmds a groups can use
--api-listen        Enable API, default: disabled
--api-mcast         Enable API Multicast listener, default: disabled
--api-mcast-addr API Multicast listen address
--api-mcast-code Code expected in the API Multicast message, don't use '-'
--api-mcast-des Description appended to the API Multicast reply, default: ''
--api-mcast-port API Multicast listen port (default: 4028)
--api-network       Allow API (if enabled) to listen on/for any address, default: only 127.0.0.1
--api-port     Port number of miner API (default: 4028)
--api-host     Specify API listen address, default: 0.0.0.0
--balance           Change multipool strategy from failover to even share balance
--benchfile    Run cgminer in benchmark mode using a work file - produces no shares
--benchfile-display Display each benchfile nonce found
--benchmark         Run cgminer in benchmark mode - produces no shares
--bitmain-fan-ctrl  Enable bitmain miner fan controlling
--bitmain-fan-pwm Set bitmain fan pwm percentage 0~100 (default: 50)
--bitmain-freq Set frequency (default: 200)
--debug|-D          Enable debug output
--disable-rejecting Automatically disable pools that continually reject shares
--expiry|-E    Upper bound on how many seconds after getting work we consider a share from it stale (default: 120)
--extranonce-subscribe Enable 'extranonce' stratum subscribe for MinToRRo by Zwilla
--failover-only     Don't leak work to backup pools when primary pool is lagging
--fix-protocol      Do not redirect to a different getwork protocol (eg. stratum)
--fallback-time Set time in seconds to fall back to a higher priority pool after period of instability (default: 120)
--load-balance      Change multipool strategy from failover to quota based balance
--log|-l       Interval in seconds between log output (default: 5)
--lowmem            Minimise caching of shares for low memory applications
--monitor|-m   Use custom pipe cmd for output messages
--net-delay         Impose small delays in networking to not overload slow routers
--no-submit-stale   Don't submit shares if they are detected as stale
--pass|-p      Password for bitcoin JSON-RPC server
--per-device-stats  Force verbose mode and output per-device statistics
--protocol-dump|-P  Verbose dump of protocol-level activities
--queue|-Q     Maximum number of work items to have queued (default: 1)
--quiet|-q          Disable logging output, display status and errors
--quota|-U     quota;URL combination for server with load-balance strategy quotas
--real-quiet        Disable all output
--rotate       Change multipool strategy from failover to regularly rotate at N minutes
--round-robin       Change multipool strategy from failover to round robin on failure
--scan-time|-s Upper bound on time spent scanning current work, in seconds (default: -1)
--sched-start       Set a time of day in HH:MM to start mining (a once off without a stop time)
--sched-stop        Set a time of day in HH:MM to stop mining (will quit without a start time)
--sharelog          Append share log to file
--shares       Quit after mining N shares (default: unlimited)
--socks-proxy Set socks4 proxy (host:port)
--suggest-diff Suggest miner difficulty for pool to user (default: none)
--multi-version Multi version mining!
--syslog            Use system log for output messages (default: standard error)
--url|-o       URL for bitcoin JSON-RPC server
--user|-u      Username for bitcoin JSON-RPC server
--userpass|-O Username:Password pair for bitcoin JSON-RPC server
--verbose           Log verbose output to stderr as well as status output
--widescreen        Use extra wide display without toggling
--worktime          Display extra work time debug information
Options for command line only:
--config|-c    Load a JSON-format configuration file
See example-S7.conf or S9.conf for an example configuration.
--default-config Specify the filename of the default config file
Loaded at start and used when saving without a name.
--help|-h           Print this message
--version|-V        Display version and exit
root@antMiner:~#


Edited /etc/init.d/bmminer.sh and restarted bmminer by running the script.
Code:
3528  3527 root     S <   246m 50.7   0  9.5 /usr/bin/bmminer --version-file /usr/bin/compile_time --default-config /config/bmminer.conf --bitmain-freq 220 -T
Still hashing about the same @800 H/s and show frequency 750