Re: system crash during file copy to a floppy with bad sectors




On Sat, 6 May 2006, Kris Kennaway wrote:

On Saturday 06 May 2006 09:33, Rostislav Krasny wrote:
Can you get a back trace? ie enable crash dumps and do it again, or
transcribe, or photograph the screen as it panics if you are local.

Unfortunately I cannot reproduce it now. Doesn't the old log help?
There is one "Fatal trap 12".

Only if you have the backtrace I think.

In attempt to "emulate" bad sectors I got another crash, that looks similar (but not exactly same) to the original two crashes. I just pulled out the diskette before file copy is finished. I know, that must never be done, but sometimes people are in a great hurry or just do mistakes. IMHO that isn't a good reason for a system crash.

It's a known and hard-to-fix problem, though.

BTW, this is generally a question of resilience of individual file systems to on-disk corruption and failures. UFS is quite tricky to make robust against disk destruction, since it relies on strong consistenty guarantees for performance reasons. FAT, on the other hand, is a file system we should be able to make more robust quite a bit more easily. I think there would really be two phases to such a project:

(1) Make FAT (msdosfs) MPSAFE, perform general cleanup.

(2) Improve robustiness in the face of media failure.

The reason FAT is particularly interesting, of course, is its widespread use on removable media such as USB sticks.

Robert N M Watson
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: shed dedicate fondly than justify with Sadams arbitrary judgement
    ... If you'll threaten Said's village with cameras, ... reason into the tower is too disastrous for Ayaz to age it. ... Some distinctive missions rest Vance, ... Are you fat, I mean, retiring by local thoughts? ...
    (sci.crypt)
  • Re: Joke
    ... >> instead of just telling you the fat ... gram of protien has 4 calories ... 90 gr carb from dry oatmeal in my house says 555 ... >> power of reason. ...
    (alt.support.diabetes)
  • Re: NTFS &FAT Compatibility
    ... Yes, I know the file systems are different, but in the documentation that I ... NTFS and FAT are completely different file systems and the ... >> technology of 'walking the structure of allocated files'. ...
    (microsoft.public.vstudio.general)
  • Re: File cache effecting access time...
    ... > The reason I ask is I want to test my hypothesis that ... > the 'last accessed' timestamp is not refreshed when a file is cached... ... "Note Not all file systems can record creation and last access time and not ... access time has a resolution of 1 hour. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: (OT)/(META) Because some bitches never learn and need to be reminded...
    ... for some very insecure people. ... reason there has been a concentrated effort amongst the lesser- ... And the reason people impersonate you is because they enjoy making you ... dance the supersede, fat boy. ...
    (rec.sport.pro-wrestling)