Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964804AbWAKToF (ORCPT ); Wed, 11 Jan 2006 14:44:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964808AbWAKToF (ORCPT ); Wed, 11 Jan 2006 14:44:05 -0500 Received: from ns.virtualhost.dk ([195.184.98.160]:11350 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id S964804AbWAKToD (ORCPT ); Wed, 11 Jan 2006 14:44:03 -0500 Date: Wed, 11 Jan 2006 20:45:18 +0100 From: Jens Axboe To: Reuben Farrelly Cc: Andrew Morton , neilb@suse.de, mingo@elte.hu, linux-kernel@vger.kernel.org, Jeff Garzik , htejun@gmail.com Subject: Re: 2.6.15-mm2 Message-ID: <20060111194517.GE5373@suse.de> References: <20060110213056.58f5e806.akpm@osdl.org> <43C4E2BE.6050800@reub.net> <20060111030529.0bc03e0a.akpm@osdl.org> <20060111111313.GD3389@suse.de> <43C4EEA4.3050502@reub.net> <20060111115616.GE3389@suse.de> <43C518BC.5090903@reub.net> <20060111145201.GS3389@suse.de> <20060111145504.GT3389@suse.de> <43C55B31.5000201@reub.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43C55B31.5000201@reub.net> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1760 Lines: 49 On Thu, Jan 12 2006, Reuben Farrelly wrote: > > > On 12/01/2006 3:55 a.m., Jens Axboe wrote: > >On Wed, Jan 11 2006, Jens Axboe wrote: > >>It's not too tricky, you just need to correct that function prototype. > >>Could you do that? Would be nice to know _exactly_ which libata > >>changeset caused this malfunction. But it does of course point at the > >>barrier changes for scsi/libata... > > > >You can also try something quicker - use a newer kernel known to exhibit > >the problem, and apply this patch on top of that: > > > >diff --git a/drivers/md/md.c b/drivers/md/md.c > >index 0302723..720ace4 100644 > >--- a/drivers/md/md.c > >+++ b/drivers/md/md.c > >@@ -436,6 +436,7 @@ void md_super_write(mddev_t *mddev, mdk_ > > bio->bi_rw = rw; > > > > atomic_inc(&mddev->pending_writes); > >+#if 0 > > if (!test_bit(BarriersNotsupp, &rdev->flags)) { > > struct bio *rbio; > > rw |= (1< >@@ -444,6 +445,7 @@ void md_super_write(mddev_t *mddev, mdk_ > > rbio->bi_end_io = super_written_barrier; > > submit_bio(rw, rbio); > > } else > >+#endif > > submit_bio(rw, bio); > > } > > ...and with that patch, I can now boot up 2.6.15-mm3 (repeated twice). So > yes, looks like that's where the problem lies. At least it shows that the problem is indeed barrier related. I don't have the start of this thread, so can you please send me the output from dmesg from this kernel boot? I'm curious whether the fallback triggers, or if it's the barrier that fails instead. -- Jens Axboe - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/