VSIDO Community

VSIDO Support => General Support => Topic started by: VastOne on December 28, 2016, 04:17:29 PM

Title: SSD going bad? nVidia weirdness?
Post by: VastOne on December 28, 2016, 04:17:29 PM
On this main build machine I am starting to see something I have never seen before and I want to discuss it

The setup is it is on a SSD archive that is also the master grub partition (sda1)

/home is on the same SSD just on a separate partition (sda2)

those two partitions comprise the entire SSD

After being on for 15-20 minutes the screen will go black and there will be a single beep repetitive about every 15 seconds and the only thing I can do is fat finger 5 second restart

I have several fsarchives of this partition and loaded on this same machine and boot to them and DO NOT see this issue when I boot to a non SSD partition

The only other thing that is new is the nVidia drivers but as stated I am not seeing this on any partition that also runs nVidia

Thoughts please
Title: Re: SSD going bad? nVidia weirdness?
Post by: hakerdefo on December 28, 2016, 06:48:25 PM
I think it looks like an overheating issue. Most likely the graphics card is overheating. It could also be CPU fan. Open the side cover up and inspect whether the graphics card fan and CPU fan are working. If they are functioning fine then the next thing you can do is remove the graphics card and test the machine with its onboard display.
Cheers!!!
Title: Re: SSD going bad? nVidia weirdness?
Post by: VastOne on December 28, 2016, 08:11:25 PM
Running the exact same setup hardware and VSIDO build on different drive does not cause this to happen

Also, conky tells me that the GPU temp is stable and maintains a 44-45° temp. I also sit literally 2 feet away from this server and can instantly tell heat and power changes due to radiant heat and sounds... none of this is happening

I do not think it is a heat issue..
Title: Re: SSD going bad? nVidia weirdness?
Post by: VastOne on December 28, 2016, 08:23:28 PM
I loaded some tools (smartmontools and gsmartcontrol) tools specific to drive and ssd testing..

This is the output and shows basically everything is cool with the ssd

smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.8.0-2-amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     SAMSUNG MZ7TD128HAFV-000L1
Serial Number:    S14TNSAF831740
LU WWN Device Id: 5 002538 500000000
Add. Product Id:  00000000
Firmware Version: DXT05L0Q
User Capacity:    128,035,676,160 bytes [128 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 4c
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Wed Dec 28 14:18:46 2016 CST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (65476) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: (   2) minutes.
Extended self-test routine
recommended polling time: (  30) minutes.
SCT capabilities:        (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  9 Power_On_Hours          0x0032   097   097   000    Old_age   Always       -       15028
12 Power_Cycle_Count       0x0032   099   099   000    Old_age   Always       -       235
175 Program_Fail_Count_Chip 0x0032   100   100   010    Old_age   Always       -       0
176 Erase_Fail_Count_Chip   0x0032   100   100   010    Old_age   Always       -       0
177 Wear_Leveling_Count     0x0013   091   091   005    Pre-fail  Always       -       105
178 Used_Rsvd_Blk_Cnt_Chip  0x0013   100   100   010    Pre-fail  Always       -       0
179 Used_Rsvd_Blk_Cnt_Tot   0x0013   100   100   010    Pre-fail  Always       -       0
180 Unused_Rsvd_Blk_Cnt_Tot 0x0013   100   100   010    Pre-fail  Always       -       3120
181 Program_Fail_Cnt_Total  0x0032   100   100   010    Old_age   Always       -       0
182 Erase_Fail_Count_Total  0x0032   100   100   010    Old_age   Always       -       0
183 Runtime_Bad_Block       0x0013   100   100   010    Pre-fail  Always       -       0
184 End-to-End_Error        0x0033   100   100   097    Pre-fail  Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0032   071   060   000    Old_age   Always       -       29
195 Hardware_ECC_Recovered  0x001a   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   253   253   000    Old_age   Always       -       0
233 Media_Wearout_Indicator 0x003a   199   199   000    Old_age   Always       -       859634
234 Unknown_Attribute       0x0012   100   100   000    Old_age   Always       -       0
235 Unknown_Attribute       0x0012   099   099   000    Old_age   Always       -       32
236 Unknown_Attribute       0x0012   099   099   000    Old_age   Always       -       64
237 Unknown_Attribute       0x0012   099   099   000    Old_age   Always       -       105
238 Unknown_Attribute       0x0012   100   100   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     15028         -

SMART Selective self-test log data structure revision number 1
SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
  255        0    65535  Read_scanning was never started
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.


So I am still at a loss
Title: Re: SSD going bad? nVidia weirdness?
Post by: VastOne on December 28, 2016, 09:23:04 PM
So far over the last hour on the actual problem partition I have not seen the issue at all... Yesterday it was happening on every boot to it, today it has yet to happen

Will keep y'all updated
Title: Re: SSD going bad? nVidia weirdness?
Post by: PackRat on December 28, 2016, 11:39:39 PM
QuoteAfter a long power outage I am back online  .. nasty storms still all around in the Midwest

You happen to be logged into the SSD partition in question when your power went out? How's your power grid been since you got your power back; any random blackouts around town, or your lights flickering a bit?
Title: Re: SSD going bad? nVidia weirdness?
Post by: VastOne on December 28, 2016, 11:46:48 PM
^ Good thoughts there Ratman but no that does not seem to be the cause.. Of course I cannot gauge the grid completely but the power does seem to be up to 100%

I have been on this partition now for over 3 hours and hammering the hell out of it by building ISO's at the same time as fsarchiver is both saving and restoring so 100% CPU and MEM and I cannot bust it

I am beginning to think it just might be something with a timeout setting on sleep mode for either the system or monitor... It is most likely associated with nVidia but I cannot trace it

It does seem though like the system is trying to sleep when this happens and gets stuck ... the trouble though is I do not have anything at all like that setup to engage

Next bit of weirdness with this machine over the last year or so is just a complete random logout.. Out of the blue and never when I am active on the machine.. It is like that is what is trying to happen again but instead of logging out it gets stuck and cannot move.. In my mind this is absolutely related to what is going on right now.. but since it was never really anything but a nuisance when it logged out before I never followed through on it

Thanks for assisting.. I appreciate it
Title: Re: SSD going bad? nVidia weirdness?
Post by: PackRat on December 29, 2016, 12:10:32 AM
just a complete random logout.

That sounds like Xorg or fluxbox (I'm assuming that is what you're using during this procedure) barfed.

Have you looked at your .xsession-errors file lately? Also, if you (or anyone incase you know about this) take a look at the ~/fluxbox/startup file there is a way to start fluxbox so that it creates it's own log file in ~/.fluxbox. That file is actually handy; I recommend everyone use it.

Edit - actually I think the line may be:

# or if you want to keep a log:
exec fluxbox -log


just put the absolute path and file name to the logfile in there -

# or if you want to keep a log:
exec fluxbox -log "$HOME/.fluxbox/log"
Title: Re: SSD going bad? nVidia weirdness?
Post by: VastOne on December 29, 2016, 02:09:41 AM
Just did a reboot and have a shorter xsessions-errors that I posted on hastebin (https://hastebin.com/miyuriboxe.sql)

This is the one before, much larger and  with more detail and also on hastebin (https://hastebin.com/uwagodanon.sql)

I will also start the logging process.. Hard to reproduce it as busy as I am today on the computer but I will let it sit idle for an hour to see if it will in fact do the same thing again

Thanks for the heads up on all of the RatMan...
Title: Re: SSD going bad? nVidia weirdness?
Post by: VastOne on December 29, 2016, 02:25:57 AM
Got the log file setup.. you know something I can do to create an error that would show up to verify it is functional?
Title: Re: SSD going bad? nVidia weirdness?
Post by: PackRat on December 29, 2016, 03:24:42 AM
Not really. I haven't had fluxbox crash in several years. Last time I had errors in that log, tint2 was not working with the latest git version of fluxbox compiled on Debian Sid.

About all you can do is keep on working away without making any changes to your system files and see if the computer acts up again.
Title: Re: SSD going bad? nVidia weirdness?
Post by: VastOne on December 29, 2016, 03:30:05 AM
^ Appears so.. I stayed off for exactly one hour and it did not happen.. but the logout stuff has always been completely random .. I would see it 2-3 times a week for 3 weeks and then never see it again for a month...

Kind of hard to trace...  :'(
Title: Re: SSD going bad? nVidia weirdness?
Post by: hakerdefo on December 29, 2016, 06:14:58 AM
A long beep of about 15 seconds after 15 odd minutes is most likely a cause of overheated CPU/GPU. Software or driver problems don't/can't trigger beeps so logs won't help you here. And it neither is a bad SSD. Going faulty drive also don't/can't trigger beeps.
Try looking into your MOBO's BIOS beep codes to pin-point the issue. You can easily search for beep codes and their meanings on Google/DuckDuckGo.
Cheers!!!
Title: Re: SSD going bad? nVidia weirdness?
Post by: VastOne on December 29, 2016, 06:26:17 AM
 It's not a long beep. It's a very short beep that has no pattern at all. There is no time pattern with it either

I have already Google enough to know this is one unique issue
Title: Re: SSD going bad? nVidia weirdness?
Post by: PackRat on December 29, 2016, 05:45:01 PM
@vastone - from your long .xsession-error file:

SPAWN=/bin/bash  /tmp/spacefm-vastone-63301765.tmp/5361c8e5-tmp.sh  run
    pid = 2762
mount changed: /dev/sr0
async child finished  pid=2762
udev changed: /dev/sr0
udev changed: /dev/sr0
udev changed: /dev/sr0

Automount: /usr/bin/udevil mount /dev/sr0 -o 'noexec,nosuid,noatime'

TASK_COMMAND(0x555f2176a150)=/usr/bin/udevil mount /dev/sr0 -o 'noexec,nosuid,noatime'
SPAWN=/bin/bash  /tmp/spacefm-vastone-63301765.tmp/42e1be5c-tmp.sh  run
    pid = 2847
mount changed: /dev/sr0

Auto Open Tab for /dev/sr0 in /media/snapshot-live-cd
async child finished  pid=2847
method return time=1482975925.849519 sender=:1.26 -> destination=:1.25 serial=7 reply_serial=2
conky: conky: received SIGINT or SIGTERM to terminate. bye!
received SIGINT or SIGTERM to terminate. bye!
XIO:  fatal IO error 4 (Interrupted system call) on X server ":0"
      after 372157 requests (372157 known processed) with 0 events remaining.
XIO:  fatal IO error 4 (Interrupted system call) on X server ":0"
      after 26881 requests (26881 known processed) with 0 events remaining.
Error: Couldn't connect to XServer:0


Is that your error at the end when the screen goes blank? (I pretty much suck at interpreting this particular file)

What is your /dev/sr0? On any of my systems that is always the cdrom/dvdrom drive. You using that during this particular procedure? Maybe you have a cdrom going bad or loose cable.

QuoteIt's a very short beep that has no pattern at all.

I thought it was a single beep that repeats (original post).
Title: Re: SSD going bad? nVidia weirdness?
Post by: VastOne on December 29, 2016, 05:53:19 PM
 :D  :D  :D

FUCK CONKY!

I used the cdrom (yes to /dev/sr0) all day yesterday burning burning and burning and every single one completely syccessful... thought it might be the issue as well since I had not used it in forever.. it still could be a faulty wire but again very hard to trace

Been up 16 hours now on same troubled partition and not a single blemish

I suck at trying to figure out that ridiculous error file also but that sure does look like an X killing issue... could very well be a spacefm issue too..

I am seeing more failures of commands in spacefm but I think it is due more to heightened security.. backup up and restoring via fsarchive only work now from a root spacefm / xterm combination .. they used to work flawlessly with normal spacefm and terminal.. trouble with this one too is there is no error. It just does not work and comes back to spacefm.. but taking the exact same command spacefm uses and run it in a terminal works.. I also just tried changing to xterm as the terminal in settings and it failed too.. so it has something to do with the hand off of permissions between spacefm and terminal

EDIT - Moved the above to it's own thread (http://vsido.org/index.php?topic=1247.msg14107#msg14107)

Thanks for digging through that file and finding this nugget
Title: Re: SSD going bad? nVidia weirdness?
Post by: VastOne on December 29, 2016, 05:54:33 PM
Quote from: PackRat on December 29, 2016, 05:45:01 PM

QuoteIt's a very short beep that has no pattern at all.

I thought it was a single beep that repeats (original post).

It does repeat but there is not length or sound pattern to it and it will stop completely at different times..
Title: Re: SSD going bad? nVidia weirdness?
Post by: VastOne on December 29, 2016, 05:54:58 PM
Next time it happens I will video it on my phone...  :-\
Title: Re: SSD going bad? nVidia weirdness?
Post by: PackRat on December 29, 2016, 07:09:08 PM
Quote from: VastOne on December 29, 2016, 05:54:58 PM
Next time it happens I will video it on my phone...  :-\

Set up your webcam and video the entire room  :D

QuoteNext bit of weirdness with this machine over the last year or so is just a complete random logout..

that predates your current nVidia card doesn't it?

QuoteI have been on this partition now for over 3 hours and hammering the hell out of it by building ISO's at the same time as fsarchiver is both saving and restoring so 100% CPU and MEM and I cannot bust it

That sort of CPU and MEM usage the norm during this procedure? Maybe you have something on board that triggers a shutdown of sorts - like a critical temp. My HP laptop will do that if the CPU temp hits the critical - but I actually have to reboot and get a Thermal Shutdown message. Maybe something just pushed it over the edge yesterday, but today is All Quiet on the VSIDO Front.
Title: Re: SSD going bad? nVidia weirdness?
Post by: VastOne on December 29, 2016, 07:25:03 PM
Quote from: PackRat on December 29, 2016, 07:09:08 PM
Quote from: VastOne on December 29, 2016, 05:54:58 PM
Next time it happens I will video it on my phone...  :-\

Set up your webcam and video the entire room  :D

QuoteNext bit of weirdness with this machine over the last year or so is just a complete random logout..

that predates your current nVidia card doesn't it?

QuoteI have been on this partition now for over 3 hours and hammering the hell out of it by building ISO's at the same time as fsarchiver is both saving and restoring so 100% CPU and MEM and I cannot bust it

That sort of CPU and MEM usage the norm during this procedure? Maybe you have something on board that triggers a shutdown of sorts - like a critical temp. My HP laptop will do that if the CPU temp hits the critical - but I actually have to reboot and get a Thermal Shutdown message. Maybe something just pushed it over the edge yesterday, but today is All Quiet on the VSIDO Front.

I am looking for some Poltergeist type cameras as we speak ...  :)

I have always had the same hardware .. it is the nVidia driver is all that is new... I am of the opinion that if I went back to the nouveau drivers I would go back to seeing the logout phenomenon and not a black out

As a matter of fact I have two identical machines and the other one never does this

Regarding 100% CPU and MEM .. I did this on purpose yesterday to point out that I do not believe that temp is the issue.. I am a type of person who sleeps with windows open when it is less than 32 degrees.. I like cold.. My room is always cold... even when building and spiking CPU and MEM to 100% the temps of everything I observe (CPU,MB, GPU and HD) all stay within norms...

So what I proved yesterday was that elevating or maxing out this machine never once caused it to barf or stop or even complain... it worked perfectly. Conversely it makes tracing this once again a near impossible task
Title: Re: SSD going bad? nVidia weirdness?
Post by: VastOne on January 03, 2017, 06:49:52 PM
Circling back to this again I have not seen it happen in a week now..

It could have very well been an obscure X app or file that updated on any level

It could have been a particle of dust or even an electrical polyp...  ::)   

A mystery perhaps never solved...
Title: Re: SSD going bad? nVidia weirdness?
Post by: lwfitz on January 07, 2017, 08:34:04 AM
Quote from: PackRatSet up your webcam and video the entire room  :D

PLEASE DONT DO THIS!  Vastonecams.com is a terrible idea!


My first thought was a temperature as well but unless conky is giving you bad data then you are probably safe there. Have you tested the power supply?

Generally with an ssd failure there will be some freezing or boot issues right before the drive fails. There wont be a whole lot of warning. At least thats my experience.