public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Frey <cdfrey@foursquare.net>
To: linux-kernel@vger.kernel.org
Subject: ext3 filesystem corruption in user mode linux
Date: Fri, 24 Sep 2010 00:14:10 -0400	[thread overview]
Message-ID: <20100924041410.GA18040@foursquare.net> (raw)

Hi,

I'm running a stock 2.6.35.4 kernel, on both the host and the guest.

For one test, I've loaded a stage3 gentoo system including portage,
created completely on the host, using dd, a 10gig sparse virtual disk,
mkfs.ext3, and the gentoo tarballs.  (I get fs corruption with Ubuntu
guests as well).

If I do some heavy CPU and disk work in the guest, something like this:

	# (cd /usr && tar cjf - portage) | tar xjf -
	# rm -rf portage

Then the filesystem corrupts itself, giving errors like the following
in dmesg, during the rm:

    EXT3-fs error (device ubda): ext3_lookup: deleted inode referenced: 51715

I've posted my kernel configs online here:

	Host: http://foursquare.net/kernel/host-config.txt
	UML:  http://foursquare.net/kernel/uml-config.txt

I'm not sure what the next debugging step should be.  I can test different
versions of UML kernels, or test patches, if more testing is needed.

Thanks,
- Chris


             reply	other threads:[~2010-09-24  4:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-24  4:14 Chris Frey [this message]
2010-09-24  6:05 ` ext3 filesystem corruption in user mode linux Chris Frey
2010-09-24  6:44   ` Chris Frey
2010-09-27 21:04     ` richard -rw- weinberger
2010-09-27 21:18       ` Chris Frey
2010-09-27 21:25         ` richard -rw- weinberger
2010-09-27 21:26           ` Chris Frey
2010-09-27 21:59             ` Chris Frey
     [not found]               ` <AANLkTinmCxYrjdYoDUE6+zg1i1QSJxt5ngN84FrjWJaj@mail.gmail.com>
     [not found]                 ` <20100927221225.GA22343@foursquare.net>
     [not found]                   ` <AANLkTi=iSSffp-48g0XAOYBSnodAsEh20j2EtHW=4Egt@mail.gmail.com>
2010-09-28  0:48                     ` Chris Frey
2010-09-27 20:54 ` Chris Frey
2010-09-27 21:00   ` Randy Dunlap

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=20100924041410.GA18040@foursquare.net \
    --to=cdfrey@foursquare.net \
    --cc=linux-kernel@vger.kernel.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