Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 2 Aug 2002 07:49:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 2 Aug 2002 07:49:58 -0400 Received: from ns.virtualhost.dk ([195.184.98.160]:40584 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id ; Fri, 2 Aug 2002 07:49:56 -0400 Date: Fri, 2 Aug 2002 13:53:21 +0200 From: Jens Axboe To: martin@dalecki.de Cc: Stephen Lord , Linux Kernel Mailing List Subject: Re: A new ide warning message Message-ID: <20020802115321.GE1055@suse.de> References: <1028288066.1123.5.camel@laptop.americas.sgi.com> <3D4A6F43.4010908@evision.ag> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D4A6F43.4010908@evision.ag> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1057 Lines: 29 On Fri, Aug 02 2002, Marcin Dalecki wrote: > U?ytkownik Stephen Lord napisa?: > >In 2.5.30 I started getting these warning messages out ide during > >the mount of an XFS filesystem: > > > >ide-dma: received 1 phys segments, build 2 > > > >Can anyone translate that into English please. > > It can be found in pcidma.c. > It is repoting that we have one physical segment needed by > the request in question but the sctter gather list allocation > needed to break it up for mapping in two. You don't seem to realise that this is a BUG (somewhere, could even be in the generic mapping functions)! blk_rq_map_sg() must never map a request to more entries that rq->nr_segments, that's just very wrong. That's why I'm suspecting the recent pcidma changes. Just a feeling, I have not looked at them. -- 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/