Ext3 Corruption CF

From: Matthew C. Higgins (mhiggins_at_ccs.neu.edu)
Date: 08/07/03


Date: Thu, 07 Aug 2003 10:50:35 -0400

I'm working on a small embedded Linux device and am having fs corruption
issues using ext3. Here is the scenario.

The device has a 512MB CF(SanDisk) and an on-board flash. Kernels sit in
the on-board flash and are booted via redboot. They are all custom
kernels 2.4.18. w/ ext3 opts' on and DMA off.

The CF is partitioned with fdisk into two equal slices hda1 and
hda2.They are then formated ext3 with standard options i.e. just the -j
flag to mke2fs.

On the 1st run the systems start successfully ! When we reboot or power
cycle and start again the kernel hangs at the partition check. To
recover the system we boot to a maintenance kernel and run fsck. Note we
must run fsck with the -f flag as fsck thinks the fs is OK. A number of
orphan inodes are repaired and upon reboot the system stars successfully.

I have attempted to circumvent the partition check with hda=noprobe and
passing the drive geometry at boot. This passes the partition check but
I get a panic when the kernel is unable to mount the root fs.

This has been a very frustrating issue if any one could provide some
insight it would be greatly appreciated.



Relevant Pages

  • Re: Ext3 Corruption CF
    ... > I'm working on a small embedded Linux device and am having fs corruption ... > cycle and start again the kernel hangs at the partition check. ... > recover the system we boot to a maintenance kernel and run fsck. ... Ext3 is more robust to ...
    (comp.os.linux.embedded)
  • iowait problems on 2.6, not on 2.4
    ... and a external RAID connected to a QLA2200/QLA2xxx FC-SCSI Host Bus ... Using one partition on the first HD for the root partition, ... Would that mean I have some problem with the kernel? ... I also tried to use the ext3 data partition instead of the ...
    (Linux-Kernel)
  • Kernel panic - Confused partitions
    ... my linux redhat 7.3 (kernel 2.4.18) failed to start. ... Can't find ext3 filesystem on dev ide0 ... My fat32 partition was /dev/hda9 instead of /dev/hda6 ...
    (alt.os.linux)
  • Kernel panic - Confused partitions
    ... my linux redhat 7.3 (kernel 2.4.18) failed to start. ... Can't find ext3 filesystem on dev ide0 ... My fat32 partition was /dev/hda9 instead of /dev/hda6 ...
    (linux.redhat)
  • kernel oops: assertion failure at journal:576 (ext3 issue?)
    ... We are running centos 4.4 kernel. ... CPU: L2 Cache: 1024K ... EXT3-fs: INFO: recovery required on readonly filesystem. ... EXT3 FS on dm-0, internal journal ...
    (Linux-Kernel)