Page 1 of 2

Critical ext4 data corruption bug with kernel 4.0/other shit

Posted: Thu May 21, 2015 3:04 am
by doubledutch
Fixed

For those of you using the 4.0.2-1 kernel... https://bugs.debian.org/cgi-bin/bugrepo ... bug=785672

Re: Linux News

Posted: Thu May 21, 2015 11:37 am
by ivanovnegro
My recommendation would be not to use ext4 or to convert to
btrfs unless
No way motherfucker.

On the old laptop I still use ext3, haha.

Will move this to upgrade warnings, just in case.

Re: Critical ext4 data corruption bug

Posted: Thu May 21, 2015 2:44 pm
by machinebacon
^ Absolutely reasonable to go ext3, but sure not butter.

Re: Critical ext4 data corruption bug

Posted: Thu May 21, 2015 7:13 pm
by stark
I suppose this is applicable to everyone ( as in any distro ) running kernel 4.0.2-1 ?

Time to boot into 3.14 for me :(

Re: Critical ext4 data corruption bug

Posted: Fri May 22, 2015 3:12 am
by machinebacon
^ Yes.

Re: Critical ext4 data corruption bug

Posted: Mon May 25, 2015 4:52 pm
by ivanovnegro
It is not connected but I moved back to Debian kernel 3.16 because 4.0 sucks on my laptop. After booting from suspend it kills my CPUs.

Re: Critical ext4 data corruption bug

Posted: Mon May 25, 2015 5:21 pm
by machinebacon
^ The 4.0-kernel is way more CPU intensive for me here on this old T43. I can partly not even watch a video on youtube with 144p without stuttering and lockups. So, thanks for reporting, I wasn't sure if it's me or the box :)

Re: Critical ext4 data corruption bug

Posted: Mon May 25, 2015 6:00 pm
by simgin
4.0 is purely optimized for newer machines, from what I have heard. No one expected it to completely neglect the slightly older machines :/
But oddly, and please prove it guys, in Arch I have less issues, and I don't know why o.O Maybe the issue is more complicated. I am still a rookie in your presence :)

cheers
simon

PS: It could still be a new bug, 4.x is still too new. Patience ;)

Re: Critical ext4 data corruption bug

Posted: Mon May 25, 2015 6:06 pm
by GekkoP
I am running Linux 4.0.4-towo.1-siduction-686-pae with no issues on my Dell Inspiron 1525, but I don't suspend nor hibernate so who knows. :)

Re: Critical ext4 data corruption bug

Posted: Mon May 25, 2015 6:16 pm
by simgin
^ Same here Gekko, no suspend etc :) Is that maybe a long running issue or? It should soon stop, because it is an old Linux diehard issue.

Re: Critical ext4 data corruption bug

Posted: Mon May 25, 2015 6:27 pm
by ivanovnegro
GekkoP wrote:I am running Linux 4.0.4-towo.1-siduction-686-pae with no issues on my Dell Inspiron 1525, but I don't suspend nor hibernate so who knows. :)
It seemed to work without issues but I need suspend. :)

Re: Critical ext4 data corruption bug with kernel 4.0/other

Posted: Mon May 25, 2015 6:30 pm
by ivanovnegro
Renamed the topic slightly. I am too lazy to open a new thread. ;)

Re: Critical ext4 data corruption bug with kernel 4.0/other

Posted: Mon May 25, 2015 8:23 pm
by anticapitalista
Anyone care to test out the antiX4 kernels? let me know how they work on your box. Thanks.

http://antix.daveserver.info/testing/po ... -upstream/

Re: Critical ext4 data corruption bug with kernel 4.0/other

Posted: Mon May 25, 2015 8:39 pm
by machinebacon
^ Grabbing the 4.0.0-antix.1-486-smp now and will give it a hard ride over night! Thanks anti, I use your kernels quite often (to be honest, I am quite a bitch when it comes to kernels, so I change them /quite/ frequently), and the antiX kernels never disappoint.

Edit: first impressions are great so far. No more stuttering, the CPU doesn't go crazy (19% with youtube and this tab here open in Chrome). Great!

Re: Critical ext4 data corruption bug with kernel 4.0/other

Posted: Tue May 26, 2015 9:08 am
by simgin
^^ Thank you Anticapitalista :)
We love your stuff!

cheers
Simon

Re: Critical ext4 data corruption bug with kernel 4.0/other

Posted: Mon Jun 01, 2015 9:52 am
by ivanovnegro
The ext4 bug is fixed. Let's see if the newer kernel behaves in other areas.

Re: Critical ext4 data corruption bug with kernel 4.0/other

Posted: Mon Jul 20, 2015 2:33 pm
by nassausky
Jeez


I downloaded the bbq 64 bit Bork with 4.0.1.
Is there more to it then apt-get install new 4.0.3 kernel? Or an apt-get upgrade? Never installed a new kernel before.

Re: Critical ext4 data corruption bug with kernel 4.0/other

Posted: Mon Jul 20, 2015 9:11 pm
by machinebacon
The package called 'linux-image-amd64' will take care of the automatic upgrade to the next vanilla kernel in Debian's upgrade path. It's a metapackage that is linked to the newest kernel. Nothing else to do than a simple 'upg' in the terminal.

Re: Critical ext4 data corruption bug with kernel 4.0/other

Posted: Tue Jul 21, 2015 1:50 am
by pidsley
nassausky wrote:Jeez


I downloaded the bbq 64 bit Bork with 4.0.1.
Is there more to it then apt-get install new 4.0.3 kernel? Or an apt-get upgrade? Never installed a new kernel before.
To do things the manual way, use this to see what kernels are available:

Code: Select all

apt-cache search linux-image
Then use "sudo apt-get install" to install whatever you want. This should automatically run "update-grub" and you're done.

Or stick with the metapackage bacon recommends if you always want to be using the latest kernel.

Or I think some guy maybe wrote a kernel-install script that a few people have found useful. It might even be in Bork already.

Re: Critical ext4 data corruption bug with kernel 4.0/other

Posted: Tue Jul 21, 2015 7:59 am
by GekkoP
^ That script is my favorite choice.