mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Cyril Hrubis <metan@ucw.cz>
To: Stanislav Brabec <utx@penguin.cz>
Cc: Kristoffer Ericson <kristoffer.ericson@gmail.com>,
	linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org,
	Robert Hancock <hancockrwd@gmail.com>, Tejun Heo <tj@kernel.org>,
	Dominik Brodowski <linux@dominikbrodowski.net>,
	Jeff Garzik <jgarzik@pobox.com>,
	pavel@ucw.cz, rpurdie@rpsys.net, lenz@cs.wisc.edu,
	arminlitzel@web.de, thommycheck@gmail.com, dbaryshkov@gmail.com,
	omegamoon@gmail.com, eric.y.miao@gmail.com,
	zaurus-devel@www.linuxtogo.org,
	Marek Vasut <marek.vasut@gmail.com>
Subject: Re: zaurus pata_pcmcia corrupted filesystem
Date: Sat, 21 Aug 2010 11:51:37 +0200	[thread overview]
Message-ID: <20100821095137.GA22301@atrey.karlin.mff.cuni.cz> (raw)
In-Reply-To: <1281795351.15157.3.camel@utx.lan>

Hi!
> > These seems to be different, at least it newer occured so often to me. Now
> > installing debian packages often fails because it cannot remove temporary
> > files, the filesystem worked reasonably good before.
> > 
> > The usecase is to unpack archive with a lot rather small files somewhere deeper
> > to the filesystem tree. Eg. installing gtk2-devel failed miserably when trying
> > to move all the header files from *.h.dpkg-new to *.h, this works rather good
> > with old driver.
> 
> Well, I remember opkg crashes while installing emacs (many small files)
> and file system corruption as well. Both with kernel 2.6.26.
>

The main difference is that now it's 100% reproducible and I've never seen
corruption bad enough so I could not delete files without doing fsck first.

Here is pseudo output from fsck on ext3 filesystem after these problems
appeared:

Pass 2:

Bunch of these:

Invalid HTREE directory inode $NUMBER
$PATH/$FILE
Clear HTree index<y>?

and these:

Problem in HTree directory inode $NUMBER: block #$NR has bad max hash

Pass 3:

Bunch of:

Entry '$FILE in $PATH ($NUMBER) has a non-unique filename.
Rename to $FILE~0<y>?

Happily the files/directories affected was only the recently written from the
kernel from marex tree.  I haven't seen file content to be corrupted (that
doesn't mean there weren't any corruptions) but it seems they are not so likely
as directory tree corruption.

-- 
metan

      reply	other threads:[~2010-08-21  9:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-11 14:44 Cyril Hrubis
2010-08-14  4:16 ` Marek Vasut
2010-08-14 16:48   ` Cyril Hrubis
2010-08-14  9:43 ` Kristoffer Ericson
2010-08-14 10:43   ` Stanislav Brabec
2010-08-14 11:39     ` Cyril Hrubis
2010-08-14 14:15       ` Stanislav Brabec
2010-08-21  9:51         ` Cyril Hrubis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100821095137.GA22301@atrey.karlin.mff.cuni.cz \
    --to=metan@ucw.cz \
    --cc=arminlitzel@web.de \
    --cc=dbaryshkov@gmail.com \
    --cc=eric.y.miao@gmail.com \
    --cc=hancockrwd@gmail.com \
    --cc=jgarzik@pobox.com \
    --cc=kristoffer.ericson@gmail.com \
    --cc=lenz@cs.wisc.edu \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@dominikbrodowski.net \
    --cc=marek.vasut@gmail.com \
    --cc=omegamoon@gmail.com \
    --cc=pavel@ucw.cz \
    --cc=rpurdie@rpsys.net \
    --cc=thommycheck@gmail.com \
    --cc=tj@kernel.org \
    --cc=utx@penguin.cz \
    --cc=zaurus-devel@www.linuxtogo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®