Fedora Linux Support Community & Resources Center
  #1  
Old 24th October 2012, 11:49 AM
Cygn Offline
Registered User
 
Join Date: Dec 2008
Location: Paris, FR
Posts: 136
linuxfirefox
EXT4 Data Corruption Bug Hits Stable Linux Kernels

from phoronix:

http://www.phoronix.com/scan.php?pag...tem&px=MTIxNDQ


Last edited by Cygn; 24th October 2012 at 11:55 AM. Reason: fix link
Reply With Quote
  #2  
Old 24th October 2012, 11:53 AM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,934
linuxfirefox
Re: EXT4 Data Corruption Bug Hits Stable Linux Kernels

Your link doesn't work. I got to that page with this: http://www.phoronix.com/scan.php?pag...tem&px=MTIxNDQ
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #3  
Old 24th October 2012, 12:46 PM
bigflopper2's Avatar
bigflopper2 Offline
Registered User
 
Join Date: Dec 2011
Posts: 213
linuxfirefox
Re: EXT4 Data Corruption Bug Hits Stable Linux Kernels

Quote:
"Well, the problem won't show up if the journal has wrapped. So it will only show up if the system has been rebooted twice in fairly quick succession."
Just don't reboot twice.
Reply With Quote
  #4  
Old 24th October 2012, 01:08 PM
mmix Offline
Registered User
 
Join Date: Aug 2009
Posts: 743
linuxfirefox
EXT4 Data Corruption Bug Hits Stable Linux Kernels

http://www.phoronix.com/scan.php?pag...tem&px=MTIxNDQ

Quote:
As a warning for those who are normally quick to upgrade to the latest stable vanilla kernel releases, a serious EXT4 data corruption bug worked its way into the stable Linux 3.4, 3.5, and 3.6 kernel series.

Being discussed recently on the Linux kernel mailing list was an "apparent serious progressive ext4 data corruption bug in 3.6.3." Theodore Ts'o was able to successfully bisect the kernel and found the serious bug, which first appeared within the Linux 3.6.2 kernel and was since back-ported to older stable kernels.
Reply With Quote
  #5  
Old 24th October 2012, 01:11 PM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,934
windows_xp_2003firefox
Re: EXT4 Data Corruption Bug Hits Stable Linux Kernels

Threads merged.
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #6  
Old 24th October 2012, 01:46 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: EXT4 Data Corruption Bug Hits Stable Linux Kernels

Quote:
Originally Posted by glennzo View Post
Threads merged.
Can you move this lame thread to linux chat as it's not fedora related.
Reply With Quote
  #7  
Old 24th October 2012, 11:36 PM
dsmithhfx Offline
Registered User
 
Join Date: Apr 2008
Posts: 87
linuxfirefox
Re: EXT4 Data Corruption Bug Hits Stable Linux Kernels

Quote:
Originally Posted by Yellowman View Post
Can you move this lame thread to linux chat as it's not fedora related.
Are you saying that no Fedora distributions are affected by this bug?
Reply With Quote
  #8  
Old 24th October 2012, 11:48 PM
Dan's Avatar
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,309
linuxfirefox
Re: EXT4 Data Corruption Bug Hits Stable Linux Kernels

It may effect all linux distros using those kernels. Moved to Linux Chat.
__________________
Signature Links | New Posts | Who's on the forums (right now) |

© ® ™ № ¿
Reply With Quote
  #9  
Old 25th October 2012, 03:58 AM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
linuxfirefox
Re: EXT4 Data Corruption Bug Hits Stable Linux Kernels

To me, it's worth paying attention to and maybe doing something about it. My understanding of the situation is that the affected versions are the last two of v3.4, the last one of v3.5, and last two of v3.6. In other words, it appears to me, any kernel or patch since October 12.
http://lwn.net/Articles/521022/
Like so at kernel.org...
Code:
linux-3.4.14.tar.bz2     12-Oct-2012 21:12   76M  
linux-3.4.14.tar.gz      12-Oct-2012 21:12   96M  
linux-3.4.14.tar.sign    12-Oct-2012 21:12  836   
linux-3.4.14.tar.xz      12-Oct-2012 21:12   64M  

linux-3.4.15.tar.bz2     21-Oct-2012 16:36   76M  
linux-3.4.15.tar.gz      21-Oct-2012 16:36   96M  
linux-3.4.15.tar.sign    21-Oct-2012 16:36  836   
linux-3.4.15.tar.xz      21-Oct-2012 16:36   64M  

linux-3.5.7.tar.bz2      12-Oct-2012 21:12   77M  
linux-3.5.7.tar.gz       12-Oct-2012 21:12   98M  
linux-3.5.7.tar.sign     12-Oct-2012 21:12  836   
linux-3.5.7.tar.xz       12-Oct-2012 21:12   64M  

linux-3.6.2.tar.bz2      12-Oct-2012 21:12   78M  
linux-3.6.2.tar.gz       12-Oct-2012 21:12   99M  
linux-3.6.2.tar.sign     12-Oct-2012 21:12  836   
linux-3.6.2.tar.xz       12-Oct-2012 21:12   65M  

linux-3.6.3.tar.bz2      21-Oct-2012 16:42   78M  
linux-3.6.3.tar.gz       21-Oct-2012 16:42   99M  
linux-3.6.3.tar.sign     21-Oct-2012 16:42  836   
linux-3.6.3.tar.xz       21-Oct-2012 16:42   65M
I had these three installed in Fedora 17...
Code:
Sep 30 23:38:44 Installed: kernel-PAE-3.5.4-2.fc17.i686
Oct 13 13:00:45 Installed: kernel-PAE-3.6.1-1.fc17.i686
Oct 20 11:56:08 Installed: kernel-PAE-3.6.2-4.fc17.i686
Everybody should do what they think is best. The scenario required to cause the issue sounds sort of unlikely. But I often do need to do a bunch of reboots. For me, I decided to go back to v3.5.4-2, remove the other two, and exclude kernels from updates for the time being. It's a completely trivial thing to do. And it's not the first time either.
Reply With Quote
  #10  
Old 25th October 2012, 05:05 AM
Dan's Avatar
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,309
linuxfedorafirefox
Re: EXT4 Data Corruption Bug Hits Stable Linux Kernels

Gee, thaaaat's neat. <....>

If I understand all that correctly, these are the kernels with the cooked books.

Quote:
... users would be well advised to avoid versions 3.4.14, 3.4.15, 3.5.7, 3.6.2, and 3.6.3; they all contain a patch which can, in some situations, cause filesystem corruption.
Which means, if it is indeed restricted to just those kernels ... the ext4 file systems my new laptop SSDs are likely pooched. It's had 3.6.2-4.fc17.x86_64 in it for a week or so, and it's been re-booted a dozen or so times. (With the boot speed of the SSD, I usually shutdown over night rather than suspend on that one.)

If my assumptions are correct, this desktop is running 3.4.11-1.fc16.x86_64, so with luck, it isn't crackerjacked as well. It's been re-booted maybe a half dozen times in the last month. But it's ext4 as well.

Are my assumptions completely erroneous?
__________________
Signature Links | New Posts | Who's on the forums (right now) |

© ® ™ № ¿
Reply With Quote
  #11  
Old 25th October 2012, 05:56 AM
BBQdave's Avatar
BBQdave Offline
Gnome-gasmic by choice!
 
Join Date: Aug 2011
Location: North Carolina
Age: 45
Posts: 1,052
linuxfirefox
Re: EXT4 Data Corruption Bug Hits Stable Linux Kernels

Quote:
Originally Posted by Dan View Post
the ext4 file systems my new laptop SSDs are likely pooched. It's had 3.6.2-4.fc17.x86_64 in it for a week or so, and it's been re-booted a dozen or so times.
Dan I am running F17 with Kernel Linux 3.6.2-4.fc17.x86_64 on Toshiba Satellite C655. I shut down and reboot several times daily, to conserve battery power - as I am on the go. I have not had any issues or data corruption that I am aware of. And I am pushing data on the web and on my network without issue. My work on this notebook is sent and received by other hardware - and works on other hardware.

Is there something I am missing, or should be concerned about - though there are no apparent issues with my distro and machine? Yellowman are you saying this is rare and/or no-concern?
__________________
On quest for blue smoke and red rings...
Reply With Quote
  #12  
Old 25th October 2012, 08:25 AM
bigflopper2's Avatar
bigflopper2 Offline
Registered User
 
Join Date: Dec 2011
Posts: 213
linuxfirefox
Re: EXT4 Data Corruption Bug Hits Stable Linux Kernels

Quote:
First of all, it appears that my initial analysis was wrong; it appears that it's probably related to a unclean shutdown, and probably some other required exacerbating factor, since I haven't been able to trivially reproduce it. Secondly, Fedora 17 is currently using 3.6.2. So if this was an easily triggered bug, (a) lots of people would have been complaining, since the results of this bug is not subtle, and (b) Eric and I probably would have found a reliable repro for the problem by now.

Update: It now looks like the reproduction involved something very esoteric indeed, involving using umount -l and shutdowns while the file system was still being unmounted --- and the user had nobarrier specified in the mount options as well.
https://plus.google.com/117091380454...ts/Wcc5tMiCgq7
Reply With Quote
  #13  
Old 25th October 2012, 11:19 AM
dsmithhfx Offline
Registered User
 
Join Date: Apr 2008
Posts: 87
linuxfirefox
Re: EXT4 Data Corruption Bug Hits Stable Linux Kernels

Quote:
Originally Posted by Dan View Post
the ext4 file systems my new laptop SSDs are likely pooched.
Not necessarily, but to be perfectly safe you might consider booting from a live cd and running fsck on potentially affected file systems first, and then booting into a different kernel.
Reply With Quote
  #14  
Old 25th October 2012, 12:19 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: EXT4 Data Corruption Bug Hits Stable Linux Kernels

Bollocks to their over hyped claims of doom

Code:
[leigh@main-pc F-17]$ uname -r
3.6.3-1.fc17.x86_64
[leigh@main-pc F-17]$



For the record I've been running 3.6.2 + since kernel.org released it and haven't seen any corruption.
Reply With Quote
  #15  
Old 25th October 2012, 01:00 PM
Dan's Avatar
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,309
linuxfirefox
Re: EXT4 Data Corruption Bug Hits Stable Linux Kernels

Quote:
Originally Posted by BBQDave
Is there something I am missing, or should be concerned about - though there are no apparent issues with my distro and machine? Yellowman are you saying this is rare and/or no-concern?
As I understand it, the issue won't become a problem unless a remote file system is removed without being unmounted first. And that wouldn't normally be a problem, except I frequently shuttle files between myself and the War Department, and she's got a nasty habit of suspending without telling me ... which wouldn't be a problem, except I sometimes forget to log out/unmount from her machine when I'm finished shoving electrons back and forth.

Quote:
Originally Posted by dsmithhfx
Not necessarily, but to be perfectly safe you might consider booting from a live cd and running fsck on potentially affected file systems first, and then booting into a different kernel.
That's on this morning's agenda ... along with another sticky note reminding me to log out of her box whenever I've finished moving stuff. <....>
__________________
Signature Links | New Posts | Who's on the forums (right now) |

© ® ™ № ¿
Reply With Quote
Reply

Tags
bug, corruption, data, ext4, hits, kernels, linux, stable

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I tell if data corruption will become an issue? Silpheed2K Using Fedora 7 24th March 2011 04:54 AM
Is there any way to detect data corruption? Silpheed2K Using Fedora 1 5th June 2009 10:41 PM


Current GMT-time: 08:31 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat