Re: Filesystem and files getting corrupted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 25 Jun 2013 12:28:15 +0200, meccomaria@xxxxxxxxx said:
> I'm really newbie and I don't know if this may help at all, but I googled
> "corruption of the file system debug" and found
> http://linux.die.net/man/8/debugfs

That won't help you debug a filesystem - debugfs is *itself* a pseudo-filesystem
that allows kernel programmers to import/export large amounts of debugging
info from the kernel - it was created because there are some restrictions
in the procfs (for /proc) and sysfs (for /sys) filesystems that make them not
very useful for bulk data.

Most distros mount debugfs at /sys/kernel/debug - so everything under that
is handled by debugfs rather than sysfs.

For Daniel's original question:

> We already tryied vfat and ext3 fs.. changed media, changed machines...
> The filesystem runs on mmc card, or on usb flash drive...

This tends to indicate that the problem is *not* a filesystem issue - you're
just *noticing* corruption of your filesystem by some *other* kernel code.

I'd rebuild the kernel, and turn on every kernel debugging option related to
memory management you can find under the 'Kernel Hacking' menu.  In particular,
you want CONFIG_DEBUG_SLAB and also CONFIG_DEBUG_STACKOVERFLOW.  Also, many
kernel subsystems have debugging code for themselves, you may want to turn
on as many of them as you can.

Also, Manish Katiyar <mkatiyar@xxxxxxxxx> had some good suggestions to help
narrow down the problem.

Attachment: pgp7DMVc3Xlmv.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux