Skip to contentSkip to conversation

Reiser4 on 2.6.31.4 freezes process accessing file, fsck 1.0.7 finds no inconsistency

DISCUSSION Konstantin 2 participants 2 messages Oct 18, 2009 – Oct 19, 2009

lore
Share & tools
lore

Konstantin

author
#0 lore raw

Hi!

I am running reiser4 for a few years now without problems. Yesterday I had an undeletable directory which ls -a reported empty but rmdir claimed not to be empty. There were no kernel messages about it. After fsck-ing I had to run fsck.reiser4 --build-fs (reiser4progs 1.0.7) which finished but printed an error at the very end like "application error" (sorry, I didn't wrote it down). A second run of fsck.reiser4 told me to fix some remaining corruptions using --fix. This worked without error messages and a following fsck told me everything is OK.

But then accessing a file froze the process, consuming 100% CPU. I tried cat and cp with same result. The processes could not be terminated nor killed. Still no kernel messages. Only rebooting helped here and a following fsck showed no corruptions. The file could be renamed and deleted which kind of solved the problem. I haven't found (yet) another file like this.

Before deleting the bad file I did a debugfs.reiser4 -P to store the metadata so if anyone is interested in debugging this bug contact me to give you the file (34MB bz2).

Konstantin

#1 lore raw
Quoted 8 lines · Konstantin

Hi!

I am running reiser4 for a few years now without problems. Yesterday I had an undeletable directory which ls -a reported empty but rmdir claimed not to be empty. There were no kernel messages about it. After fsck-ing I had to run fsck.reiser4 --build-fs (reiser4progs 1.0.7) which finished but printed an error at the very end like "application error"

Maybe "Operational error occurred while fscking"? If so, then you have encountered a bug in fsck.

Quoted 11 lines

(sorry, I didn't wrote it down). A second run of fsck.reiser4 told me to fix some remaining corruptions using --fix. This worked without error messages and a following fsck told me everything is OK.

But then accessing a file froze the process, consuming 100% CPU. I tried cat and cp with same result. The processes could not be terminated nor killed. Still no kernel messages. Only rebooting helped here and a following fsck showed no corruptions. The file could be renamed and deleted which kind of solved the problem. I haven't found (yet) another file like this.

Quoted 4 lines

Before deleting the bad file I did a debugfs.reiser4 -P to store the metadata so if anyone is interested in debugging this bug contact me to give you the file (34MB bz2).

Yes, please,
could you provide the metadata for download and the name of problem file?
Actually, it would be better to have metadata right after the first fsck complaint about operational error, but anyway, this is better then nothing..

Thanks,
Edward.

Quoted 8 lines

Konstantin

--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html