Skip to contentSkip to conversation

BTW: 2.4.19-patches-to-come?

DISCUSSION Dieter Nützel 5 participants 15 messages May 17, 2002 – May 20, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 17 lines · oleg Drokin

Hello!

Quoted 3 lines · Manuel Krause

I was curious and I stay curious, as I don't see any program deleting 3 files just before every crash... (I don't have sizes, places and names...)

It is not necessarily happened to files direectly to a crash. Any open file, that was deleted, cannot be deleted until it is closed. e.g. if you'd do "sleep 1000000 </path/somefile ; rm /path/somefile", /path/somefile won't be deleted until sleep finishes.
If system crash occured and there were still some open, but deleted files, these files gets removed as part of recovery from crash process. And it is not possible to find file's names/paths because corresponding directory entries were already deleted.

Quoted 3 lines

BTW it is absolutely the same thing happens with ext2, once you see e2fsck complains about "DTIME is zero", it deletes not-yet-deleted-but-scheduled-for-deletion files.

Sorry Oleg, that I jump in, here...

I get from time to time corrupted files (after reboot and replay) which are _NOT_ written during/before crash!!!
It happes during huge C++ compilation of one of my 3D VIS apps.

After reboot I have waste in the original *.cxx files. This is very strange and time consuming 'cause I have to remove every broken file by hand and recreate it with CVS when the compiler hit it during the next run.

A similar thing happen during kernel compilations.
When the system crash (due to kernel devel stuff) some *.o or mostly .*.o.flags files are broken after replay/reboot. Yes, this time they are written before/during crash and rebuild during replay, but it should much more usefull if they were only _REMOVED_ during replay. Because the "next" kernel build can't run smooth without "make clean" or deletion by hand. What do you think?

Here comes how it looks after C++ case:

c++ -O -mcpu=k6 -pipe -mpreferred-stack-boundary=2 -malign-functions=4 -fschedule-insns2 -fexpensive-optimizations -DvtkRenderingPython_EXPORTS -fPIC -I/opt/VTK/V4.0/VTK/Rendering -I/opt/VTK/V4.0/VTK/Rendering -I/opt/VTK/V4.0/VTK/Hybrid -I/opt/VTK/V4.0/VTK/Patented -I/opt/VTK/V4.0/VTK -I/opt/VTK/V4.0/VTK/Common -I/opt/VTK/V4.0/VTK/Filtering -I/opt/VTK/V4.0/VTK/Imaging -I/opt/VTK/V4.0/VTK/Graphics -I/opt/VTK/V4.0/VTK/IO -I/opt/VTK/V4.0/VTK/Utilities/zlib -I/opt/VTK/V4.0/VTK/Utilities/png -I/opt/VTK/V4.0/VTK/Utilities/jpeg -I/opt/VTK/V4.0/VTK/Utilities/tiff -I/opt/VTK/V4.0/VTK/Utilities/expat -I/opt/VTK/V4.0/VTK/Common/Testing/Cxx -I/usr/include/python2.1 -I/usr/X11R6/include -c /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballCameraPython.cxx -o vtkInteractorStyleTrackballCameraPython.o
make[3]: *** [vtkInteractorStyleJoystickActorPython.o] Error 1 make[3]: *** Waiting for unfinished jobs....
make[3]: *** [vtkInteractorStyleJoystickCameraPython.o] Error 1 /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballPython.cxx:1: parse error before %' /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballPython.cxx:4: character constant too long /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballPython.cxx:4: unknown escape sequence: \' followed by char code 0xe /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballPython.cxx:17:
character constant too long /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballPython.cxx:17:
character constant too long /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballPython.cxx:44:
character constant too long /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballActorPython.cxx:1:
unterminated character constant /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballActorPython.cxx:14:
unterminated character constant /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballPython.cxx:44: unknown escape sequence `\@' /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballPython.cxx:44:
character constant too long /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballPython.cxx:44:
nondigits in number and not hexadecimal /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballPython.cxx:44:
nondigits in number and not hexadecimal /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballPython.cxx:44:
character constant too long /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballCameraPython.cxx:43:
unterminated string or character constant /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballCameraPython.cxx:43:
possible real start of unterminated constant /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballCameraPython.cxx:1:
syntax error before `(' /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballCameraPython.cxx:42:
character constant too long /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballActorPython.cxx:1:
parse error before `0' /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballActorPython.cxx:2:
character constant too long /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballActorPython.cxx:2:
nondigits in number and not hexadecimal /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballActorPython.cxx:2:
nondigits in number and not hexadecimal /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballActorPython.cxx:2:
unknown escape sequence: `\' followed by char code 0x91 /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballActorPython.cxx:2:
character constant too long /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballActorPython.cxx:6:
character constant too long /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballActorPython.cxx:6:
unknown escape sequence: `\' followed by char code 0xf /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballActorPython.cxx:14:
character constant too long /opt/VTK/V4.0/VTK/Rendering/vtkInteractorStyleTrackballActorPython.cxx:43:
character constant too long
make[3]: *** [vtkInteractorStyleTrackballPython.o] Error 1 make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Rendering] Error 2
make: *** [default_target] Error 2

Have a look into the falsely "rebuild" broken files in the attachment, too.

Thanks,
Dieter

Signature · 6 lines
Dieter Nützel
Graduate Student, Computer Science

University of Hamburg
Department of Computer Science
@home: [email protected]
#1 lore raw
Quoted 9 lines · Dieter Nützel

Sorry Oleg, that I jump in, here...

I get from time to time corrupted files (after reboot and replay) which are _NOT_ written during/before crash!!!
It happes during huge C++ compilation of one of my 3D VIS apps.

After reboot I have waste in the original *.cxx files. This is very strange and time consuming 'cause I have to remove every broken file by hand and recreate it with CVS when the compiler hit it during the next run.

Is this on IDE? With tails turned on? Are all the affected files less than 16k?

Quoted 5 lines

A similar thing happen during kernel compilations.
When the system crash (due to kernel devel stuff) some *.o or mostly .*.o.flags files are broken after replay/reboot. Yes, this time they are written before/during crash and rebuild during replay,

This will be taken care of by the data=ordered patches. I'm combining them with the data logging stuff.

-chris

#2 lore raw
Quoted 7 lines · Chris Mason
Quoted 6 lines · Dieter Nützel

Sorry Oleg, that I jump in, here...

I get from time to time corrupted files (after reboot and replay) which are _NOT_ written during/before crash!!!
It happes during huge C++ compilation of one of my 3D VIS apps.

Quoted 6 lines
Quoted 4 lines

After reboot I have waste in the original *.cxx files. This is very strange and time consuming 'cause I have to remove every broken file by hand and recreate it with CVS when the compiler hit it during the next run.

Is this on IDE?

What? Never ever had such "things" on my private system...;-)

If you need the ultimative U160 disk look at the Fujitsu MAM3184 (18 GB) or the bigger brother (36 GB). 15k RPM, 3.5 ms read, 4.0 ms write, silent like the current ATA-5/6 (!!!) and fast as hell (max 88.9 MB/s) disk transfer rate (!!!). Sadly my old AHA-2940UW can't handle them correctly even as they should "down compatible". Time for a real U160 controller (any bounties?)...-;)

Quoted 1 line

With tails turned on?

Not at all.

/dev/sda3 on / type reiserfs (rw,noatime,notail) /dev/sda2 on /tmp type reiserfs (rw,notail) /dev/sda5 on /var type reiserfs (rw,notail) /dev/sda6 on /home type reiserfs (rw,notail) /dev/sda7 on /usr type reiserfs (rw,notail) /dev/sda8 on /opt type reiserfs (rw,notail) /dev/sdb1 on /Pakete type reiserfs (rw,notail) /dev/sdb5 on /database/db1 type reiserfs (rw,notail) /dev/sdb6 on /database/db2 type reiserfs (rw,notail) /dev/sdb7 on /database/db3 type reiserfs (rw,notail) /dev/sdb8 on /database/db4 type reiserfs (rw,notail)

Quoted 1 line

Are all the affected files less than 16k?

I have to recheck (regenerate the "test case" --- push the power button).

To be precise I got this with and without the data logging patch applied but I haven't mounted with data logging.

Most (all) former kernel versions with and without preemption+lock-break shown the same.

Quoted 7 lines
Quoted 4 lines

A similar thing happen during kernel compilations.
When the system crash (due to kernel devel stuff) some *.o or mostly .*.o.flags files are broken after replay/reboot. Yes, this time they are written before/during crash and rebuild during replay,

This will be taken care of by the data=ordered patches. I'm combining them with the data logging stuff.

Ah, then it's time for my data logging results.

See it in my next post.

-Dieter

#3 lore raw
Quoted 7 lines · Dieter Nützel
Quoted 4 lines · Chris Mason
Quoted 1 line · Dieter Nützel

Sorry Oleg, that I jump in, here...

Are all the affected files less than 16k?

I have to recheck (regenerate the "test case" --- push the power button).

Ups, see the two attached files, again.
One is below 16k, the other above.

-Dieter

#4 lore raw
In reply to Dieter Nützel
Quoted 8 lines · Dieter Nützel
Quoted 7 lines · Chris Mason
Quoted 6 lines · Dieter Nützel

Sorry Oleg, that I jump in, here...

I get from time to time corrupted files (after reboot and replay) which are _NOT_ written during/before crash!!!
It happes during huge C++ compilation of one of my 3D VIS apps.

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

After reboot I have waste in the original *.cxx files. This is very strange and time consuming 'cause I have to remove every broken file by hand and recreate it with CVS when the compiler hit it during the next run.

Is this on IDE?

What? Never ever had such "things" on my private system...;-)

Ah. What I was hoping for was that tail conversions + writeback caching were causing these corrupted files. Clearly that isn't the case. I'd be really interested to see if you could reproduce on a vanilla kernel.

-chris

#5 lore raw
In reply to Dieter Nützel

Hello!

Quoted 11 lines · Dieter N?tzel
Quoted 11 lines

It is not necessarily happened to files direectly to a crash. Any open file, that was deleted, cannot be deleted until it is closed. e.g. if you'd do "sleep 1000000 </path/somefile ; rm /path/somefile", /path/somefile won't be deleted until sleep finishes.
If system crash occured and there were still some open, but deleted files, these files gets removed as part of recovery from crash process. And it is not possible to find file's names/paths because corresponding directory entries were already deleted.
BTW it is absolutely the same thing happens with ext2, once you see e2fsck complains about "DTIME is zero", it deletes not-yet-deleted-but-scheduled-for-deletion files.

Quoted 3 lines

Sorry Oleg, that I jump in, here...
I get from time to time corrupted files (after reboot and replay) which are _NOT_ written during/before crash!!!

What is the corruption pattern?

Quoted 1 line

It happes during huge C++ compilation of one of my 3D VIS apps.

atime is still updated, I think. What was the crash, btw? Hard power loss?

Quoted 3 lines

A similar thing happen during kernel compilations.
When the system crash (due to kernel devel stuff) some *.o or mostly .*.o.flags files are broken after replay/reboot. Yes, this time they are

This is expected.

Quoted 4 lines

written before/during crash and rebuild during replay, but it should much more usefull if they were only _REMOVED_ during replay. Because the "next" kernel build can't run smooth without "make clean" or deletion by hand. What do you think?

These files are not deleted, so why fs should delete these?

Quoted 1 line

Have a look into the falsely "rebuild" broken files in the attachment, too.

Later today

Bye,
Oleg

#6 lore raw
Quoted 15 lines · Oleg Drokin

Hello!

Quoted 12 lines · Dieter N?tzel
Quoted 11 lines

It is not necessarily happened to files direectly to a crash. Any open file, that was deleted, cannot be deleted until it is closed. e.g. if you'd do "sleep 1000000 </path/somefile ; rm /path/somefile", /path/somefile won't be deleted until sleep finishes.
If system crash occured and there were still some open, but deleted files, these files gets removed as part of recovery from crash process. And it is not possible to find file's names/paths because corresponding directory entries were already deleted.
BTW it is absolutely the same thing happens with ext2, once you see e2fsck complains about "DTIME is zero", it deletes not-yet-deleted-but-scheduled-for-deletion files.

Quoted 5 lines
Quoted 3 lines

Sorry Oleg, that I jump in, here...
I get from time to time corrupted files (after reboot and replay) which are _NOT_ written during/before crash!!!

What is the corruption pattern?

Have a look into the two examples.

Quoted 3 lines
Quoted 1 line

It happes during huge C++ compilation of one of my 3D VIS apps.

atime is still updated, I think.

Yes, could be the case. The partition is not mounted with "noatime".

Quoted 2 lines

What was the crash, btw?
Hard power loss?

No.
"Only" hard lookup. Sadly SysReq is not working ;-(

Quoted 4 lines
Quoted 3 lines

A similar thing happen during kernel compilations.
When the system crash (due to kernel devel stuff) some *.o or mostly .*.o.flags files are broken after replay/reboot. Yes, this time they are

Quoted 8 lines

This is expected.

Quoted 4 lines

written before/during crash and rebuild during replay, but it should much more usefull if they were only _REMOVED_ during replay. Because the "next" kernel build can't run smooth without "make clean" or deletion by hand. What do you think?

These files are not deleted, so why fs should delete these?

Yes, you are right. But semantically they are worthless 'cause they are "broken"...

Quoted 4 lines
Quoted 2 lines

Have a look into the falsely "rebuild" broken files in the attachment, too.

Later today

Hey, it's weekend then...;-)

Happy Whitsun everyone!

Regards,
Dieter

#7 lore raw

Hello!

Quoted 2 lines · Dieter N?tzel
Quoted 1 line

What is the corruption pattern?

Have a look into the two examples.

I will, but later, it seems.

Quoted 4 lines
Quoted 2 lines

What was the crash, btw?
Hard power loss?

No.
"Only" hard lookup. Sadly SysReq is not working ;-(

And you fix it by "reset switch"?

BTW, Was that you with a kernel with lot of patches applied, or you do not use anything strange on your workstations?

Quoted 7 lines
Quoted 5 lines
Quoted 4 lines

written before/during crash and rebuild during replay, but it should much more usefull if they were only _REMOVED_ during replay. Because the "next" kernel build can't run smooth without "make clean" or deletion by hand. What do you think?

These files are not deleted, so why fs should delete these?

Yes, you are right. But semantically they are worthless 'cause they are "broken"...

FS cannot know this. Absolutely cannot.
File was created, written into. So file appears after reboot (if transaction in which it was created was commited).
BTW, I have a feeling that datalogging patches would help to get rid of garbage in the files, but files still will remain (may be of zero length).

Quoted 4 lines
Quoted 3 lines
Quoted 2 lines

Have a look into the falsely "rebuild" broken files in the attachment, too.

Later today

Hey, it's weekend then...;-)

So what? ;)

Quoted 1 line

Happy Whitsun everyone!

Hm. What's that? ;)

Bye,
Oleg

#8 lore raw
Quoted 9 lines · Oleg Drokin

Hello!

Quoted 3 lines · Dieter N?tzel
Quoted 1 line

What is the corruption pattern?

Have a look into the two examples.

I will, but later, it seems.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

What was the crash, btw?
Hard power loss?

No.
"Only" hard lookup. Sadly SysReq is not working ;-(

And you fix it by "reset switch"?

Yes, but fix? 8-)
System come up "normal" do the replay and is smooth except of the "few" broken files.

Quoted 2 lines

BTW, Was that you with a kernel with lot of patches applied, or you do not use anything strange on your workstations?

Yes, but it happen with and without data logging, preemption, aa_VM, etc.

I can reproduce it with some "new" page coloring stuff (only). When I modprobe the page coloring module (it is under development) the system lookup from time to time during heavy (parallel) compilation for example. Then I get the broken files.

Quoted 11 lines
Quoted 9 lines
Quoted 6 lines
Quoted 4 lines

written before/during crash and rebuild during replay, but it should much more usefull if they were only _REMOVED_ during replay. Because the "next" kernel build can't run smooth without "make clean" or deletion by hand. What do you think?

These files are not deleted, so why fs should delete these?

Yes, you are right. But semantically they are worthless 'cause they are "broken"...

FS cannot know this. Absolutely cannot.

Yes, I know for sure.

Quoted 2 lines

File was created, written into. So file appears after reboot (if transaction in which it was created was commited).

Maybe the FS should have some knowledge "build in" to "decide" that *.o files are "temperär" and should be removed during replay?

Quoted 2 lines

BTW, I have a feeling that datalogging patches would help to get rid of garbage in the files, but files still will remain (may be of zero length).

Yes, Chris said this, too.

Quoted 9 lines
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Have a look into the falsely "rebuild" broken files in the attachment, too.

Later today

Hey, it's weekend then...;-)

So what? ;)

:-)

Quoted 3 lines
Quoted 1 line

Happy Whitsun everyone!

Hm. What's that? ;)

Here in Germany the two Whitsun days Sunday and Monday are (high christian) feasts and most people are out for short vacation.

-Dieter

BTW I have to work, tomorrow ;-)

#9 lore raw

Hello!

Quoted 7 lines · Dieter N?tzel
Quoted 2 lines

BTW, Was that you with a kernel with lot of patches applied, or you do not use anything strange on your workstations?

Yes, but it happen with and without data logging, preemption, aa_VM, etc. I can reproduce it with some "new" page coloring stuff (only). When I modprobe the page coloring module (it is under development) the system lookup from time to time during heavy (parallel) compilation for example. Then I get the broken files.

Well, sounds like page colouring stuff mistakenly writes some pages in wrong location, no?
If you cannot reproduce without page colouring patch, that would be the most probably theory, I'd say.

Quoted 4 lines
Quoted 2 lines

File was created, written into. So file appears after reboot (if transaction in which it was created was commited).

Maybe the FS should have some knowledge "build in" to "decide" that *.o files are "temper?r" and should be removed during replay?

No, there is absolutely no way for such kludges to go into the FS, I think. And it even may be the case where .o file was created, commited, and then journal record obsoletted, because metadata got it's way to the disk, so file is already in place (without the body, or with garbage instead of the body), but it have nothing to do with journal.

Quoted 3 lines
Quoted 2 lines

BTW, I have a feeling that datalogging patches would help to get rid of garbage in the files, but files still will remain (may be of zero length).

Yes, Chris said this, too.

He said it will help your problem, I think. But zero length .o files will still confuse linker.

Bye,
Oleg

#10 lore raw
Quoted 6 lines · Oleg Drokin

Hello!

Quoted 3 lines · Dieter N?tzel
Quoted 2 lines

BTW, Was that you with a kernel with lot of patches applied, or you do not use anything strange on your workstations?

Quoted 8 lines
Quoted 5 lines

Yes, but it happen with and without data logging, preemption, aa_VM, etc. I can reproduce it with some "new" page coloring stuff (only). When I modprobe the page coloring module (it is under development) the system lookup from time to time during heavy (parallel) compilation for example. Then I get the broken files.

Well, sounds like page colouring stuff mistakenly writes some pages in wrong location, no?

Yes, that could be the case.

Quoted 2 lines

If you cannot reproduce without page colouring patch, that would be the most probably theory, I'd say.

That isn't what I've said. I only said I can "reproduce" the kernel crash with page coloring the easiest way.

The problem of broken files appear during "any" kernel crash which I get from time to time during devel kernel stuff testing/developing.

Quoted 11 lines
Quoted 5 lines
Quoted 2 lines

File was created, written into. So file appears after reboot (if transaction in which it was created was commited).

Maybe the FS should have some knowledge "build in" to "decide" that *.o files are "temper?r" and should be removed during replay?

No, there is absolutely no way for such kludges to go into the FS, I think. And it even may be the case where .o file was created, commited, and then journal record obsoletted, because metadata got it's way to the disk, so file is already in place (without the body, or with garbage instead of the body), but it have nothing to do with journal.

I understand this very well, but "all" talking about making computer systems and FSs more "intelligent"...;-)

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

BTW, I have a feeling that datalogging patches would help to get rid of garbage in the files, but files still will remain (may be of zero length).

Yes, Chris said this, too.

He said it will help your problem, I think. But zero length .o files will still confuse linker.

So what's your advice then? Mounting all FSs with "noatime"?

Thanks,
Dieter

#11 lore raw

Hello!

Quoted 11 lines · Dieter N?tzel
Quoted 6 lines
Quoted 4 lines

I can reproduce it with some "new" page coloring stuff (only). When I modprobe the page coloring module (it is under development) the system lookup from time to time during heavy (parallel) compilation for example. Then I get the broken files.

Well, sounds like page colouring stuff mistakenly writes some pages in wrong location, no?

Yes, that could be the case.

Quoted 2 lines

If you cannot reproduce without page colouring patch, that would be the most probably theory, I'd say.

That isn't what I've said. I only said I can "reproduce" the kernel crash with page coloring the easiest way.

Sorry, I misinterpreted it, then. Perhaps I was confused by "only" word in sentence above.

Quoted 8 lines
Quoted 7 lines
Quoted 4 lines
Quoted 3 lines

BTW, I have a feeling that datalogging patches would help to get rid of garbage in the files, but files still will remain (may be of zero length).

Yes, Chris said this, too.

He said it will help your problem, I think. But zero length .o files will still confuse linker.

So what's your advice then? Mounting all FSs with "noatime"?

noatime have nothing to do with wrong content of recently created files after crash.
It was only my guess that atime updates might have caused corruptions on file read. But you are not using IDE. Anyway, you can try and tell us.

Bye,
Oleg

#12 lore raw
Quoted 35 lines · Oleg Drokin

Hello!

Quoted 8 lines · Dieter N?tzel
Quoted 8 lines
Quoted 5 lines

I can reproduce it with some "new" page coloring stuff (only). When I modprobe the page coloring module (it is under development) the system lookup from time to time during heavy (parallel) compilation for example. Then I get the broken files.

Well, sounds like page colouring stuff mistakenly writes some pages in wrong location, no?

Quoted 7 lines

Yes, that could be the case.

Quoted 3 lines

If you cannot reproduce without page colouring patch, that would be the most probably theory, I'd say.

That isn't what I've said. I only said I can "reproduce" the kernel crash with page coloring the easiest way.

Sorry, I misinterpreted it, then. Perhaps I was confused by "only" word in sentence above.

Quoted 11 lines
Quoted 9 lines
Quoted 6 lines
Quoted 4 lines

BTW, I have a feeling that datalogging patches would help to get rid of garbage in the files, but files still will remain (may be of zero length).

Yes, Chris said this, too.

He said it will help your problem, I think. But zero length .o files will still confuse linker.

So what's your advice then? Mounting all FSs with "noatime"?

Quoted 8 lines

noatime have nothing to do with wrong content of recently created files after crash.
It was only my guess that atime updates might have caused corruptions on file read. But you are not using IDE. Anyway, you can try and tell us.

Bye,
Oleg

Thank you all, for keeping me informed, too!

I have all my partitions mounted -o [...+]noatime and the reiserfs ones with [+]notail since many years as it was said to bring a performance gain (never proved it myself). As I get same errors as Dieter but on IDE disks (!)... that "noatime" might not solve the problem for recently accessed files (like it may occur on a crash with a running KDE with its setup files, too).

Though having some *.o files when a kernel-or-so compile fails and I need to make a "make mrproper", e.g., to get it in order again I don't want them all to be removed "intelligently" by the FS. Oleg, you explained it right. I don't want some files vanishing completely upon intermediate crash (so, even if not everything has been built and I may need to recompile or reset /all/ after restart). But in fact it can be very complicated to find the corrupted=broken-but-not-deleted file sometimes.

Oleg, another approach to the original topics' problems as I can't say what files are accessed and unlinked/deleted before crash with sense with my typical crash pattern: How can I try to monitor accessed files just before my typical crash patterns (to see what reiserfs makes of them after crash)? I really want to watch what gets restored, recovered or deleted if possible. So far I don't get a logic from your explanations to my ReiserFS' behaviour on this, sorry, though I understood your and Chris words on this. Is there a way to do this "snapshot"?

Dieter, do you have a time relation of your crashes? I mean e.g. related in secs or mins after system startup? My "most loved crashes" (without-page-colouring, of course) occur approx. 2min after startup with full Seti-load or formerly on a "make bzlilo" without "sync" after "make bzImage" (formerly = "with unusable bdflush and harddisk settings").

Chris, can we have an answer on Dieters questions ("What's wrong?") in thread "[reiserfs-list] Re: data-logging on top of linux-2.4.19p7-compound-speedup-2.patch", and a notification on your future patchset for latest official reiserfs stuff, thank you! Really, with your patches from ftp.suse.com I did not feel well adjusting lines by hand (see Dieters questions on this...)

Bye, and thanks, again,
have a nice Whitsun (never new the english words and that explanation before Dieter mentionning it, have to work all-day though, too, thanks!)

Manuel

#13 lore raw

Hello!

Quoted 5 lines · Manuel Krause

Oleg, another approach to the original topics' problems as I can't say what files are accessed and unlinked/deleted before crash with sense with my typical crash pattern: How can I try to monitor accessed files just before my typical crash patterns (to see what reiserfs makes of them after crash)?

Since usually you cannot reliable predict a crash time (note, that if you can and it is SW fault, you should file a bug report instead, I think).

Quoted 2 lines

I really want to watch what gets restored, recovered or deleted if possible. So far I don't get a logic from your explanations to my

You get keys of all objects truncated or deleted during mount. deleted keys won't help you as they are deleted, truncated files can be found by tjeir key (e.g. debugreiserfs -d /dev/hda and look for the first 2 numbers in a key).

Quoted 2 lines

ReiserFS' behaviour on this, sorry, though I understood your and Chris words on this. Is there a way to do this "snapshot"?

I think Chris said you can get a snapshot using intermezzo + datalogging patchs from Chris.

Quoted 5 lines

Dieter, do you have a time relation of your crashes? I mean e.g. related in secs or mins after system startup? My "most loved crashes" (without-page-colouring, of course) occur approx. 2min after startup with full Seti-load or formerly on a "make bzlilo" without "sync" after "make bzImage" (formerly = "with unusable bdflush and harddisk settings").

You mean, once you start CPU-intensive task, everything dies pretty soon? Are you sure you do not have hardware/overheating problems.
I had a problem on my WS, if I'd run 20 instances of
while :; do:; done
my WS would hang in under 5 minutes. This was fixed by adding 2 extra cooles to the case.

Bye,
Oleg

#14 lore raw
Quoted 2 lines · Oleg Drokin

Since usually you cannot reliable predict a crash time (note, that if you can and it is SW fault, you should file a bug report instead, I think).

Wasn't there a Dilbert cartoon about a PHB that wanted advance announcement of unscheduled outages? ;)