WaveFront
Member
Offline
Activity: 126
Merit: 10
|
|
February 06, 2018, 11:48:58 AM |
|
Honestly papampi and the developers if you ever feel like this, I (and probably many) would have no problem with you guys setting up a permanent 1% fee for using your OS. Its only fair, as it takes a lot of your time and effort to develop, de-bug, and answer everyone's questions. It's something you don't have to do but you do anyway. I for one appreciate your efforts.
I am all for it. I think the developers are doing an outstanding work and it would be fair to reward them.
|
|
|
|
papampi
Full Member
Offline
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
|
|
February 06, 2018, 11:56:50 AM |
|
Is there a script for a “rig offline” telegram notification that I’m missing? The telegram messages are awesome, but would be good to know if it powers down and stay down.
If system is going to be rebooted you will get notified from script that send the reboot command (watchdog or temp control), but if your rig freeze there is nothing to do. You can set up an external watchdog like an RPi to check your rigs ping and ssh port and send you message if they were unreachable. Hi About this, does nvOC use the linux kernel watchdog ? Unfortunately no. Actually a card in one of my rigs making it hard freeze lately and I was reading and playing with sysctl to do a reboot on kernel panic with no success. I changed in both watchdog and temp control to sudo systemctl reboot --force Didnt helped a bit. Also added to /etc/sysctl.conf And no help too, The system freezes after 3-4 days of running clean with no logs, just a hard freeze. Any one has good ideas to implement linux hardware kernel watchdog would be amazing to add ...
|
|
|
|
papampi
Full Member
Offline
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
|
|
February 06, 2018, 11:59:02 AM |
|
Honestly papampi and the developers if you ever feel like this, I (and probably many) would have no problem with you guys setting up a permanent 1% fee for using your OS. Its only fair, as it takes a lot of your time and effort to develop, de-bug, and answer everyone's questions. It's something you don't have to do but you do anyway. I for one appreciate your efforts.
I am all for it. I think the developers are doing an outstanding work and it would be fair to reward them. Thank you all for your offers, but nvOC is fully free OS and will stay that way. There will be No dev fee ever. You guys happiness and enjoyment is all we are looking for
|
|
|
|
papampi
Full Member
Offline
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
|
|
February 06, 2018, 12:03:11 PM |
|
Hello, Ever since I made the general nvOC upgrade (both using "nvOC-19-2-update" and "./nvOC patch"). I get a pretty annoying bug. Every time that the miner is switching to XVG, 3main is freezing with the following errors: LAUNCHING: MINER SCREEN -dmSL miner /home/m1/ASccminer/ccminer -a lyra2v2 -o stratum+tcp://xvg-lyra.suprnova.cc:2596 -u WaveFront.orange-deep -p c=XVG -i 21 [screen is terminating] /home/m1/3main: line 1129: 443 Terminated screen -r miner In order to add XVG as a coin I edited 0miner and 1bash. I am running 2.0. now but maybe I could give a try to 2.1. Here is my configuration Report generator v0019-2.0.002 by leenoox
[code] Software info: Report ver : v0019-2.0.002 nvOC (1bash) : nvOC v0019-2.0 - Community Release nvOC (3main) : nvOC v0019-2.0 - Community Release 1bash ver : v0019-2.0.003 3main ver : v0019-2.0.006 5watchdog ver : v0019-2.0.011 6tempcontrol v: v0019-2.0.003 wtm switch ver: v0019-2.0.0011 Kernel : 4.4.0-97-generic OS : Ubuntu 16.04.3 LTS System : (gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) nvidia driver : 387.34 Hardware info: Motherboard : ASRock H110 Pro BTC+ BIOS ver. : P1.10 06/20/2017 CPU Model : Core(TM) i3-7100T CPU @ 3.40GHz CPU Cores : 4 (Cores + Threads) Mem Total : 4001032 kB Mem Free : 475092 kB Swap Total : 0 kB Swap Free : 0 kB Ethernet : Intel I219-V (rev 31)
HDD and Partion info: NAME SIZE FSTYPE TYPE ROTA HOTPLUG TRAN VENDOR MODEL REV MOUNTPOINT sda 115.7G disk 1 1 usb SanDisk Ultra Fit 1.00 |-sda1 9M vfat part 1 1 /media/m1/12D3-A869 `-sda2 13.7G ext4 part 1 1 /
VGA info: 01:00.0 VGA compatible controller: NVIDIA Corporation Device 1c03 (rev a1) 02:00.0 VGA compatible controller: NVIDIA Corporation Device 1c03 (rev a1) 03:00.0 VGA compatible controller: NVIDIA Corporation Device 1c03 (rev a1) 04:00.0 VGA compatible controller: NVIDIA Corporation Device 1c03 (rev a1) 05:00.0 VGA compatible controller: NVIDIA Corporation Device 1c03 (rev a1) 09:00.0 VGA compatible controller: NVIDIA Corporation Device 1c03 (rev a1) 0c:00.0 VGA compatible controller: NVIDIA Corporation Device 1c03 (rev a1) 0d:00.0 VGA compatible controller: NVIDIA Corporation Device 1c03 (rev a1) 0e:00.0 VGA compatible controller: NVIDIA Corporation Device 1c03 (rev a1) 0f:00.0 VGA compatible controller: NVIDIA Corporation Device 1c03 (rev a1)
1bash settings: 1bash version .............: v0019-2.0.003 LOCAL or REMOTE ...........: LOCAL TEAMVIEWER started ........: YES SSH daemon started ........: YES SLOW_USB_KEY_MODE .........: NO SRR .......................: NO Watchdog ..................: YES
Temp Control ..............: YES TARGET_TEMP ...............: 73 __FAN_ADJUST ..............: 5 POWER_ADJUST ..............: 5 ALLOWED_TEMP_DIFF .........: 2 RESTORE_POWER_LIMIT .......: 90 MINIMAL_FAN_SPEED .........: 50
CLEAR_LOGS_ON_BOOT ........: NO AUTO_UPDATE ...............: STABLE AUTO_REBOOT ...............: YES REBOOT_TIMEOUT_IN_MINUTES .: 2880 _Parallax_MODE (upPaste)...: NO
TELEGRAM_MESSAGES .: NO TELEGRAM_ALERTS .: YES TELEGRAM_TYPE .............: papampi TELEGRAM_TIMEOUT_IN_MINUTES: 60 TELEGRAM_CHATID ...........: CHATID_NOT_SHOWN TELEGRAM_APIKEY ...........: APIKEY_NOT_SHOWN
P106_100_FULL_HEADLESS_MODE: NO GPUPowerMizerMode_Adjust...: NO POWERLIMIT (global) .......: YES POWERLIMIT_WATTS ..........: 80 CORE_OVERCLOCK (global)....: 120 MEMORY_OVERCLOCK (global) .: 100 MANUAL_FAN ................: NO ALGO_SPECIFIC_OC ..........: YES
GLOBAL_WORKERNAME .........: YES AUTO_WORKERNAME ...........: CUSTOM CUSTOM_WORKERNAME .........: orange-deep plusCPU ...................: NO
ZM_or_EWBF ................: ZM
COIN ......................: XVG XVG_WORKER ................: orange-deep XVG_ADDRESS ...............: WaveFron... XVG_POOL ..................: xvg-lyra.suprnova.cc XVG_PORT ..................: 2596 XVG_INTENSITY .............: 21
[/code] Try lower intensity or recompile the miner on the rig. cd /home/m1/ASccminer ./autogen.sh ./configure ./build.sh If you got bignum error : cd /home/m1/Downloads wget http://www.openssl.org/source/openssl-1.0.1e.tar.gz tar -xvzf openssl-1.0.1e.tar.gz cp /usr/local/include/openssl/bn.h /home/m1/Downloads/openssl-1.0.1e/bn.h.backup sudo cp /home/m1/Downloads/openssl-1.0.1e/crypto/bn/bn.h /usr/local/include/openssl/ Edit: Whats the output of miner command? /home/m1/ASccminer/ccminer -a lyra2v2 -o stratum+tcp://xvg-lyra.suprnova.cc:2596 -u WaveFront.orange-deep -p c=XVG -i 21
|
|
|
|
WaveFront
Member
Offline
Activity: 126
Merit: 10
|
|
February 06, 2018, 12:18:31 PM |
|
Whats the output of miner command? /home/m1/ASccminer/ccminer -a lyra2v2 -o stratum+tcp://xvg-lyra.suprnova.cc:2596 -u WaveFront.orange-deep -p c=XVG -i 21 Here is the output of the command: m1@m1-desktop:~$ /home/m1/ASccminer/ccminer -a lyra2v2 -o stratum+tcp://xvg-lyra.suprnova.cc:2596 -u WaveFront.orange-deep -p c=XVG -i 21 *** ccminer alexis-1.0 for nVidia GPUs from alexis78@github *** *** Built with the nVidia CUDA Toolkit 8.0 (Not recommended prefer 7.5)
*** Based on tpruvot@github ccminer *** Originally based on Christian Buchner and Christian H. project *** Include some of the work of djm34, sp, tsiv and klausT.
[2018-02-06 13:14:20] Starting on stratum+tcp://xvg-lyra.suprnova.cc:2596 [2018-02-06 13:14:21] NVML GPU monitoring enabled. [2018-02-06 13:14:21] 10 miner threads started, using 'lyra2v2' algorithm. [2018-02-06 13:14:21] Stratum difficulty set to 2048 (8.00000) [2018-02-06 13:14:27] GPU#3:Intensity set to 21, 2097152 cuda threads [2018-02-06 13:14:28] GPU#7:Intensity set to 21, 2097152 cuda threads [2018-02-06 13:14:28] GPU#2:Intensity set to 21, 2097152 cuda threads [2018-02-06 13:14:28] GPU#6:Intensity set to 21, 2097152 cuda threads [2018-02-06 13:14:35] GPU#0:Intensity set to 21, 2097152 cuda threads [2018-02-06 13:14:35] GPU#4:Intensity set to 21, 2097152 cuda threads [2018-02-06 13:14:36] GPU#8:Intensity set to 21, 2097152 cuda threads [2018-02-06 13:14:38] GPU#1:Intensity set to 21, 2097152 cuda threads [2018-02-06 13:14:38] GPU#9:Intensity set to 21, 2097152 cuda threads [2018-02-06 13:14:38] GPU#5:Intensity set to 21, 2097152 cuda threads [2018-02-06 13:14:49] [S/A/T]: 0/1/1, diff: 28.925, 85.52MH/s yes! [2018-02-06 13:14:53] GPU#7:GeForce GTX 1060 6GB, 23.04MH/s [2018-02-06 13:14:53] GPU#6:Zotac GTX 1060 6GB, 20.90MH/s [2018-02-06 13:14:53] GPU#2:Zotac GTX 1060 6GB, 22.81MH/s [2018-02-06 13:14:53] GPU#3:Zotac GTX 1060 6GB, 22.45MH/s [2018-02-06 13:14:58] GPU#8:Zotac GTX 1060 6GB, 22.98MH/s [2018-02-06 13:14:58] GPU#5:GeForce GTX 1060 6GB, 23.36MH/s [2018-02-06 13:14:58] [S/A/T]: 0/2/2, diff: 112.542, 158.06MH/s yes! [2018-02-06 13:14:59] GPU#9:Zotac GTX 1060 6GB, 23.49MH/s [2018-02-06 13:15:00] GPU#1:Zotac GTX 1060 6GB, 22.47MH/s [2018-02-06 13:15:00] GPU#4:Zotac GTX 1060 6GB, 22.24MH/s [2018-02-06 13:15:00] GPU#0:Zotac GTX 1060 6GB, 22.06MH/s [2018-02-06 13:15:17] lyra2v2 block 1859078, diff 37978.740 [2018-02-06 13:15:35] GPU#7:GeForce GTX 1060 6GB, 23.06MH/s [2018-02-06 13:15:36] GPU#2:Zotac GTX 1060 6GB, 22.92MH/s [2018-02-06 13:15:36] GPU#3:Zotac GTX 1060 6GB, 22.44MH/s [2018-02-06 13:15:37] GPU#6:Zotac GTX 1060 6GB, 21.21MH/s [2018-02-06 13:15:53] GPU#9:Zotac GTX 1060 6GB, 23.52MH/s [2018-02-06 13:15:54] GPU#5:GeForce GTX 1060 6GB, 23.27MH/s [2018-02-06 13:15:54] GPU#8:Zotac GTX 1060 6GB, 22.92MH/s [2018-02-06 13:15:55] GPU#1:Zotac GTX 1060 6GB, 22.48MH/s [2018-02-06 13:15:56] GPU#0:Zotac GTX 1060 6GB, 22.14MH/s [2018-02-06 13:15:56] GPU#4:Zotac GTX 1060 6GB, 22.15MH/s [2018-02-06 13:16:19] [S/A/T]: 0/3/3, diff: 202.867, 226.02MH/s yes! [2018-02-06 13:16:28] [S/A/T]: 0/4/4, diff: 38.597, 226.03MH/s yes!
I believe the miner is running ok. I will try to lower the intensity from 21 to 15
|
|
|
|
papampi
Full Member
Offline
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
|
|
February 06, 2018, 12:41:45 PM |
|
Whats the output of miner command? /home/m1/ASccminer/ccminer -a lyra2v2 -o stratum+tcp://xvg-lyra.suprnova.cc:2596 -u WaveFront.orange-deep -p c=XVG -i 21 Here is the output of the command: m1@m1-desktop:~$ /home/m1/ASccminer/ccminer -a lyra2v2 -o stratum+tcp://xvg-lyra.suprnova.cc:2596 -u WaveFront.orange-deep -p c=XVG -i 21 *** ccminer alexis-1.0 for nVidia GPUs from alexis78@github *** *** Built with the nVidia CUDA Toolkit 8.0 (Not recommended prefer 7.5)
*** Based on tpruvot@github ccminer *** Originally based on Christian Buchner and Christian H. project *** Include some of the work of djm34, sp, tsiv and klausT.
[2018-02-06 13:14:20] Starting on stratum+tcp://xvg-lyra.suprnova.cc:2596 [2018-02-06 13:14:21] NVML GPU monitoring enabled. [2018-02-06 13:14:21] 10 miner threads started, using 'lyra2v2' algorithm. [2018-02-06 13:14:21] Stratum difficulty set to 2048 (8.00000) [2018-02-06 13:14:27] GPU#3:Intensity set to 21, 2097152 cuda threads [2018-02-06 13:14:28] GPU#7:Intensity set to 21, 2097152 cuda threads [2018-02-06 13:14:28] GPU#2:Intensity set to 21, 2097152 cuda threads [2018-02-06 13:14:28] GPU#6:Intensity set to 21, 2097152 cuda threads [2018-02-06 13:14:35] GPU#0:Intensity set to 21, 2097152 cuda threads [2018-02-06 13:14:35] GPU#4:Intensity set to 21, 2097152 cuda threads [2018-02-06 13:14:36] GPU#8:Intensity set to 21, 2097152 cuda threads [2018-02-06 13:14:38] GPU#1:Intensity set to 21, 2097152 cuda threads [2018-02-06 13:14:38] GPU#9:Intensity set to 21, 2097152 cuda threads [2018-02-06 13:14:38] GPU#5:Intensity set to 21, 2097152 cuda threads [2018-02-06 13:14:49] [S/A/T]: 0/1/1, diff: 28.925, 85.52MH/s yes! [2018-02-06 13:14:53] GPU#7:GeForce GTX 1060 6GB, 23.04MH/s [2018-02-06 13:14:53] GPU#6:Zotac GTX 1060 6GB, 20.90MH/s [2018-02-06 13:14:53] GPU#2:Zotac GTX 1060 6GB, 22.81MH/s [2018-02-06 13:14:53] GPU#3:Zotac GTX 1060 6GB, 22.45MH/s [2018-02-06 13:14:58] GPU#8:Zotac GTX 1060 6GB, 22.98MH/s [2018-02-06 13:14:58] GPU#5:GeForce GTX 1060 6GB, 23.36MH/s [2018-02-06 13:14:58] [S/A/T]: 0/2/2, diff: 112.542, 158.06MH/s yes! [2018-02-06 13:14:59] GPU#9:Zotac GTX 1060 6GB, 23.49MH/s [2018-02-06 13:15:00] GPU#1:Zotac GTX 1060 6GB, 22.47MH/s [2018-02-06 13:15:00] GPU#4:Zotac GTX 1060 6GB, 22.24MH/s [2018-02-06 13:15:00] GPU#0:Zotac GTX 1060 6GB, 22.06MH/s [2018-02-06 13:15:17] lyra2v2 block 1859078, diff 37978.740 [2018-02-06 13:15:35] GPU#7:GeForce GTX 1060 6GB, 23.06MH/s [2018-02-06 13:15:36] GPU#2:Zotac GTX 1060 6GB, 22.92MH/s [2018-02-06 13:15:36] GPU#3:Zotac GTX 1060 6GB, 22.44MH/s [2018-02-06 13:15:37] GPU#6:Zotac GTX 1060 6GB, 21.21MH/s [2018-02-06 13:15:53] GPU#9:Zotac GTX 1060 6GB, 23.52MH/s [2018-02-06 13:15:54] GPU#5:GeForce GTX 1060 6GB, 23.27MH/s [2018-02-06 13:15:54] GPU#8:Zotac GTX 1060 6GB, 22.92MH/s [2018-02-06 13:15:55] GPU#1:Zotac GTX 1060 6GB, 22.48MH/s [2018-02-06 13:15:56] GPU#0:Zotac GTX 1060 6GB, 22.14MH/s [2018-02-06 13:15:56] GPU#4:Zotac GTX 1060 6GB, 22.15MH/s [2018-02-06 13:16:19] [S/A/T]: 0/3/3, diff: 202.867, 226.02MH/s yes! [2018-02-06 13:16:28] [S/A/T]: 0/4/4, diff: 38.597, 226.03MH/s yes!
I believe the miner is running ok. I will try to lower the intensity from 21 to 15 No its not the miner, Some users asked to use actual miner screen in local mode so they can control claymore and other miners that use the keyboard to change settings. I added an option in later versions of 3main if user is using wtm auto switch. Open 3main near the end , in the miner launch section change the LOCALorREMOTE == "LOCAL" sectin like below : From: echo "LAUNCHING: MINER" echo " " running=$(ps ax | grep -v cpuminer | grep -i screen | grep miner | awk '"miner" {print $1}') if [ "$running" == "" ] then bash /home/m1/0miner echo " " echo " "$(ps ax | grep -i screen | grep miner | grep -o 'SCREEN.*') echo " " if [ $LOCALorREMOTE == "REMOTE" ] then echo "Miner output: ~/nvOC miner-log" echo " " echo " " running="" elif [ $LOCALorREMOTE == "LOCAL" ] then screen -r miner fi fi
To: echo "LAUNCHING: MINER" echo " " running=$(ps ax | grep -v cpuminer | grep -i screen | grep miner | awk '"miner" {print $1}') if [ "$running" == "" ] then bash /home/m1/0miner echo " " echo " "$(ps ax | grep -i screen | grep miner | grep -o 'SCREEN.*') echo " " running="" if [ $LOCALorREMOTE == "REMOTE" ] then echo "Miner output: ~/nvOC miner-log" echo " " echo " " elif [ $LOCALorREMOTE == "LOCAL" ] then if [ $WTM_AUTO_SWITCH == "YES" ] then echo "Miner output: ~/nvOC miner-log" echo " " echo " " tail -f /home/m1/nvoc_logs/screenlog.0 else screen -r miner fi fi fi Edit: Notice after change there will be 3 fi before " elif [ $AUTO_START_MINER == "NO" ] "
|
|
|
|
Rig4p
Newbie
Offline
Activity: 59
Merit: 0
|
|
February 06, 2018, 02:28:58 PM |
|
Thanks for the tips. Unfortunately I get the same "Illegal instruction" error using TPccminer, ASccminer and KTccminer. I'm sure it must be something in my command structure but I'm getting old and slow! Try to recompile them on your own rig, see how it goes ... Have a look HereP.S: Illegal instruction can be high intensity too, try with a lower like -i 14 More success! Thanks again. First I went to your link and had some issues. The "wget -N" prefix is missing from each code block there so it kept telling me there was no such directory. After I fixed that I decided to recompile all the ccminers in that post. Then I tried to manually run skein with TPccminer and it ran just fine. SPccminer, now runs skein as well. Then I tried to use ASccminer which is what is called out in 3main for skein and got the same Illegal instruction failure as before. I then realized that ASccminer was not one of the miners called out in your link, searched through and found the instructions for recompiling that one and now skein runs with ASccminer. The early results show that ASccminer on skein gets a better hash rate so I will leave it like that in 3main. Since I have started down this SALFTER MPH switching path I have decided to manually test all the 3main miner start lines to see if any more fail. Looks like sometimes the pre-compiled miners are not 100% compatible with every system.
|
|
|
|
WaveFront
Member
Offline
Activity: 126
Merit: 10
|
|
February 06, 2018, 04:13:50 PM |
|
Is there a script for a “rig offline” telegram notification that I’m missing? The telegram messages are awesome, but would be good to know if it powers down and stay down.
If system is going to be rebooted you will get notified from script that send the reboot command (watchdog or temp control), but if your rig freeze there is nothing to do. You can set up an external watchdog like an RPi to check your rigs ping and ssh port and send you message if they were unreachable. Hi About this, does nvOC use the linux kernel watchdog ? Unfortunately no. Actually a card in one of my rigs making it hard freeze lately and I was reading and playing with sysctl to do a reboot on kernel panic with no success. I changed in both watchdog and temp control to sudo systemctl reboot --force Didnt helped a bit. Also added to /etc/sysctl.conf And no help too, The system freezes after 3-4 days of running clean with no logs, just a hard freeze. Any one has good ideas to implement linux hardware kernel watchdog would be amazing to add ... My solution to this problem is to do a HW reset with a Raspberry Pi. Basically you add a small circuit (a resistor an an optocoupler) to one of the GPIO output of the Raspberry PI and you connect the output of the optocoupler to the reset switch pins of the motherboard. In other words you allow the Raspberry Pi to "close" the reset switch of the motherboard. On the RPi you run a script that checks for the SSH port on the mobo every 30 seconds or so (you could alternatively ping the motherboard). If you have 10 consecutive failures, the RPi resets the mobo. I could write a how to guide on this thread and post the schematics if you are interested.
|
|
|
|
Rig4p
Newbie
Offline
Activity: 59
Merit: 0
|
|
February 06, 2018, 06:32:04 PM Last edit: February 06, 2018, 06:57:04 PM by Rig4p |
|
Thanks for the tips. Unfortunately I get the same "Illegal instruction" error using TPccminer, ASccminer and KTccminer. I'm sure it must be something in my command structure but I'm getting old and slow! Try to recompile them on your own rig, see how it goes ... Have a look HereP.S: Illegal instruction can be high intensity too, try with a lower like -i 14 More success! Thanks again. First I went to your link and had some issues. The "wget -N" prefix is missing from each code block there so it kept telling me there was no such directory. After I fixed that I decided to recompile all the ccminers in that post. Then I tried to manually run skein with TPccminer and it ran just fine. SPccminer, now runs skein as well. Then I tried to use ASccminer which is what is called out in 3main for skein and got the same Illegal instruction failure as before. I then realized that ASccminer was not one of the miners called out in your link, searched through and found the instructions for recompiling that one and now skein runs with ASccminer. The early results show that ASccminer on skein gets a better hash rate so I will leave it like that in 3main. Since I have started down this SALFTER MPH switching path I have decided to manually test all the 3main miner start lines to see if any more fail. Looks like sometimes the pre-compiled miners are not 100% compatible with every system. Next issue I see is the path for this one does not seem to exist on nvOC: /home/m1/KTccminer-cryptonight/ccminer If any one knows why it's missing or if it is only missing from my install please let me know or help me re-install it. Moving on to other alogs for now.
|
|
|
|
papampi
Full Member
Offline
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
|
|
February 06, 2018, 07:08:15 PM Last edit: February 06, 2018, 07:20:45 PM by papampi |
|
Thanks for the tips. Unfortunately I get the same "Illegal instruction" error using TPccminer, ASccminer and KTccminer. I'm sure it must be something in my command structure but I'm getting old and slow! Try to recompile them on your own rig, see how it goes ... Have a look HereP.S: Illegal instruction can be high intensity too, try with a lower like -i 14 More success! Thanks again. First I went to your link and had some issues. The "wget -N" prefix is missing from each code block there so it kept telling me there was no such directory. After I fixed that I decided to recompile all the ccminers in that post. Then I tried to manually run skein with TPccminer and it ran just fine. SPccminer, now runs skein as well. Then I tried to use ASccminer which is what is called out in 3main for skein and got the same Illegal instruction failure as before. I then realized that ASccminer was not one of the miners called out in your link, searched through and found the instructions for recompiling that one and now skein runs with ASccminer. The early results show that ASccminer on skein gets a better hash rate so I will leave it like that in 3main. Since I have started down this SALFTER MPH switching path I have decided to manually test all the 3main miner start lines to see if any more fail. Looks like sometimes the pre-compiled miners are not 100% compatible with every system. Next issue I see is the path for this one does not seem to exist on nvOC: /home/m1/KTccminer-cryptonight/ccminer If any one knows why it's missing or if it is only missing from my install please let me know or help me re-install it. Moving on to other alogs for now. Running the miner update script should update/install it Or you can download it from hereThanks for mentioning the missing wget Also added more miner compile to the post.
|
|
|
|
papampi
Full Member
Offline
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
|
|
February 06, 2018, 07:16:47 PM |
|
Is there a script for a “rig offline” telegram notification that I’m missing? The telegram messages are awesome, but would be good to know if it powers down and stay down.
If system is going to be rebooted you will get notified from script that send the reboot command (watchdog or temp control), but if your rig freeze there is nothing to do. You can set up an external watchdog like an RPi to check your rigs ping and ssh port and send you message if they were unreachable. Hi About this, does nvOC use the linux kernel watchdog ? Unfortunately no. Actually a card in one of my rigs making it hard freeze lately and I was reading and playing with sysctl to do a reboot on kernel panic with no success. I changed in both watchdog and temp control to sudo systemctl reboot --force Didnt helped a bit. Also added to /etc/sysctl.conf And no help too, The system freezes after 3-4 days of running clean with no logs, just a hard freeze. Any one has good ideas to implement linux hardware kernel watchdog would be amazing to add ... My solution to this problem is to do a HW reset with a Raspberry Pi. Basically you add a small circuit (a resistor an an optocoupler) to one of the GPIO output of the Raspberry PI and you connect the output of the optocoupler to the reset switch pins of the motherboard. In other words you allow the Raspberry Pi to "close" the reset switch of the motherboard. On the RPi you run a script that checks for the SSH port on the mobo every 30 seconds or so (you could alternatively ping the motherboard). If you have 10 consecutive failures, the RPi resets the mobo. I could write a how to guide on this thread and post the schematics if you are interested. Thanks mate that guide would help a lot of users I'm actually making an electrical switchboard for my rigs to connect to an RPi+relay board to reboot rigs and also turn them on/off if needed. But I'm looking into making linux kernel watchdog works so we dont need external watchdogs anymore. The rig I'm talking about is a test rig at home with a 1070 and a p106 card which were failing on my main rigs and I brought them home for testing failures.
|
|
|
|
noct01!
Newbie
Offline
Activity: 3
Merit: 0
|
|
February 06, 2018, 09:05:45 PM |
|
Hello,
I've been a user of NVOC for quite a while now on my two 1070 rigs (first 1.4 now 2.0) with very few issues. I really like the builds and want to say keep up the good work!
I'm now in the process of building some 1080ti machines (using Asus Z270-A boards) and have come across a problem (occurs with both 1.4 and 2.0 builds)...
I can get NVOC to boot into ubuntu by connecting to the intergrated GPU however get the usual xorg problem reboot message but can mine normally if I close the console window before the reboot happens and start ./3main manually but if I try to boot NVOC using the 1080ti I get a black screen after the ubuntu splash screen... I can SSH into the machine and it appears that it is mining...
I've had this sort of issue before with AMD machines and forcing nomodeset (or something like that) fixed the problem... however I've tried entering nomodeset at the grub menu but that doesn't do anything...
I'm at a bit of a loss with this, i'll continue playing but just wondered if anyone had come across this?
I'm presuming it's some sort of driver/xorg setup issue? I can boot off of my Win7 test SSD using the 1080ti and that works fine, so i'm pretty sure it's a software bug.
Thanks in advance!!
|
|
|
|
Doftorul
Newbie
Offline
Activity: 16
Merit: 0
|
|
February 07, 2018, 12:19:40 AM |
|
Try this: for i in s u b; do echo $i | sudo tee /proc/sysrq-trigger; sleep 5; done # reboot no matter the state for i in s u o; do echo $i | sudo tee /proc/sysrq-trigger; sleep 5; done # shutdown the system even when it is in a hanged state Is there a script for a “rig offline” telegram notification that I’m missing? The telegram messages are awesome, but would be good to know if it powers down and stay down.
If system is going to be rebooted you will get notified from script that send the reboot command (watchdog or temp control), but if your rig freeze there is nothing to do. You can set up an external watchdog like an RPi to check your rigs ping and ssh port and send you message if they were unreachable. Hi About this, does nvOC use the linux kernel watchdog ? Unfortunately no. Actually a card in one of my rigs making it hard freeze lately and I was reading and playing with sysctl to do a reboot on kernel panic with no success. I changed in both watchdog and temp control to sudo systemctl reboot --force Didnt helped a bit. Also added to /etc/sysctl.conf And no help too, The system freezes after 3-4 days of running clean with no logs, just a hard freeze. Any one has good ideas to implement linux hardware kernel watchdog would be amazing to add ...
|
|
|
|
CryptAtomeTrader44
Full Member
Offline
Activity: 340
Merit: 103
It is easier to break an atom than partialities AE
|
|
February 07, 2018, 12:24:07 AM |
|
@papampi 1/ I just update my miners by using your script update of the dédicated thread on btctalk thread. https://bitcointalk.org/index.php?topic=1854250.msg29101637#msg29101637I had some problems. I explain myself. I propose some modifications in directory miners arboresence to simplify updating miners manually for all (including Linux newbies) : I made theses modifications myself on my nvOC v19-2.0 and i'm not great experienced like you or stubo or leenoox. I think it's more easy for anyone to copy or replace in a directory named [latest] for all miners where there is only miners binaries files (and their necessarily librairies), than to make a new directory for each version and modify 0miner and 3main file and ...etc But you can make some little complex scripts that permit to keep old miners if necesary So i propose to make one directoty for [olds] versions, and one directory for [latests]. Like this /home/m1/miners/olds/{directory name of miner}/version/ for old versions of miners, and like this for latest versions of miners : /home/m1/miners/latest/{directory name of miner}/* More details of what i propose on this image : https://imgur.com/Vx36BhM2/ It's not the first time, I had to compile these three miners this evenning : KTccminer NAccminer (with bignum error...) TPccminer (i'm not sur about bignum because i don't hand over ssl librarie in his place yet) In addition, i read a lot of time that it's preferable to compile on your own machine than to download from anyone who compile it on his own too. So i propose you add compilations of theses minning softwares by default in your miners update scripts. What do you think about this proposition ? 3/ For updating miners softwares, i think you should make a master script that calls each individuals scripts for each miners. 4/ I modify Pasc dierctory because when i test miner, i see it's nicehash sgminer version. So i called it sgminer-nicehash To summarize : 1/ Big modifications of directories for miners (30 min) 2/ Adding compilation in update script for theses 3 miners i quote above. 3/ Master update script calls each miner individual update script 4/ Renaming pasc folder in his real name. Continue your good job to make nvOC a real good alternative for mining than ETHos which claim money or fees. I knew you were going to respond to those who want to "pay" for your good but heavy and long scripting work. I do not understand why they ask elsewhere, they seem not to see your crypto address in the scripts ... If they want they can give on these addresses. I imagine many others give without saying anything and that's fine. Finally, I hope for you ...
|
|
|
|
Rig4p
Newbie
Offline
Activity: 59
Merit: 0
|
|
February 07, 2018, 03:52:31 AM |
|
Thanks for the tips. Unfortunately I get the same "Illegal instruction" error using TPccminer, ASccminer and KTccminer. I'm sure it must be something in my command structure but I'm getting old and slow! Try to recompile them on your own rig, see how it goes ... Have a look HereP.S: Illegal instruction can be high intensity too, try with a lower like -i 14 More success! Thanks again. First I went to your link and had some issues. The "wget -N" prefix is missing from each code block there so it kept telling me there was no such directory. After I fixed that I decided to recompile all the ccminers in that post. Then I tried to manually run skein with TPccminer and it ran just fine. SPccminer, now runs skein as well. Then I tried to use ASccminer which is what is called out in 3main for skein and got the same Illegal instruction failure as before. I then realized that ASccminer was not one of the miners called out in your link, searched through and found the instructions for recompiling that one and now skein runs with ASccminer. The early results show that ASccminer on skein gets a better hash rate so I will leave it like that in 3main. Since I have started down this SALFTER MPH switching path I have decided to manually test all the 3main miner start lines to see if any more fail. Looks like sometimes the pre-compiled miners are not 100% compatible with every system. Next issue I see is the path for this one does not seem to exist on nvOC: /home/m1/KTccminer-cryptonight/ccminer If any one knows why it's missing or if it is only missing from my install please let me know or help me re-install it. Moving on to other alogs for now. Running the miner update script should update/install it Or you can download it from hereThanks for mentioning the missing wget Also added more miner compile to the post. Thanks Papampi! Running the miner update script and re-compiling all the miners in that link appears to be the final trick. I have successfully test mined all of the algos now included in the SALFTER MPH switcher, except for Vanilla-Blake. It appears that algo no longer has any coins to mine on MPH (that I could find) so it really should be no issue. I'm going to run this switcher on all 3 of my rigs now to see if any more issues pop up. One question: The SALFTER MPH switch runs all the miners in a screen, so when a switch occurs I have to detach from the previous screen and attach to the screen again to view the logs. Is there any way to have the screen change automatically or have the screen not drop during a switch? Thanks.
|
|
|
|
papampi
Full Member
Offline
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
|
|
February 07, 2018, 09:12:58 AM Last edit: April 25, 2018, 07:02:39 PM by papampi |
|
nvOC v0019-2.0 Community Release - Miner Update Script This script will check your nvOC miners and download new ones. As requested, after download it will ask to recompile them. Downloading and checking new miners for nvOC-v0019-2.x finished
Do you want to re-compile your miners (y/N)? y
Checking if bn.h bignum error is fixed for compiling miners or not
Select miners to compile, (multiple comma separated values: 1,6,7) 1- ASccminer 2 -KTccminer 3 -KTccminer-cryptonight 4- KXccminer 5 -NAccminer 6- SPccminer 7- TPccminer 8- vertminer 9- ANXccminer R- MSFTccminer (RVN)
Do your Choice: [A]LL [1] [2] [3] [4] [5] [6] [7] [8] [9] [R] [E]xit:
Miners Update Script: cd /home/m1/Downloads wget -N https://raw.githubusercontent.com/papampi/nvOC_miners/master/nvOC_miner_update.sh bash /home/m1/Downloads/nvOC_miner_update.sh Miner Versions: Claymore 11.7 Tpruvot ccminer 2.2.4 Bminer 6.1.0 DSTM 0.6 KlausT ccminer 8.20 KlaustT ccminer-cryptonight 2.06 Ethminer 0.13.0 nanashi-ccminer 2.2-mod-r2 vertminer 1.0.2 Stable ANXccminer valexis-1.0 MSFT Tpruvot ccminer (RVN) 2.2.5
|
|
|
|
fk1
|
|
February 07, 2018, 09:35:00 AM |
|
Hi, somehow my 1bash doesnt start anymore. Wether automatically after reboot nor if I start it with bash 1bash. When I fire this, no screen miner appears. No gpu utilization in nvidia-smi. Smi output appears very slow.
When I fire bash 0miner the mining process starts. What can I do? Maybe any function in 1bash needs internet access and gets blocked? I host my rig at a colocation since saturday. Things worked at the beginning but since yesterday no 1bash. I think maybe firewall blocking like wtm switch but disabled it and still no success. The colocation hoster says he blocks nothing.
|
|
|
|
l4ncel0t
Newbie
Offline
Activity: 14
Merit: 0
|
|
February 07, 2018, 10:07:58 AM |
|
nvOC v0019-2.0 Community Release - Miner Update Script This script will check your nvOC miners and download new ones. As requested, after download it will ask to recompile them. Downloading and checking new miners for nvOC-v0019-2.x finished
Do you want to re-compile your miners (y/N)? y
Checking if bn.h bignum error is fixed for compiling miners or not
Select miners to compile, (multiple comma separated values: 1,6,7) 1- ASccminer 2 -KTccminer 3 -KTccminer-cryptonight 4- KXccminer 5 -NAccminer 6- SPccminer 7- TPccminer 8- vertminer
Do your Choice: [1] [2] [3] [4] [5] [6] [7] [8] [E]xit:
Miners Update Script: cd /home/m1/Downloads wget -N https://raw.githubusercontent.com/papampi/nvOC_miners/master/nvOC_miner_update.sh bash /home/m1/Downloads/nvOC_miner_update.sh Miner Versions: Claymore 10.6 ccminer Tpruvot 2.2.4 Bminer 5.3.0 DSTM 0.5.8 KlausT ccminer 8.20 KlaustT ccminer-cryptonight 2.06 Ethminer 0.13.0 nanashi-ccminer 2.2-mod-r2 vertminer 1.0.2 Stable ANXccminer valexis-1.0
That great ! will try it now
|
|
|
|
papampi
Full Member
Offline
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
|
|
February 07, 2018, 03:09:53 PM |
|
Hi, somehow my 1bash doesnt start anymore. Wether automatically after reboot nor if I start it with bash 1bash. When I fire this, no screen miner appears. No gpu utilization in nvidia-smi. Smi output appears very slow.
When I fire bash 0miner the mining process starts. What can I do? Maybe any function in 1bash needs internet access and gets blocked? I host my rig at a colocation since saturday. Things worked at the beginning but since yesterday no 1bash. I think maybe firewall blocking like wtm switch but disabled it and still no success. The colocation hoster says he blocks nothing.
Trying to run bash 1bash should not do anything, its a config file, not a script. If Nvidia-smi loads slow, usually its a problem with a card that is causing it to load slow and usually your system load should be high as well. Check top command and check your load average. Run bash 3main or bash 2unix from guake and check errors. There is nothing to be blocked by firewall to stop 3main from starting.
|
|
|
|
papampi
Full Member
Offline
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
|
|
February 07, 2018, 03:10:20 PM Last edit: February 08, 2018, 03:32:15 PM by papampi |
|
nvOC v0019-2.0 Community Release - Miner Update Script This script will check your nvOC miners and download new ones. As requested, after download it will ask to recompile them. Downloading and checking new miners for nvOC-v0019-2.x finished
Do you want to re-compile your miners (y/N)? y
Checking if bn.h bignum error is fixed for compiling miners or not
Select miners to compile, (multiple comma separated values: 1,6,7) 1- ASccminer 2 -KTccminer 3 -KTccminer-cryptonight 4- KXccminer 5 -NAccminer 6- SPccminer 7- TPccminer 8- vertminer
Do your Choice: [A]LL [1] [2] [3] [4] [5] [6] [7] [8] [E]xit:
Miners Update Script: cd /home/m1/Downloads wget -N https://raw.githubusercontent.com/papampi/nvOC_miners/master/nvOC_miner_update.sh bash /home/m1/Downloads/nvOC_miner_update.sh Miner Versions: Claymore 10.6 ccminer Tpruvot 2.2.4 Bminer 5.3.0 DSTM 0.5.8 KlausT ccminer 8.20 KlaustT ccminer-cryptonight 2.06 Ethminer 0.13.0 nanashi-ccminer 2.2-mod-r2 vertminer 1.0.2 Stable ANXccminer valexis-1.0
That great ! will try it now Let me know if it has any bugs or problems.
|
|
|
|
|