From: Jens Axboe <axboe@kernel.dk>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Andreas Dilger <adilger.kernel@dilger.ca>,
"Theodore Ts'o" <tytso@mit.edu>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"Xen-devel@lists.xensource.com" <Xen-devel@lists.xensource.com>
Subject: Re: linux-next regression: IO errors in with ext4 and xen-blkfront
Date: Fri, 22 Oct 2010 10:18:45 +0200 [thread overview]
Message-ID: <4CC148E5.2030605@kernel.dk> (raw)
In-Reply-To: <4CBF84C9.6050606@goop.org>
On 2010-10-21 02:09, Jeremy Fitzhardinge wrote:
> On 10/20/2010 05:04 PM, Jeremy Fitzhardinge wrote:
>> Hi,
>>
>> When doing some regression testing with Xen on linux-next, I'm finding
>> that my domains are failing to get through the boot sequence due to IO
>> errors:
>>
>> Remounting root filesystem in read-write mode: EXT4-fs (dm-0): re-mounted. Opts: (null)
>> [ OK ]
>> Mounting local filesystems: EXT3-fs: barriers not enabled
>> kjournald starting. Commit interval 5 seconds
>> EXT3-fs (xvda1): using internal journal
>> EXT3-fs (xvda1): mounted filesystem with writeback data mode
>> SELinux: initialized (dev xvda1, type ext3), uses xattr
>> SELinux: initialized (dev xenfs, type xenfs), uses genfs_contexts
>> [ OK ]
>> Enabling local filesystem quotas: [ OK ]
>> Enabling /etc/fstab swaps: Adding 917500k swap on /dev/mapper/vg_f1364-lv_swap. Priority:-1 extents:1 across:917500k
>> [ OK ]
>> SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts
>> Entering non-interactive startup
>> Starting monitoring for VG vg_f1364: 2 logical volume(s) in volume group "vg_f1364" monitored
>> [ OK ]
>> ip6tables: Applying firewall rules: [ OK ]
>> iptables: Applying firewall rules: [ OK ]
>> Bringing up loopback interface: [ OK ]
>> Bringing up interface eth0:
>> Determining IP information for eth0... done.
>> [ OK ]
>> Starting auditd: [ OK ]
>> end_request: I/O error, dev xvda, sector 0
>> end_request: I/O error, dev xvda, sector 0
>> end_request: I/O error, dev xvda, sector 9675936
>> Aborting journal on device dm-0-8.
>> Starting portreserve: EXT4-fs error (device dm-0): ext4_journal_start_sb:259: Detected aborted journal
>> EXT4-fs (dm-0): Remounting filesystem read-only
>> [ OK ]
>> Starting system logger: EXT4-fs (dm-0): error count: 4
>> EXT4-fs (dm-0): initial error at 1286479997: ext4_journal_start_sb:251
>> EXT4-fs (dm-0): last error at 1287618175: ext4_journal_start_sb:259
>>
>>
>> I haven't tried to bisect this yet (which will be awkward because
>> linux-next had also introduced various Xen bootcrashing bugs), but I
>> wonder if you have any thoughts about what may be happening here. I
>> guess an obvious candidate is the barrier changes in the storage
>> subsystem, but I still get the same errors if I mount root with barrier=0.
>
> Hm. I get the same errors, but the system boots to login prompt rather
> than hanging at that point above, and seems generally happy. So perhaps
> barriers are the key.
To test that theory, can you try and pull the two other main bits of the
pending block patches and see if it works?
git://git.kernel.dk/linux-2.6-block.git for-2.6.37/core
git://git.kernel.dk/linux-2.6-block.git for-2.6.37/drivers
and if that works, then pull
git://git.kernel.dk/linux-2.6-block.git for-2.6.37/barrier
and see how that fares.
--
Jens Axboe
next prev parent reply other threads:[~2010-10-22 8:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-21 0:04 linux-next regression: IO errors in with ext4 and xen-blkfront Jeremy Fitzhardinge
2010-10-21 0:09 ` Jeremy Fitzhardinge
2010-10-22 8:18 ` Jens Axboe [this message]
2010-10-22 8:29 ` Christoph Hellwig
2010-10-22 8:54 ` Jens Axboe
2010-10-22 8:56 ` Christoph Hellwig
2010-10-22 8:57 ` Jens Axboe
2010-10-22 9:20 ` Christoph Hellwig
2010-10-25 18:26 ` [Xen-devel] " Konrad Rzeszutek Wilk
2010-10-25 18:47 ` Christoph Hellwig
2010-10-25 19:05 ` Konrad Rzeszutek Wilk
2010-10-26 12:49 ` Daniel Stodden
2010-10-27 10:23 ` Christoph Hellwig
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=4CC148E5.2030605@kernel.dk \
--to=axboe@kernel.dk \
--cc=Xen-devel@lists.xensource.com \
--cc=adilger.kernel@dilger.ca \
--cc=jeremy@goop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tytso@mit.edu \
/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