* 2.5.4-pre1: zero-filled files resiserfs @ 2002-02-07 7:23 Alex Riesen 2002-02-07 7:44 ` [reiserfs-dev] " Oleg Drokin 0 siblings, 1 reply; 27+ messages in thread From: Alex Riesen @ 2002-02-07 7:23 UTC (permalink / raw) To: reiserfs-dev; +Cc: linux-kernel Hi, I got the zero-filled files after reboot. I've tried to compile two kernels (one with make -j2 and the other one just with make) simultaneously having 3 running 'find . -type f print0 | xargs -0 cat >/dev/null'. After reboot i've got .config of the one of the kernels filled with zeroes, also .bash_history and some others (all of them reside on a reserfs volume, and my home, btw). The copies of the bzImage's and modules are ok (they were to ext2 volumes). I suppose the files were open for writing at some point of that session. I'm sure they were closed to the moment of system shutdown (i've killall5 -TERM ... sequence in the shutdown scripts). There were no crashes or suspicious messages on the console. Nothing special in logs, and sorry, reiserfs self-debugging wasn't enabled. -alex ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files resiserfs 2002-02-07 7:23 2.5.4-pre1: zero-filled files resiserfs Alex Riesen @ 2002-02-07 7:44 ` Oleg Drokin 2002-02-07 22:02 ` Alex Riesen 0 siblings, 1 reply; 27+ messages in thread From: Oleg Drokin @ 2002-02-07 7:44 UTC (permalink / raw) To: reiserfs-dev, linux-kernel [-- Attachment #1: Type: text/plain, Size: 428 bytes --] Hello! On Thu, Feb 07, 2002 at 08:23:48AM +0100, Alex Riesen wrote: > There were no crashes or suspicious messages on the console. > Nothing special in logs, and sorry, reiserfs self-debugging > wasn't enabled. Can you try the patch attached? It may not fix the thing, but we want to be sure (and we'll try to reproduce locally atthe same time). Also try to run reiserfsck --check on your reiserfs partitions. Bye, Oleg [-- Attachment #2: i_version_mismatch.diff --] [-- Type: text/plain, Size: 1147 bytes --] --- linux-2.5.4-pre1/fs/reiserfs/inode.c.orig Wed Feb 6 11:18:35 2002 +++ linux-2.5.4-pre1/fs/reiserfs/inode.c Wed Feb 6 11:12:08 2002 @@ -890,6 +890,13 @@ inode->i_blksize = PAGE_SIZE; INIT_LIST_HEAD(&(REISERFS_I(inode)->i_prealloc_list )); + REISERFS_I(inode)->i_flags = 0; + REISERFS_I(inode)->i_prealloc_block = 0; + REISERFS_I(inode)->i_prealloc_count = 0; + REISERFS_I(inode)->i_trans_id = 0; + REISERFS_I(inode)->i_trans_index = 0; + /* nopack = 0, by default */ + REISERFS_I(inode)->i_flags &= ~i_nopack_mask; if (stat_data_v1 (ih)) { struct stat_data_v1 * sd = (struct stat_data_v1 *)B_I_PITEM (bh, ih); @@ -950,13 +957,6 @@ set_inode_item_key_version (inode, KEY_FORMAT_3_6); REISERFS_I(inode)->i_first_direct_byte = 0; } - REISERFS_I(inode)->i_flags = 0; - REISERFS_I(inode)->i_prealloc_block = 0; - REISERFS_I(inode)->i_prealloc_count = 0; - REISERFS_I(inode)->i_trans_id = 0; - REISERFS_I(inode)->i_trans_index = 0; - /* nopack = 0, by default */ - REISERFS_I(inode)->i_flags &= ~i_nopack_mask; pathrelse (path); if (S_ISREG (inode->i_mode)) { ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files resiserfs 2002-02-07 7:44 ` [reiserfs-dev] " Oleg Drokin @ 2002-02-07 22:02 ` Alex Riesen 2002-02-08 5:51 ` Oleg Drokin 0 siblings, 1 reply; 27+ messages in thread From: Alex Riesen @ 2002-02-07 22:02 UTC (permalink / raw) To: Oleg Drokin; +Cc: linux-kernel Hi, tried the patch. The problem looks gone, although i've placed the system under even some more load than before (8.9, maybe not impressive but first time for this one). The reiserfsck showed up some nasty looking errors: shrink_id_map: objectid map shrinked: used 4096, 5 blocks grow_id_map: objectid map expanded: used 5120, 5 blocks grow_id_map: objectid map expanded: used 10240, 10 blocks bad_leaf: block 211482 has wrong order of items ...more of that... free block count 1326452 mismatches with a correct one 1326458. on-disk bitmap does not match to the correct one. 1 bytes differ "reiserfsck --rebuild-tree" cured them without visible damages for now. There were some messages about deleted blocks, expanded objectid map, shrinked map and one "dir 1 2 has wrong sd_size 120, has to be 152". I can send you logs, if needed. Does the 2.5.4-pre2 contains this patch ? -alex On Thu, Feb 07, 2002 at 10:44:20AM +0300, Oleg Drokin wrote: > Hello! > > On Thu, Feb 07, 2002 at 08:23:48AM +0100, Alex Riesen wrote: > >> There were no crashes or suspicious messages on the console. >> Nothing special in logs, and sorry, reiserfs self-debugging >> wasn't enabled. > Can you try the patch attached? It may not fix the thing, but > we want to be sure (and we'll try to reproduce locally atthe same time). > Also try to run reiserfsck --check on your reiserfs partitions. > > Bye, > Oleg > --- linux-2.5.4-pre1/fs/reiserfs/inode.c.orig Wed Feb 6 11:18:35 2002 > +++ linux-2.5.4-pre1/fs/reiserfs/inode.c Wed Feb 6 11:12:08 2002 ... ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files resiserfs 2002-02-07 22:02 ` Alex Riesen @ 2002-02-08 5:51 ` Oleg Drokin 2002-02-08 6:34 ` Oleg Drokin 2002-02-08 22:07 ` [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs Alex Riesen 0 siblings, 2 replies; 27+ messages in thread From: Oleg Drokin @ 2002-02-08 5:51 UTC (permalink / raw) To: Alex Riesen; +Cc: linux-kernel Hello! On Thu, Feb 07, 2002 at 11:02:35PM +0100, Alex Riesen wrote: > The reiserfsck showed up some nasty looking errors: > shrink_id_map: objectid map shrinked: used 4096, 5 blocks > grow_id_map: objectid map expanded: used 5120, 5 blocks > grow_id_map: objectid map expanded: used 10240, 10 blocks > bad_leaf: block 211482 has wrong order of items > ...more of that... > free block count 1326452 mismatches with a correct one 1326458. > on-disk bitmap does not match to the correct one. 1 bytes differ Have you mkreiserfs'ed your partition before testing the patch I've sent you? Or have you at least made a reiserfsck before a test run to ensure, these corruptions are not from the previous kernels (particularly bad_leaf: block 211482 has wrong order of items record worries me) > "reiserfsck --rebuild-tree" cured them without visible damages for now. > There were some messages about deleted blocks, expanded objectid map, > shrinked map and one "dir 1 2 has wrong sd_size 120, has to be 152". > I can send you logs, if needed. Sure, please do. > Does the 2.5.4-pre2 contains this patch ? Yes. Thank you. Bye, Oleg ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files resiserfs 2002-02-08 5:51 ` Oleg Drokin @ 2002-02-08 6:34 ` Oleg Drokin 2002-02-08 22:07 ` [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs Alex Riesen 1 sibling, 0 replies; 27+ messages in thread From: Oleg Drokin @ 2002-02-08 6:34 UTC (permalink / raw) To: Alex Riesen; +Cc: linux-kernel Hello! On Fri, Feb 08, 2002 at 08:51:55AM +0300, Oleg Drokin wrote: > these corruptions are not from the previous kernels (particularly > bad_leaf: block 211482 has wrong order of items record worries me) Also I hope this is not on the same box, where you are getting Machine Check Exceptions. Bye, Oleg ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs 2002-02-08 5:51 ` Oleg Drokin 2002-02-08 6:34 ` Oleg Drokin @ 2002-02-08 22:07 ` Alex Riesen 2002-02-11 5:51 ` Oleg Drokin 1 sibling, 1 reply; 27+ messages in thread From: Alex Riesen @ 2002-02-08 22:07 UTC (permalink / raw) To: Oleg Drokin; +Cc: linux-kernel [-- Attachment #1: Type: text/plain, Size: 2480 bytes --] Hi, hmm.. You're demanding too much(mkreiserfs) - it's my home partition :) And really sorry, i even forgot about reiserfsck it before the patch. Maybe the corruptions are from previous kernels, but the zero-files are observed for the first time, particularly in the .bash_history. And yes, that's the same box (i have no other spare box to experiment with). The memtest didn't found anything (maybe, i had it run only 1pass for about 1 hour). The processor is not overclocked, the cooler is native (sold together with the processor). But the zero-files was seen in the day before machine check exceptions were occured. Sorry for such a dirty test environment, i was really not prepared. Logs attached. -alex On Fri, Feb 08, 2002 at 08:51:55AM +0300, Oleg Drokin wrote: > these corruptions are not from the previous kernels (particularly > bad_leaf: block 211482 has wrong order of items record worries me) Also I hope this is not on the same box, where you are getting Machine Check Exceptions. On Fri, Feb 08, 2002 at 08:51:56AM +0300, Oleg Drokin wrote: > Hello! > > On Thu, Feb 07, 2002 at 11:02:35PM +0100, Alex Riesen wrote: > > > The reiserfsck showed up some nasty looking errors: > > shrink_id_map: objectid map shrinked: used 4096, 5 blocks > > grow_id_map: objectid map expanded: used 5120, 5 blocks > > grow_id_map: objectid map expanded: used 10240, 10 blocks > > bad_leaf: block 211482 has wrong order of items > > ...more of that... > > free block count 1326452 mismatches with a correct one 1326458. > > on-disk bitmap does not match to the correct one. 1 bytes differ > > Have you mkreiserfs'ed your partition before testing the patch I've sent you? > Or have you at least made a reiserfsck before a test run to ensure, > these corruptions are not from the previous kernels (particularly > bad_leaf: block 211482 has wrong order of items record worries me) > > > "reiserfsck --rebuild-tree" cured them without visible damages for now. > > There were some messages about deleted blocks, expanded objectid map, > > shrinked map and one "dir 1 2 has wrong sd_size 120, has to be 152". > > I can send you logs, if needed. > Sure, please do. > > > Does the 2.5.4-pre2 contains this patch ? > Yes. > > Thank you. > > Bye, > Oleg [-- Attachment #2: hda10.reiserfsck --] [-- Type: text/plain, Size: 926 bytes --] shrink_id_map: objectid map shrinked: used 4096, 5 blocks grow_id_map: objectid map expanded: used 5120, 5 blocks grow_id_map: objectid map expanded: used 10240, 10 blocks bad_leaf: block 211482 has wrong order of items bad_leaf: block 239020 has wrong order of items bad_leaf: block 231194 has wrong order of items bad_leaf: block 231200 has wrong order of items bad_leaf: block 218992 has wrong order of items bad_leaf: block 238517 has wrong order of items bad_leaf: block 238517 has wrong order of items bad_leaf: block 231802 has wrong order of items bad_leaf: block 238421 has wrong order of items bad_leaf: block 268851 has wrong order of items bad_leaf: block 268924 has wrong order of items bad_leaf: block 238764 has wrong order of items bad_leaf: block 268780 has wrong order of items free block count 1326452 mismatches with a correct one 1326458. on-disk bitmap does not match to the correct one. 1 bytes differ [-- Attachment #3: hda10.reiserfsck-rebuild --] [-- Type: text/plain, Size: 7928 bytes --] ####### Pass 0 ####### grow_id_map: objectid map expanded: used 5120, 5 blocks grow_id_map: objectid map expanded: used 10240, 10 blocks block 211482: item 3: 642241 785195 0x1 DRCT, len 328, entry count 65535, fsck need 0, format old follows non stat item 642241 783914 0x1 IND, len 32, entry count 0, fsck need 0, format new - deleted block 218992: item 4: 642259 784628 0x1 DRCT, len 120, entry count 65535, fsck need 0, format old follows non stat item 642259 784257 0x1 IND, len 16, entry count 0, fsck need 0, format new - deleted shrink_id_map: objectid map shrinked: used 14336, 15 blocks shrink_id_map: objectid map shrinked: used 14336, 15 blocks shrink_id_map: objectid map shrinked: used 14336, 15 blocks shrink_id_map: objectid map shrinked: used 14336, 15 blocks shrink_id_map: objectid map shrinked: used 14336, 15 blocks shrink_id_map: objectid map shrinked: used 14336, 15 blocks shrink_id_map: objectid map shrinked: used 14336, 15 blocks shrink_id_map: objectid map shrinked: used 14336, 15 blocks shrink_id_map: objectid map shrinked: used 14336, 15 blocks shrink_id_map: objectid map shrinked: used 14336, 15 blocks shrink_id_map: objectid map shrinked: used 14336, 15 blocks shrink_id_map: objectid map shrinked: used 14336, 15 blocks shrink_id_map: objectid map shrinked: used 14336, 15 blocks shrink_id_map: objectid map shrinked: used 14336, 15 blocks shrink_id_map: objectid map shrinked: used 14336, 15 blocks shrink_id_map: objectid map shrinked: used 14336, 15 blocks shrink_id_map: objectid map shrinked: used 14336, 15 blocks shrink_id_map: objectid map shrinked: used 14336, 15 blocks shrink_id_map: objectid map shrinked: used 14336, 15 blocks block 231194: item 11: 642253 784595 0x1 DRCT, len 232, entry count 65535, fsck need 0, format old follows non stat item 642253 783908 0x1 IND, len 28, entry count 0, fsck need 0, format new - deleted block 231200: item 6: 642257 785425 0x1 DRCT, len 112, entry count 65535, fsck need 0, format old follows non stat item 642257 783961 0x2001 DRCT, len 192, entry count 65535, fsck need 0, format new - deleted block 231802: item 5: 642287 785128 0x1 DRCT, len 80, entry count 65535, fsck need 0, format old follows non stat item 642287 784281 0x1 IND, len 40, entry count 0, fsck need 0, format new - deleted block 238421: item 12: 642288 784777 0x1 DRCT, len 40, entry count 65535, fsck need 0, format old follows non stat item 642288 781524 0x1 IND, len 12, entry count 0, fsck need 0, format new - deleted block 238517: item 1: 642282 785146 0x1 DRCT, len 80, entry count 65535, fsck need 0, format old follows non stat item 642282 781483 0x699 DRCT, len 376, entry count 65535, fsck need 0, format new - deleted block 238517: item 1: 642282 785150 0x1 DRCT, len 344, entry count 65535, fsck need 0, format old follows non stat item 642282 781483 0x699 DRCT, len 376, entry count 65535, fsck need 0, format new - deleted block 238764: item 7: 645962 785618 0x1 IND, len 8, entry count 0, fsck need 0, format old follows non stat item 645962 785358 0x1 IND, len 572, entry count 0, fsck need 0, format new - deleted block 239020: item 5: 642245 784614 0x1 DRCT, len 216, entry count 65535, fsck need 0, format old follows non stat item 642245 783963 0x1 IND, len 16, entry count 0, fsck need 0, format new - deleted block 268780: item 3: 741504 784733 0x1 DRCT, len 312, entry count 65535, fsck need 0, format old follows non stat item 741504 783706 0x1 IND, len 156, entry count 0, fsck need 0, format new - deleted block 268851: item 1: 642297 785381 0x1 DRCT, len 352, entry count 65535, fsck need 0, format old follows non stat item 642297 785251 0x1 DRCT, len 144, entry count 65535, fsck need 0, format old - deleted block 268924: item 3: 642298 785473 0x1 DRCT, len 224, entry count 65535, fsck need 0, format old follows non stat item 642298 784199 0x1 IND, len 52, entry count 0, fsck need 0, format new - deleted "r5" got 247952 hits ####### Pass 1 ####### ####### Pass 2 ####### ####### Pass 3 ######### grow_id_map: objectid map expanded: used 5120, 5 blocks shrink_id_map: objectid map shrinked: used 4096, 5 blocks grow_id_map: objectid map expanded: used 5120, 5 blocks shrink_id_map: objectid map shrinked: used 4096, 5 blocks shrink_id_map: objectid map shrinked: used 4096, 5 blocks shrink_id_map: objectid map shrinked: used 4096, 5 blocks shrink_id_map: objectid map shrinked: used 4096, 5 blocks shrink_id_map: objectid map shrinked: used 4096, 5 blocks shrink_id_map: objectid map shrinked: used 4096, 5 blocks shrink_id_map: objectid map shrinked: used 4096, 5 blocks shrink_id_map: objectid map shrinked: used 4096, 5 blocks shrink_id_map: objectid map shrinked: used 4096, 5 blocks shrink_id_map: objectid map shrinked: used 4096, 5 blocks shrink_id_map: objectid map shrinked: used 4096, 5 blocks shrink_id_map: objectid map shrinked: used 4096, 5 blocks shrink_id_map: objectid map shrinked: used 4096, 5 blocks shrink_id_map: objectid map shrinked: used 4096, 5 blocks grow_id_map: objectid map expanded: used 5120, 5 blocks grow_id_map: objectid map expanded: used 5120, 5 blocks grow_id_map: objectid map expanded: used 5120, 5 blocks grow_id_map: objectid map expanded: used 5120, 5 blocks grow_id_map: objectid map expanded: used 5120, 5 blocks grow_id_map: objectid map expanded: used 5120, 5 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks shrink_id_map: objectid map shrinked: used 9216, 10 blocks grow_id_map: objectid map expanded: used 10240, 10 blocks grow_id_map: objectid map expanded: used 10240, 10 blocks grow_id_map: objectid map expanded: used 10240, 10 blocks grow_id_map: objectid map expanded: used 10240, 10 blocks grow_id_map: objectid map expanded: used 10240, 10 blocks grow_id_map: objectid map expanded: used 10240, 10 blocks grow_id_map: objectid map expanded: used 10240, 10 blocks grow_id_map: objectid map expanded: used 10240, 10 blocks grow_id_map: objectid map expanded: used 10240, 10 blocks grow_id_map: objectid map expanded: used 10240, 10 blocks dir 1 2 has wrong sd_size 120, has to be 152 ####### Pass 3a (lost+found pass) ######### ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs 2002-02-08 22:07 ` [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs Alex Riesen @ 2002-02-11 5:51 ` Oleg Drokin [not found] ` <Pine.LNX.4.44.0202111247270.21009-100000@Expansa.sns.it> 0 siblings, 1 reply; 27+ messages in thread From: Oleg Drokin @ 2002-02-11 5:51 UTC (permalink / raw) To: Alex Riesen; +Cc: linux-kernel Hello! On Fri, Feb 08, 2002 at 11:07:13PM +0100, Alex Riesen wrote: > hmm.. You're demanding too much(mkreiserfs) - it's my home partition :) At least reiserfsck before any tests is almost mandratory ;) > Maybe the corruptions are from previous kernels, but the zero-files > are observed for the first time, particularly in the .bash_history. Yes, but you said with the patch you cannot reproduce zero files anymore. > Sorry for such a dirty test environment, i was really not prepared. > Logs attached. I am sorry, but there are so many variables, these logs are barely useful as of now. If you can reproduce on a clean filesystem with not faulty hardware, that would be interesting, though. Thank you. Bye, Oleg ^ permalink raw reply [flat|nested] 27+ messages in thread
[parent not found: <Pine.LNX.4.44.0202111247270.21009-100000@Expansa.sns.it>]
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs [not found] ` <Pine.LNX.4.44.0202111247270.21009-100000@Expansa.sns.it> @ 2002-02-11 12:17 ` Alex Riesen 2002-02-11 13:09 ` Oleg Drokin 2002-02-11 14:20 ` Luigi Genoni 0 siblings, 2 replies; 27+ messages in thread From: Alex Riesen @ 2002-02-11 12:17 UTC (permalink / raw) To: Luigi Genoni; +Cc: linux-kernel On Mon, Feb 11, 2002 at 12:52:27PM +0100, Luigi Genoni wrote: > I got the same with 2.5.4-pre1 on a ATA66 disk, > chipset i810, PentiumIII with 256 MBRAM, > and then on Athlon 1300 Mhz, scsi disk, adaptec > 2940UW, 512MB RAM. > > I saw then just after a reboot. > Those file has been opened three or four days before the reboot expect of > .history. > I got no messages, and, that is the most interesting thing, this > corruption was just for text file. I also edited some binary file with > kexedit and them have not been corrupted after the reboot. was the edited file all the time on reiserfs? I mean, maybe kexedit uses temporary file on some other fs? > > reiserfsck does not show any corruption, and the HW is good. > I know it is just a "me too", but i can do every test you need on the > PentiumIII Oleg, i may have to give you another set of apologies :) The fs problems the reiserfsck have found could well be from the old kernels (although the box crashes very rarely, just because the longest uptime is about 3 hours). > > Luigi Genoni > > On Mon, 11 Feb 2002, Oleg Drokin wrote: > > > Hello! > > > > On Fri, Feb 08, 2002 at 11:07:13PM +0100, Alex Riesen wrote: > > > > > hmm.. You're demanding too much(mkreiserfs) - it's my home partition :) > > At least reiserfsck before any tests is almost mandratory ;) > > > > > Maybe the corruptions are from previous kernels, but the zero-files > > > are observed for the first time, particularly in the .bash_history. > > Yes, but you said with the patch you cannot reproduce zero files anymore. > > > > > Sorry for such a dirty test environment, i was really not prepared. > > > Logs attached. > > I am sorry, but there are so many variables, these logs are barely useful as > > of now. > > If you can reproduce on a clean filesystem with not faulty hardware, that > > would be interesting, though. ... ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs 2002-02-11 12:17 ` Alex Riesen @ 2002-02-11 13:09 ` Oleg Drokin [not found] ` <20020211141422.A16832@steel> 2002-02-11 14:23 ` Luigi Genoni 2002-02-11 14:20 ` Luigi Genoni 1 sibling, 2 replies; 27+ messages in thread From: Oleg Drokin @ 2002-02-11 13:09 UTC (permalink / raw) To: Alex Riesen; +Cc: Luigi Genoni, linux-kernel Hello! On Mon, Feb 11, 2002 at 01:17:13PM +0100, Alex Riesen wrote: > > I got the same with 2.5.4-pre1 on a ATA66 disk, > > chipset i810, PentiumIII with 256 MBRAM, > > and then on Athlon 1300 Mhz, scsi disk, adaptec > > 2940UW, 512MB RAM. > > > > I saw then just after a reboot. > > Those file has been opened three or four days before the reboot expect of > > .history. > > I got no messages, and, that is the most interesting thing, this > > corruption was just for text file. I also edited some binary file with > > kexedit and them have not been corrupted after the reboot. Hm. Strange. This message have not appeared in my mailbox for some reason. .history may be corrupted if your partition was not unmounted properly before reboot. Bye, Oleg ^ permalink raw reply [flat|nested] 27+ messages in thread
[parent not found: <20020211141422.A16832@steel>]
[parent not found: <20020211162743.A1282@namesys.com>]
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs [not found] ` <20020211162743.A1282@namesys.com> @ 2002-02-11 14:03 ` Alex Riesen 0 siblings, 0 replies; 27+ messages in thread From: Alex Riesen @ 2002-02-11 14:03 UTC (permalink / raw) To: Oleg Drokin; +Cc: linux-kernel On Mon, Feb 11, 2002 at 04:27:43PM +0300, Oleg Drokin wrote: > Hello! > > On Mon, Feb 11, 2002 at 02:14:22PM +0100, Alex Riesen wrote: > > > > .history may be corrupted if your partition was not unmounted properly > > > before reboot. > > but in that strange way? the sizes of the files are kept, just the content, > > as were it's an empty page. Sadly that i haven't kept any of the files (unless > > some i haven't found yet) to check it is page-aligned. > This is nothing strange. > You open file for writing, write some stuff, metadata gets journaled, > but file content is not. Then you reboot, metadata is ok, > but file content is lost. > (and at least bash totally rewrites its .history file) yes, that clear alot. I cannot remember any problems while rebooting, but i'm not sure. -alex ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs 2002-02-11 13:09 ` Oleg Drokin [not found] ` <20020211141422.A16832@steel> @ 2002-02-11 14:23 ` Luigi Genoni 2002-02-11 14:27 ` Oleg Drokin 1 sibling, 1 reply; 27+ messages in thread From: Luigi Genoni @ 2002-02-11 14:23 UTC (permalink / raw) To: Oleg Drokin; +Cc: Alex Riesen, linux-kernel On Mon, 11 Feb 2002, Oleg Drokin wrote: > Hello! > > On Mon, Feb 11, 2002 at 01:17:13PM +0100, Alex Riesen wrote: > > > I got the same with 2.5.4-pre1 on a ATA66 disk, > > > chipset i810, PentiumIII with 256 MBRAM, > > > and then on Athlon 1300 Mhz, scsi disk, adaptec > > > 2940UW, 512MB RAM. > > > > > > I saw then just after a reboot. > > > Those file has been opened three or four days before the reboot expect of > > > .history. > > > I got no messages, and, that is the most interesting thing, this > > > corruption was just for text file. I also edited some binary file with > > > kexedit and them have not been corrupted after the reboot. > Hm. Strange. This message have not appeared in my mailbox for some > reason. > .history may be corrupted if your partition was not unmounted properly > before reboot. other files corrupted were /etc/rc.d/rc.local /etc/rc.d/rc.inet2 /etc/lilo.conf on the PIII /scratch/root/<some .c source file> on the Athlon / partition is not the same of /home. > > Bye, > Oleg > ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs 2002-02-11 14:23 ` Luigi Genoni @ 2002-02-11 14:27 ` Oleg Drokin 2002-02-11 19:19 ` Luigi Genoni 2002-02-12 16:55 ` Luigi Genoni 0 siblings, 2 replies; 27+ messages in thread From: Oleg Drokin @ 2002-02-11 14:27 UTC (permalink / raw) To: Luigi Genoni; +Cc: Alex Riesen, linux-kernel Hello! On Mon, Feb 11, 2002 at 03:23:51PM +0100, Luigi Genoni wrote: > > .history may be corrupted if your partition was not unmounted properly > > before reboot. > other files corrupted were > /etc/rc.d/rc.local /etc/rc.d/rc.inet2 > /etc/lilo.conf on the PIII > /scratch/root/<some .c source file> on the Athlon > / partition is not the same of /home. All of this on 2.5.4-pre1 only? Or were you able to reproduce it on later kernels too? Bye, Oleg ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs 2002-02-11 14:27 ` Oleg Drokin @ 2002-02-11 19:19 ` Luigi Genoni 2002-02-12 16:55 ` Luigi Genoni 1 sibling, 0 replies; 27+ messages in thread From: Luigi Genoni @ 2002-02-11 19:19 UTC (permalink / raw) To: Oleg Drokin; +Cc: Alex Riesen, linux-kernel I had corruption also with 2.5.3. I was trying to boot 2.5.4, but with preemption patch enabled i got an oops immediatelle with swapper ;(. Then I sepnt some time for clean i810_audio.c so it can compile, and tomorrow I will perform some test with 2.5.4 without preemption. I should add that finally I could corrupt a big binary file on the pentoim III (the athlon in more important to me). I corrupted flash plugin loading mozilla and closing X11 without cosing mozilla before. I did not noticed corruption with 2.5.3-pre1/2. I could test also on a dual Pi 1260 Mhz with cpqarray controlelr, if needed... Luigi On Mon, 11 Feb 2002, Oleg Drokin wrote: > Hello! > > On Mon, Feb 11, 2002 at 03:23:51PM +0100, Luigi Genoni wrote: > > > > .history may be corrupted if your partition was not unmounted properly > > > before reboot. > > other files corrupted were > > /etc/rc.d/rc.local /etc/rc.d/rc.inet2 > > /etc/lilo.conf on the PIII > > /scratch/root/<some .c source file> on the Athlon > > / partition is not the same of /home. > All of this on 2.5.4-pre1 only? > Or were you able to reproduce it on later kernels too? > > Bye, > Oleg > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs 2002-02-11 14:27 ` Oleg Drokin 2002-02-11 19:19 ` Luigi Genoni @ 2002-02-12 16:55 ` Luigi Genoni 2002-02-12 17:01 ` Oleg Drokin 1 sibling, 1 reply; 27+ messages in thread From: Luigi Genoni @ 2002-02-12 16:55 UTC (permalink / raw) To: Oleg Drokin; +Cc: Alex Riesen, linux-kernel Sorry but I got a corrupted file also with 2.5.4. I could see it after the reboot to 2.4.17. It was /etc/exports and it was OK since i edited it running 2.5.4, and It was readable by exportfs, so it corrupted at reboot. The reboot was clean, of course. Maybe wrong umount? Luigi On Mon, 11 Feb 2002, Oleg Drokin wrote: > Hello! > > On Mon, Feb 11, 2002 at 03:23:51PM +0100, Luigi Genoni wrote: > > > > .history may be corrupted if your partition was not unmounted properly > > > before reboot. > > other files corrupted were > > /etc/rc.d/rc.local /etc/rc.d/rc.inet2 > > /etc/lilo.conf on the PIII > > /scratch/root/<some .c source file> on the Athlon > > / partition is not the same of /home. > All of this on 2.5.4-pre1 only? > Or were you able to reproduce it on later kernels too? > > Bye, > Oleg > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs 2002-02-12 16:55 ` Luigi Genoni @ 2002-02-12 17:01 ` Oleg Drokin 2002-02-12 17:13 ` Luigi Genoni 2002-02-12 19:33 ` Alex Riesen 0 siblings, 2 replies; 27+ messages in thread From: Oleg Drokin @ 2002-02-12 17:01 UTC (permalink / raw) To: Luigi Genoni; +Cc: Alex Riesen, linux-kernel Hello! What kind of corruption? Can we look at corrupted file if there is something unusual? What Linux Distribution do you run? You can check cleanness by looking into kernel messages. If there is "replaying journal" message - umount was not clean. Bye, Oleg On Tue, Feb 12, 2002 at 05:55:54PM +0100, Luigi Genoni wrote: > Sorry but I got a corrupted file also with 2.5.4. I could see it after the > reboot to 2.4.17. It was /etc/exports and it was OK since i edited it > running 2.5.4, and It was readable by exportfs, so it corrupted at reboot. > > The reboot was clean, of course. Maybe wrong umount? ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs 2002-02-12 17:01 ` Oleg Drokin @ 2002-02-12 17:13 ` Luigi Genoni 2002-02-13 5:56 ` Oleg Drokin 2002-02-12 19:33 ` Alex Riesen 1 sibling, 1 reply; 27+ messages in thread From: Luigi Genoni @ 2002-02-12 17:13 UTC (permalink / raw) To: Oleg Drokin; +Cc: Alex Riesen, linux-kernel I run slackware 8.0.49, and there was no log replaying. The corruption is the one we are talking about since some days, file are fille of 0s instead of their supposed content. Please, note that before reboot I had no problems accessin the file, and they resulted corrupted after reboot. I usually restore corrupted file, so I should keep one fopr you, I think. Luigi On Tue, 12 Feb 2002, Oleg Drokin wrote: > Hello! > > What kind of corruption? Can we look at corrupted file if there is something > unusual? > What Linux Distribution do you run? > > You can check cleanness by looking into kernel messages. > If there is "replaying journal" message - umount was not clean. > > Bye, > Oleg > On Tue, Feb 12, 2002 at 05:55:54PM +0100, Luigi Genoni wrote: > > Sorry but I got a corrupted file also with 2.5.4. I could see it after the > > reboot to 2.4.17. It was /etc/exports and it was OK since i edited it > > running 2.5.4, and It was readable by exportfs, so it corrupted at reboot. > > > > The reboot was clean, of course. Maybe wrong umount? > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs 2002-02-12 17:13 ` Luigi Genoni @ 2002-02-13 5:56 ` Oleg Drokin 2002-02-13 11:11 ` Luigi Genoni 0 siblings, 1 reply; 27+ messages in thread From: Oleg Drokin @ 2002-02-13 5:56 UTC (permalink / raw) To: Luigi Genoni; +Cc: Alex Riesen, linux-kernel Hello! On Tue, Feb 12, 2002 at 06:13:18PM +0100, Luigi Genoni wrote: > I run slackware 8.0.49, and there was no log replaying. Ok. > The corruption is the one we are talking about since some days, > file are fille of 0s instead of their supposed content. Hm. Was that a plain reboot? Did you tried to run reiserfsck --rebuild-tree between reboots before finding files with zeroes. (if you did, that may somewhat explain what you've seen) > I usually restore corrupted file, so I should keep one fopr you, I think. Ok, if it became all zeroes, then I do not need it. Bye, Oleg ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs 2002-02-13 5:56 ` Oleg Drokin @ 2002-02-13 11:11 ` Luigi Genoni 2002-02-13 13:08 ` Oleg Drokin 0 siblings, 1 reply; 27+ messages in thread From: Luigi Genoni @ 2002-02-13 11:11 UTC (permalink / raw) To: Oleg Drokin; +Cc: Alex Riesen, linux-kernel On Wed, 13 Feb 2002, Oleg Drokin wrote: > Hello! > > On Tue, Feb 12, 2002 at 06:13:18PM +0100, Luigi Genoni wrote: > > > I run slackware 8.0.49, and there was no log replaying. > Ok. > > > The corruption is the one we are talking about since some days, > > file are fille of 0s instead of their supposed content. > Hm. Was that a plain reboot? > Did you tried to run reiserfsck --rebuild-tree between reboots before > finding files with zeroes. > (if you did, that may somewhat explain what you've seen) NO, NO. I boot with 2.5, and I make some work, I edit dsome text file with jed and so on, then I do a normal reboot in 2.4.17, without any fsck, there is log reply, it is a normal reboot. Well, some files get corrupted. Please, notice, I even had been so lucky to check one of them immediatelly before the reboot (with cat), it was safe, and after it was corruted. Please note, are corrupted just files that i wrote in 2.5.3/4. I saw I am not the only one with this kind of corruption, I remember at less one related mail. I have no problem to check any patch. Luigi > > > I usually restore corrupted file, so I should keep one fopr you, I think. > Ok, if it became all zeroes, then I do not need it. > > Bye, > Oleg > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs 2002-02-13 11:11 ` Luigi Genoni @ 2002-02-13 13:08 ` Oleg Drokin 2002-02-13 17:15 ` Luigi Genoni 2002-02-13 20:01 ` [reiserfs-dev] 2.5.4-pre1: zero-filled " Alex Riesen 0 siblings, 2 replies; 27+ messages in thread From: Oleg Drokin @ 2002-02-13 13:08 UTC (permalink / raw) To: Luigi Genoni; +Cc: Alex Riesen, linux-kernel Hello! On Wed, Feb 13, 2002 at 12:11:14PM +0100, Luigi Genoni wrote: > > > I run slackware 8.0.49, and there was no log replaying. > then I do a normal reboot in 2.4.17, without any fsck, > there is log reply, it is a normal reboot. Some confusion is going on. So do you have log replay or you do not have log replay? > Well, some files get corrupted. Ok. That's definitely bad. You said you see corruptions on two boxes, right? Is it as simple as boot into 2.5.4, reiserfsck (and see no errors), mount an fs, do something, type "reboot" and reboot into 2.5.4 again, and viola - here are zeroed files. Right? > I saw I am not the only one with this kind of corruption, I remember at > less one related mail. There was flaky hardware on the other report. And I think Alex Riesen cannot reproduce zero files anymore. Bye, Oleg ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs 2002-02-13 13:08 ` Oleg Drokin @ 2002-02-13 17:15 ` Luigi Genoni 2002-02-14 5:50 ` Oleg Drokin 2002-02-13 20:01 ` [reiserfs-dev] 2.5.4-pre1: zero-filled " Alex Riesen 1 sibling, 1 reply; 27+ messages in thread From: Luigi Genoni @ 2002-02-13 17:15 UTC (permalink / raw) To: Oleg Drokin; +Cc: Alex Riesen, linux-kernel On Wed, 13 Feb 2002, Oleg Drokin wrote: > Hello! > > On Wed, Feb 13, 2002 at 12:11:14PM +0100, Luigi Genoni wrote: > > > > > I run slackware 8.0.49, and there was no log replaying. > > then I do a normal reboot in 2.4.17, without any fsck, > > there is log reply, it is a normal reboot. My fault, I was willing to write there is NO log reply, and I wrote it without the NO. > Some confusion is going on. > So do you have log replay or you do not have log replay? > > > Well, some files get corrupted. > Ok. That's definitely bad. You said you see corruptions on two boxes, right? > Is it as simple as boot into 2.5.4, reiserfsck (and see no errors), > mount an fs, do something, type "reboot" and reboot into 2.5.4 again, > and viola - here are zeroed files. Right? It happened when I did reboot from 2.5.4-pre1 to 2.5.4, and my /etc/rc.c/rc.local was full of 0s. And when I did reboot from 2.5.3 to 2.5.3 on the other box and some c source I was editing three ours before were full of 0s. > > > I saw I am not the only one with this kind of corruption, I remember at > > less one related mail. > There was flaky hardware on the other report. And I think Alex Riesen > cannot reproduce zero files anymore. > Those two boxes runned from more than 1 year and no HW problems before.. Luigi ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs 2002-02-13 17:15 ` Luigi Genoni @ 2002-02-14 5:50 ` Oleg Drokin 2002-02-14 9:57 ` reiserfs oops with 2.5.5-pre1 (was: [reiserfs-dev] 2.5.4-pre1:)zero-filled " Luigi Genoni 0 siblings, 1 reply; 27+ messages in thread From: Oleg Drokin @ 2002-02-14 5:50 UTC (permalink / raw) To: Luigi Genoni; +Cc: Alex Riesen, linux-kernel Hello! On Wed, Feb 13, 2002 at 06:15:24PM +0100, Luigi Genoni wrote: > It happened when I did reboot from 2.5.4-pre1 to 2.5.4, and my > /etc/rc.c/rc.local was full of 0s. > And when I did reboot from 2.5.3 to 2.5.3 on the other box and some c > source I was editing three ours before were full of 0s. There was a bug in kernels up to 2.5.4-pre1 (2.5.4-pre2 had a fix), which had similar symtoms. > > > I saw I am not the only one with this kind of corruption, I remember at > > > less one related mail. > > There was flaky hardware on the other report. And I think Alex Riesen > > cannot reproduce zero files anymore. > Those two boxes runned from more than 1 year and no HW problems before.. Great. Thing is if you able to reproduce on 2.5.4-pre2+ without rebooting into earlier 2.5 kernels in-between tries, then it will mean something is not right even in latest kernels. Bye, Oleg ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: reiserfs oops with 2.5.5-pre1 (was: [reiserfs-dev] 2.5.4-pre1:)zero-filled files reiserfs 2002-02-14 5:50 ` Oleg Drokin @ 2002-02-14 9:57 ` Luigi Genoni 2002-02-14 10:01 ` Oleg Drokin 0 siblings, 1 reply; 27+ messages in thread From: Luigi Genoni @ 2002-02-14 9:57 UTC (permalink / raw) To: Oleg Drokin; +Cc: Alex Riesen, linux-kernel Well, with 2.5.5-pre1 i get this oops: PAP-14030: direct2indirect: pasted or inserted byte exists in the treeinvalid operand: 0000 CPU: 0 EIP: 0010:[<c0168dd9>] Not tainted Using defaults from ksymoops -t elf32-i386 -a i386 EFLAGS: 00010286 eax: 00000049 ebx: c01f7a00 ecx: ffffffb7 edx: cfa01180 esi: c154a800 edi: ceeede80 ebp: ceeedda4 esp: ceeedd2c ds: 0018 es: 0018 ss: 0018 Stack: c01f60da c02640c0 c01f7a00 ceeedd50 ceeedd8c cbe5c198 c0171df4 c154a800 c01f7a00 ceeede3c 00000000 cbe76b00 c154a800 00000000 00001000 00000000 cbe5c198 ceeedec0 00000713 00000714 00000001 fffffffe 0040ffff 00000cf4 Call Trace: [<c0171df4>] [<c016055f>] [<c016dba3>] [<c016e4bf>] [<c017283d>] [<c0135cb1>] [<c013638e>] [<c015fb00>] [<c01624e8>] [<c015fb00>] [<c012953d>] [<c013377b>] [<c010886f>] Code: 0f 0b 68 c0 40 26 c0 b8 e0 60 1f c0 8d 96 cc 00 00 00 85 f6 >>EIP; c0168dd8 <reiserfs_panic+28/4c> <===== Trace; c0171df4 <direct2indirect+d4/2d8> Trace; c016055e <reiserfs_get_block+a5e/df4> Trace; c016dba2 <is_tree_node+36/4c> Trace; c016e4be <search_by_key+906/df0> Trace; c017283c <get_cnode+10/78> Trace; c0135cb0 <__block_prepare_write+8c/1f8> Trace; c013638e <block_prepare_write+22/3c> Trace; c015fb00 <reiserfs_get_block+0/df4> Trace; c01624e8 <reiserfs_prepare_write+5c/64> Trace; c015fb00 <reiserfs_get_block+0/df4> Trace; c012953c <generic_file_write+45c/660> Trace; c013377a <sys_write+8e/c4> Trace; c010886e <syscall_call+6/a> Code; c0168dd8 <reiserfs_panic+28/4c> 00000000 <_EIP>: Code; c0168dd8 <reiserfs_panic+28/4c> <===== 0: 0f 0b ud2a <===== Code; c0168dda <reiserfs_panic+2a/4c> 2: 68 c0 40 26 c0 push $0xc02640c0 Code; c0168dde <reiserfs_panic+2e/4c> 7: b8 e0 60 1f c0 mov $0xc01f60e0,%eax Code; c0168de4 <reiserfs_panic+34/4c> c: 8d 96 cc 00 00 00 lea 0xcc(%esi),%edx Code; c0168dea <reiserfs_panic+3a/4c> 12: 85 f6 test %esi,%esi On Thu, 14 Feb 2002, Oleg Drokin wrote: > Hello! > > On Wed, Feb 13, 2002 at 06:15:24PM +0100, Luigi Genoni wrote: > > It happened when I did reboot from 2.5.4-pre1 to 2.5.4, and my > > /etc/rc.c/rc.local was full of 0s. > > And when I did reboot from 2.5.3 to 2.5.3 on the other box and some c > > source I was editing three ours before were full of 0s. > There was a bug in kernels up to 2.5.4-pre1 (2.5.4-pre2 had a fix), > which had similar symtoms. > > > > > I saw I am not the only one with this kind of corruption, I remember at > > > > less one related mail. > > > There was flaky hardware on the other report. And I think Alex Riesen > > > cannot reproduce zero files anymore. > > Those two boxes runned from more than 1 year and no HW problems before.. > Great. > Thing is if you able to reproduce on 2.5.4-pre2+ without rebooting into earlier > 2.5 kernels in-between tries, then it will mean something is not right even > in latest kernels. > > Bye, > Oleg > ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: reiserfs oops with 2.5.5-pre1 (was: [reiserfs-dev] 2.5.4-pre1:)zero-filled files reiserfs 2002-02-14 9:57 ` reiserfs oops with 2.5.5-pre1 (was: [reiserfs-dev] 2.5.4-pre1:)zero-filled " Luigi Genoni @ 2002-02-14 10:01 ` Oleg Drokin 0 siblings, 0 replies; 27+ messages in thread From: Oleg Drokin @ 2002-02-14 10:01 UTC (permalink / raw) To: Luigi Genoni; +Cc: Alex Riesen, linux-kernel [-- Attachment #1: Type: text/plain, Size: 467 bytes --] Hello! On Thu, Feb 14, 2002 at 10:57:13AM +0100, Luigi Genoni wrote: > Well, with 2.5.5-pre1 i get this oops: > > PAP-14030: direct2indirect: pasted or inserted byte exists in the > treeinvalid operand: 0000 It means 2.5.2-dj3 or 2.5.3 kernel, you run some time ago, have damaged your reiserfs filesystem. Now you have to run reiserfsck --rebuild-tree on that partition. Also you need attached patch to be able to user reiserfs on 2.5.5-pre1 at all. Bye, Oleg [-- Attachment #2: new_lookup_locking_fix.diff --] [-- Type: text/plain, Size: 390 bytes --] --- linux-2.5.5-pre1/fs/reiserfs/namei.c.orig Thu Feb 14 11:53:09 2002 +++ linux-2.5.5-pre1/fs/reiserfs/namei.c Thu Feb 14 11:53:17 2002 @@ -344,8 +344,6 @@ struct reiserfs_dir_entry de; INITIALIZE_PATH (path_to_entry); - reiserfs_check_lock_depth("lookup") ; - if (dentry->d_name.len > REISERFS_MAX_NAME_LEN (dir->i_sb->s_blocksize)) return ERR_PTR(-ENAMETOOLONG); ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs 2002-02-13 13:08 ` Oleg Drokin 2002-02-13 17:15 ` Luigi Genoni @ 2002-02-13 20:01 ` Alex Riesen 2002-02-14 5:46 ` Oleg Drokin 1 sibling, 1 reply; 27+ messages in thread From: Alex Riesen @ 2002-02-13 20:01 UTC (permalink / raw) To: Oleg Drokin; +Cc: linux-kernel, Luigi Genoni On Wed, Feb 13, 2002 at 04:08:51PM +0300, Oleg Drokin wrote: > Hello! > > On Wed, Feb 13, 2002 at 12:11:14PM +0100, Luigi Genoni wrote: > > > > > I run slackware 8.0.49, and there was no log replaying. > > then I do a normal reboot in 2.4.17, without any fsck, > > there is log reply, it is a normal reboot. > Some confusion is going on. > So do you have log replay or you do not have log replay? > > > Well, some files get corrupted. > Ok. That's definitely bad. You said you see corruptions on two boxes, right? > Is it as simple as boot into 2.5.4, reiserfsck (and see no errors), > mount an fs, do something, type "reboot" and reboot into 2.5.4 again, > and viola - here are zeroed files. Right? > > > I saw I am not the only one with this kind of corruption, I remember at > > less one related mail. > There was flaky hardware on the other report. And I think Alex Riesen > cannot reproduce zero files anymore. Correct. After applying your patch, indeed. I'm really sorry, i hado no much time to experiment and try again without the patch. Should i try, btw? -alex ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs 2002-02-13 20:01 ` [reiserfs-dev] 2.5.4-pre1: zero-filled " Alex Riesen @ 2002-02-14 5:46 ` Oleg Drokin 0 siblings, 0 replies; 27+ messages in thread From: Oleg Drokin @ 2002-02-14 5:46 UTC (permalink / raw) To: Alex Riesen; +Cc: linux-kernel, Luigi Genoni Hello! On Wed, Feb 13, 2002 at 09:01:56PM +0100, Alex Riesen wrote: > > There was flaky hardware on the other report. And I think Alex Riesen > > cannot reproduce zero files anymore. > Correct. After applying your patch, indeed. > I'm really sorry, i hado no much time to experiment and try > again without the patch. Should i try, btw? Why do you think I will ask you to to risk your data and run without a necessary fix? Or course it is not recommended to run kernel without fixes for known bugs applied. Bye, Oleg ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs 2002-02-12 17:01 ` Oleg Drokin 2002-02-12 17:13 ` Luigi Genoni @ 2002-02-12 19:33 ` Alex Riesen 1 sibling, 0 replies; 27+ messages in thread From: Alex Riesen @ 2002-02-12 19:33 UTC (permalink / raw) To: Oleg Drokin; +Cc: linux-kernel On Tue, Feb 12, 2002 at 08:01:24PM +0300, Oleg Drokin wrote: > Hello! > > What kind of corruption? Can we look at corrupted file if there is something > unusual? > What Linux Distribution do you run? i have my own system (but with sysVinit), and am somewhat sure about unmounts. > You can check cleanness by looking into kernel messages. > If there is "replaying journal" message - umount was not clean. I've had the "replaying journal" after "machine check exception". But after this crash the filesystem was perfect. The zerofiles was before... > > Bye, > Oleg > On Tue, Feb 12, 2002 at 05:55:54PM +0100, Luigi Genoni wrote: > > Sorry but I got a corrupted file also with 2.5.4. I could see it after the > > reboot to 2.4.17. It was /etc/exports and it was OK since i edited it > > running 2.5.4, and It was readable by exportfs, so it corrupted at reboot. > > > > The reboot was clean, of course. Maybe wrong umount? -alex ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs 2002-02-11 12:17 ` Alex Riesen 2002-02-11 13:09 ` Oleg Drokin @ 2002-02-11 14:20 ` Luigi Genoni 1 sibling, 0 replies; 27+ messages in thread From: Luigi Genoni @ 2002-02-11 14:20 UTC (permalink / raw) To: Alex Riesen; +Cc: linux-kernel On Mon, 11 Feb 2002, Alex Riesen wrote: > On Mon, Feb 11, 2002 at 12:52:27PM +0100, Luigi Genoni wrote: > > I got the same with 2.5.4-pre1 on a ATA66 disk, > > chipset i810, PentiumIII with 256 MBRAM, > > and then on Athlon 1300 Mhz, scsi disk, adaptec > > 2940UW, 512MB RAM. > > > > I saw then just after a reboot. > > Those file has been opened three or four days before the reboot expect of > > .history. > > I got no messages, and, that is the most interesting thing, this > > corruption was just for text file. I also edited some binary file with > > kexedit and them have not been corrupted after the reboot. > was the edited file all the time on reiserfs? I mean, maybe kexedit > uses temporary file on some other fs? NO, the backup file is in the same directory with the edited file. But the binary file are very big, while the text file are small, and maybe so small that they are stored in the leaf node and not in a stat data > > > > > > reiserfsck does not show any corruption, and the HW is good. > > I know it is just a "me too", but i can do every test you need on the > > PentiumIII > Oleg, i may have to give you another set of apologies :) The fs problems > the reiserfsck have found could well be from the old kernels (although > the box crashes very rarely, just because the longest uptime is about 3 > hours). > > > > > > Luigi Genoni > > > > On Mon, 11 Feb 2002, Oleg Drokin wrote: > > > > > Hello! > > > > > > On Fri, Feb 08, 2002 at 11:07:13PM +0100, Alex Riesen wrote: > > > > > > > hmm.. You're demanding too much(mkreiserfs) - it's my home partition :) > > > At least reiserfsck before any tests is almost mandratory ;) > > > > > > > Maybe the corruptions are from previous kernels, but the zero-files > > > > are observed for the first time, particularly in the .bash_history. > > > Yes, but you said with the patch you cannot reproduce zero files anymore. > > > > > > > Sorry for such a dirty test environment, i was really not prepared. > > > > Logs attached. > > > I am sorry, but there are so many variables, these logs are barely useful as > > > of now. > > > If you can reproduce on a clean filesystem with not faulty hardware, that > > > would be interesting, though. > ... > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > ^ permalink raw reply [flat|nested] 27+ messages in thread
end of thread, other threads:[~2002-02-14 10:02 UTC | newest]
Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-07 7:23 2.5.4-pre1: zero-filled files resiserfs Alex Riesen
2002-02-07 7:44 ` [reiserfs-dev] " Oleg Drokin
2002-02-07 22:02 ` Alex Riesen
2002-02-08 5:51 ` Oleg Drokin
2002-02-08 6:34 ` Oleg Drokin
2002-02-08 22:07 ` [reiserfs-dev] 2.5.4-pre1: zero-filled files reiserfs Alex Riesen
2002-02-11 5:51 ` Oleg Drokin
[not found] ` <Pine.LNX.4.44.0202111247270.21009-100000@Expansa.sns.it>
2002-02-11 12:17 ` Alex Riesen
2002-02-11 13:09 ` Oleg Drokin
[not found] ` <20020211141422.A16832@steel>
[not found] ` <20020211162743.A1282@namesys.com>
2002-02-11 14:03 ` Alex Riesen
2002-02-11 14:23 ` Luigi Genoni
2002-02-11 14:27 ` Oleg Drokin
2002-02-11 19:19 ` Luigi Genoni
2002-02-12 16:55 ` Luigi Genoni
2002-02-12 17:01 ` Oleg Drokin
2002-02-12 17:13 ` Luigi Genoni
2002-02-13 5:56 ` Oleg Drokin
2002-02-13 11:11 ` Luigi Genoni
2002-02-13 13:08 ` Oleg Drokin
2002-02-13 17:15 ` Luigi Genoni
2002-02-14 5:50 ` Oleg Drokin
2002-02-14 9:57 ` reiserfs oops with 2.5.5-pre1 (was: [reiserfs-dev] 2.5.4-pre1:)zero-filled " Luigi Genoni
2002-02-14 10:01 ` Oleg Drokin
2002-02-13 20:01 ` [reiserfs-dev] 2.5.4-pre1: zero-filled " Alex Riesen
2002-02-14 5:46 ` Oleg Drokin
2002-02-12 19:33 ` Alex Riesen
2002-02-11 14:20 ` Luigi Genoni
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox