Bug 52521

Summary: hibernations problems: ext4 errors after some hibernation cycles
Product: File System Reporter: higuita (higuita)
Component: ext4Assignee: fs_ext4 (fs_ext4)
Status: RESOLVED INSUFFICIENT_DATA    
Severity: normal CC: alan, jack
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.7.1 Subsystem:
Regression: No Bisected commit-id:

Description higuita 2013-01-09 02:23:05 UTC
i'm using a ext4 root partition on my slackware64 and i regularly hibernate the machine. After some hibernation cycles i usually get the root partition mounted as read-only. Strangely, my home partition, also ext4 its always fine.

After the reboot and fsck and some minor corrections (mostly freeing unused blocks, after all the /tmp is on the root partition) all works fine.

i'm getting this on mainline kernel 2.7.1 but i have this for several months (more than six at least), time where i started to use the hibernation.

The problem is hard to reproduce, i get it some times with 2-3 hibernation, other after many hibernation cycles or don't get it at all.

i don't know if its related, but if i force enable HPET on my machine, the system works well, but after hibernate the many process act strangely, specially related with X11. Due to this i stop forcing the HPET, but this incident turned me more alert for small problems. I start to note that my xterm are sometime slower rendering the text after hibernating the machine. On a normal powerup the xterms work fine.

This may or may not be related, the main problem is still the ext4 corruption.
Comment 1 Jan Kara 2013-01-09 19:13:29 UTC
Hum, I guess you mean 3.7.1 kernel but more importantly: Can you please attach fsck log when fsck fixes the corrupted filesystem?