problems with reiser4 snapshot from 26. febr.
Hello,
i tried the latest snapshot one more time with some debug options activated. Now the compiling of eg. xfree produces no errors on the filesystem. But after the compiling, i unmounted the fs, and got a error message in the syslog:
kernel: reiser4[umount(8437)]: reiser4_kill_super (fs/reiser4/vfs_ops.c:1377) [nikita-2622]:
kernel: WARNING: 1607680 bytes still allocated
The following fsck run found no errors. I mounted the partition again, and tried a "ls" on this filesystem. After that the reiser4 code produced so many kernel oops that i was unable to shutdown the system, as any started program segfaulted.
Unfortunally reiserfs filled my logfiles (and some other files..) with garbage, data-logging in the stock kernel for reiserfs would be very nice btw. ;-)
I reproduced this error after a reset a few minutes later, but again reiserfs filled the output from dmegs with content from my config files. So i only attached my kernel config.
I think for now i use the snapshot without debugging, as it don't crash my whole system.
Henning
Hello
Quoted 11 lines · Henning Westerholt
Hello,
i tried the latest snapshot one more time with some debug options activated. Now the compiling of eg. xfree produces no errors on the filesystem. But after the compiling, i unmounted the fs, and got a error message in the syslog:
kernel: reiser4[umount(8437)]:
reiser4_kill_super(fs/reiser4/vfs_ops.c:1377) [nikita-2622]:
kernel: WARNING: 1607680 bytes still allocated
One memory leak was fixed recently. It is attached. Hopefully you have hit this one.
Quoted 10 lines
The following fsck run found no errors. I mounted the partition again, and tried a "ls" on this filesystem. After that the reiser4 code produced so many kernel oops that i was unable to shutdown the system, as any started program segfaulted.
Unfortunally reiserfs filled my logfiles (and some other files..) with garbage, data-logging in the stock kernel for reiserfs would be very nice btw. ;-)
Quoted 7 lines
I reproduced this error after a reset a few minutes later, but again reiserfs filled the output from dmegs with content from my config files. So i only attached my kernel config.
I think for now i use the snapshot without debugging, as it don't crash my whole system.Henning
===== flush.c 1.671 vs 1.672 =====
flush.c +3 -1
@@ -1477,8 +1477,10 @@/* stop_key is used to find what was copied and what to cut */ stop_key = *min_key (); ret =squalloc_extent (left, &coord, pos, &stop_key); -if (ret !=SQUEEZE_CONTINUE ) +if (ret !=SQUEEZE_CONTINUE ) { +ON_DEBUG (reiser4_kfree (vp));break ; + }assert ("vs-1465" , !keyeq (&stop_key,min_key ()));/* Helper function to do the cutting. */