2001-04-02 12:05:49

by Robert NEDBAL

[permalink] [raw]
Subject: ReiserFS - corrupted files (2.4.3)

Hello,
I'm using ReiserFS on my primary filesystem and yesterday, I have found
that some files are corrupted. Yesterday I had to reset computer becase
X Window freezed. Maybe it caused this problem.

This comes from log:

It began yesterday 4 a.m., I havent figured it out at that time:
Apr 2 04:03:00 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
Apr 2 04:03:00 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
Apr 2 04:03:00 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110133 0x0 SD]
Apr 2 04:03:00 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110133) not found
Apr 2 04:03:00 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
Apr 2 04:03:00 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
Apr 2 04:03:00 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110135 0x0 SD]
Apr 2 04:03:00 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110135) not found
Apr 2 04:03:00 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
Apr 2 04:03:00 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
Apr 2 04:03:00 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110137 0x0 SD]
Apr 2 04:03:00 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110137) not found
Apr 2 04:03:00 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
Apr 2 04:03:00 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
Apr 2 04:03:00 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110132 0x0 SD]
Apr 2 04:03:00 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110132) not found
Apr 2 04:03:00 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
Apr 2 04:03:00 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
Apr 2 04:03:00 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110136 0x0 SD]
Apr 2 04:03:00 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110136) not found
Apr 2 04:03:00 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
Apr 2 04:03:00 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
Apr 2 04:03:00 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110134 0x0 SD]
Apr 2 04:03:00 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110134) not found
Apr 2 04:03:00 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
Apr 2 04:03:00 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
Apr 2 04:03:00 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110131 0x0 SD]
Apr 2 04:03:00 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110131) not found

Now I'm turning computer off and go to sleep :)

Hello morning, turning computer on again:
Apr 2 11:01:42 topo kernel: Linux version 2.4.3 (root@topo) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 P? b?e 30 17:48:56 CEST 2001
Apr 2 11:01:42 topo kernel: BIOS-provided physical RAM map:
Apr 2 11:01:42 topo kernel: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
Apr 2 11:01:42 topo kernel: BIOS-e820: 000000000009fc00 - 00000000000a0000 (usable)
Apr 2 11:01:42 topo kernel: BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
Apr 2 11:01:42 topo kernel: BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
Apr 2 11:01:42 topo kernel: BIOS-e820: 0000000000100000 - 0000000008000000 (usable)
Apr 2 11:01:42 topo kernel: PCI: PCI BIOS revision 2.10 entry at 0xfb3d0, last bus=1
Apr 2 11:01:42 topo kernel: PCI: Using configuration type 1
Apr 2 11:01:42 topo kernel: PCI: Probing PCI hardware
Apr 2 11:01:42 topo kernel: PCI: Disabled enhanced CPU to PCI posting #2
Apr 2 11:01:42 topo kernel: PCI: Using IRQ router VIA [1106/0586] at 00:07.0
Apr 2 11:01:42 topo kernel: Activating ISA DMA hang workarounds.
Apr 2 11:01:42 topo kernel: isapnp: Scanning for Pnp cards...
Apr 2 11:01:42 topo kernel: isapnp: No Plug & Play device found
Apr 2 11:01:42 topo kernel: Starting kswapd v1.8
Apr 2 11:01:42 topo kernel: block: queued sectors max/low 84080kB/28026kB, 256 slots per queue
Apr 2 11:01:42 topo kernel: Uniform Multi-Platform E-IDE driver Revision: 6.31
Apr 2 11:01:42 topo kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Apr 2 11:01:42 topo kernel: VP_IDE: IDE controller on PCI bus 00 dev 39
Apr 2 11:01:42 topo kernel: VP_IDE: chipset revision 6
Apr 2 11:01:42 topo kernel: VP_IDE: not 100% native mode: will probe irqs later
Apr 2 11:01:42 topo kernel: ide0: BM-DMA at 0xf400-0xf407, BIOS settings: hda:DMA, hdb:DMA
Apr 2 11:01:42 topo kernel: ide1: BM-DMA at 0xf408-0xf40f, BIOS settings: hdc:DMA, hdd:DMA
Apr 2 11:01:42 topo kernel: hda: WDC AC24300L, ATA DISK drive
Apr 2 11:01:42 topo kernel: hdc: IBM-DTLA-307045, ATA DISK drive
Apr 2 11:01:42 topo kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Apr 2 11:01:42 topo kernel: ide1 at 0x170-0x177,0x376 on irq 15
Apr 2 11:01:42 topo kernel: hda: 8421840 sectors (4312 MB) w/256KiB Cache, CHS=524/255/63, UDMA(33)
Apr 2 11:01:42 topo kernel: hdc: 90069840 sectors (46116 MB) w/1916KiB Cache, CHS=89355/16/63, (U)DMA
Apr 2 11:01:42 topo kernel: Partition check:
Apr 2 11:01:42 topo kernel: hda: hda1 hda2 < hda5 hda6 >
Apr 2 11:01:42 topo kernel: hdc: hdc1 hdc2 hdc3
Apr 2 11:01:42 topo kernel: Floppy drive(s): fd0 is 1.44M
Apr 2 11:01:42 topo kernel: FDC 0 is a post-1991 82077
Apr 2 11:01:42 topo kernel: reiserfs: checking transaction log (device 16:03) ...
Apr 2 11:01:42 topo kernel: Using r5 hash to sort names
Apr 2 11:01:42 topo kernel: ReiserFS version 3.6.25
Apr 2 11:01:42 topo kernel: VFS: Mounted root (reiserfs filesystem) readonly.
Apr 2 11:01:42 topo kernel: Adding Swap: 124956k swap-space (priority -1)
Apr 2 11:01:42 topo kernel: reiserfs: checking transaction log (device 16:02) ...
Apr 2 11:01:42 topo kernel: Using r5 hash to sort names
Apr 2 11:01:42 topo kernel: ReiserFS version 3.6.25
Apr 2 12:39:47 topo kernel: es1370: version v0.34 time 18:02:06 Mar 30 2001
Apr 2 12:39:47 topo kernel: PCI: Found IRQ 10 for device 00:0a.0
Apr 2 12:39:47 topo kernel: IRQ routing conflict in pirq table for device 00:0a.0
Apr 2 12:39:47 topo kernel: es1370: found adapter at io 0xf600 irq 9
Apr 2 12:39:47 topo kernel: es1370: features: joystick off, line in, mic impedance 0
Apr 2 12:41:14 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
Apr 2 12:41:14 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
Apr 2 12:41:14 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110131 0x0 SD]
Apr 2 12:41:14 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110131) not found
Apr 2 12:42:42 topo last message repeated 2 times
Apr 2 12:44:56 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
Apr 2 12:44:56 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
Apr 2 12:44:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110131) not found
Apr 2 12:44:56 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
Apr 2 12:44:56 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
Apr 2 12:44:56 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110132 0x0 SD]
Apr 2 12:44:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110132) not found
Apr 2 12:44:56 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
Apr 2 12:44:56 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
Apr 2 12:44:56 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110133 0x0 SD]
Apr 2 12:44:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110133) not found
Apr 2 12:44:56 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
Apr 2 12:44:56 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
Apr 2 12:44:56 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110134 0x0 SD]
Apr 2 12:44:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110134) not found
Apr 2 12:44:56 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
Apr 2 12:44:56 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
Apr 2 12:44:56 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110135 0x0 SD]
Apr 2 12:44:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110135) not found
Apr 2 12:44:56 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
Apr 2 12:44:56 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
Apr 2 12:44:56 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110136 0x0 SD]
Apr 2 12:44:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110136) not found
Apr 2 12:44:56 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
Apr 2 12:44:56 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
Apr 2 12:44:56 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110137 0x0 SD]
Apr 2 12:44:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110137) not found
Apr 2 12:45:06 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110131) not found
Apr 2 12:45:06 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110132) not found
Apr 2 12:45:06 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110133) not found
Apr 2 12:45:06 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110134) not found
Apr 2 12:45:06 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110135) not found
Apr 2 12:45:06 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110136) not found
Apr 2 12:45:06 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110137) not found
Apr 2 12:47:28 topo kernel: loop: loaded (max 8 devices)
Apr 2 12:47:28 topo insmod: Note: /etc/modules.conf is more recent than /lib/modules/2.4.3/modules.dep
Apr 2 12:47:28 topo insmod: Note: /etc/modules.conf is more recent than /lib/modules/2.4.3/modules.dep
Apr 2 12:48:47 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110131) not found
Apr 2 12:48:48 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110132) not found
Apr 2 12:48:48 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110133) not found
Apr 2 12:48:48 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110134) not found
Apr 2 12:48:48 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110135) not found
Apr 2 12:48:48 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110136) not found
Apr 2 12:48:48 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110137) not found
Apr 2 12:50:16 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
Apr 2 12:50:16 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
Apr 2 12:50:16 topo kernel: vs-5657: reiserfs_do_truncate: i/o failure occurred trying to truncate [110073 110130 0xfffffffffffffff DIRECT]
Apr 2 12:50:16 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
Apr 2 12:50:16 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
Apr 2 12:50:16 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110131 0x0 SD]
Apr 2 12:50:16 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110131) not found
Apr 2 12:50:35 topo last message repeated 5 times
Apr 2 12:50:51 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
Apr 2 12:50:51 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
Apr 2 12:50:51 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110133 0x0 SD]
Apr 2 12:50:51 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110133) not found
Apr 2 12:50:51 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110135) not found
Apr 2 12:50:51 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110137) not found
Apr 2 12:50:51 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
Apr 2 12:50:51 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
Apr 2 12:50:51 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110132 0x0 SD]
Apr 2 12:50:51 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110132) not found
Apr 2 12:50:52 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110136) not found
Apr 2 12:50:52 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110134) not found
Apr 2 12:50:52 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110131) not found
Apr 2 12:50:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110133) not found
Apr 2 12:50:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110135) not found
Apr 2 12:50:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110137) not found
Apr 2 12:50:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110132) not found
Apr 2 12:50:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110136) not found
Apr 2 12:50:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110134) not found
Apr 2 12:50:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110131) not found
Apr 2 12:53:39 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110133) not found
Apr 2 12:53:39 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110135) not found
Apr 2 12:53:39 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110137) not found
Apr 2 12:53:39 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110132) not found
Apr 2 12:53:39 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110136) not found
Apr 2 12:53:39 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110134) not found
Apr 2 12:53:39 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110131) not found
Apr 2 12:53:53 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110133) not found
Apr 2 12:53:57 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110135) not found
Apr 2 12:53:58 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110137) not found
Apr 2 12:53:58 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110132) not found
Apr 2 12:53:59 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110136) not found
Apr 2 12:53:59 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110134) not found
Apr 2 12:53:59 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110131) not found
Apr 2 12:54:00 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110133) not found
Apr 2 12:54:01 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110135) not found
Apr 2 12:54:01 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110137) not found
Apr 2 12:54:02 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110132) not found
Apr 2 12:54:02 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110136) not found
Apr 2 12:54:02 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110134) not found
Apr 2 12:54:03 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110131) not found


When I want to list corrupted directory, I get this:
[root@topo lisp]# ll
ls: diff.elc: Access denied
ls: dired-x.elc: Access denied
ls: dirtrack.elc: Access denied
ls: desktop.elc: Access denied
ls: dired.elc: Access denied
ls: dired-aux.elc: Access denied
ls: derived.elc: Access denied
total 0

Kernel version: 2.4.3

What should I to do? I fear to run reiserfsck, because I have heard it
makes things even worse. Please, please help me.

Thank for your replies (plz CC me as I'm not subscribed to the list),
Robert Nedbal

PS: sorry for my english, it's not my first language.

--
--------------------------------------------------------------------
Robert Nedbal - Czech Technical University in Prague, Czech Republic
email: [email protected] http://www.sh.cvut.cz/~robik/
/* Debuggers are evil. Never ever trust them. */
--------------------------------------------------------------------


2001-04-02 15:55:53

by Nicholas Petreley

[permalink] [raw]
Subject: Re: ReiserFS - corrupted files (2.4.3)

I'm also experiencing occasional corruptions. For example:

Comparing bitmaps..free block count 613785 mismatches with
a correct one 613799.
byte 114154: bm1: ffffffff bm2 1f
byte 114155: bm1: ffffffff bm2 fffffffc
byte 118307: bm1: ffffffff bm2 ffffffef
byte 118309: bm1: ffffffff bm2 3f
byte 118310: bm1: ffffffff bm2 fffffffc
byte 118312: bm1: ffffffff bm2 ffffff87
on-disk bitmap does not match to the correct one. 6 bytes
differ

And I found a recently updated log file with nulls in it -
I thought that problem was fixed long ago. I've been using
ac28 and 2.4.3 while getting these errors. The corruptions
occur on two machines, asus a7v and asus a7v133, via686a
and via686b. I've had reasonably good luck with
reiserfsck, though, so it's not something to fear entirely.
;-)

I'd be glad to help with any debugging as time permits.

-Nick


* Robert NEDBAL ([email protected]) [010402 05:20]:
> Hello,
> I'm using ReiserFS on my primary filesystem and yesterday, I have found
> that some files are corrupted. Yesterday I had to reset computer becase
> X Window freezed. Maybe it caused this problem.
>
> This comes from log:
>
> It began yesterday 4 a.m., I havent figured it out at that time:
> Apr 2 04:03:00 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
> Apr 2 04:03:00 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
> Apr 2 04:03:00 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110133 0x0 SD]
> Apr 2 04:03:00 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110133) not found
> Apr 2 04:03:00 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
> Apr 2 04:03:00 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
> Apr 2 04:03:00 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110135 0x0 SD]
> Apr 2 04:03:00 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110135) not found
> Apr 2 04:03:00 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
> Apr 2 04:03:00 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
> Apr 2 04:03:00 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110137 0x0 SD]
> Apr 2 04:03:00 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110137) not found
> Apr 2 04:03:00 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
> Apr 2 04:03:00 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
> Apr 2 04:03:00 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110132 0x0 SD]
> Apr 2 04:03:00 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110132) not found
> Apr 2 04:03:00 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
> Apr 2 04:03:00 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
> Apr 2 04:03:00 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110136 0x0 SD]
> Apr 2 04:03:00 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110136) not found
> Apr 2 04:03:00 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
> Apr 2 04:03:00 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
> Apr 2 04:03:00 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110134 0x0 SD]
> Apr 2 04:03:00 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110134) not found
> Apr 2 04:03:00 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
> Apr 2 04:03:00 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
> Apr 2 04:03:00 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110131 0x0 SD]
> Apr 2 04:03:00 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110131) not found
>
> Now I'm turning computer off and go to sleep :)
>
> Hello morning, turning computer on again:
> Apr 2 11:01:42 topo kernel: Linux version 2.4.3 (root@topo) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 P? b?e 30 17:48:56 CEST 2001
> Apr 2 11:01:42 topo kernel: BIOS-provided physical RAM map:
> Apr 2 11:01:42 topo kernel: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
> Apr 2 11:01:42 topo kernel: BIOS-e820: 000000000009fc00 - 00000000000a0000 (usable)
> Apr 2 11:01:42 topo kernel: BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
> Apr 2 11:01:42 topo kernel: BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
> Apr 2 11:01:42 topo kernel: BIOS-e820: 0000000000100000 - 0000000008000000 (usable)
> Apr 2 11:01:42 topo kernel: PCI: PCI BIOS revision 2.10 entry at 0xfb3d0, last bus=1
> Apr 2 11:01:42 topo kernel: PCI: Using configuration type 1
> Apr 2 11:01:42 topo kernel: PCI: Probing PCI hardware
> Apr 2 11:01:42 topo kernel: PCI: Disabled enhanced CPU to PCI posting #2
> Apr 2 11:01:42 topo kernel: PCI: Using IRQ router VIA [1106/0586] at 00:07.0
> Apr 2 11:01:42 topo kernel: Activating ISA DMA hang workarounds.
> Apr 2 11:01:42 topo kernel: isapnp: Scanning for Pnp cards...
> Apr 2 11:01:42 topo kernel: isapnp: No Plug & Play device found
> Apr 2 11:01:42 topo kernel: Starting kswapd v1.8
> Apr 2 11:01:42 topo kernel: block: queued sectors max/low 84080kB/28026kB, 256 slots per queue
> Apr 2 11:01:42 topo kernel: Uniform Multi-Platform E-IDE driver Revision: 6.31
> Apr 2 11:01:42 topo kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> Apr 2 11:01:42 topo kernel: VP_IDE: IDE controller on PCI bus 00 dev 39
> Apr 2 11:01:42 topo kernel: VP_IDE: chipset revision 6
> Apr 2 11:01:42 topo kernel: VP_IDE: not 100% native mode: will probe irqs later
> Apr 2 11:01:42 topo kernel: ide0: BM-DMA at 0xf400-0xf407, BIOS settings: hda:DMA, hdb:DMA
> Apr 2 11:01:42 topo kernel: ide1: BM-DMA at 0xf408-0xf40f, BIOS settings: hdc:DMA, hdd:DMA
> Apr 2 11:01:42 topo kernel: hda: WDC AC24300L, ATA DISK drive
> Apr 2 11:01:42 topo kernel: hdc: IBM-DTLA-307045, ATA DISK drive
> Apr 2 11:01:42 topo kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> Apr 2 11:01:42 topo kernel: ide1 at 0x170-0x177,0x376 on irq 15
> Apr 2 11:01:42 topo kernel: hda: 8421840 sectors (4312 MB) w/256KiB Cache, CHS=524/255/63, UDMA(33)
> Apr 2 11:01:42 topo kernel: hdc: 90069840 sectors (46116 MB) w/1916KiB Cache, CHS=89355/16/63, (U)DMA
> Apr 2 11:01:42 topo kernel: Partition check:
> Apr 2 11:01:42 topo kernel: hda: hda1 hda2 < hda5 hda6 >
> Apr 2 11:01:42 topo kernel: hdc: hdc1 hdc2 hdc3
> Apr 2 11:01:42 topo kernel: Floppy drive(s): fd0 is 1.44M
> Apr 2 11:01:42 topo kernel: FDC 0 is a post-1991 82077
> Apr 2 11:01:42 topo kernel: reiserfs: checking transaction log (device 16:03) ...
> Apr 2 11:01:42 topo kernel: Using r5 hash to sort names
> Apr 2 11:01:42 topo kernel: ReiserFS version 3.6.25
> Apr 2 11:01:42 topo kernel: VFS: Mounted root (reiserfs filesystem) readonly.
> Apr 2 11:01:42 topo kernel: Adding Swap: 124956k swap-space (priority -1)
> Apr 2 11:01:42 topo kernel: reiserfs: checking transaction log (device 16:02) ...
> Apr 2 11:01:42 topo kernel: Using r5 hash to sort names
> Apr 2 11:01:42 topo kernel: ReiserFS version 3.6.25
> Apr 2 12:39:47 topo kernel: es1370: version v0.34 time 18:02:06 Mar 30 2001
> Apr 2 12:39:47 topo kernel: PCI: Found IRQ 10 for device 00:0a.0
> Apr 2 12:39:47 topo kernel: IRQ routing conflict in pirq table for device 00:0a.0
> Apr 2 12:39:47 topo kernel: es1370: found adapter at io 0xf600 irq 9
> Apr 2 12:39:47 topo kernel: es1370: features: joystick off, line in, mic impedance 0
> Apr 2 12:41:14 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
> Apr 2 12:41:14 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
> Apr 2 12:41:14 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110131 0x0 SD]
> Apr 2 12:41:14 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110131) not found
> Apr 2 12:42:42 topo last message repeated 2 times
> Apr 2 12:44:56 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
> Apr 2 12:44:56 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
> Apr 2 12:44:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110131) not found
> Apr 2 12:44:56 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
> Apr 2 12:44:56 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
> Apr 2 12:44:56 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110132 0x0 SD]
> Apr 2 12:44:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110132) not found
> Apr 2 12:44:56 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
> Apr 2 12:44:56 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
> Apr 2 12:44:56 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110133 0x0 SD]
> Apr 2 12:44:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110133) not found
> Apr 2 12:44:56 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
> Apr 2 12:44:56 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
> Apr 2 12:44:56 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110134 0x0 SD]
> Apr 2 12:44:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110134) not found
> Apr 2 12:44:56 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
> Apr 2 12:44:56 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
> Apr 2 12:44:56 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110135 0x0 SD]
> Apr 2 12:44:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110135) not found
> Apr 2 12:44:56 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
> Apr 2 12:44:56 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
> Apr 2 12:44:56 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110136 0x0 SD]
> Apr 2 12:44:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110136) not found
> Apr 2 12:44:56 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
> Apr 2 12:44:56 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
> Apr 2 12:44:56 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110137 0x0 SD]
> Apr 2 12:44:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110137) not found
> Apr 2 12:45:06 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110131) not found
> Apr 2 12:45:06 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110132) not found
> Apr 2 12:45:06 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110133) not found
> Apr 2 12:45:06 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110134) not found
> Apr 2 12:45:06 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110135) not found
> Apr 2 12:45:06 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110136) not found
> Apr 2 12:45:06 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110137) not found
> Apr 2 12:47:28 topo kernel: loop: loaded (max 8 devices)
> Apr 2 12:47:28 topo insmod: Note: /etc/modules.conf is more recent than /lib/modules/2.4.3/modules.dep
> Apr 2 12:47:28 topo insmod: Note: /etc/modules.conf is more recent than /lib/modules/2.4.3/modules.dep
> Apr 2 12:48:47 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110131) not found
> Apr 2 12:48:48 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110132) not found
> Apr 2 12:48:48 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110133) not found
> Apr 2 12:48:48 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110134) not found
> Apr 2 12:48:48 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110135) not found
> Apr 2 12:48:48 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110136) not found
> Apr 2 12:48:48 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110137) not found
> Apr 2 12:50:16 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
> Apr 2 12:50:16 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
> Apr 2 12:50:16 topo kernel: vs-5657: reiserfs_do_truncate: i/o failure occurred trying to truncate [110073 110130 0xfffffffffffffff DIRECT]
> Apr 2 12:50:16 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
> Apr 2 12:50:16 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
> Apr 2 12:50:16 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110131 0x0 SD]
> Apr 2 12:50:16 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110131) not found
> Apr 2 12:50:35 topo last message repeated 5 times
> Apr 2 12:50:51 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
> Apr 2 12:50:51 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
> Apr 2 12:50:51 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110133 0x0 SD]
> Apr 2 12:50:51 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110133) not found
> Apr 2 12:50:51 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110135) not found
> Apr 2 12:50:51 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110137) not found
> Apr 2 12:50:51 topo kernel: is_leaf: item location seems wrong (second one): *NEW* [110073 110133 0x1 IND], item_len 44, item_location 3560, free_space(entry_count) 65535
> Apr 2 12:50:51 topo kernel: vs-5150: search_by_key: invalid format found in block 43512. Fsck?
> Apr 2 12:50:51 topo kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [110073 110132 0x0 SD]
> Apr 2 12:50:51 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110132) not found
> Apr 2 12:50:52 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110136) not found
> Apr 2 12:50:52 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110134) not found
> Apr 2 12:50:52 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110131) not found
> Apr 2 12:50:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110133) not found
> Apr 2 12:50:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110135) not found
> Apr 2 12:50:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110137) not found
> Apr 2 12:50:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110132) not found
> Apr 2 12:50:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110136) not found
> Apr 2 12:50:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110134) not found
> Apr 2 12:50:56 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110131) not found
> Apr 2 12:53:39 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110133) not found
> Apr 2 12:53:39 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110135) not found
> Apr 2 12:53:39 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110137) not found
> Apr 2 12:53:39 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110132) not found
> Apr 2 12:53:39 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110136) not found
> Apr 2 12:53:39 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110134) not found
> Apr 2 12:53:39 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110131) not found
> Apr 2 12:53:53 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110133) not found
> Apr 2 12:53:57 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110135) not found
> Apr 2 12:53:58 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110137) not found
> Apr 2 12:53:58 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110132) not found
> Apr 2 12:53:59 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110136) not found
> Apr 2 12:53:59 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110134) not found
> Apr 2 12:53:59 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110131) not found
> Apr 2 12:54:00 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110133) not found
> Apr 2 12:54:01 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110135) not found
> Apr 2 12:54:01 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110137) not found
> Apr 2 12:54:02 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110132) not found
> Apr 2 12:54:02 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110136) not found
> Apr 2 12:54:02 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110134) not found
> Apr 2 12:54:03 topo kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (110073 110131) not found
>
>
> When I want to list corrupted directory, I get this:
> [root@topo lisp]# ll
> ls: diff.elc: Access denied
> ls: dired-x.elc: Access denied
> ls: dirtrack.elc: Access denied
> ls: desktop.elc: Access denied
> ls: dired.elc: Access denied
> ls: dired-aux.elc: Access denied
> ls: derived.elc: Access denied
> total 0
>
> Kernel version: 2.4.3
>
> What should I to do? I fear to run reiserfsck, because I have heard it
> makes things even worse. Please, please help me.
>
> Thank for your replies (plz CC me as I'm not subscribed to the list),
> Robert Nedbal
>
> PS: sorry for my english, it's not my first language.
>
> --
> --------------------------------------------------------------------
> Robert Nedbal - Czech Technical University in Prague, Czech Republic
> email: [email protected] http://www.sh.cvut.cz/~robik/
> /* Debuggers are evil. Never ever trust them. */
> --------------------------------------------------------------------
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

--
**********************************************************
Nicholas Petreley Caldera Systems - LinuxWorld/InfoWorld
[email protected] - http://www.petreley.com - Eph 6:12
**********************************************************
.

2001-04-02 16:42:37

by Rasmus Bøg Hansen

[permalink] [raw]
Subject: Re: ReiserFS - corrupted files (2.4.3)

Hello

I am getting musch the same types of corruption. I am on a K6-2 with a
30Gb IBM HD and 256Mb RAM running vanilla 2.4.3 with iptables and squid
caching proxy. The problems arise on the cache part of the FS (i.e. with
many file operations).

I am considering using reiserfsck (3.x.0j) to fix it, but it has to wait
until the morning - so in the meantime perhaps somebody can use the info
about the corruptions? I have nowhere to back up my rather large (in
comparison to other space on the box) cache, but if it goes lost in the
process of rebuilding it, it does not matter so much.

What should I do to help? I will try to debug the problem if necessary -
should I turb on internal checks?

On Mon, 2 Apr 2001, Robert NEDBAL wrote:

> Hello,
> I'm using ReiserFS on my primary filesystem and yesterday, I have found
> that some files are corrupted. Yesterday I had to reset computer becase
> X Window freezed. Maybe it caused this problem.
>
> This comes from log:

[SNIP]

My log goes much the same (although I have fewer errors - it seems to
affect only few files):
Mar 30 10:32:09 wiibroe kernel: reiserfs: checking transaction log
(device 16:01) ...
Mar 30 10:32:09 wiibroe kernel: Using r5 hash to sort names
Mar 30 10:32:09 wiibroe kernel: ReiserFS version 3.6.25
[...]
Apr 2 14:36:10 wiibroe kernel: is_leaf: item location seems wrong:
*OLD*[1214 319934 0x8f1 DIRECT], item_len 0, item_location 0,
free_space(entry_count) 2289
Apr 2 14:36:10 wiibroe kernel: vs-5150: search_by_key: invalid format
found in block 132193. Fsck?
Apr 2 14:36:10 wiibroe kernel: is_leaf: item location seems wrong:
*OLD*[1214 319934 0x8f1 DIRECT], item_len 0, item_location 0,
free_space(entry_count) 2289
Apr 2 14:36:10 wiibroe kernel: vs-5150: search_by_key: invalid format
found in block 132193. Fsck?
Apr 2 14:36:10 wiibroe kernel: vs-13050: reiserfs_update_sd: i/o
failure occurred trying to update [1214 319936 0x0 SD] stat datais_leaf:
item location seems wrong: *OLD*[1214 319934 0x8f1 DIRECT], item_len 0,
item_location 0, free_space(entry_count) 2289
Apr 2 14:36:10 wiibroe kernel: vs-5150: search_by_key: invalid format
found in block 132193. Fsck?
Apr 2 14:36:10 wiibroe kernel: vs-: reiserfs_delete_solid_item: i/o
failure occurred trying to delete [1214 319936 0x0 SD]
[...]
Apr 2 18:36:25 wiibroe kernel: vs-13042: reiserfs_read_inode2: [1020
271248 0x0 SD] not found
Apr 2 18:36:25 wiibroe kernel: vs-13048: reiserfs_iget: bad_inode. Stat
data of (1020 271248) not found
Apr 2 18:36:50 wiibroe kernel: is_leaf: item location seems wrong:
*OLD*[1214 319934 0x8f1 DIRECT], item_len 0, item_location 0,
free_space(entry_count) 2289
Apr 2 18:36:50 wiibroe kernel: vs-5150: search_by_key: invalid format
found in block 132193. Fsck?
Apr 2 18:36:50 wiibroe kernel: vs-13070: reiserfs_read_inode2: i/o
failure occurred trying to find stat data of [1214 319935 0x0 SD]
Apr 2 18:36:50 wiibroe kernel: vs-13048: reiserfs_iget: bad_inode. Stat
data of (1214 319935) not found

> When I want to list corrupted directory, I get this:

What I get is:

root@wiibroe:/var/spool/squid# find /var/spool/squid/ -type f | xargs ls
> /dev/null
find: /var/spool/squid/01/C5/0001C5DA: Ingen s?dan fil eller filkatalog
find: /var/spool/squid/01/C5/0001C5E6: Ingen s?dan fil eller filkatalog
find: /var/spool/squid/03/F5/0003F5E9: Adgang n?gtet
find: /var/spool/squid/04/B6/0004B6E0: Adgang n?gtet

(Ingen s?dan fil eller filkatalog = No such file or directory
Adgang n?gtet = Access denied)

Rasmus B?g Hansen

--
-- [ Rasmus 'M?ffe' B?g Hansen ] --------------------------------------
if (getenv(EDITOR) == "vim") {karma++};
--------------------------------- [ moffe at amagerkollegiet dot dk ] -





2001-04-02 18:13:41

by Nicholas Petreley

[permalink] [raw]
Subject: Re: ReiserFS - corrupted files (2.4.3)

Robert,

That output below is part of the results from

reiserfsck /dev/hde5

(obviously /dev/hde5 is the partition that I checked). I'm
using reiserfsprogs version 3.x.0i. You can run reiserfsck
without any arguments and it can't do any harm to your
partition - it's read-only.

I tried "reiserfsck -x /dev/hde5" but that didn't fix
anything. (the -x switch is supposed to "fix fixable
without having to use --rebuild-tree). But

reiserfsck --rebuild-tree /dev/hde5

fixed the bitmap problem in this case, and it didn't cause
any new problems. Nevertheless, I'm using reiserfs on all
my machines, so I would be glad to help debug the problems
asap - I'm worried about losing a whole partition here and
there eventually. I'd go back to kernel 2.2.18, which is
supposedly very stable, but I can't. It doesn't work for me
on reiserfs partitions created with 2.4.x.

I don't know where to start with debugging, either, but I'm
willing to take instructions.

-Nick


* Robert NEDBAL ([email protected]) [010402 10:28]:
> Hello,
> thank you for your fast reply.
>
> On Mon, 2 Apr 2001, Nicholas Petreley wrote:
> > Comparing bitmaps..free block count 613785 mismatches with
> > a correct one 613799.
> > byte 114154: bm1: ffffffff bm2 1f
> > byte 114155: bm1: ffffffff bm2 fffffffc
> > byte 118307: bm1: ffffffff bm2 ffffffef
> > byte 118309: bm1: ffffffff bm2 3f
> > byte 118310: bm1: ffffffff bm2 fffffffc
> > byte 118312: bm1: ffffffff bm2 ffffff87
> > on-disk bitmap does not match to the correct one. 6 bytes
> > differ
>
> How you get these results?
>
> >
> > And I found a recently updated log file with nulls in it -
> > I thought that problem was fixed long ago. I've been using
> > ac28 and 2.4.3 while getting these errors. The corruptions
> > occur on two machines, asus a7v and asus a7v133, via686a
> > and via686b. I've had reasonably good luck with
> > reiserfsck, though, so it's not something to fear entirely.
> > ;-)
> >
>
> I'll try running reiserfsck as the last option. (Just before complete
> reinstallation :-) )
>
> > I'd be glad to help with any debugging as time permits.
> >
>
> I'm happy that somebody is interrested in debugging. Bud I'm only C/C++
> coder, I dont know much about kernel internals. How can I begin with
> debugging?
>
> regards,
> Robert
>
> >
> > --
> > **********************************************************
> > Nicholas Petreley Caldera Systems - LinuxWorld/InfoWorld
> > [email protected] - http://www.petreley.com - Eph 6:12
> > **********************************************************
> > .
> >
>
> --------------------------------------------------------------------
> Robert Nedbal - Czech Technical University in Prague, Czech Republic
> email: [email protected] http://www.sh.cvut.cz/~robik/
> /* Debuggers are evil. Never ever trust them. */
> --------------------------------------------------------------------
>

--
**********************************************************
Nicholas Petreley Caldera Systems - LinuxWorld/InfoWorld
[email protected] - http://www.petreley.com - Eph 6:12
**********************************************************
.

2001-04-02 20:00:46

by Hans Reiser

[permalink] [raw]
Subject: Re: [reiserfs-list] Re: ReiserFS - corrupted files (2.4.3)

monstr will debug this and elena will enter it into our buglist file.

Hans

Rasmus B?g Hansen wrote:
>
> Hello
>
> I am getting musch the same types of corruption. I am on a K6-2 with a
> 30Gb IBM HD and 256Mb RAM running vanilla 2.4.3 with iptables and squid
> caching proxy. The problems arise on the cache part of the FS (i.e. with
> many file operations).
>
> I am considering using reiserfsck (3.x.0j) to fix it, but it has to wait
> until the morning - so in the meantime perhaps somebody can use the info
> about the corruptions? I have nowhere to back up my rather large (in
> comparison to other space on the box) cache, but if it goes lost in the
> process of rebuilding it, it does not matter so much.
>
> What should I do to help? I will try to debug the problem if necessary -
> should I turb on internal checks?
>
> On Mon, 2 Apr 2001, Robert NEDBAL wrote:
>
> > Hello,
> > I'm using ReiserFS on my primary filesystem and yesterday, I have found
> > that some files are corrupted. Yesterday I had to reset computer becase
> > X Window freezed. Maybe it caused this problem.
> >
> > This comes from log:
>
> [SNIP]
>
> My log goes much the same (although I have fewer errors - it seems to
> affect only few files):
> Mar 30 10:32:09 wiibroe kernel: reiserfs: checking transaction log
> (device 16:01) ...
> Mar 30 10:32:09 wiibroe kernel: Using r5 hash to sort names
> Mar 30 10:32:09 wiibroe kernel: ReiserFS version 3.6.25
> [...]
> Apr 2 14:36:10 wiibroe kernel: is_leaf: item location seems wrong:
> *OLD*[1214 319934 0x8f1 DIRECT], item_len 0, item_location 0,
> free_space(entry_count) 2289
> Apr 2 14:36:10 wiibroe kernel: vs-5150: search_by_key: invalid format
> found in block 132193. Fsck?
> Apr 2 14:36:10 wiibroe kernel: is_leaf: item location seems wrong:
> *OLD*[1214 319934 0x8f1 DIRECT], item_len 0, item_location 0,
> free_space(entry_count) 2289
> Apr 2 14:36:10 wiibroe kernel: vs-5150: search_by_key: invalid format
> found in block 132193. Fsck?
> Apr 2 14:36:10 wiibroe kernel: vs-13050: reiserfs_update_sd: i/o
> failure occurred trying to update [1214 319936 0x0 SD] stat datais_leaf:
> item location seems wrong: *OLD*[1214 319934 0x8f1 DIRECT], item_len 0,
> item_location 0, free_space(entry_count) 2289
> Apr 2 14:36:10 wiibroe kernel: vs-5150: search_by_key: invalid format
> found in block 132193. Fsck?
> Apr 2 14:36:10 wiibroe kernel: vs-: reiserfs_delete_solid_item: i/o
> failure occurred trying to delete [1214 319936 0x0 SD]
> [...]
> Apr 2 18:36:25 wiibroe kernel: vs-13042: reiserfs_read_inode2: [1020
> 271248 0x0 SD] not found
> Apr 2 18:36:25 wiibroe kernel: vs-13048: reiserfs_iget: bad_inode. Stat
> data of (1020 271248) not found
> Apr 2 18:36:50 wiibroe kernel: is_leaf: item location seems wrong:
> *OLD*[1214 319934 0x8f1 DIRECT], item_len 0, item_location 0,
> free_space(entry_count) 2289
> Apr 2 18:36:50 wiibroe kernel: vs-5150: search_by_key: invalid format
> found in block 132193. Fsck?
> Apr 2 18:36:50 wiibroe kernel: vs-13070: reiserfs_read_inode2: i/o
> failure occurred trying to find stat data of [1214 319935 0x0 SD]
> Apr 2 18:36:50 wiibroe kernel: vs-13048: reiserfs_iget: bad_inode. Stat
> data of (1214 319935) not found
>
> > When I want to list corrupted directory, I get this:
>
> What I get is:
>
> root@wiibroe:/var/spool/squid# find /var/spool/squid/ -type f | xargs ls
> > /dev/null
> find: /var/spool/squid/01/C5/0001C5DA: Ingen s?dan fil eller filkatalog
> find: /var/spool/squid/01/C5/0001C5E6: Ingen s?dan fil eller filkatalog
> find: /var/spool/squid/03/F5/0003F5E9: Adgang n?gtet
> find: /var/spool/squid/04/B6/0004B6E0: Adgang n?gtet
>
> (Ingen s?dan fil eller filkatalog = No such file or directory
> Adgang n?gtet = Access denied)
>
> Rasmus B?g Hansen
>
> --
> -- [ Rasmus 'M?ffe' B?g Hansen ] --------------------------------------
> if (getenv(EDITOR) == "vim") {karma++};
> --------------------------------- [ moffe at amagerkollegiet dot dk ] -