Reiser4 input/output errors...
I assume this isn't supposed to happen?
[root@mikeb home]# mkfs.reiser4 /dev/hda8
mkfs.reiser4 0.4.12
Copyright (C) 2001, 2002, 2003 by Hans Reiser, licensing governed by reiser4progs/COPYING.
Information: Reiser4 is going to be created on /dev/hda8. (Yes/No): Yes
Creating reiser4 on /dev/hda8...done Synchronizing /dev/hda8...done
[root@mikeb home]# mount -t reiser4 /dev/hda8 /home/test2 [root@mikeb test2]# cd /home/test2
[root@mikeb test2]# cp /usr/src/linux-2.6.0-test4.tar.bz2 ./ [root@mikeb test2]# tar jxf linux-2.6.0-test4.tar.bz2
[root@mikeb test2]# rm -rf linux-2.6.0-test4/
rm: reading directory `linux-2.6.0-test4//drivers/net/e100':
Input/output error
rm: reading directory `linux-2.6.0-test4//drivers/net/sk98lin':
Input/output error
rm: cannot remove directory `linux-2.6.0-test4//drivers/net': Directory not empty
I tried this on two different partitions (/dev/hda7 and /dev/hda8) the exact same files had the error on both, so it seems to be reproducible. It does however work fine if I use ext3 on the said partitions. This is a brand new HD (about a week old) so I doubt it has any bad blocks (badblocks /dev/hda8 doesn't report anything).
[root@mikeb home]# mkfs.reiser4 --version
mkfs.reiser4 0.4.12
Kernel: 2.6.0-test4 #5 Mon Sep 1 14:20:14 PDT 2003 i686 unknown unknown GNU/Linux
CONFIG_REISER4_FS=yCONFIG_REISER4_LARGE_KEY=y
CPU:
cpu family : 6
model : 8
model name : AMD Athlon(tm) Processor
stepping : 1
cpu MHz : 1662.612
cache size : 256 KB
Distro: Mandrake 9.2beta.
Signature · 3 lines
Best Regards, Mike Benoit
Quoted 48 lines · Mike Benoit
I assume this isn't supposed to happen?
[root@mikeb home]# mkfs.reiser4
/dev/hda8
mkfs.reiser4 0.4.12
Copyright (C) 2001, 2002, 2003 by Hans Reiser, licensing governed by reiser4progs/COPYING.Information: Reiser4 is going to be created on
/dev/hda8. (Yes/No): Yes
Creating reiser4 on/dev/hda8...doneSynchronizing/dev/hda8...done[root@mikeb home]# mount -t reiser4
/dev/hda8/home/test2[root@mikeb test2]# cd/home/test2
[root@mikeb test2]# cp/usr/src/linux-2.6.0-test4.tar.bz2./ [root@mikeb test2]# tar jxf linux-2.6.0-test4.tar.bz2[root@mikeb test2]# rm -rf linux-2.6.0-test4/
rm: reading directory `linux-2.6.0-test4//drivers/net/e100':
Input/output error
rm: reading directory `linux-2.6.0-test4//drivers/net/sk98lin':
Input/output error
rm: cannot remove directory `linux-2.6.0-test4//drivers/net': Directory not emptyI tried this on two different partitions (
/dev/hda7and/dev/hda8) the exact same files had the error on both, so it seems to be reproducible. It does however work fine if I use ext3 on the said partitions. This is a brand new HD (about a week old) so I doubt it has any bad blocks (badblocks/dev/hda8doesn't report anything).[root@mikeb home]# mkfs.reiser4 --version
mkfs.reiser4 0.4.12Kernel: 2.6.0-test4 #5 Mon Sep 1 14:20:14 PDT 2003 i686 unknown unknown GNU/Linux
CONFIG_REISER4_FS=yCONFIG_REISER4_LARGE_KEY=yCPU:
cpu family : 6
model : 8
model name : AMD Athlon(tm) Processor
stepping : 1
cpu MHz : 1662.612
cache size : 256 KB
Quoted 1 line
Distro: Mandrake 9.2beta.
There is something interesting in kernel logs?
Quoted 49 lines · Yury Umanets
Quoted 48 lines · Mike Benoit
I assume this isn't supposed to happen?
[root@mikeb home]# mkfs.reiser4
/dev/hda8
mkfs.reiser4 0.4.12
Copyright (C) 2001, 2002, 2003 by Hans Reiser, licensing governed by reiser4progs/COPYING.Information: Reiser4 is going to be created on
/dev/hda8. (Yes/No): Yes
Creating reiser4 on/dev/hda8...doneSynchronizing/dev/hda8...done[root@mikeb home]# mount -t reiser4
/dev/hda8/home/test2[root@mikeb test2]# cd/home/test2
[root@mikeb test2]# cp/usr/src/linux-2.6.0-test4.tar.bz2./ [root@mikeb test2]# tar jxf linux-2.6.0-test4.tar.bz2[root@mikeb test2]# rm -rf linux-2.6.0-test4/
rm: reading directory `linux-2.6.0-test4//drivers/net/e100':
Input/output error
rm: reading directory `linux-2.6.0-test4//drivers/net/sk98lin':
Input/output error
rm: cannot remove directory `linux-2.6.0-test4//drivers/net': Directory not emptyI tried this on two different partitions (
/dev/hda7and/dev/hda8) the exact same files had the error on both, so it seems to be reproducible. It does however work fine if I use ext3 on the said partitions. This is a brand new HD (about a week old) so I doubt it has any bad blocks (badblocks/dev/hda8doesn't report anything).[root@mikeb home]# mkfs.reiser4 --version
mkfs.reiser4 0.4.12Kernel: 2.6.0-test4 #5 Mon Sep 1 14:20:14 PDT 2003 i686 unknown unknown GNU/Linux
CONFIG_REISER4_FS=yCONFIG_REISER4_LARGE_KEY=yCPU:
cpu family : 6
model : 8
model name : AMD Athlon(tm) Processor
stepping : 1
cpu MHz : 1662.612
cache size : 256 KB
Quoted 3 lines
Quoted 1 line
Distro: Mandrake 9.2beta.
There is something interesting in kernel logs?
Nothing at all in the kernel logs throughout the entire process. Should I try enabling CONFIG_REISER4_CHECK?
Signature · 10 lines
Best Regards, Mike Benoit NetNation Communications Inc. Systems Engineer Tel: 604-684-6892 or 888-983-6600 --------------------------------------- Disclaimer: Opinions expressed here are my own and not necessarily those of my employer
Here is the debug output when I mount the partition, and try deleting the files that caused an input/output error before.
Sep 2 09:32:06 mikeb kernel: ================ fs info (mount ok) ================= Sep 2 09:32:06 mikeb kernel: root block: 44467 Sep 2 09:32:06 mikeb kernel: tree height: 3 Sep 2 09:32:06 mikeb kernel: Oids: next to use 81385, in use 59 Sep 2 09:32:06 mikeb kernel: Block counters: Sep 2 09:32:06 mikeb kernel: ^Iblock count^I1394308 Sep 2 09:32:06 mikeb kernel: ^Ifree blocks^I1385737 Sep 2 09:32:06 mikeb kernel: ^Iused blocks^I8571 Sep 2 09:32:06 mikeb kernel: ^Igrabbed^I0 Sep 2 09:32:06 mikeb kernel: ^Ifake allocated formatted^I0 Sep 2 09:32:06 mikeb kernel: ^Ifake allocated unformatted^I0 Sep 2 09:32:06 mikeb kernel: Root directory key: (29:1:0:0:2a:0)[stat data] Sep 2 09:32:06 mikeb kernel: Diskmap is not present Sep 2 09:32:06 mikeb kernel: =========== disk format info (reiser40) ============= Sep 2 09:32:32 mikeb kernel: readdir: inode: 42 offset: 0 Sep 2 09:32:32 mikeb kernel: readdir: (0:0:0:0:0:0)[] Sep 2 09:32:32 mikeb kernel: pos: 0 entry_no: 0 Sep 2 09:32:32 mikeb kernel: readdir: ., 1, 42 Sep 2 09:32:32 mikeb kernel: readdir: entry: offset: 0 Sep 2 09:32:32 mikeb kernel: readdir: .., 2, 42 Sep 2 09:32:32 mikeb kernel: readdir: entry: offset: 1 Sep 2 09:32:32 mikeb kernel: readdir: linux-2.6.0-test4, 3, 65537 Sep 2 09:32:32 mikeb kernel: readdir: entry: offset: 2 Sep 2 09:32:32 mikeb kernel: readdir: linux-2.6.0-test4.tar.bz2, 4, 65536 Sep 2 09:32:32 mikeb kernel: readdir: entry: offset: 3 Sep 2 09:32:32 mikeb kernel: readdir_exit: offset: 4 Sep 2 09:32:32 mikeb kernel: lookup inode: 42 "linux-2.6.0-test4" Sep 2 09:32:32 mikeb kernel: [2607]: check_item: "linux-2.6.0-test4", "linux-2.6.0-test4" in 42 (44469) Sep 2 09:32:32 mikeb kernel: lookup inode: 42 "linux-2.6.0-test4.tar.bz2" Sep 2 09:32:32 mikeb kernel: [2607]: check_item: "linux-2.6.0-test4.tar.bz2", "linux-2.6.0-test4.tar.bz2" in 42 (44469) Sep 2 09:32:32 mikeb kernel: readdir: inode: 42 offset: 4 Sep 2 09:32:32 mikeb kernel: readdir: (0:0:16c696e75782d32:2:e362e302d746573:2deb20078b0e)[^Alinux-2.6.0-tes...] Sep 2 09:32:32 mikeb kernel: pos: 0 entry_no: 3 Sep 2 09:32:32 mikeb kernel: readdir_exit: offset: 4 Sep 2 09:32:37 mikeb kernel: readdir: inode: 65537 offset: 0 Sep 2 09:32:37 mikeb kernel: readdir: (0:0:0:0:0:0)[] Sep 2 09:32:37 mikeb kernel: pos: 0 entry_no: 0 Sep 2 09:32:37 mikeb kernel: readdir: ., 1, 65537 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 0 Sep 2 09:32:37 mikeb kernel: readdir: .., 2, 42 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 1 Sep 2 09:32:37 mikeb kernel: readdir: drivers, 3, 65538 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 2 Sep 2 09:32:37 mikeb kernel: readdir_exit: offset: 3 Sep 2 09:32:37 mikeb kernel: lookup inode: 65537 "drivers" Sep 2 09:32:37 mikeb kernel: [2608]: check_item: "drivers", "drivers" in 65537 (8088) Sep 2 09:32:37 mikeb kernel: readdir: inode: 65538 offset: 0 Sep 2 09:32:37 mikeb kernel: readdir: (0:0:0:0:0:0)[] Sep 2 09:32:37 mikeb kernel: pos: 0 entry_no: 0 Sep 2 09:32:37 mikeb kernel: readdir: ., 1, 65538 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 0 Sep 2 09:32:37 mikeb kernel: readdir: .., 2, 65537 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 1 Sep 2 09:32:37 mikeb kernel: readdir: net, 3, 65841 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 2 Sep 2 09:32:37 mikeb kernel: readdir_exit: offset: 3 Sep 2 09:32:37 mikeb kernel: lookup inode: 65538 "net" Sep 2 09:32:37 mikeb kernel: [2608]: check_item: "net", "net" in 65538 (8088) Sep 2 09:32:37 mikeb kernel: readdir: inode: 65841 offset: 0 Sep 2 09:32:37 mikeb kernel: readdir: (0:0:0:0:0:0)[] Sep 2 09:32:37 mikeb kernel: pos: 0 entry_no: 0 Sep 2 09:32:37 mikeb kernel: readdir: ., 1, 65841 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 0 Sep 2 09:32:37 mikeb kernel: readdir: .., 2, 65538 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 1 Sep 2 09:32:37 mikeb kernel: readdir: e100, 3, 66000 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 2 Sep 2 09:32:37 mikeb kernel: readdir: sk98lin, 4, 65843 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 3 Sep 2 09:32:37 mikeb kernel: readdir_exit: offset: 4 Sep 2 09:32:37 mikeb kernel: lookup inode: 65841 "e100" Sep 2 09:32:37 mikeb kernel: [2608]: check_item: "e100", "e100" in 65841 (8088) Sep 2 09:32:37 mikeb kernel: readdir: inode: 66000 offset: 0 Sep 2 09:32:37 mikeb kernel: readdir: (0:0:0:0:0:0)[] Sep 2 09:32:37 mikeb kernel: pos: 0 entry_no: 0 Sep 2 09:32:37 mikeb kernel: readdir_exit: offset: 0 Sep 2 09:32:37 mikeb kernel: readdir: inode: 65841 offset: 0 Sep 2 09:32:37 mikeb kernel: readdir: (0:0:0:0:0:0)[] Sep 2 09:32:37 mikeb kernel: pos: 0 entry_no: 0 Sep 2 09:32:37 mikeb kernel: readdir: ., 1, 65841 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 0 Sep 2 09:32:37 mikeb kernel: readdir: .., 2, 65538 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 1 Sep 2 09:32:37 mikeb kernel: readdir: e100, 3, 66000 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 2 Sep 2 09:32:37 mikeb kernel: readdir: sk98lin, 4, 65843 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 3 Sep 2 09:32:37 mikeb kernel: readdir_exit: offset: 4 Sep 2 09:32:37 mikeb kernel: lookup inode: 65841 "sk98lin" Sep 2 09:32:37 mikeb kernel: [2608]: check_item: "sk98lin", "sk98lin" in 65841 (8088) Sep 2 09:32:37 mikeb kernel: readdir: inode: 65843 offset: 0 Sep 2 09:32:37 mikeb kernel: readdir: (0:0:0:0:0:0)[] Sep 2 09:32:37 mikeb kernel: pos: 0 entry_no: 0 Sep 2 09:32:37 mikeb kernel: readdir_exit: offset: 0 Sep 2 09:32:37 mikeb kernel: readdir: inode: 65841 offset: 0 Sep 2 09:32:37 mikeb kernel: readdir: (0:0:0:0:0:0)[] Sep 2 09:32:37 mikeb kernel: pos: 0 entry_no: 0 Sep 2 09:32:37 mikeb kernel: readdir: ., 1, 65841 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 0 Sep 2 09:32:37 mikeb kernel: readdir: .., 2, 65538 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 1 Sep 2 09:32:37 mikeb kernel: readdir: e100, 3, 66000 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 2 Sep 2 09:32:37 mikeb kernel: readdir: sk98lin, 4, 65843 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 3 Sep 2 09:32:37 mikeb kernel: readdir_exit: offset: 4 Sep 2 09:32:37 mikeb kernel: readdir: inode: 65841 offset: 4 Sep 2 09:32:37 mikeb kernel: readdir: (0:0:736b39386c696e:0:0:0)[sk98lin] Sep 2 09:32:37 mikeb kernel: pos: 0 entry_no: 3 Sep 2 09:32:37 mikeb kernel: readdir_exit: offset: 4 Sep 2 09:32:37 mikeb kernel: unlink: 65538/net Sep 2 09:32:37 mikeb kernel: readdir: inode: 65538 offset: 0 Sep 2 09:32:37 mikeb kernel: readdir: (0:0:0:0:0:0)[] Sep 2 09:32:37 mikeb kernel: pos: 0 entry_no: 0 Sep 2 09:32:37 mikeb kernel: readdir: ., 1, 65538 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 0 Sep 2 09:32:37 mikeb kernel: readdir: .., 2, 65537 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 1 Sep 2 09:32:37 mikeb kernel: readdir: net, 3, 65841 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 2 Sep 2 09:32:37 mikeb kernel: readdir_exit: offset: 3 Sep 2 09:32:37 mikeb kernel: readdir: inode: 65538 offset: 3 Sep 2 09:32:37 mikeb kernel: readdir: (0:0:6e657400000000:0:0:0)[net] Sep 2 09:32:37 mikeb kernel: pos: 0 entry_no: 2 Sep 2 09:32:37 mikeb kernel: readdir_exit: offset: 3 Sep 2 09:32:37 mikeb kernel: readdir: inode: 65537 offset: 0 Sep 2 09:32:37 mikeb kernel: readdir: (0:0:0:0:0:0)[] Sep 2 09:32:37 mikeb kernel: pos: 0 entry_no: 0 Sep 2 09:32:37 mikeb kernel: readdir: ., 1, 65537 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 0 Sep 2 09:32:37 mikeb kernel: readdir: .., 2, 42 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 1 Sep 2 09:32:37 mikeb kernel: readdir: drivers, 3, 65538 Sep 2 09:32:37 mikeb kernel: readdir: entry: offset: 2 Sep 2 09:32:37 mikeb kernel: readdir_exit: offset: 3 Sep 2 09:32:37 mikeb kernel: readdir: inode: 65537 offset: 3 Sep 2 09:32:37 mikeb kernel: readdir: (0:0:64726976657273:0:0:0)[drivers] Sep 2 09:32:37 mikeb kernel: pos: 0 entry_no: 2 Sep 2 09:32:37 mikeb kernel: readdir_exit: offset: 3
[root@mikeb e100]# pwd/home/test2/linux-2.6.0-test4/drivers/net/e100
[root@mikeb e100]# ls -l
ls: reading directory .: Input/output error
total 0
Sep 2 09:35:17 mikeb kernel: readdir: inode: 66000 offset: 0 Sep 2 09:35:17 mikeb kernel: readdir: (0:0:0:0:0:0)[] Sep 2 09:35:17 mikeb kernel: pos: 0 entry_no: 0 Sep 2 09:35:17 mikeb kernel: readdir_exit: offset: 0
Quoted 52 lines · Yury Umanets
Quoted 48 lines · Mike Benoit
I assume this isn't supposed to happen?
[root@mikeb home]# mkfs.reiser4
/dev/hda8
mkfs.reiser4 0.4.12
Copyright (C) 2001, 2002, 2003 by Hans Reiser, licensing governed by reiser4progs/COPYING.Information: Reiser4 is going to be created on
/dev/hda8. (Yes/No): Yes
Creating reiser4 on/dev/hda8...doneSynchronizing/dev/hda8...done[root@mikeb home]# mount -t reiser4
/dev/hda8/home/test2[root@mikeb test2]# cd/home/test2
[root@mikeb test2]# cp/usr/src/linux-2.6.0-test4.tar.bz2./ [root@mikeb test2]# tar jxf linux-2.6.0-test4.tar.bz2[root@mikeb test2]# rm -rf linux-2.6.0-test4/
rm: reading directory `linux-2.6.0-test4//drivers/net/e100':
Input/output error
rm: reading directory `linux-2.6.0-test4//drivers/net/sk98lin':
Input/output error
rm: cannot remove directory `linux-2.6.0-test4//drivers/net': Directory not emptyI tried this on two different partitions (
/dev/hda7and/dev/hda8) the exact same files had the error on both, so it seems to be reproducible. It does however work fine if I use ext3 on the said partitions. This is a brand new HD (about a week old) so I doubt it has any bad blocks (badblocks/dev/hda8doesn't report anything).[root@mikeb home]# mkfs.reiser4 --version
mkfs.reiser4 0.4.12Kernel: 2.6.0-test4 #5 Mon Sep 1 14:20:14 PDT 2003 i686 unknown unknown GNU/Linux
CONFIG_REISER4_FS=yCONFIG_REISER4_LARGE_KEY=yCPU:
cpu family : 6
model : 8
model name : AMD Athlon(tm) Processor
stepping : 1
cpu MHz : 1662.612
cache size : 256 KBQuoted 1 line
Distro: Mandrake 9.2beta.
There is something interesting in kernel logs?
Signature · 10 lines
Best Regards, Mike Benoit NetNation Communications Inc. Systems Engineer Tel: 604-684-6892 or 888-983-6600 --------------------------------------- Disclaimer: Opinions expressed here are my own and not necessarily those of my employer
Since I enabled all the debugging options that would compile, I re-ran the mkfs.reiser4 /dev/hda8, then attempted to untar the linux kernel again, however it didn't like that very much:
Here is what I got from the log:
lookup inode: 65897 "de4x5.c"
creating "de4x5.c" in 65897
reiser4 panicked cowardly: assertion failed:carry_level_invariant(doing, CARRY_DOING)
Hopefully this is enough information to help you track down the problem.
Quoted 52 lines · Yury Umanets
Quoted 48 lines · Mike Benoit
I assume this isn't supposed to happen?
[root@mikeb home]# mkfs.reiser4
/dev/hda8
mkfs.reiser4 0.4.12
Copyright (C) 2001, 2002, 2003 by Hans Reiser, licensing governed by reiser4progs/COPYING.Information: Reiser4 is going to be created on
/dev/hda8. (Yes/No): Yes
Creating reiser4 on/dev/hda8...doneSynchronizing/dev/hda8...done[root@mikeb home]# mount -t reiser4
/dev/hda8/home/test2[root@mikeb test2]# cd/home/test2
[root@mikeb test2]# cp/usr/src/linux-2.6.0-test4.tar.bz2./ [root@mikeb test2]# tar jxf linux-2.6.0-test4.tar.bz2[root@mikeb test2]# rm -rf linux-2.6.0-test4/
rm: reading directory `linux-2.6.0-test4//drivers/net/e100':
Input/output error
rm: reading directory `linux-2.6.0-test4//drivers/net/sk98lin':
Input/output error
rm: cannot remove directory `linux-2.6.0-test4//drivers/net': Directory not emptyI tried this on two different partitions (
/dev/hda7and/dev/hda8) the exact same files had the error on both, so it seems to be reproducible. It does however work fine if I use ext3 on the said partitions. This is a brand new HD (about a week old) so I doubt it has any bad blocks (badblocks/dev/hda8doesn't report anything).[root@mikeb home]# mkfs.reiser4 --version
mkfs.reiser4 0.4.12Kernel: 2.6.0-test4 #5 Mon Sep 1 14:20:14 PDT 2003 i686 unknown unknown GNU/Linux
CONFIG_REISER4_FS=yCONFIG_REISER4_LARGE_KEY=yCPU:
cpu family : 6
model : 8
model name : AMD Athlon(tm) Processor
stepping : 1
cpu MHz : 1662.612
cache size : 256 KBQuoted 1 line
Distro: Mandrake 9.2beta.
There is something interesting in kernel logs?
Signature · 10 lines
Best Regards, Mike Benoit NetNation Communications Inc. Systems Engineer Tel: 604-684-6892 or 888-983-6600 --------------------------------------- Disclaimer: Opinions expressed here are my own and not necessarily those of my employer
Quoted 6 lines · Mike Benoit
Since I enabled all the debugging options that would compile, I re-ran the mkfs.reiser4
/dev/hda8, then attempted to untar the linux kernel again, however it didn't like that very much:Here is what I got from the log:
Quoted 60 lines
lookup inode: 65897 "
de4x5.c"
creating "de4x5.c" in 65897
reiser4 panicked cowardly: assertion failed:carry_level_invariant(doing, CARRY_DOING)Hopefully this is enough information to help you track down the problem.
Quoted 52 lines · Yury Umanets
Quoted 48 lines · Mike Benoit
I assume this isn't supposed to happen?
[root@mikeb home]# mkfs.reiser4
/dev/hda8
mkfs.reiser4 0.4.12
Copyright (C) 2001, 2002, 2003 by Hans Reiser, licensing governed by reiser4progs/COPYING.Information: Reiser4 is going to be created on
/dev/hda8. (Yes/No): Yes
Creating reiser4 on/dev/hda8...doneSynchronizing/dev/hda8...done[root@mikeb home]# mount -t reiser4
/dev/hda8/home/test2[root@mikeb test2]# cd/home/test2
[root@mikeb test2]# cp/usr/src/linux-2.6.0-test4.tar.bz2./ [root@mikeb test2]# tar jxf linux-2.6.0-test4.tar.bz2[root@mikeb test2]# rm -rf linux-2.6.0-test4/
rm: reading directory `linux-2.6.0-test4//drivers/net/e100':
Input/output error
rm: reading directory `linux-2.6.0-test4//drivers/net/sk98lin':
Input/output error
rm: cannot remove directory `linux-2.6.0-test4//drivers/net': Directory not emptyI tried this on two different partitions (
/dev/hda7and/dev/hda8) the exact same files had the error on both, so it seems to be reproducible. It does however work fine if I use ext3 on the said partitions. This is a brand new HD (about a week old) so I doubt it has any bad blocks (badblocks/dev/hda8doesn't report anything).[root@mikeb home]# mkfs.reiser4 --version
mkfs.reiser4 0.4.12Kernel: 2.6.0-test4 #5 Mon Sep 1 14:20:14 PDT 2003 i686 unknown unknown GNU/Linux
CONFIG_REISER4_FS=yCONFIG_REISER4_LARGE_KEY=yCPU:
cpu family : 6
model : 8
model name : AMD Athlon(tm) Processor
stepping : 1
cpu MHz : 1662.612
cache size : 256 KBQuoted 1 line
Distro: Mandrake 9.2beta.
There is something interesting in kernel logs?
Hello,
Can you run debugfs.reiser4 on /dev/hda8? What does it say?
[root@mikeb root]# debugfs.reiser4 /dev/hda8 debugfs.reiser4 0.4.12
Copyright (C) 2001, 2002, 2003 by Hans Reiser, licensing governed by reiser4progs/COPYING.
Master super block:
offset: 16 blksize: 4096 magic: R4Sb format: 0 label: <none>
Format super block:
plugin: format40 description: Disk-format for reiser4, ver. 0.4.12 offset: 17 magic: R4Sb-Default flushes: 0 stamp: 0x103e447b blocks: 1394308 free blocks: 1394243 root block: 21 tail policy: 4 next oid: 0x10000 file count: 0 tree height: 2 key policy: LARGE
Quoted 72 lines · Yury Umanets
Quoted 6 lines · Mike Benoit
Since I enabled all the debugging options that would compile, I re-ran the mkfs.reiser4
/dev/hda8, then attempted to untar the linux kernel again, however it didn't like that very much:Here is what I got from the log:
Quoted 60 lines
lookup inode: 65897 "
de4x5.c"
creating "de4x5.c" in 65897
reiser4 panicked cowardly: assertion failed:carry_level_invariant(doing, CARRY_DOING)Hopefully this is enough information to help you track down the problem.
Quoted 52 lines · Yury Umanets
Quoted 48 lines · Mike Benoit
I assume this isn't supposed to happen?
[root@mikeb home]# mkfs.reiser4
/dev/hda8
mkfs.reiser4 0.4.12
Copyright (C) 2001, 2002, 2003 by Hans Reiser, licensing governed by reiser4progs/COPYING.Information: Reiser4 is going to be created on
/dev/hda8. (Yes/No): Yes
Creating reiser4 on/dev/hda8...doneSynchronizing/dev/hda8...done[root@mikeb home]# mount -t reiser4
/dev/hda8/home/test2[root@mikeb test2]# cd/home/test2
[root@mikeb test2]# cp/usr/src/linux-2.6.0-test4.tar.bz2./ [root@mikeb test2]# tar jxf linux-2.6.0-test4.tar.bz2[root@mikeb test2]# rm -rf linux-2.6.0-test4/
rm: reading directory `linux-2.6.0-test4//drivers/net/e100':
Input/output error
rm: reading directory `linux-2.6.0-test4//drivers/net/sk98lin':
Input/output error
rm: cannot remove directory `linux-2.6.0-test4//drivers/net': Directory not emptyI tried this on two different partitions (
/dev/hda7and/dev/hda8) the exact same files had the error on both, so it seems to be reproducible. It does however work fine if I use ext3 on the said partitions. This is a brand new HD (about a week old) so I doubt it has any bad blocks (badblocks/dev/hda8doesn't report anything).[root@mikeb home]# mkfs.reiser4 --version
mkfs.reiser4 0.4.12Kernel: 2.6.0-test4 #5 Mon Sep 1 14:20:14 PDT 2003 i686 unknown unknown GNU/Linux
CONFIG_REISER4_FS=yCONFIG_REISER4_LARGE_KEY=yCPU:
cpu family : 6
model : 8
model name : AMD Athlon(tm) Processor
stepping : 1
cpu MHz : 1662.612
cache size : 256 KBQuoted 1 line
Distro: Mandrake 9.2beta.
There is something interesting in kernel logs?
Hello,
Can you run debugfs.reiser4 on
/dev/hda8? What does it say?
Signature · 10 lines
Best Regards, Mike Benoit NetNation Communications Inc. Systems Engineer Tel: 604-684-6892 or 888-983-6600 --------------------------------------- Disclaimer: Opinions expressed here are my own and not necessarily those of my employer
Quoted 2 lines · Mike Benoit
Quoted 2 lines
Can you run debugfs.reiser4 on
/dev/hda8? What does it say?
Can you print the tree?
debugfs.reiser4 -t /dev/hda8?
[root@mikeb root]# debugfs.reiser4 -t /dev/hda8 debugfs.reiser4 0.4.12
Copyright (C) 2001, 2002, 2003 by Hans Reiser, licensing governed by reiser4progs/COPYING.
NODE (21) LEVEL=2 ITEMS=1 SPACE=4020 MKFS=0x103e447b FLUSH=0x4001b90100000000
(0) NODEPTR PLUGIN=nodeptr40 LEN=8, KEY=[29:1:0:2a:0:SD] UNITS=1
[22]
NODE (22) LEVEL=1 ITEMS=2 SPACE=3838 MKFS=0x103e447b FLUSH=0xbfffe57800000000
(0) STATDATA PLUGIN=stat40 LEN=48, KEY=[29:1:0:2a:0:SD] UNITS=1
exts: 2 mask: 0x3 plugin: sdext_lw offset: 2 len: 14 mode: drwxr-xr-x nlink: 3 size: 2 plugin: sdext_unix offset: 16 len: 32 uid: 0 gid: 0 atime: Tue Sep 2 09:39:26 2003 mtime: Tue Sep 2 09:39:26 2003 ctime: Tue Sep 2 09:39:26 2003 rdev: 0 bytes: 100
(1) CDE PLUGIN=cde_large LEN=102, KEY=[2a:0:0:0:0:NAME] UNITS=2
NR NAME OFFSET HASH SDKEY
------------------------------------------------------------------------------
0 . 54 0000000000000000:0000000000000000
0000291:000002a
1 .. 78 002e2e0000000000:0000000000000000
0000291:000002a
Let me know if you need any more information. I'm also on IRC during PST business hours, if that would be better for you to debug this issue.
Quoted 9 lines · Yury Umanets
Quoted 2 lines · Mike Benoit
Quoted 2 lines
Can you run debugfs.reiser4 on
/dev/hda8? What does it say?Can you print the tree?
debugfs.reiser4 -t
/dev/hda8?
Signature · 10 lines
Best Regards, Mike Benoit NetNation Communications Inc. Systems Engineer Tel: 604-684-6892 or 888-983-6600 --------------------------------------- Disclaimer: Opinions expressed here are my own and not necessarily those of my employer
Quoted 40 lines · Mike Benoit
[root@mikeb root]# debugfs.reiser4 -t
/dev/hda8debugfs.reiser4 0.4.12
Copyright (C) 2001, 2002, 2003 by Hans Reiser, licensing governed by reiser4progs/COPYING.NODE (21) LEVEL=2 ITEMS=1 SPACE=4020 MKFS=0x103e447b FLUSH=0x4001b90100000000
(0) NODEPTR PLUGIN=nodeptr40 LEN=8, KEY=[29:1:0:2a:0:SD] UNITS=1
[22]NODE (22) LEVEL=1 ITEMS=2 SPACE=3838 MKFS=0x103e447b FLUSH=0xbfffe57800000000
(0) STATDATA PLUGIN=stat40 LEN=48, KEY=[29:1:0:2a:0:SD] UNITS=1exts: 2 mask: 0x3 plugin: sdext_lw offset: 2 len: 14 mode: drwxr-xr-x nlink: 3 size: 2 plugin: sdext_unix offset: 16 len: 32 uid: 0 gid: 0 atime: Tue Sep 2 09:39:26 2003 mtime: Tue Sep 2 09:39:26 2003 ctime: Tue Sep 2 09:39:26 2003 rdev: 0 bytes: 100(1) CDE PLUGIN=cde_large LEN=102, KEY=[2a:0:0:0:0:NAME] UNITS=2
NR NAME OFFSET HASH SDKEY
------------------------------------------------------------------------------
0 . 54 0000000000000000:0000000000000000
0000291:000002a
1 .. 78 002e2e0000000000:0000000000000000
0000291:000002a
Quoted 12 lines
Let me know if you need any more information. I'm also on IRC during PST business hours, if that would be better for you to debug this issue.
Quoted 8 lines · Yury Umanets
Quoted 2 lines · Mike Benoit
Quoted 2 lines
Can you run debugfs.reiser4 on
/dev/hda8? What does it say?Can you print the tree?
debugfs.reiser4 -t
/dev/hda8?
Hm... That is strange. I supposed, that there should be lots of data. And I guessed, that there something like tree corruption, which may be discovered by tree printing.
But this is fresh filesystem. Is it had IO errors on it?
Quoted 1 line
Quoted 1 line
Signature · 1 line
umka
Its a fresh filesystem, on a brand new drive (week old?), and if I put ext3 on the exact same partition, it works fine. The only time I see any errors is when I stick reiser4 on the partition and go through the steps explained in my first email. I even ran badblock on the partition and it didn't turn up anything.
Just let me know what steps you want me to take to help you debug this.
Quoted 61 lines · Yury Umanets
Quoted 40 lines · Mike Benoit
[root@mikeb root]# debugfs.reiser4 -t
/dev/hda8debugfs.reiser4 0.4.12
Copyright (C) 2001, 2002, 2003 by Hans Reiser, licensing governed by reiser4progs/COPYING.NODE (21) LEVEL=2 ITEMS=1 SPACE=4020 MKFS=0x103e447b FLUSH=0x4001b90100000000
(0) NODEPTR PLUGIN=nodeptr40 LEN=8, KEY=[29:1:0:2a:0:SD] UNITS=1
[22]NODE (22) LEVEL=1 ITEMS=2 SPACE=3838 MKFS=0x103e447b FLUSH=0xbfffe57800000000
(0) STATDATA PLUGIN=stat40 LEN=48, KEY=[29:1:0:2a:0:SD] UNITS=1exts: 2 mask: 0x3 plugin: sdext_lw offset: 2 len: 14 mode: drwxr-xr-x nlink: 3 size: 2 plugin: sdext_unix offset: 16 len: 32 uid: 0 gid: 0 atime: Tue Sep 2 09:39:26 2003 mtime: Tue Sep 2 09:39:26 2003 ctime: Tue Sep 2 09:39:26 2003 rdev: 0 bytes: 100(1) CDE PLUGIN=cde_large LEN=102, KEY=[2a:0:0:0:0:NAME] UNITS=2
NR NAME OFFSET HASH SDKEY
------------------------------------------------------------------------------
0 . 54 0000000000000000:0000000000000000
0000291:000002a
1 .. 78 002e2e0000000000:0000000000000000
0000291:000002aQuoted 12 lines
Let me know if you need any more information. I'm also on IRC during PST business hours, if that would be better for you to debug this issue.
Quoted 8 lines · Yury Umanets
Quoted 2 lines · Mike Benoit
Quoted 2 lines
Can you run debugfs.reiser4 on
/dev/hda8? What does it say?Can you print the tree?
debugfs.reiser4 -t
/dev/hda8?Hm... That is strange. I supposed, that there should be lots of data. And I guessed, that there something like tree corruption, which may be discovered by tree printing.
But this is fresh filesystem. Is it had IO errors on it?
Quoted 1 line
Quoted 1 line
Signature · 10 lines
Best Regards, Mike Benoit NetNation Communications Inc. Systems Engineer Tel: 604-684-6892 or 888-983-6600 --------------------------------------- Disclaimer: Opinions expressed here are my own and not necessarily those of my employer
These problems seem to have ceased to exist since I upgraded to 2.6.0-test5 and the 2003.09.12 reiser4 snapshot.
I can now successfully untar test4 and test5 kernels and delete them immediately after, as well bonnie++ seems to work fine too. Hopefully I'll get around to running a few benchmarks in the next week or so.
Quoted 70 lines · Mike Benoit
Its a fresh filesystem, on a brand new drive (week old?), and if I put ext3 on the exact same partition, it works fine. The only time I see any errors is when I stick reiser4 on the partition and go through the steps explained in my first email. I even ran badblock on the partition and it didn't turn up anything.
Just let me know what steps you want me to take to help you debug this.
Quoted 61 lines · Yury Umanets
Quoted 40 lines · Mike Benoit
[root@mikeb root]# debugfs.reiser4 -t
/dev/hda8debugfs.reiser4 0.4.12
Copyright (C) 2001, 2002, 2003 by Hans Reiser, licensing governed by reiser4progs/COPYING.NODE (21) LEVEL=2 ITEMS=1 SPACE=4020 MKFS=0x103e447b FLUSH=0x4001b90100000000
(0) NODEPTR PLUGIN=nodeptr40 LEN=8, KEY=[29:1:0:2a:0:SD] UNITS=1
[22]NODE (22) LEVEL=1 ITEMS=2 SPACE=3838 MKFS=0x103e447b FLUSH=0xbfffe57800000000
(0) STATDATA PLUGIN=stat40 LEN=48, KEY=[29:1:0:2a:0:SD] UNITS=1exts: 2 mask: 0x3 plugin: sdext_lw offset: 2 len: 14 mode: drwxr-xr-x nlink: 3 size: 2 plugin: sdext_unix offset: 16 len: 32 uid: 0 gid: 0 atime: Tue Sep 2 09:39:26 2003 mtime: Tue Sep 2 09:39:26 2003 ctime: Tue Sep 2 09:39:26 2003 rdev: 0 bytes: 100(1) CDE PLUGIN=cde_large LEN=102, KEY=[2a:0:0:0:0:NAME] UNITS=2
NR NAME OFFSET HASH SDKEY
------------------------------------------------------------------------------
0 . 54 0000000000000000:0000000000000000
0000291:000002a
1 .. 78 002e2e0000000000:0000000000000000
0000291:000002aQuoted 12 lines
Let me know if you need any more information. I'm also on IRC during PST business hours, if that would be better for you to debug this issue.
Quoted 8 lines · Yury Umanets
Quoted 2 lines · Mike Benoit
Quoted 2 lines
Can you run debugfs.reiser4 on
/dev/hda8? What does it say?Can you print the tree?
debugfs.reiser4 -t
/dev/hda8?Hm... That is strange. I supposed, that there should be lots of data. And I guessed, that there something like tree corruption, which may be discovered by tree printing.
But this is fresh filesystem. Is it had IO errors on it?
Quoted 1 line
Quoted 1 line
Signature · 10 lines
Best Regards, Mike Benoit NetNation Communications Inc. Systems Engineer Tel: 604-684-6892 or 888-983-6600 --------------------------------------- Disclaimer: Opinions expressed here are my own and not necessarily those of my employer