Comment 66 for bug 317781

Revision history for this message
Theodore Ts'o (tytso) wrote :

@Olli,

If the filesystem has gone read-only, then it means that the kernel has detected filesystem corruption of some kind. Use dmesg to try to get the kernel logs, or can go through /var/log/messages for older kernel messages from previous boot sessions. Feel free to file a separate bug report for such bugs (this bug is getting pretty long, and what you are describing is a distinctly separate bug report).

I will warn you that there are a very large number of filesystem corruption bugs which we have fixed since 2.6.26, and in fact at this point we are only doing backports to 2.6.27 (and there are patches queued up for 2.6.27 that are waiting for Greg K-H to do another stable kernel series release). If you are willing to compile a vanilla 2.6.29-rc7 kernel, you will probably have the best luck (and the best performance). Which, by the way, is another reason for not using proprietary binary-only kernel modules; they very often aren't available for the latest bleeding-edge kernel.

I understand that some people are hesitant putting pre-release kernels on stable systems --- but quite frankly, back in the 2.6.26 and 2.6.27 days we were warning people that ext4 was still being stablized, and to think twice before putting it on production systems. Even for people putting in on their laptops, there was always a "we who are about to die salute you" attitude; early testing is critical, since that's how we get our bug reports so we can fix bugs, and people who tested early ext4 versions did us and the Linux community a huge service by reporting bugs that I wasn't seeing given my usage patterns. (For example, one bug was much more likely to show up if you were using Bittorrent, and I'm not a big bittorrent user.) Of course, once the bugs are fixed it's important to get folks moved up to newer kernels, which can sometimes be hard for them.

I really wish Ubuntu had a "kernel of the week" or which provided the latest development kernel pre-packaged up, much like Fedora has. It would make it a lot easier to recommend that people try a newer kernel package.