Ethereum kernel restart
Publish: 2021-04-21 19:45:23
1. Minerhub's wondermole system is a "diskless" mining system based on Linux kernel, which is deeply customized for miners' friends
solve the problem in an all-round way
1. Miracle Moore's Linux kernel has been deeply optimized for more than 200 times to avoid the problem that some hardware failures will directly lead to system crash
2. In view of the situation that many mining software in the market can't connect to the mining pool after restart, miracle Moore perfectly solves the problem by using the function of resetting the image after each restart of the mining machine
3. After testing, the average computing power error and delay share of miracle Moore system in each mine pool are not more than 1.5%, which significantly improves the mining revenue of users
4. After numerous experiments, miracle Moore development team has obtained the optimized VBIOS overclocking setting of graphics card. Compared with the traditional overclocking method, it can further improve the computing power of graphics card by 5% and rece the power consumption by 15%!
solve the problem in an all-round way
1. Miracle Moore's Linux kernel has been deeply optimized for more than 200 times to avoid the problem that some hardware failures will directly lead to system crash
2. In view of the situation that many mining software in the market can't connect to the mining pool after restart, miracle Moore perfectly solves the problem by using the function of resetting the image after each restart of the mining machine
3. After testing, the average computing power error and delay share of miracle Moore system in each mine pool are not more than 1.5%, which significantly improves the mining revenue of users
4. After numerous experiments, miracle Moore development team has obtained the optimized VBIOS overclocking setting of graphics card. Compared with the traditional overclocking method, it can further improve the computing power of graphics card by 5% and rece the power consumption by 15%!
2.
>It's the currency of numbers. It's a language display:none “class=” http://imgsrc..com/forum/pic/item/.jpg "Data u.src =" http://www.iqiyi.com/w_19rvbs8dv1.html the United Nations data u.swf= http://player.video.qiyi.com//0/0/w_19rvbs8dv1.swf-pid=0-ptype=0-albumId=9412556609-tvId=9412556609-cnId=30-autoplay=1-qitanId=0-isDrm=0-isPurchase=0 "Data u'title =" data / DEM = "data / itemid ="
3. There should be a conflict between hardware or between hardware and software. If the memory is loose, try changing the slot. Sometimes the virus will cause blue screen.
4. Ifconfig check whether you open the network card / etc / init.d/network restart start the network card check CD / etc / sysconfig / network scripts / if there is ifcfg-eth0, if not, configure a content device = eth0 (which network card) onboot = yes bootproto = static (static IP state setting) BOOTP
5. Eth rose by more than 1.00% in 5 minutes | chain finance
August 3, 2019 - according to the data of hot coin global station, ETH / usdt fluctuated sharply in 5 minutes, rising by more than 1.00% to 1.03%. The current quotation is 223.10 US dollars, the market fluctuates greatly, please pay attention to risk control.
August 3, 2019 - according to the data of hot coin global station, ETH / usdt fluctuated sharply in 5 minutes, rising by more than 1.00% to 1.03%. The current quotation is 223.10 US dollars, the market fluctuates greatly, please pay attention to risk control.
6. ifconfig eth0 down
ifconfig eth0 up
用root执行,重启试下
ifconfig eth0 up
用root执行,重启试下
7. 1. Use ifconfig eth0 up command to open the next network card< br />#ifconfig eth0 up
2、 Change eth0 configuration:
#vi / etc / sysconfig / network scripts / ifcfg-eth0 display:
device = eth0
onboot = no / / boot the network card
bootproto = static
IPADDR = 192.168.1.8 / / set your own valid IP address
netmask = 255.255.0 / / subnet mask
gateway = 192.168.1.1 / / valid gateway address
hwaddr = 00:0c: 29:96:38: F8
note the ONB in it OOT = no, change it to yes, and the network card is activated
3. Restart the service
? Service network restart
configuration takes effect after restart.
2、 Change eth0 configuration:
#vi / etc / sysconfig / network scripts / ifcfg-eth0 display:
device = eth0
onboot = no / / boot the network card
bootproto = static
IPADDR = 192.168.1.8 / / set your own valid IP address
netmask = 255.255.0 / / subnet mask
gateway = 192.168.1.1 / / valid gateway address
hwaddr = 00:0c: 29:96:38: F8
note the ONB in it OOT = no, change it to yes, and the network card is activated
3. Restart the service
? Service network restart
configuration takes effect after restart.
8. device eth0 entered promiscuous mode
Apr 11 16:30:21 localhost kernel: device eth0 left promiscuous mode
Apr 11 16:30:39 localhost kernel: device eth0 entered promiscuous mode
Apr 11 16:30:39 localhost kernel: device eth0 left promiscuous mode
Apr 12 15:11:46 localhost kernel: device eth0 entered promiscuous mode
Apr 12 15:11:46 localhost kernel: device eth0 left promiscuous mode
Apr 13 11:30:58 localhost kernel: device eth0 entered promiscuous mode
Apr 13 11:30:58 localhost kernel: device eth0 left promiscuous mode
log文件实打印状态信息两种
实打印主要:logcat mainlogcat radiologcat eventstcpmp QXDM Log
状态信息:adb shell dmesgadb shell mpstateadb shell mpsysadb bugreport
实log:
adb logcat -b events -v time 打印系统事件志比触屏事件
tcpmp 用于TCP/IP协议相关都使用抓
adb shell tcpmp -s 10000 -w /sdcard/capture.pcap
比抓mms载候UA profilebrowser网候使用proxyAPN载streaming相关内容包括UA profile等
状态log:
其实够bugreport命令adb bugreport>bugreport.log)
面包含dmesgmpstatempsys
dmesg命令adb shell dmesg > ldmesg_kernel.logkernellog凡跟kernel相关比driver问题相机蓝牙usb启等等
mpstate系统状态信息面比较全包括手机前内存信息、cpu信息、logcat缓存kernel缓存等等
mpsys关于系统所进程Process内容都面adb shell mpsys 命令更详尽用
比adb shell mpsys meminfo system查看systemprocess内存信息
mpsys [options]
meminfo 显示内存信息
cpuinfo 显示CPU信息
account 显示accounts信息
activity 显示所activities信息
window 显示键盘窗口关系
wifi 显示wifi信息
通adb logcat/bugreport实查看系统log及系统状态信息
何Log存储保存系统运行情况呢
通些脚本或者执行执行程序保存log信息便析问题
2 抓取实log
? int main(int argc, char *argv[]) { …… //抓取main log char path[] = "/xxx/xxx/app_main.log"; sprintf(cmd,"logcat -v time > %s",path); fd = open(path, O_WRONLY|O_TRUNC|O_CREAT, 0777); <STRONG>system</STRONG>(cmd); //radio log …… sprintf(cmd,"logcat -b radio -v time > %s",path); <STRONG>system</STRONG>(cmd); //kernel …… sprintf(cmd,"cat /proc/kmsg > %s",path); <STRONG>system</STRONG>(cmd); //bluetoolth log sprintf(cmd,"hcimp -w %s","/data/bt.log"); <STRONG>system</STRONG>(cmd); …… }3 抓取状态log
? int main(int argc, char *argv[]) { //panic log 需要判断/proc/apanic_console否存 sprintf(cmd,"cp -R %s %s",from_dir,to_dir); <STRONG>system</STRONG>(cmd); //anr log /data/anr/ sprintf(cmd,"cp -R %s %s",from_dir,to_dir); <STRONG>system</STRONG>(cmd); //tombstones log /data/tombstones/ <STRONG>modem重启复位等</STRONG> sprintf(cmd,"cp -R %s %s",from_dir,to_dir); <STRONG>system</STRONG>(cmd); //mdm log /data/tombstones/mdm/<STRONG>modem重启复位</STRONG> sprintf(cmd,"cp -R %s %s",from_dir,to_dir); <STRONG>system</STRONG>(cmd); …… }
panic log:
表示Linux kernel走知道该走步状况tombstone log:
系统发tombstone候kernel首先报严重警告信号signal,层接收
进程调试工具进程调用栈现场保存起并系统创建data/tombstones目录异进程信息写目录面
发者需要通调用栈析整调用流程找问题点4 Runtime 执行程序
编译执行程序实际使用需要些控制参数
代码何执行些执行程序:
底层通system();
Java层Runtime.getRuntime().exec();
例:
String BIN_PATH = "/system/bin/catch_log";
Runtime.getRuntime().exec(BIN_PATH + " -x 1");
Runtime.getRuntime().exec("/system/bin/cat "+path);
Runtime.getRuntime().exec("su -c chmod 777 /data/glad.txt");
Runtime.getRuntime().exec("/system/bin/sh /data/test.sh");
Android Runtime使直接调用底层Linux执行程序或脚本能
比Linux写测试工具直接编译apk通Runtime调用
或者写脚本apk直接调用省间层或者JNI
参考文档:
5 diag_mdlog
高通提供抓取qxdm log东东
既包括AP端包括BP端或者跟选择端口关系,8064apmodem端口独立
代码位置:\vendor\qcom\proprietary\diag\mdlog\
使用diag_mdlog执行程序抓取log
需要Diag.cfg文件配置滤项选择需要Log信息使用前必须放置Diag.cfg文件
Diag.cfg文件用QXDM通F12Filtered View /Config Diag.cfg
程序能执行用kill -9 PID 其强制结束
6 抓取Ap 端 memory mp
高通qpst工具Memory Dump App
要downloader模式
需要修改nv项:
905 0
4399 1
或者使用emmc进入downloader模式
打连接手机 Get Regions选择需要保存ReginSaveTo选择文件夹确定即
注意:路径能文必须英文路径
Apr 11 16:30:21 localhost kernel: device eth0 left promiscuous mode
Apr 11 16:30:39 localhost kernel: device eth0 entered promiscuous mode
Apr 11 16:30:39 localhost kernel: device eth0 left promiscuous mode
Apr 12 15:11:46 localhost kernel: device eth0 entered promiscuous mode
Apr 12 15:11:46 localhost kernel: device eth0 left promiscuous mode
Apr 13 11:30:58 localhost kernel: device eth0 entered promiscuous mode
Apr 13 11:30:58 localhost kernel: device eth0 left promiscuous mode
log文件实打印状态信息两种
实打印主要:logcat mainlogcat radiologcat eventstcpmp QXDM Log
状态信息:adb shell dmesgadb shell mpstateadb shell mpsysadb bugreport
实log:
adb logcat -b events -v time 打印系统事件志比触屏事件
tcpmp 用于TCP/IP协议相关都使用抓
adb shell tcpmp -s 10000 -w /sdcard/capture.pcap
比抓mms载候UA profilebrowser网候使用proxyAPN载streaming相关内容包括UA profile等
状态log:
其实够bugreport命令adb bugreport>bugreport.log)
面包含dmesgmpstatempsys
dmesg命令adb shell dmesg > ldmesg_kernel.logkernellog凡跟kernel相关比driver问题相机蓝牙usb启等等
mpstate系统状态信息面比较全包括手机前内存信息、cpu信息、logcat缓存kernel缓存等等
mpsys关于系统所进程Process内容都面adb shell mpsys 命令更详尽用
比adb shell mpsys meminfo system查看systemprocess内存信息
mpsys [options]
meminfo 显示内存信息
cpuinfo 显示CPU信息
account 显示accounts信息
activity 显示所activities信息
window 显示键盘窗口关系
wifi 显示wifi信息
通adb logcat/bugreport实查看系统log及系统状态信息
何Log存储保存系统运行情况呢
通些脚本或者执行执行程序保存log信息便析问题
2 抓取实log
? int main(int argc, char *argv[]) { …… //抓取main log char path[] = "/xxx/xxx/app_main.log"; sprintf(cmd,"logcat -v time > %s",path); fd = open(path, O_WRONLY|O_TRUNC|O_CREAT, 0777); <STRONG>system</STRONG>(cmd); //radio log …… sprintf(cmd,"logcat -b radio -v time > %s",path); <STRONG>system</STRONG>(cmd); //kernel …… sprintf(cmd,"cat /proc/kmsg > %s",path); <STRONG>system</STRONG>(cmd); //bluetoolth log sprintf(cmd,"hcimp -w %s","/data/bt.log"); <STRONG>system</STRONG>(cmd); …… }3 抓取状态log
? int main(int argc, char *argv[]) { //panic log 需要判断/proc/apanic_console否存 sprintf(cmd,"cp -R %s %s",from_dir,to_dir); <STRONG>system</STRONG>(cmd); //anr log /data/anr/ sprintf(cmd,"cp -R %s %s",from_dir,to_dir); <STRONG>system</STRONG>(cmd); //tombstones log /data/tombstones/ <STRONG>modem重启复位等</STRONG> sprintf(cmd,"cp -R %s %s",from_dir,to_dir); <STRONG>system</STRONG>(cmd); //mdm log /data/tombstones/mdm/<STRONG>modem重启复位</STRONG> sprintf(cmd,"cp -R %s %s",from_dir,to_dir); <STRONG>system</STRONG>(cmd); …… }
panic log:
表示Linux kernel走知道该走步状况tombstone log:
系统发tombstone候kernel首先报严重警告信号signal,层接收
进程调试工具进程调用栈现场保存起并系统创建data/tombstones目录异进程信息写目录面
发者需要通调用栈析整调用流程找问题点4 Runtime 执行程序
编译执行程序实际使用需要些控制参数
代码何执行些执行程序:
底层通system();
Java层Runtime.getRuntime().exec();
例:
String BIN_PATH = "/system/bin/catch_log";
Runtime.getRuntime().exec(BIN_PATH + " -x 1");
Runtime.getRuntime().exec("/system/bin/cat "+path);
Runtime.getRuntime().exec("su -c chmod 777 /data/glad.txt");
Runtime.getRuntime().exec("/system/bin/sh /data/test.sh");
Android Runtime使直接调用底层Linux执行程序或脚本能
比Linux写测试工具直接编译apk通Runtime调用
或者写脚本apk直接调用省间层或者JNI
参考文档:
5 diag_mdlog
高通提供抓取qxdm log东东
既包括AP端包括BP端或者跟选择端口关系,8064apmodem端口独立
代码位置:\vendor\qcom\proprietary\diag\mdlog\
使用diag_mdlog执行程序抓取log
需要Diag.cfg文件配置滤项选择需要Log信息使用前必须放置Diag.cfg文件
Diag.cfg文件用QXDM通F12Filtered View /Config Diag.cfg
程序能执行用kill -9 PID 其强制结束
6 抓取Ap 端 memory mp
高通qpst工具Memory Dump App
要downloader模式
需要修改nv项:
905 0
4399 1
或者使用emmc进入downloader模式
打连接手机 Get Regions选择需要保存ReginSaveTo选择文件夹确定即
注意:路径能文必须英文路径
9. Yesterday, I wrote a log about udev, sysfs, and continue today.
Hot content
