Compare commits

..

3 commits
master ... 3

Author SHA1 Message Date
Tristan
e577184733
Update credentials.json
shhhhh
2024-06-02 22:02:39 -04:00
Tristan Smith
773b03a652 writes text file 2024-06-01 03:06:34 -04:00
Tristan Smith
b33b2fbd6e so far so good 2024-06-01 02:55:48 -04:00
5 changed files with 225 additions and 170 deletions

4
.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
2024/05/30.csv
2024/05/30-2.txt
results.csv
miner_logs.log

184
finder.py
View file

@ -2,8 +2,17 @@ import paramiko
import re import re
import json import json
import csv import csv
import logging
from datetime import datetime from datetime import datetime
# Constants for error types
ASIC_ERROR = "ASIC Error"
EEPROM_ERROR = "EEPROM Error"
CHIP_BIN_ERROR = "Chip Bin Error"
# Logging configuration
logging.basicConfig(filename='miner_logs.log', level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
# Load credentials from a JSON file # Load credentials from a JSON file
def load_credentials(file_path): def load_credentials(file_path):
with open(file_path, 'r') as file: with open(file_path, 'r') as file:
@ -26,83 +35,92 @@ def read_ips(file_path):
ips = file.readlines() ips = file.readlines()
return [ip.strip() for ip in ips] return [ip.strip() for ip in ips]
# Function to check log files for keywords and ASIC errors # Function to establish an SSH connection
def check_logs(ip, ssh_client, worker_id, current_date): def establish_ssh_connection(ip, username, password):
logs = [] ssh_client = paramiko.SSHClient()
asic_errors = set() # Using set to avoid duplicate errors ssh_client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
results = [] # Using list to avoid duplicate entries
try: try:
print(f"Checking logs on {ip}") ssh_client.connect(ip, username=username, password=password, timeout=5)
stdin, stdout, stderr = ssh_client.exec_command("find /var/log/ -type f") logging.info(f"Connected to {ip} with {username}")
log_files = stdout.readlines() return ssh_client
for log_file in log_files:
log_file = log_file.strip()
print(f"Checking file: {log_file}") # Debug statement
# Read the log file content directly
stdin, stdout, stderr = ssh_client.exec_command(f"cat {log_file}")
log_content = stdout.read().decode('utf-8', errors='ignore')
print(f"Content of {log_file}: {log_content[:500]}") # Debug statement to show part of the log content
# Track unique errors within this log file
seen_errors = set()
for keyword, error_type in error_keywords.items():
if keyword in log_content and (log_file, error_type, keyword) not in seen_errors:
print(f"Found keyword '{keyword}' in {log_file}") # Debug statement
logs.append((log_file, error_type, keyword))
seen_errors.add((log_file, error_type, keyword))
# Check for ASIC chip errors and power-off messages
for match in asic_pattern.finditer(log_content):
chain, asic_count = match.groups()
asic_count = int(asic_count)
asic_errors.add((chain, asic_count))
print(f"Chain {chain} has {asic_count} chips.") # Debug statement
# Check for power-off messages
for match in power_off_pattern.finditer(log_content):
chain, found_asic_count, board = match.groups()
found_asic_count = int(found_asic_count)
chain = int(chain)
if (log_file, "ASIC Error", f"Chain {chain} has failed with {found_asic_count} ASICs found and will power off hash board {board}") not in seen_errors:
results.append((current_date, worker_id, ip, log_file, "ASIC Error", f"Chain {chain} has failed with {found_asic_count} ASICs found and will power off hash board {board}"))
seen_errors.add((log_file, "ASIC Error", f"Chain {chain} has failed with {found_asic_count} ASICs found and will power off hash board {board}"))
# Check for EEPROM errors
for match in eeprom_error_pattern.finditer(log_content):
chain = match.group(1)
if (log_file, "EEPROM Error", f"Data load fail for chain {chain}") not in seen_errors:
results.append((current_date, worker_id, ip, log_file, "EEPROM Error", f"Data load fail for chain {chain}"))
seen_errors.add((log_file, "EEPROM Error", f"Data load fail for chain {chain}"))
# Check for chip bin errors
for match in chip_bin_pattern.finditer(log_content):
chain = match.group(1)
if (log_file, "Chip Bin Error", f"No chip bin for chain {chain}") not in seen_errors:
results.append((current_date, worker_id, ip, log_file, "Chip Bin Error", f"No chip bin for chain {chain}"))
seen_errors.add((log_file, "Chip Bin Error", f"No chip bin for chain {chain}"))
except Exception as e: except Exception as e:
print(f"Error checking logs on {ip}: {e}") logging.error(f"Failed to connect to {ip} with {username}:{password} - {e}")
return logs, asic_errors, results return None
# Function to execute a command via SSH and return the output
def execute_ssh_command(ssh_client, command):
try:
stdin, stdout, stderr = ssh_client.exec_command(command)
return stdout.read().decode('utf-8')
except Exception as e:
logging.error(f"Error executing command '{command}': {e}")
return None
# Function to get worker ID # Function to get worker ID
def get_worker_id(ssh_client): def get_worker_id(ssh_client):
try: config_content = execute_ssh_command(ssh_client, "cat /config/cgminer.conf")
print("Getting worker ID") if config_content:
stdin, stdout, stderr = ssh_client.exec_command("cat /config/cgminer.conf")
config_content = stdout.read().decode('utf-8')
# Extract the worker ID from the user field
match = re.search(r'"user" *: *"[^.]*\.(\w+)"', config_content) match = re.search(r'"user" *: *"[^.]*\.(\w+)"', config_content)
if match: if match:
worker_id = match.group(1) return match.group(1)
print(f"Got Worker ID: {worker_id}") return "Unknown"
else:
worker_id = "Unknown" # Function to check log files for keywords and ASIC errors
except Exception as e: def check_logs(ip, ssh_client, worker_id, current_date, error_keywords):
print(f"Error getting worker ID: {e}") logs = []
worker_id = "Unknown" asic_errors = set() # Using set to avoid duplicate errors
return worker_id results = [] # Using list to avoid duplicate entries
log_files_content = execute_ssh_command(ssh_client, "find /var/log/ -type f")
if log_files_content:
log_files = log_files_content.splitlines()
for log_file in log_files:
log_content = execute_ssh_command(ssh_client, f"cat {log_file}")
if log_content:
seen_errors = set()
for keyword, error_type in error_keywords.items():
if keyword in log_content and (log_file, error_type, keyword) not in seen_errors:
logs.append((log_file, error_type, keyword))
seen_errors.add((log_file, error_type, keyword))
for match in asic_pattern.finditer(log_content):
chain, asic_count = match.groups()
asic_errors.add((chain, int(asic_count)))
for match in power_off_pattern.finditer(log_content):
chain, found_asic_count, board = match.groups()
chain = int(chain)
found_asic_count = int(found_asic_count)
if (log_file, ASIC_ERROR, f"Chain {chain} has failed with {found_asic_count} ASICs found and will power off hash board {board}") not in seen_errors:
results.append((current_date, worker_id, ip, log_file, ASIC_ERROR, f"Chain {chain} has failed with {found_asic_count} ASICs found and will power off hash board {board}"))
seen_errors.add((log_file, ASIC_ERROR, f"Chain {chain} has failed with {found_asic_count} ASICs found and will power off hash board {board}"))
for match in eeprom_error_pattern.finditer(log_content):
chain = match.group(1)
if (log_file, EEPROM_ERROR, f"Data load fail for chain {chain}") not in seen_errors:
results.append((current_date, worker_id, ip, log_file, EEPROM_ERROR, f"Data load fail for chain {chain}"))
seen_errors.add((log_file, EEPROM_ERROR, f"Data load fail for chain {chain}"))
for match in chip_bin_pattern.finditer(log_content):
chain = match.group(1)
if (log_file, CHIP_BIN_ERROR, f"No chip bin for chain {chain}") not in seen_errors:
results.append((current_date, worker_id, ip, log_file, CHIP_BIN_ERROR, f"No chip bin for chain {chain}"))
seen_errors.add((log_file, CHIP_BIN_ERROR, f"No chip bin for chain {chain}"))
return logs, asic_errors, results
# Function to write results to a text file in the specified format
def write_text_file(file_path, results):
with open(file_path, 'w') as file:
current_worker = None
for result in results:
date, worker_id, ip, log_file, error_type, error_message = result
if worker_id != current_worker:
if current_worker is not None:
file.write("\n") # Add a blank line between different workers
file.write(f"{worker_id}\n")
current_worker = worker_id
file.write(f"- {error_type}\n")
file.write(f"--- {error_message}\n")
file.write(f"-" * 80 + "\n")
# Main function to iterate over IPs and check for errors # Main function to iterate over IPs and check for errors
def main(): def main():
@ -111,20 +129,17 @@ def main():
current_date = datetime.now().strftime('%Y-%m-%d') current_date = datetime.now().strftime('%Y-%m-%d')
for ip in ips: for ip in ips:
print(f"Processing IP: {ip}") logging.info(f"Processing IP: {ip}")
connected = False connected = False
for os_type, creds in credentials.items(): for os_type, creds in credentials.items():
if connected: if connected:
break break
for username, password in creds: for username, password in creds:
ssh_client = paramiko.SSHClient() ssh_client = establish_ssh_connection(ip, username, password)
ssh_client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) if ssh_client:
try:
print(f"Trying {username}:{password} on {ip}")
ssh_client.connect(ip, username=username, password=password)
connected = True connected = True
worker_id = get_worker_id(ssh_client) worker_id = get_worker_id(ssh_client)
logs, asic_errors, asic_results = check_logs(ip, ssh_client, worker_id, current_date) logs, asic_errors, asic_results = check_logs(ip, ssh_client, worker_id, current_date, error_keywords)
results.extend(asic_results) results.extend(asic_results)
for log in logs: for log in logs:
results.append((current_date, worker_id, ip, log[0], log[1], log[2])) results.append((current_date, worker_id, ip, log[0], log[1], log[2]))
@ -134,23 +149,26 @@ def main():
failed_checks = unique_asic_errors.get(chain, 0) + 1 failed_checks = unique_asic_errors.get(chain, 0) + 1
unique_asic_errors[chain] = failed_checks unique_asic_errors[chain] = failed_checks
if asic_count == 0 and failed_checks == 3: if asic_count == 0 and failed_checks == 3:
results.append((current_date, worker_id, ip, log[0], "ASIC Error", f"Chain {chain} has 3 failed checks with {asic_count} ASICs found")) results.append((current_date, worker_id, ip, "N/A", ASIC_ERROR, f"Chain {chain} has 3 failed checks with {asic_count} ASICs found"))
ssh_client.close() ssh_client.close()
break break
except Exception as e:
print(f"Connection failed for {ip} with {username}:{password} - {e}")
ssh_client.close()
# Write results to CSV # Write results to CSV
csv_file = 'results.csv' csv_file = 'results.csv'
print(f"Writing results to {csv_file}") logging.info(f"Writing results to {csv_file}")
with open(csv_file, 'w', newline='') as file: with open(csv_file, 'w', newline='') as file:
writer = csv.writer(file) writer = csv.writer(file)
writer.writerow(["Date", "Worker ID", "IP Address", "Log File", "Error Type", "Error Message"]) writer.writerow(["Date", "Worker ID", "IP Address", "Log File", "Error Type", "Error Message"])
for result in results: for result in results:
writer.writerow(result) writer.writerow(result)
print("Done")
# Write results to text file
text_file = 'results.txt'
logging.info(f"Writing results to {text_file}")
write_text_file(text_file, results)
logging.info("Done")
if __name__ == "__main__": if __name__ == "__main__":
# Load credentials and error keywords # Load credentials and error keywords

21
ips.txt
View file

@ -1,20 +1 @@
10.0.90.105 192.168.1.171
10.0.80.243
10.0.60.194
10.0.60.189
10.0.50.164
10.0.50.28
10.0.50.156
10.0.40.191
10.0.40.118
10.0.40.189
10.0.40.155
10.0.40.244
10.0.40.203
10.0.30.178
10.0.20.163
10.0.20.59
10.0.20.210
10.0.20.131
10.0.10.169
10.0.100.54

View file

@ -1,66 +1,30 @@
Date,Worker ID,IP Address,Log File,Error Type,Error Message Date,Worker ID,IP Address,Log File,Error Type,Error Message
2024-05-28,mw9875,10.0.90.105,/var/log/miner.log,EEPROM Error,Data load fail for chain 1 2024-06-01,mw3446,192.168.1.171,/var/log/domokun,ASIC Error,Chain 2 has failed with 0 ASICs found and will power off hash board 2
2024-05-28,mw9875,10.0.90.105,/var/log/miner.log,EEPROM Error,Data load fail for chain 2 2024-06-01,mw3446,192.168.1.171,/var/log/new2.log,ASIC Error,Chain 0 has failed with 0 ASICs found and will power off hash board 0
2024-05-28,mw9875,10.0.90.105,/var/log/messages,EEPROM Error,Data load fail for chain 1 2024-06-01,mw3446,192.168.1.171,/var/log/Miner_7426394.log,EEPROM Error,Data load fail for chain 1
2024-05-28,mw9875,10.0.90.105,/var/log/messages,EEPROM Error,Data load fail for chain 2 2024-06-01,mw3446,192.168.1.171,/var/log/Miner_7426394.log,Chip Bin Error,No chip bin for chain 0
2024-05-28,mw8576,10.0.80.243,/var/log/miner.log,black hole,reg crc error 2024-06-01,mw3446,192.168.1.171,/var/log/Miner_7426394.log,Chip Bin Error,No chip bin for chain 1
2024-05-28,mw6643,10.0.60.194,/var/log/miner.log,ASIC Error,Chain 0 has failed with 0 ASICs found and will power off hash board 0 2024-06-01,mw3446,192.168.1.171,/var/log/Miner_7426394.log,Chip Bin Error,No chip bin for chain 2
2024-05-28,mw6643,10.0.60.194,/var/log/miner/miner.log,ASIC Error,Chain 0 has failed with 0 ASICs found and will power off hash board 0 2024-06-01,mw3446,192.168.1.171,/var/log/Miner_6974116.log,ASIC Error,Chain 1 has failed with 0 ASICs found and will power off hash board 1
2024-05-28,mw6643,10.0.60.194,/var/log/miner/miner.log.0,ASIC Error,Chain 0 has failed with 0 ASICs found and will power off hash board 0 2024-06-01,mw3446,192.168.1.171,/var/log/Miner_7426352.log,EEPROM Error,Data load fail for chain 1
2024-05-28,mw6643,10.0.60.194,/var/log/miner/miner.log.1,ASIC Error,Chain 0 has failed with 0 ASICs found and will power off hash board 0 2024-06-01,mw3446,192.168.1.171,/var/log/Miner_7426352.log,EEPROM Error,Data load fail for chain 2
2024-05-28,mw6643,10.0.60.194,/var/log/messages,ASIC Error,Chain 0 has failed with 0 ASICs found and will power off hash board 0 2024-06-01,mw3446,192.168.1.171,/var/log/new2.log,SoC failure,ERROR_SOC_INIT: soc init failed
2024-05-28,mw6643,10.0.60.194,/var/log/miner.log,SoC failure,ERROR_SOC_INIT: soc init failed 2024-06-01,mw3446,192.168.1.171,/var/log/Miner_3174359.log,SoC failure,ERROR_SOC_INIT: soc init failed
2024-05-28,mw6643,10.0.60.194,/var/log/miner/miner.log,SoC failure,ERROR_SOC_INIT: soc init failed 2024-06-01,mw3446,192.168.1.171,/var/log/Miner_3174359.log,PSU,bitmain_get_power_status failed
2024-05-28,mw6643,10.0.60.194,/var/log/miner/miner.log.0,SoC failure,ERROR_SOC_INIT: soc init failed 2024-06-01,mw3446,192.168.1.171,/var/log/Miner_3174359.log,PSU,power voltage can not meet the target
2024-05-28,mw6643,10.0.60.194,/var/log/miner/miner.log.1,SoC failure,ERROR_SOC_INIT: soc init failed 2024-06-01,mw3446,192.168.1.171,/var/log/Miner_4594191.log,voltage drop,ERROR_POWER_LOST: power voltage rise or drop
2024-05-28,mw6643,10.0.60.194,/var/log/messages,SoC failure,ERROR_SOC_INIT: soc init failed 2024-06-01,mw3446,192.168.1.171,/var/log/Miner_4594191.log,black hole,reg crc error
2024-05-28,mw5513,10.0.50.164,/var/log/miner.log,ASIC Error,Chain 1 has failed with 0 ASICs found and will power off hash board 1 2024-06-01,mw3446,192.168.1.171,/var/log/Miner_7426394.log,Temperature Error,ERROR_TEMP_TOO_HIGH
2024-05-28,mw5513,10.0.50.164,/var/log/messages,ASIC Error,Chain 1 has failed with 0 ASICs found and will power off hash board 1 2024-06-01,mw3446,192.168.1.171,/var/log/Miner_7426394.log,PIC Error,_pic_write_iic failed!
2024-05-28,mw5513,10.0.50.164,/var/log/miner.log,SoC failure,ERROR_SOC_INIT: soc init failed 2024-06-01,mw3446,192.168.1.171,/var/log/2024-03/06/cglog_init_2024-03-06_19-00-57/miner.log,SoC failure,ERROR_SOC_INIT: soc init failed
2024-05-28,mw5513,10.0.50.164,/var/log/messages,SoC failure,ERROR_SOC_INIT: soc init failed 2024-06-01,mw3446,192.168.1.171,/var/log/2024-03/06/cglog_init_2024-03-06_19-00-57/messages,SoC failure,ERROR_SOC_INIT: soc init failed
2024-05-28,mw5423,10.0.50.28,/var/log/miner.log,ASIC Error,Chain 0 has failed with 0 ASICs found and will power off hash board 0 2024-06-01,mw3446,192.168.1.171,/var/log/2024-03/06/cglog_init_2024-03-06_18-53-25/miner.log,SoC failure,ERROR_SOC_INIT: soc init failed
2024-05-28,mw5423,10.0.50.28,/var/log/messages,ASIC Error,Chain 0 has failed with 0 ASICs found and will power off hash board 0 2024-06-01,mw3446,192.168.1.171,/var/log/2024-03/06/cglog_init_2024-03-06_18-53-25/messages,SoC failure,ERROR_SOC_INIT: soc init failed
2024-05-28,mw5383,10.0.50.156,/var/log/miner.log,black hole,reg crc error 2024-06-01,mw3446,192.168.1.171,/var/log/2024-03/06/cglog_init_2024-03-06_19-07-47/miner.log,SoC failure,ERROR_SOC_INIT: soc init failed
2024-05-28,mw5383,10.0.50.156,/var/log/messages,black hole,reg crc error 2024-06-01,mw3446,192.168.1.171,/var/log/2024-03/06/cglog_init_2024-03-06_19-07-47/messages,SoC failure,ERROR_SOC_INIT: soc init failed
2024-05-28,mw4184,10.0.40.244,/var/log/miner.log,ASIC Error,Chain 0 has failed with 96 ASICs found and will power off hash board 0 2024-06-01,mw3446,192.168.1.171,/var/log/2024-03/06/cglog_init_2024-03-06_20-51-43/miner.log,SoC failure,ERROR_SOC_INIT: soc init failed
2024-05-28,mw4184,10.0.40.244,/var/log/messages,ASIC Error,Chain 0 has failed with 96 ASICs found and will power off hash board 0 2024-06-01,mw3446,192.168.1.171,/var/log/2024-03/06/cglog_init_2024-03-06_20-51-43/messages,SoC failure,ERROR_SOC_INIT: soc init failed
2024-05-28,mw4184,10.0.40.244,/var/log/miner.log,SoC failure,ERROR_SOC_INIT: soc init failed 2024-06-01,mw3446,192.168.1.171,/var/log/2024-03/06/cglog_init_2024-03-06_18-01-31/miner.log,SoC failure,ERROR_SOC_INIT: soc init failed
2024-05-28,mw4184,10.0.40.244,/var/log/messages,SoC failure,ERROR_SOC_INIT: soc init failed 2024-06-01,mw3446,192.168.1.171,/var/log/2024-03/06/cglog_init_2024-03-06_18-01-31/messages,SoC failure,ERROR_SOC_INIT: soc init failed
2024-05-28,mw4122,10.0.40.203,/var/log/miner.log,ASIC Error,Chain 2 has failed with 0 ASICs found and will power off hash board 2 2024-06-01,mw3446,192.168.1.171,/var/log/Miner_6024072.log,voltage drop,ERROR_POWER_LOST: pic check voltage drop
2024-05-28,mw4122,10.0.40.203,/var/log/messages,ASIC Error,Chain 2 has failed with 0 ASICs found and will power off hash board 2 2024-06-01,mw3446,192.168.1.171,/var/log/test,voltage drop,ERROR_POWER_LOST: power voltage rise or drop
2024-05-28,mw4122,10.0.40.203,/var/log/miner.log,SoC failure,ERROR_SOC_INIT: soc init failed
2024-05-28,mw4122,10.0.40.203,/var/log/messages,SoC failure,ERROR_SOC_INIT: soc init failed
2024-05-28,mw3514,10.0.30.178,/var/log/miner.log,SoC failure,ERROR_SOC_INIT: soc init failed
2024-05-28,mw3514,10.0.30.178,/var/log/miner.log,PSU,bitmain_get_power_status failed
2024-05-28,mw3514,10.0.30.178,/var/log/miner.log,PSU,power voltage can not meet the target
2024-05-28,mw3514,10.0.30.178,/var/log/messages,SoC failure,ERROR_SOC_INIT: soc init failed
2024-05-28,mw3514,10.0.30.178,/var/log/messages,PSU,bitmain_get_power_status failed
2024-05-28,mw3514,10.0.30.178,/var/log/messages,PSU,power voltage can not meet the target
2024-05-28,mw2564,10.0.20.163,/var/log/messages,ASIC Error,Chain 0 has failed with 0 ASICs found and will power off hash board 0
2024-05-28,mw2564,10.0.20.163,/var/log/messages,ASIC Error,Chain 1 has failed with 0 ASICs found and will power off hash board 1
2024-05-28,mw2564,10.0.20.163,/var/log/messages,ASIC Error,Chain 2 has failed with 0 ASICs found and will power off hash board 2
2024-05-28,mw2564,10.0.20.163,/var/log/messages,EEPROM Error,Data load fail for chain 1
2024-05-28,mw2564,10.0.20.163,/var/log/messages,Chip Bin Error,No chip bin for chain 0
2024-05-28,mw2564,10.0.20.163,/var/log/messages,Chip Bin Error,No chip bin for chain 1
2024-05-28,mw2564,10.0.20.163,/var/log/messages,Chip Bin Error,No chip bin for chain 2
2024-05-28,mw2564,10.0.20.163,/var/log/messages,Temperature Error,ERROR_TEMP_TOO_HIGH
2024-05-28,mw2564,10.0.20.163,/var/log/messages,PIC Error,_pic_write_iic failed!
2024-05-28,mw2564,10.0.20.163,/var/log/messages,SoC failure,ERROR_SOC_INIT: soc init failed
2024-05-28,mw2481,10.0.20.59,/var/log/messages,SoC failure,ERROR_SOC_INIT: soc init failed
2024-05-28,mw2184,10.0.20.210,/var/log/messages,ASIC Error,Chain 0 has failed with 0 ASICs found and will power off hash board 0
2024-05-28,mw2144,10.0.20.131,/var/log/messages,ASIC Error,Chain 0 has failed with 0 ASICs found and will power off hash board 0
2024-05-28,mw2144,10.0.20.131,/var/log/messages,ASIC Error,Chain 1 has failed with 0 ASICs found and will power off hash board 1
2024-05-28,mw2144,10.0.20.131,/var/log/messages,ASIC Error,Chain 2 has failed with 0 ASICs found and will power off hash board 2
2024-05-28,mw2144,10.0.20.131,/var/log/messages,EEPROM Error,Data load fail for chain 0
2024-05-28,mw2144,10.0.20.131,/var/log/messages,Chip Bin Error,No chip bin for chain 0
2024-05-28,mw2144,10.0.20.131,/var/log/messages,Chip Bin Error,No chip bin for chain 1
2024-05-28,mw2144,10.0.20.131,/var/log/messages,Chip Bin Error,No chip bin for chain 2
2024-05-28,mw2144,10.0.20.131,/var/log/messages,Temperature Error,ERROR_TEMP_TOO_HIGH
2024-05-28,mw2144,10.0.20.131,/var/log/messages,PIC Error,_pic_write_iic failed!
2024-05-28,mw2144,10.0.20.131,/var/log/messages,SoC failure,ERROR_SOC_INIT: soc init failed
2024-05-28,mw1132,10.0.10.169,/var/log/miner.log,SoC failure,ERROR_SOC_INIT: soc init failed
2024-05-28,mw1132,10.0.10.169,/var/log/messages,SoC failure,ERROR_SOC_INIT: soc init failed
2024-05-28,mwxxx2,10.0.100.54,/var/log/miner.log,ASIC Error,Chain 1 has failed with 0 ASICs found and will power off hash board 1
2024-05-28,mwxxx2,10.0.100.54,/var/log/miner.log,ASIC Error,Chain 2 has failed with 0 ASICs found and will power off hash board 2
2024-05-28,mwxxx2,10.0.100.54,/var/log/messages,ASIC Error,Chain 1 has failed with 0 ASICs found and will power off hash board 1
2024-05-28,mwxxx2,10.0.100.54,/var/log/messages,ASIC Error,Chain 2 has failed with 0 ASICs found and will power off hash board 2

1 Date Worker ID IP Address Log File Error Type Error Message
2 2024-05-28 2024-06-01 mw9875 mw3446 10.0.90.105 192.168.1.171 /var/log/miner.log /var/log/domokun EEPROM Error ASIC Error Data load fail for chain 1 Chain 2 has failed with 0 ASICs found and will power off hash board 2
3 2024-05-28 2024-06-01 mw9875 mw3446 10.0.90.105 192.168.1.171 /var/log/miner.log /var/log/new2.log EEPROM Error ASIC Error Data load fail for chain 2 Chain 0 has failed with 0 ASICs found and will power off hash board 0
4 2024-05-28 2024-06-01 mw9875 mw3446 10.0.90.105 192.168.1.171 /var/log/messages /var/log/Miner_7426394.log EEPROM Error Data load fail for chain 1
5 2024-05-28 2024-06-01 mw9875 mw3446 10.0.90.105 192.168.1.171 /var/log/messages /var/log/Miner_7426394.log EEPROM Error Chip Bin Error Data load fail for chain 2 No chip bin for chain 0
6 2024-05-28 2024-06-01 mw8576 mw3446 10.0.80.243 192.168.1.171 /var/log/miner.log /var/log/Miner_7426394.log black hole Chip Bin Error reg crc error No chip bin for chain 1
7 2024-05-28 2024-06-01 mw6643 mw3446 10.0.60.194 192.168.1.171 /var/log/miner.log /var/log/Miner_7426394.log ASIC Error Chip Bin Error Chain 0 has failed with 0 ASICs found and will power off hash board 0 No chip bin for chain 2
8 2024-05-28 2024-06-01 mw6643 mw3446 10.0.60.194 192.168.1.171 /var/log/miner/miner.log /var/log/Miner_6974116.log ASIC Error Chain 0 has failed with 0 ASICs found and will power off hash board 0 Chain 1 has failed with 0 ASICs found and will power off hash board 1
9 2024-05-28 2024-06-01 mw6643 mw3446 10.0.60.194 192.168.1.171 /var/log/miner/miner.log.0 /var/log/Miner_7426352.log ASIC Error EEPROM Error Chain 0 has failed with 0 ASICs found and will power off hash board 0 Data load fail for chain 1
10 2024-05-28 2024-06-01 mw6643 mw3446 10.0.60.194 192.168.1.171 /var/log/miner/miner.log.1 /var/log/Miner_7426352.log ASIC Error EEPROM Error Chain 0 has failed with 0 ASICs found and will power off hash board 0 Data load fail for chain 2
11 2024-05-28 2024-06-01 mw6643 mw3446 10.0.60.194 192.168.1.171 /var/log/messages /var/log/new2.log ASIC Error SoC failure Chain 0 has failed with 0 ASICs found and will power off hash board 0 ERROR_SOC_INIT: soc init failed
12 2024-05-28 2024-06-01 mw6643 mw3446 10.0.60.194 192.168.1.171 /var/log/miner.log /var/log/Miner_3174359.log SoC failure ERROR_SOC_INIT: soc init failed
13 2024-05-28 2024-06-01 mw6643 mw3446 10.0.60.194 192.168.1.171 /var/log/miner/miner.log /var/log/Miner_3174359.log SoC failure PSU ERROR_SOC_INIT: soc init failed bitmain_get_power_status failed
14 2024-05-28 2024-06-01 mw6643 mw3446 10.0.60.194 192.168.1.171 /var/log/miner/miner.log.0 /var/log/Miner_3174359.log SoC failure PSU ERROR_SOC_INIT: soc init failed power voltage can not meet the target
15 2024-05-28 2024-06-01 mw6643 mw3446 10.0.60.194 192.168.1.171 /var/log/miner/miner.log.1 /var/log/Miner_4594191.log SoC failure voltage drop ERROR_SOC_INIT: soc init failed ERROR_POWER_LOST: power voltage rise or drop
16 2024-05-28 2024-06-01 mw6643 mw3446 10.0.60.194 192.168.1.171 /var/log/messages /var/log/Miner_4594191.log SoC failure black hole ERROR_SOC_INIT: soc init failed reg crc error
17 2024-05-28 2024-06-01 mw5513 mw3446 10.0.50.164 192.168.1.171 /var/log/miner.log /var/log/Miner_7426394.log ASIC Error Temperature Error Chain 1 has failed with 0 ASICs found and will power off hash board 1 ERROR_TEMP_TOO_HIGH
18 2024-05-28 2024-06-01 mw5513 mw3446 10.0.50.164 192.168.1.171 /var/log/messages /var/log/Miner_7426394.log ASIC Error PIC Error Chain 1 has failed with 0 ASICs found and will power off hash board 1 _pic_write_iic failed!
19 2024-05-28 2024-06-01 mw5513 mw3446 10.0.50.164 192.168.1.171 /var/log/miner.log /var/log/2024-03/06/cglog_init_2024-03-06_19-00-57/miner.log SoC failure ERROR_SOC_INIT: soc init failed
20 2024-05-28 2024-06-01 mw5513 mw3446 10.0.50.164 192.168.1.171 /var/log/messages /var/log/2024-03/06/cglog_init_2024-03-06_19-00-57/messages SoC failure ERROR_SOC_INIT: soc init failed
21 2024-05-28 2024-06-01 mw5423 mw3446 10.0.50.28 192.168.1.171 /var/log/miner.log /var/log/2024-03/06/cglog_init_2024-03-06_18-53-25/miner.log ASIC Error SoC failure Chain 0 has failed with 0 ASICs found and will power off hash board 0 ERROR_SOC_INIT: soc init failed
22 2024-05-28 2024-06-01 mw5423 mw3446 10.0.50.28 192.168.1.171 /var/log/messages /var/log/2024-03/06/cglog_init_2024-03-06_18-53-25/messages ASIC Error SoC failure Chain 0 has failed with 0 ASICs found and will power off hash board 0 ERROR_SOC_INIT: soc init failed
23 2024-05-28 2024-06-01 mw5383 mw3446 10.0.50.156 192.168.1.171 /var/log/miner.log /var/log/2024-03/06/cglog_init_2024-03-06_19-07-47/miner.log black hole SoC failure reg crc error ERROR_SOC_INIT: soc init failed
24 2024-05-28 2024-06-01 mw5383 mw3446 10.0.50.156 192.168.1.171 /var/log/messages /var/log/2024-03/06/cglog_init_2024-03-06_19-07-47/messages black hole SoC failure reg crc error ERROR_SOC_INIT: soc init failed
25 2024-05-28 2024-06-01 mw4184 mw3446 10.0.40.244 192.168.1.171 /var/log/miner.log /var/log/2024-03/06/cglog_init_2024-03-06_20-51-43/miner.log ASIC Error SoC failure Chain 0 has failed with 96 ASICs found and will power off hash board 0 ERROR_SOC_INIT: soc init failed
26 2024-05-28 2024-06-01 mw4184 mw3446 10.0.40.244 192.168.1.171 /var/log/messages /var/log/2024-03/06/cglog_init_2024-03-06_20-51-43/messages ASIC Error SoC failure Chain 0 has failed with 96 ASICs found and will power off hash board 0 ERROR_SOC_INIT: soc init failed
27 2024-05-28 2024-06-01 mw4184 mw3446 10.0.40.244 192.168.1.171 /var/log/miner.log /var/log/2024-03/06/cglog_init_2024-03-06_18-01-31/miner.log SoC failure ERROR_SOC_INIT: soc init failed
28 2024-05-28 2024-06-01 mw4184 mw3446 10.0.40.244 192.168.1.171 /var/log/messages /var/log/2024-03/06/cglog_init_2024-03-06_18-01-31/messages SoC failure ERROR_SOC_INIT: soc init failed
29 2024-05-28 2024-06-01 mw4122 mw3446 10.0.40.203 192.168.1.171 /var/log/miner.log /var/log/Miner_6024072.log ASIC Error voltage drop Chain 2 has failed with 0 ASICs found and will power off hash board 2 ERROR_POWER_LOST: pic check voltage drop
30 2024-05-28 2024-06-01 mw4122 mw3446 10.0.40.203 192.168.1.171 /var/log/messages /var/log/test ASIC Error voltage drop Chain 2 has failed with 0 ASICs found and will power off hash board 2 ERROR_POWER_LOST: power voltage rise or drop
2024-05-28 mw4122 10.0.40.203 /var/log/miner.log SoC failure ERROR_SOC_INIT: soc init failed
2024-05-28 mw4122 10.0.40.203 /var/log/messages SoC failure ERROR_SOC_INIT: soc init failed
2024-05-28 mw3514 10.0.30.178 /var/log/miner.log SoC failure ERROR_SOC_INIT: soc init failed
2024-05-28 mw3514 10.0.30.178 /var/log/miner.log PSU bitmain_get_power_status failed
2024-05-28 mw3514 10.0.30.178 /var/log/miner.log PSU power voltage can not meet the target
2024-05-28 mw3514 10.0.30.178 /var/log/messages SoC failure ERROR_SOC_INIT: soc init failed
2024-05-28 mw3514 10.0.30.178 /var/log/messages PSU bitmain_get_power_status failed
2024-05-28 mw3514 10.0.30.178 /var/log/messages PSU power voltage can not meet the target
2024-05-28 mw2564 10.0.20.163 /var/log/messages ASIC Error Chain 0 has failed with 0 ASICs found and will power off hash board 0
2024-05-28 mw2564 10.0.20.163 /var/log/messages ASIC Error Chain 1 has failed with 0 ASICs found and will power off hash board 1
2024-05-28 mw2564 10.0.20.163 /var/log/messages ASIC Error Chain 2 has failed with 0 ASICs found and will power off hash board 2
2024-05-28 mw2564 10.0.20.163 /var/log/messages EEPROM Error Data load fail for chain 1
2024-05-28 mw2564 10.0.20.163 /var/log/messages Chip Bin Error No chip bin for chain 0
2024-05-28 mw2564 10.0.20.163 /var/log/messages Chip Bin Error No chip bin for chain 1
2024-05-28 mw2564 10.0.20.163 /var/log/messages Chip Bin Error No chip bin for chain 2
2024-05-28 mw2564 10.0.20.163 /var/log/messages Temperature Error ERROR_TEMP_TOO_HIGH
2024-05-28 mw2564 10.0.20.163 /var/log/messages PIC Error _pic_write_iic failed!
2024-05-28 mw2564 10.0.20.163 /var/log/messages SoC failure ERROR_SOC_INIT: soc init failed
2024-05-28 mw2481 10.0.20.59 /var/log/messages SoC failure ERROR_SOC_INIT: soc init failed
2024-05-28 mw2184 10.0.20.210 /var/log/messages ASIC Error Chain 0 has failed with 0 ASICs found and will power off hash board 0
2024-05-28 mw2144 10.0.20.131 /var/log/messages ASIC Error Chain 0 has failed with 0 ASICs found and will power off hash board 0
2024-05-28 mw2144 10.0.20.131 /var/log/messages ASIC Error Chain 1 has failed with 0 ASICs found and will power off hash board 1
2024-05-28 mw2144 10.0.20.131 /var/log/messages ASIC Error Chain 2 has failed with 0 ASICs found and will power off hash board 2
2024-05-28 mw2144 10.0.20.131 /var/log/messages EEPROM Error Data load fail for chain 0
2024-05-28 mw2144 10.0.20.131 /var/log/messages Chip Bin Error No chip bin for chain 0
2024-05-28 mw2144 10.0.20.131 /var/log/messages Chip Bin Error No chip bin for chain 1
2024-05-28 mw2144 10.0.20.131 /var/log/messages Chip Bin Error No chip bin for chain 2
2024-05-28 mw2144 10.0.20.131 /var/log/messages Temperature Error ERROR_TEMP_TOO_HIGH
2024-05-28 mw2144 10.0.20.131 /var/log/messages PIC Error _pic_write_iic failed!
2024-05-28 mw2144 10.0.20.131 /var/log/messages SoC failure ERROR_SOC_INIT: soc init failed
2024-05-28 mw1132 10.0.10.169 /var/log/miner.log SoC failure ERROR_SOC_INIT: soc init failed
2024-05-28 mw1132 10.0.10.169 /var/log/messages SoC failure ERROR_SOC_INIT: soc init failed
2024-05-28 mwxxx2 10.0.100.54 /var/log/miner.log ASIC Error Chain 1 has failed with 0 ASICs found and will power off hash board 1
2024-05-28 mwxxx2 10.0.100.54 /var/log/miner.log ASIC Error Chain 2 has failed with 0 ASICs found and will power off hash board 2
2024-05-28 mwxxx2 10.0.100.54 /var/log/messages ASIC Error Chain 1 has failed with 0 ASICs found and will power off hash board 1
2024-05-28 mwxxx2 10.0.100.54 /var/log/messages ASIC Error Chain 2 has failed with 0 ASICs found and will power off hash board 2

88
results.txt Normal file
View file

@ -0,0 +1,88 @@
mw3446
- ASIC Error
--- Chain 2 has failed with 0 ASICs found and will power off hash board 2
--------------------------------------------------------------------------------
- ASIC Error
--- Chain 0 has failed with 0 ASICs found and will power off hash board 0
--------------------------------------------------------------------------------
- EEPROM Error
--- Data load fail for chain 1
--------------------------------------------------------------------------------
- Chip Bin Error
--- No chip bin for chain 0
--------------------------------------------------------------------------------
- Chip Bin Error
--- No chip bin for chain 1
--------------------------------------------------------------------------------
- Chip Bin Error
--- No chip bin for chain 2
--------------------------------------------------------------------------------
- ASIC Error
--- Chain 1 has failed with 0 ASICs found and will power off hash board 1
--------------------------------------------------------------------------------
- EEPROM Error
--- Data load fail for chain 1
--------------------------------------------------------------------------------
- EEPROM Error
--- Data load fail for chain 2
--------------------------------------------------------------------------------
- SoC failure
--- ERROR_SOC_INIT: soc init failed
--------------------------------------------------------------------------------
- SoC failure
--- ERROR_SOC_INIT: soc init failed
--------------------------------------------------------------------------------
- PSU
--- bitmain_get_power_status failed
--------------------------------------------------------------------------------
- PSU
--- power voltage can not meet the target
--------------------------------------------------------------------------------
- voltage drop
--- ERROR_POWER_LOST: power voltage rise or drop
--------------------------------------------------------------------------------
- black hole
--- reg crc error
--------------------------------------------------------------------------------
- Temperature Error
--- ERROR_TEMP_TOO_HIGH
--------------------------------------------------------------------------------
- PIC Error
--- _pic_write_iic failed!
--------------------------------------------------------------------------------
- SoC failure
--- ERROR_SOC_INIT: soc init failed
--------------------------------------------------------------------------------
- SoC failure
--- ERROR_SOC_INIT: soc init failed
--------------------------------------------------------------------------------
- SoC failure
--- ERROR_SOC_INIT: soc init failed
--------------------------------------------------------------------------------
- SoC failure
--- ERROR_SOC_INIT: soc init failed
--------------------------------------------------------------------------------
- SoC failure
--- ERROR_SOC_INIT: soc init failed
--------------------------------------------------------------------------------
- SoC failure
--- ERROR_SOC_INIT: soc init failed
--------------------------------------------------------------------------------
- SoC failure
--- ERROR_SOC_INIT: soc init failed
--------------------------------------------------------------------------------
- SoC failure
--- ERROR_SOC_INIT: soc init failed
--------------------------------------------------------------------------------
- SoC failure
--- ERROR_SOC_INIT: soc init failed
--------------------------------------------------------------------------------
- SoC failure
--- ERROR_SOC_INIT: soc init failed
--------------------------------------------------------------------------------
- voltage drop
--- ERROR_POWER_LOST: pic check voltage drop
--------------------------------------------------------------------------------
- voltage drop
--- ERROR_POWER_LOST: power voltage rise or drop
--------------------------------------------------------------------------------