Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2015 12:07:34 -0700
From:      jd1008 <jd1008@gmail.com>
To:        FreeBSD Users <freebsd-questions@freebsd.org>
Subject:   Re: why would I get a segmentation fault on one system but not the other?
Message-ID:  <54EB7A76.1070009@gmail.com>
In-Reply-To: <20150223033144.GA99783@home.parts-unknown.org>
References:  <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <54EA04D2.6090208@gmail.com> <20150222210451.GA74450@home.parts-unknown.org> <54EA4625.4070608@gmail.com> <20150223033144.GA99783@home.parts-unknown.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 02/22/2015 08:31 PM, David Benfell wrote:
> On Sun, Feb 22, 2015 at 02:12:05PM -0700, jd1008 wrote:
>> The only thing left for me to guess at is
>> that you might possibly have hard disk errors
>> either at the spots (sectors) where the binary lives
>> or at the spots in the swap partition where the data
>> and stack pages of the application get paged out to.
>> Do you have any errors logged in messages (kernel logs)??
>>
> Just found this and checked. No, nothing of the sort is logged. Just
> to be sure, I did a copy from the library that seems problematic to
> /dev/null and checked /var/log/messages again. Still nothing.
>
> I don't quite understand how to interpret all of the following, but it
> says no errors:
>
> vegan# smartctl -a /dev/ada0
> smartctl 6.3 2014-07-26 r3976 [FreeBSD 10.1-STABLE amd64] (local
> build)
> Copyright (C) 2002-14, Bruce Allen, Christian Franke,
> www.smartmontools.org
>
> === START OF INFORMATION SECTION ===
> Model Family:     Toshiba 3.5" HDD DT01ACA...
> Device Model:     TOSHIBA DT01ACA300
> Serial Number:    X4ENH8BGS
> LU WWN Device Id: 5 000039 ff4e57fc0
> Firmware Version: MX6OABB0
> User Capacity:    3,000,592,982,016 bytes [3.00 TB]
> Sector Sizes:     512 bytes logical, 4096 bytes physical
> Rotation Rate:    7200 rpm
> Form Factor:      3.5 inches
> Device is:        In smartctl database [for details use: -P show]
> ATA Version is:   ATA8-ACS T13/1699-D revision 4
> SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
> Local Time is:    Sun Feb 22 19:29:57 2015 PST
> 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:  (0x80) Offline data collection
> activity
>                                          was never started.
>                                          Auto Offline Data Collection:
> Enabled.
> 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:                (22078) 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:        (   1) minutes.
> Extended self-test routine
> recommended polling time:        ( 368) 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: 16
> Vendor Specific SMART Attributes with Thresholds:
> ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE
> UPDATED  WHEN_FAILED RAW_VALUE
>    1 Raw_Read_Error_Rate     0x000b   100   100   016    Pre-fail
> Always       -       0
>    2 Throughput_Performance  0x0005   139   139   054    Pre-fail
> Offline      -       71
>    3 Spin_Up_Time            0x0007   100   100   024    Pre-fail
> Always       -       389
>    4 Start_Stop_Count        0x0012   100   100   000    Old_age
> Always       -       8
>    5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail
> Always       -       0
>    7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail
> Always       -       0
>    8 Seek_Time_Performance   0x0005   124   124   020    Pre-fail
> Offline      -       33
>    9 Power_On_Hours          0x0012   100   100   000    Old_age
> Always       -       100
>   10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail
> Always       -       0
>   12 Power_Cycle_Count       0x0032   100   100   000    Old_age
> Always       -       8
> 192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age
> Always       -       9
> 193 Load_Cycle_Count        0x0012   100   100   000    Old_age
> Always       -       9
> 194 Temperature_Celsius     0x0002   214   214   000    Old_age
> Always       -       28 (Min/Max 20/31)
> 196 Reallocated_Event_Count 0x0032   100   100   000    Old_age
> Always       -       0
> 197 Current_Pending_Sector  0x0022   100   100   000    Old_age
> Always       -       0
> 198 Offline_Uncorrectable   0x0008   100   100   000    Old_age
> Offline      -       0
> 199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age
> Always       -       0
>
> SMART Error Log Version: 1
> No Errors Logged
>
> SMART Self-test log structure revision number 1
> No self-tests have been logged.  [To run self-tests, use: smartctl -t]
>
> 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
> 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.
>
> Thanks!
>
OK, so how old is the hard drive?
I have issues with smartctl labeling drives as being in prefail condition.
I have heard from HD experts that smartctl cannot be relied upon in
making such a judgement.

Regards,

JD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54EB7A76.1070009>