|
|
|
Re: fsck.reiser4 (libaal-1.0.5) segfault | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Hello. I have taken a look at your problem on weekends. Please, apply the attached patch to reiser4progs-1.0.7, and check your partition again. The patched fsck after check phase should report about minor corruption and suggest to repair it with --fix option. Please, report about results. Thanks, Edward. On 02/03/2011 10:05 PM, Gleb Baryshev wrote:
03.02.2011 22:09, Edward Shishkin writes:Sorry, but this file looks corrupted. Could you please try again? Also make sure that packed meta-data are extracted correctly by the following way: #touch meta_tmp #bzcat meta.bz2 | debugfs.reiser4 -U meta_tmpFor some reason, debugfs was adding junk every time - 8 bytes (1B 5B 3F 31 30 33 34 68) before 'VRSN'; in other respects the metadata file is all right. Finally I ran debugfs from LiveCD and got correct dump: http://tootiny.net/813h25 BTW, fsck from LiveCD segfaulted, too. Gleb -- To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
Don't try to allocate unallocated extents.
Signed-off-by: Edward Shishkin <edward.shishkin@xxxxxxxxx>
---
libreiser4/tree.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- reiser4progs-1.0.7.orig/libreiser4/tree.c
+++ reiser4progs-1.0.7/libreiser4/tree.c
@@ -1346,7 +1346,7 @@ errno_t reiser4_tree_adjust(reiser4_tree
#ifndef ENABLE_MINIMAL
res = reiser4_tree_walk_node(tree, tree->root,
cb_node_adjust,
- cb_nodeptr_adjust,
+ NULL,
cb_node_unload);
#else
res = reiser4_tree_walk_node(tree, tree->root,
@@ -1586,7 +1586,7 @@ errno_t reiser4_tree_sync(reiser4_tree_t
everything. */
if ((res = reiser4_tree_walk_node(tree, tree->root,
cb_node_adjust,
- cb_nodeptr_adjust,
+ NULL,
cb_node_unload)))
{
aal_error("Can't save formatted nodes to device.");
[Linux BTRFS] [Linux NFS] [Linux Filesystems] [Ext4 Filesystem] [Kernel Newbies] [Share Photos] [Security] [Netfilter] [Bugtraq] [Photo] [Yosemite] [Yosemite Forum] [MIPS Linux] [ARM Linux] [Linux Security] [Linux RAID] [Samba] [Video 4 Linux] [Device Mapper] [Linux Resources]
![]() |