EXT3-fs: barriers not enabled

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read this

EXT3-fs: barriers not enabled

Postby bananabob on Fri Jun 22, 2012 10:30 pm

Please can someone tell me what is happening here - the following messages appear in my syslog @ boot time.:

Jun 23 14:20:00 thorium kernel: [ 13.192415] EXT3-fs: barriers not enabled
Jun 23 14:20:00 thorium kernel: [ 13.192668] kjournald starting. Commit interval 5 seconds
Jun 23 14:20:00 thorium kernel: [ 13.193371] EXT3-fs (sdb1): using internal journal
Jun 23 14:20:00 thorium kernel: [ 13.193375] EXT3-fs (sdb1): mounted filesystem with ordered data mode


The reason I ask is because yesterday sdb1 failed to auto mount at boot time. I have had this happen before.
Today I changed the SATA cable thinking that may be the reason for the failed mount.
I have run e2fsck on the drive and there were no errors. I have also run smartctl and this was the result:
james@thorium:~$ sudo smartctl -a -d ata /dev/sdb1
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.0.0-12-generic] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family: Western Digital Caviar Black
Device Model: WDC WD1001FALS-00E3A0
Serial Number: WD-WCATR0771036
LU WWN Device Id: 5 0014ee 2aefff21a
Firmware Version: 05.01D05
User Capacity: 1,000,204,886,016 bytes [1.00 TB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: 8
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Sat Jun 23 14:05:49 2012 NZST
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: (0x82) Offline data collection activity
was completed without error.
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: (17700) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
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: ( 204) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SCT capabilities: (0x3037) SCT Status 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 0x002f 200 200 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0027 215 170 021 Pre-fail Always - 2225
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 890
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 100 253 000 Old_age Always - 0
9 Power_On_Hours 0x0032 087 087 000 Old_age Always - 10179
10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 888
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 106
193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 783
194 Temperature_Celsius 0x0022 112 104 000 Old_age Always - 35
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 22
200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 3

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 Extended offline Completed without error 00% 8942 -

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.


Looking for help here please.
bananabob
Level 1
Level 1
 
Posts: 37
Joined: Tue Feb 07, 2012 11:05 pm

Linux Mint is funded by ads and donations.
 

Re: EXT3-fs: barriers not enabled

Postby eanfrid on Sat Jun 23, 2012 9:11 am

It is only an info-level message. IIRC write barriers are disabled by default on EXT3 (but are enabled on EXT4) and this message shows up during boot time on recent kernels. If either your PC is plugged on an UPS or runs on battery like a laptop, write barriers are quite useless.
Image
Never attribute to malice that which is adequately explained by stupidity.
User avatar
eanfrid
Level 4
Level 4
 
Posts: 499
Joined: Mon Apr 30, 2012 2:49 am
Location: France

Re: EXT3-fs: barriers not enabled

Postby bananabob on Sat Jun 23, 2012 6:20 pm

Thank you for the quick reply. Yes I do have a UPS, so I do not need to worry about barriers.

Why would the device not automount like it did the other day?
bananabob
Level 1
Level 1
 
Posts: 37
Joined: Tue Feb 07, 2012 11:05 pm

Re: EXT3-fs: barriers not enabled

Postby eanfrid on Wed Jun 27, 2012 5:08 pm

What is written in your /etc/fstab regarding this /dev/sdb1 partition ?
Image
Never attribute to malice that which is adequately explained by stupidity.
User avatar
eanfrid
Level 4
Level 4
 
Posts: 499
Joined: Mon Apr 30, 2012 2:49 am
Location: France

Re: EXT3-fs: barriers not enabled

Postby bananabob on Wed Jun 27, 2012 6:00 pm

Things have moved on a bit since I started this post I have had further problems.
Checking the syslog I got the messages that you can read below. They go on forever so I have only sent some.
I decided to unplug the ext3 drive and see what happened. It got worse. The PC refused to boot up at all.
Wondering what I was going to do I replugged the ext3 drive and booted from a CDROM - no problems.
I shut down again made sure all SATA cables were pushed in correctly and rebooted - no problems. I am now leaving the PC on all the time.
I searched the web for SRST failed (errno=-16) and find that it could either be a bug in the software, or the controller is on the way out.

Can you give me some advice on what I should do please?

J
un 24 09:15:33 thorium rsyslogd: [origin software="rsyslogd" swVersion="5.8.1" x-pid="923" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
Jun 24 09:15:33 thorium kernel: [ 446.968082] ata4: SRST failed (errno=-16)
Jun 24 09:15:33 thorium kernel: [ 446.968093] ata4: reset failed, giving up
Jun 24 09:15:33 thorium kernel: [ 446.968116] ata4: exception Emask 0x10 SAct 0x0 SErr 0x1950000 action 0xe frozen t3
Jun 24 09:15:33 thorium kernel: [ 446.968125] ata4: SError: { PHYRdyChg CommWake Dispar LinkSeq TrStaTrns }
Jun 24 09:15:33 thorium kernel: [ 446.968143] ata4: hard resetting link
Jun 24 09:15:33 thorium rsyslogd: [origin software="rsyslogd" swVersion="5.8.1" x-pid="923" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
Jun 24 09:15:35 thorium kernel: [ 448.135165] sd 3:0:0:0: rejecting I/O to offline device
Jun 24 09:15:35 thorium kernel: [ 448.135191] EXT3-fs error (device sdb1): ext3_find_entry: reading directory #2 offset 0
Jun 24 09:15:35 thorium kernel: [ 448.135649] sd 3:0:0:0: rejecting I/O to offline device
Jun 24 09:15:35 thorium kernel: [ 448.135661] EXT3-fs (sdb1): I/O error while writing superblock
Jun 24 09:15:35 thorium kernel: [ 448.135689] sd 3:0:0:0: rejecting I/O to offline device
Jun 24 09:15:35 thorium kernel: [ 448.135699] EXT3-fs error (device sdb1): ext3_find_entry: reading directory #2 offset 0
Jun 24 09:15:35 thorium kernel: [ 448.136148] sd 3:0:0:0: rejecting I/O to offline device
Jun 24 09:15:35 thorium kernel: [ 448.136159] EXT3-fs (sdb1): I/O error while writing superblock
Jun 24 09:15:35 thorium kernel: [ 448.136182] sd 3:0:0:0: rejecting I/O to offline device
Jun 24 09:15:35 thorium kernel: [ 448.136192] EXT3-fs error (device sdb1): ext3_find_entry: reading directory #2 offset 0
Jun 24 09:15:35 thorium kernel: [ 448.136575] sd 3:0:0:0: rejecting I/O to offline device
Jun 24 09:15:35 thorium kernel: [ 448.136584] EXT3-fs (sdb1): I/O error while writing superblock
Jun 24 09:15:39 thorium kernel: [ 452.888063] ata4: link is slow to respond, please be patient (ready=0)
Jun 24 09:15:43 thorium kernel: [ 456.976044] ata4: SRST failed (errno=-16)
Jun 24 09:15:43 thorium kernel: [ 456.976058] ata4: hard resetting link
Jun 24 09:15:49 thorium kernel: [ 462.992036] ata4: link is slow to respond, please be patient (ready=0)
Jun 24 09:15:53 thorium kernel: [ 467.024041] ata4: SRST failed (errno=-16)
Jun 24 09:15:53 thorium kernel: [ 467.024054] ata4: hard resetting link
Jun 24 09:16:00 thorium kernel: [ 473.136055] ata4: link is slow to respond, please be patient (ready=0)
Jun 24 09:16:29 thorium kernel: [ 502.036080] ata4: SRST failed (errno=-16)
Jun 24 09:16:29 thorium kernel: [ 502.036095] ata4: limiting SATA link speed to 1.5 Gbps
Jun 24 09:16:29 thorium kernel: [ 502.036104] ata4: hard resetting link
Jun 24 09:16:29 thorium kernel: [ 502.972080] ata4: SRST failed (errno=-19)
Jun 24 09:16:29 thorium kernel: [ 502.972092] ata4: reset failed, giving up
Jun 24 09:16:29 thorium kernel: [ 502.972114] ata4: exception Emask 0x10 SAct 0x0 SErr 0x1810000 action 0xe frozen t2
Jun 24 09:16:29 thorium kernel: [ 502.972123] ata4: SError: { PHYRdyChg LinkSeq TrStaTrns }
Jun 24 09:16:29 thorium kernel: [ 502.972141] ata4: hard resetting link
Jun 24 09:16:35 thorium kernel: [ 508.900095] ata4: link is slow to respond, please be patient (ready=0)
Jun 24 09:16:39 thorium kernel: [ 512.992074] ata4: SRST failed (errno=-16)
Jun 24 09:16:39 thorium kernel: [ 512.992090] ata4: hard resetting link
Jun 24 09:16:45 thorium kernel: [ 518.912112] ata4: link is slow to respond, please be patient (ready=0)
Jun 24 09:16:49 thorium kernel: [ 523.000061] ata4: SRST failed (errno=-16)
Jun 24 09:16:49 thorium kernel: [ 523.000076] ata4: hard resetting link
Jun 24 09:16:56 thorium kernel: [ 529.336133] ata4: link is slow to respond, please be patient (ready=0)
Jun 24 09:17:01 thorium CRON[6949]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jun 24 09:17:25 thorium kernel: [ 558.052060] ata4: SRST failed (errno=-16)
Jun 24 09:17:25 thorium kernel: [ 558.052069] ata4: limiting SATA link speed to 1.5 Gbps
Jun 24 09:17:25 thorium kernel: [ 558.052074] ata4: hard resetting link
Jun 24 09:17:30 thorium kernel: [ 563.096050] ata4: SRST failed (errno=-16)
Jun 24 09:17:30 thorium kernel: [ 563.096057] ata4: reset failed, giving up
Jun 24 09:17:30 thorium kernel: [ 563.096071] ata4: exception Emask 0x10 SAct 0x0 SErr 0x1950000 action 0xe frozen t1
bananabob
Level 1
Level 1
 
Posts: 37
Joined: Tue Feb 07, 2012 11:05 pm

Re: EXT3-fs: barriers not enabled

Postby eanfrid on Thu Jun 28, 2012 6:33 am

:( the last time I had this kind of messages, the HDD was indeed dying. It can be either - and more likely - the embedded controller (on-board electronics) of the HDD itself which is failing (was the case for me) or the SATA controller on your mainboard not working properly. No S.M.A.R.T message will warn you about this since the mechanical parts of the HDD generally are still OK. This embedded micro-controller board can be replaced but it is usually less expensive to buy a fresh new HDD.
Image
Never attribute to malice that which is adequately explained by stupidity.
User avatar
eanfrid
Level 4
Level 4
 
Posts: 499
Joined: Mon Apr 30, 2012 2:49 am
Location: France

Re: EXT3-fs: barriers not enabled

Postby bananabob on Thu Jun 28, 2012 5:38 pm

Sad to say that is what I thought.
bananabob
Level 1
Level 1
 
Posts: 37
Joined: Tue Feb 07, 2012 11:05 pm

Linux Mint is funded by ads and donations.
 

Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 16 guests