Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AntMiner U3 with BFGMiner 5.2.0 - Recommended voltage and clock but declared as unknown options #628

Closed
anto opened this issue Aug 17, 2015 · 1 comment

Comments

@anto
Copy link

anto commented Aug 17, 2015

I have just got an AntMiner U3 and started to play around with it. I am using BFGMiner 5.2.0 from https://packages.debian.org/stretch/bfgminer.

The voltage and clock parameters are quite important, as I initially got only up to 5 GH/s per BM1382 chip. One of them was initially only able to reach 0.4 GH/s. I finally managed to get reasonable total hash rate above 50 GH/s after I played around with those parameters. I could push it to above 60 GH/s but it got overheated quite fast and unstable. So I set it to stay around 50 GH/s.

In any case, the debug log always shows that the voltage and clock parameter options are unknown, even I use the ones from README.ASIC. At some point after declaring that those are unknown options at the initialisation phase, BFGMiner managed to set the voltage and clock, but only for AMU 0a not all the rest of the other 3 AMUs.

Is this expected behaviours?

Please have a look below on the copy of the relevant messages from debug log that I took.

 [2015-08-17 13:34:03] lowlevel_scan: Found vcom device at dev_t:00bc000000000000 (path=/dev/ttyUSB0, vid=0000, pid=0000, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001)
 [2015-08-17 13:34:03] AMU: cgpu_set_defaults: Matched with set default: antminer:voltage=x800
 [2015-08-17 13:34:03] AMU: Applying rule antminer:voltage=x800: Unknown option: voltage
 [2015-08-17 13:34:03] AMU: cgpu_set_defaults: Matched with set default: antminer:clock=x1286
 [2015-08-17 13:34:03] AMU: Applying rule antminer:clock=x1286: Unknown option: clock
 [2015-08-17 13:34:03] AMU: cgpu_set_defaults: Matched with set default: antminer:timing=0.022421
 [2015-08-17 13:34:03] (null): Init: mode=value read_timeout_ms=95 limit=0ms Hs=2.242100e-11
 [2015-08-17 13:34:03] AMU: Applied rule antminer:timing=0.022421
 [2015-08-17 13:34:03] AMU: cgpu_set_defaults: Matched with set default: antminer:voltage=x800
 [2015-08-17 13:34:03] AMU: Applying rule antminer:voltage=x800: Unknown option: voltage
 [2015-08-17 13:34:03] AMU: cgpu_set_defaults: Matched with set default: antminer:clock=x1286
 [2015-08-17 13:34:03] AMU: Applying rule antminer:clock=x1286: Unknown option: clock
 [2015-08-17 13:34:03] AMU: cgpu_set_defaults: Matched with set default: antminer:timing=0.022421
 [2015-08-17 13:34:03] (null): Init: mode=value read_timeout_ms=95 limit=0ms Hs=2.242100e-11
 [2015-08-17 13:34:03] AMU: Applied rule antminer:timing=0.022421
 [2015-08-17 13:34:03] antminer: Attempting to open /dev/ttyUSB0
 [2015-08-17 13:34:03] Acquired exclusive advisory lock on /dev/ttyUSB0
 [2015-08-17 13:34:03] antminer: Test succeeded at /dev/ttyUSB0: got 000187a2
 [2015-08-17 13:34:03] /dev/ttyUSB0: Init: mode=value read_timeout_ms=75 limit=0ms Hs=2.242100e-11
 [2015-08-17 13:34:03] Acquired exclusive advisory lock on /dev/ttyUSB0
 [2015-08-17 13:34:03] antminer: Work division not specified - autodetecting
 [2015-08-17 13:34:03] antminer: Work division autodetection got 417c0f36 (=4)
 [2015-08-17 13:34:03] Found AMU 0 at /dev/ttyUSB0
 [2015-08-17 13:34:03] AMU 0: Init: baud=115200 work_division=0 fpga_count=0
.
.
.
 [2015-08-17 13:34:05] Acquired exclusive advisory lock on /dev/ttyUSB0
 [2015-08-17 13:34:05] AMU 0: Opened /dev/ttyUSB0
 [2015-08-17 13:34:05] AMU 0a: cgpu_set_defaults: Matched with set default: antminer:voltage=x800
 [2015-08-17 13:34:05] AMU 0a: Set voltage: aab800c0
 [2015-08-17 13:34:05] AMU 0a: Set voltage: OK
 [2015-08-17 13:34:05] AMU 0a: Applied rule antminer:voltage=x800
 [2015-08-17 13:34:05] AMU 0a: cgpu_set_defaults: Matched with set default: antminer:clock=x1286
 [2015-08-17 13:34:05] AMU 0a: Set clock: 82128614
 [2015-08-17 13:34:05] AMU 0a: Set clock: OK
 [2015-08-17 13:34:05] AMU 0a: Applied rule antminer:clock=x1286
 [2015-08-17 13:34:05] AMU 0a: cgpu_set_defaults: Matched with set default: antminer:timing=0.022421
 [2015-08-17 13:34:05] AMU 0: Init: mode=value read_timeout_ms=95 limit=0ms Hs=2.242100e-11
 [2015-08-17 13:34:05] AMU 0a: Applied rule antminer:timing=0.022421
 [2015-08-17 13:34:05] AMU 0a: cgpu_set_defaults: Matched with set default: antminer:voltage=x800
 [2015-08-17 13:34:05] AMU 0a: Set voltage: aab800c0
 [2015-08-17 13:34:05] AMU 0a: Set voltage: OK
 [2015-08-17 13:34:05] AMU 0a: Applied rule antminer:voltage=x800
 [2015-08-17 13:34:05] AMU 0a: cgpu_set_defaults: Matched with set default: antminer:clock=x1286
 [2015-08-17 13:34:05] AMU 0a: Set clock: 82128614
 [2015-08-17 13:34:05] AMU 0a: Set clock: OK
 [2015-08-17 13:34:06] AMU 0a: Applied rule antminer:clock=x1286
 [2015-08-17 13:34:06] AMU 0a: cgpu_set_defaults: Matched with set default: antminer:timing=0.022421
 [2015-08-17 13:34:06] AMU 0: Init: mode=value read_timeout_ms=95 limit=0ms Hs=2.242100e-11
 [2015-08-17 13:34:06] AMU 0a: Applied rule antminer:timing=0.022421
 [2015-08-17 13:34:06] Popping ping in miner thread
 [2015-08-17 13:34:06] AMU 0a: Popping work from get queue to get work
 [2015-08-17 13:34:06] AMU 0a: Got work 10 from get queue to get work for thread 0
 [2015-08-17 13:34:06] Selecting pool 0 for work
 [2015-08-17 13:34:06] AMU 0a: Popping work from get queue to get work
 [2015-08-17 13:34:06] AMU 0a: Got work 12 from get queue to get work for thread 0
.
.
.
 [2015-08-17 13:34:07] AMU 0b: cgpu_set_defaults: Matched with set default: antminer:voltage=x800
 [2015-08-17 13:34:07] AMU 0b: Applying rule antminer:voltage=x800: Unknown option: voltage
 [2015-08-17 13:34:07] AMU 0b: cgpu_set_defaults: Matched with set default: antminer:clock=x1286
 [2015-08-17 13:34:07] AMU 0b: Applying rule antminer:clock=x1286: Unknown option: clock
 [2015-08-17 13:34:07] AMU 0b: cgpu_set_defaults: Matched with set default: antminer:timing=0.022421
 [2015-08-17 13:34:07] AMU 0: Init: mode=value read_timeout_ms=95 limit=0ms Hs=2.242100e-11
 [2015-08-17 13:34:07] AMU 0b: Applied rule antminer:timing=0.022421
 [2015-08-17 13:34:07] AMU 0b: cgpu_set_defaults: Matched with set default: antminer:voltage=x800
 [2015-08-17 13:34:07] AMU 0b: Applying rule antminer:voltage=x800: Unknown option: voltage
 [2015-08-17 13:34:07]  Proof: 000000001265d5d1a0521996346043ecedbfafe3d2c401288a04547c78455934
Target: 000000000080000000ffffffffffffffffffffffffffffffffffffffffffffff
TrgVal? no (false positive; hash > target)
 [2015-08-17 13:34:07] AMU 0b: cgpu_set_defaults: Matched with set default: antminer:clock=x1286
 [2015-08-17 13:34:07] AMU 0b: Applying rule antminer:clock=x1286: Unknown option: clock
 [2015-08-17 13:34:07] New best share: 13
 [2015-08-17 13:34:07] AMU 0b: cgpu_set_defaults: Matched with set default: antminer:timing=0.022421
 [2015-08-17 13:34:07] AMU 0a nonce = 0x3b8ce9e5 = 0xee33a798 hashes (0.084967s; 0.021261ns/hash)
 [2015-08-17 13:34:07] AMU 0: Init: mode=value read_timeout_ms=95 limit=0ms Hs=2.242100e-11
 [2015-08-17 13:34:07] AMU 0b: Applied rule antminer:timing=0.022421
 [2015-08-17 13:34:07] AMU 0a: Popping work from get queue to get work
 [2015-08-17 13:34:07] AMU 0c: cgpu_set_defaults: Matched with set default: antminer:voltage=x800
 [2015-08-17 13:34:07] AMU 0c: Applying rule antminer:voltage=x800: Unknown option: voltage
 [2015-08-17 13:34:07] Selecting pool 0 for work
 [2015-08-17 13:34:07] AMU 0c: cgpu_set_defaults: Matched with set default: antminer:clock=x1286
 [2015-08-17 13:34:07] AMU 0a: Got work 62 from get queue to get work for thread 0
 [2015-08-17 13:34:07] AMU 0c: Applying rule antminer:clock=x1286: Unknown option: clock
 [2015-08-17 13:34:07] AMU 0c: cgpu_set_defaults: Matched with set default: antminer:timing=0.022421
 [2015-08-17 13:34:07] AMU 0: Init: mode=value read_timeout_ms=95 limit=0ms Hs=2.242100e-11
 [2015-08-17 13:34:07] AMU 0c: Applied rule antminer:timing=0.022421
 [2015-08-17 13:34:07] Generated stratum header 000000035e52e34bea91f72f98665e8ec66fa634450090d0040045c40000000000000000f6369531d819fe6102aae5d946ec5b644c6b834efa528b64b17e0130a2776ba155d1c6
981814dd0400000000
 [2015-08-17 13:34:07] Work job_id 1439811222 45141 nonce2 18000000
 [2015-08-17 13:34:07] AMU 0c: cgpu_set_defaults: Matched with set default: antminer:voltage=x800
 [2015-08-17 13:34:07] AMU 0c: Applying rule antminer:voltage=x800: Unknown option: voltage
 [2015-08-17 13:34:07] AMU 0c: cgpu_set_defaults: Matched with set default: antminer:clock=x1286
 [2015-08-17 13:34:07] Generated stratum work
 [2015-08-17 13:34:07] Pushing work 83 from pool 0 to hash queue
 [2015-08-17 13:34:07] AMU 0c: Applying rule antminer:clock=x1286: Unknown option: clock
 [2015-08-17 13:34:07] AMU 0c: cgpu_set_defaults: Matched with set default: antminer:timing=0.022421
 [2015-08-17 13:34:07] AMU 0: Init: mode=value read_timeout_ms=95 limit=0ms Hs=2.242100e-11
 [2015-08-17 13:34:07] AMU 0c: Applied rule antminer:timing=0.022421
 [2015-08-17 13:34:07] AMU 0d: cgpu_set_defaults: Matched with set default: antminer:voltage=x800
 [2015-08-17 13:34:07] AMU 0d: Applying rule antminer:voltage=x800: Unknown option: voltage
 [2015-08-17 13:34:07] AMU 0d: cgpu_set_defaults: Matched with set default: antminer:clock=x1286
 [2015-08-17 13:34:07] AMU 0d: Applying rule antminer:clock=x1286: Unknown option: clock
 [2015-08-17 13:34:07] AMU 0d: cgpu_set_defaults: Matched with set default: antminer:timing=0.022421
 [2015-08-17 13:34:07] AMU 0: Init: mode=value read_timeout_ms=95 limit=0ms Hs=2.242100e-11
 [2015-08-17 13:34:07] AMU 0d: Applied rule antminer:timing=0.022421
 [2015-08-17 13:34:07] AMU 0d: cgpu_set_defaults: Matched with set default: antminer:voltage=x800
 [2015-08-17 13:34:07] AMU 0d: Applying rule antminer:voltage=x800: Unknown option: voltage
 [2015-08-17 13:34:07] AMU 0d: cgpu_set_defaults: Matched with set default: antminer:clock=x1286
 [2015-08-17 13:34:07] AMU 0d: Applying rule antminer:clock=x1286: Unknown option: clock
 [2015-08-17 13:34:07] AMU 0d: cgpu_set_defaults: Matched with set default: antminer:timing=0.022421
 [2015-08-17 13:34:07] AMU 0: Init: mode=value read_timeout_ms=95 limit=0ms Hs=2.242100e-11
 [2015-08-17 13:34:07] AMU 0d: Applied rule antminer:timing=0.022421
.
.
.
@luke-jr
Copy link
Owner

luke-jr commented Oct 18, 2015

The options are invalid until after the device has been detected. You're seeing it only because you have debug messages enabled; normally it's hidden.

@luke-jr luke-jr closed this as completed Oct 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants