Author

Topic: [ mining os ] nvoc - page 170. (Read 418546 times)

newbie
Activity: 15
Merit: 0
October 24, 2017, 09:31:07 AM
Please excuse my n00b questions:

- I'd like to read the OC script to understand it; can somebody give me the path to it?
- Is there a log of the OC process so I can see if they get applied (instead of just looking at nvidia-smi)?

Thanks!

Hey all, glad to hear you got your rigs back up. Mine never stopped but that might be that I had
AUTO_UPDATE_CHECKS="NO"

On another note, would somebody point me to where/how the OC script is run? I'm trying to get my 19x P106 headless rig beyond stock clocks (OC settings aren't applying).

Thanks in advance.
-z
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
October 24, 2017, 09:23:50 AM
Any idea why all rigs crashed last night.  v0018 and v0019 rigs all died and won't boot.  v0018 rigs hang trying to perform cleaning functions.  v0019 rigs ask for a password. v19-1.3 rigs are all running fine.  Rigs are in two completely different geographic locations.
Have a look at page 245 and 246.

I think the problem is while Nvidia driver was updating wdog restarted the rig because of low utilization and that cause a miss configured Nvidia driver,
I think solution is to prevent wdog from restarting the rig if dpkg is running.
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
October 24, 2017, 09:19:55 AM
To prevent automatic updates in the future:

use your favorite editor, open /etc/apt/apt.conf.d/10periodic and change:

Code:
APT::Periodic::Update-Package-Lists "1";

To:

Code:
APT::Periodic::Update-Package-Lists "0";


and /etc/apt/apt.conf.d/20auto-upgrades
Code:
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";

to

Code:
APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Unattended-Upgrade "0";


D

ps: Seriously, why was this ON?

Very nice suggestion Doodkeen,

This is a community driven project and fullzero is doing the best job ever without asking for a dime (unlike other Linux mining distros)
Some times in the middle of the road we miss some small points that are so obvious to others,

So I'm kindly ask every Linux Guru here to do their best to look for improvements and fixes for nvOC
Feel free to PM me or post in forum any suggestion you have.

Thank you all.
newbie
Activity: 13
Merit: 0
October 24, 2017, 09:05:13 AM
Any idea why all rigs crashed last night.  v0018 and v0019 rigs all died and won't boot.  v0018 rigs hang trying to perform cleaning functions.  v0019 rigs ask for a password. v19-1.3 rigs are all running fine.  Rigs are in three completely different geographic locations.
sr. member
Activity: 1414
Merit: 487
YouTube.com/VoskCoin
October 24, 2017, 08:53:41 AM
This is so frustrating, nvOC17 was rock solid and nvOC19 has been a headache like 15 16 18 were

nvOC_17 DL
http://www.mediafire.com/file/oi84ue7e6z9epn9/nvOC_v0017.zip


Can anyone help me add a couple coins to 17 and implement the newer auto fan controller?
full member
Activity: 209
Merit: 100
October 24, 2017, 08:32:31 AM
Not all best practices are "necessary" in terms of what is minimally required; that being said, that particular way (including purge) aids in ensuring stability.

Thanks, and fair point - I just didn't have much time and needed to get things going. I also left most of my update/upgrade flags at 1 - something I have to fix later. So I guess skipping the purge part is for folks like me that had just a couple minutes to get their rigs back up.

I'll follow your advice and purge and reinstall later on when I have the time  Smiley
hero member
Activity: 1092
Merit: 552
Retired IRCX God
October 24, 2017, 08:27:02 AM
Not all best practices are "necessary" in terms of what is minimally required; that being said, that particular way (including purge) aids in ensuring stability.
full member
Activity: 209
Merit: 100
October 24, 2017, 08:22:06 AM
So for those who are now reaching the login screen and cannot login even when you type in your password. SSH into your rig and run the following commands:

Code:
sudo apt-get purge nvidia*
sudo dpkg --configure -a
sudo shutdown -r now

Now everything's working back to normal. Not sure why it did that for me. Also, I don't know if the first commmand is necessary, it's just what I typed in initially so I included it.

Thanks so much for this. I don't think the first command is necessary (edit: just to get your rigs running - see below, it may be for stability) - just the second got everything running for me. When I ran the first command, I then had to do:
Code:
sudo apt-get install nvidia-385

So to get my remote-rigs running again I just had to:

Code:
sudo dpkg --configure -a
sudo reboot
full member
Activity: 209
Merit: 100
October 24, 2017, 08:14:46 AM
Wow that was an interesting morning. Thanks to everyone that identified the problem and posted a solution so quickly.

Oddly enough, a couple of rigs kept running - I can't think of anything about them that was different from the others. Though they also had the update and upgrade flags set to 1.

For me, just running 

sudo dpkg --configure -a

And then rebooting did the trick.
newbie
Activity: 10
Merit: 0
October 24, 2017, 08:03:54 AM
Just use your editor with sudo after you are logged in by ssh. 

Code:
sudo vim.tiny /etc/apt/apt.conf.d/20auto-upgrades

Thanks Doodkeen, is done now.  Grin Grin
full member
Activity: 224
Merit: 100
October 24, 2017, 08:03:21 AM


ps: Seriously, why was this ON?

Ill have to check my setup later but Im surprise it was ON.

Ill scan the distro for rootkit later too just to be sure.
newbie
Activity: 4
Merit: 0
October 24, 2017, 08:03:06 AM

Thanks Doodkeen, but how to elevated access in nvoc? I using winscp but no luck. Not able to change using m1 credential.

If you want to connect with winscp there is a good article about this situation but i would use ssh

https://blog.jamesbayley.com/2014/01/28/how-to-connect-as-root-using-winscp/
newbie
Activity: 14
Merit: 0
October 24, 2017, 08:00:04 AM
I managed to grab an image: https://i.imgur.com/3of2yT9.jpg

This is happening on both my rigs

Thats not a problem
Ubuntu is checking drive, wait and it will boot

Same thing happend for me...and I waited for 1 hour still same screen..what to do
full member
Activity: 223
Merit: 101
October 24, 2017, 07:58:47 AM
Nvidia driver updated today on one of my rigs
A reboot fixed my problem
The other one already had latest 384-90

run update / upgrade again

Code:
sudo apt update && sudo apt upgrade && sudo reboot

Thank you, this worked for me Cheesy. If you're using a keyboard press control + alt + f1 to get to terminal and first input login credentials(login: m1 password: miner1 by default)
newbie
Activity: 4
Merit: 0
October 24, 2017, 07:53:38 AM
Just use your editor with sudo after you are logged in by ssh. 

Code:
sudo vim.tiny /etc/apt/apt.conf.d/20auto-upgrades
newbie
Activity: 10
Merit: 0
October 24, 2017, 07:45:00 AM
To prevent automatic updates in the future:

use your favorite editor, open /etc/apt/apt.conf.d/10periodic and change:

Code:
APT::Periodic::Update-Package-Lists "1";

To:

Code:
APT::Periodic::Update-Package-Lists "0";


and /etc/apt/apt.conf.d/20auto-upgrades
Code:
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";

to

Code:
APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Unattended-Upgrade "0";


D

ps: Seriously, why was this ON?

Thanks Doodkeen, but how to elevated access in nvoc? I using winscp but no luck. Not able to change using m1 credential.
newbie
Activity: 4
Merit: 0
October 24, 2017, 07:33:02 AM
To prevent automatic updates in the future:

use your favorite editor, open /etc/apt/apt.conf.d/10periodic and change:

Code:
APT::Periodic::Update-Package-Lists "1";

To:

Code:
APT::Periodic::Update-Package-Lists "0";


and /etc/apt/apt.conf.d/20auto-upgrades
Code:
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";

to

Code:
APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Unattended-Upgrade "0";


D

ps: Seriously, why was this ON?
newbie
Activity: 10
Merit: 0
October 24, 2017, 07:27:23 AM
If possible, can we stop driver from auto update to prevent this event? For now, I just manage to get my rig working again by re-flashing image. But I believe this event will occur again since driver is auto update. I using P106 cards.


hero member
Activity: 906
Merit: 507
October 24, 2017, 07:17:07 AM
When I tried to unzip nvoc on win 7 I keep getting error that I don't have enough space when there 150gb empty but it unzips on my win 10 pro rigs without a issue
full member
Activity: 224
Merit: 100
October 24, 2017, 06:59:05 AM
Nvidia driver updated today on one of my rigs
A reboot fixed my problem
The other one already had latest 384-90

run update / upgrade again

Code:
sudo apt update && sudo apt upgrade && sudo reboot

 I rebooted 3 times (v19) and still had the same problem. I had to update the Nvidia drivers to fix the issue.
Jump to: