Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755924AbZCDCCb (ORCPT ); Tue, 3 Mar 2009 21:02:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751149AbZCDCCT (ORCPT ); Tue, 3 Mar 2009 21:02:19 -0500 Received: from www.tglx.de ([62.245.132.106]:49480 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750725AbZCDCCS (ORCPT ); Tue, 3 Mar 2009 21:02:18 -0500 Date: Wed, 4 Mar 2009 03:01:56 +0100 (CET) From: Thomas Gleixner To: James Bottomley cc: Jan Engelhardt , Boaz Harrosh , linux-scsi@vger.kernel.org, Linux Kernel Mailing List , linux-ide Subject: Re: [BUG] 2.6.29-rc6-2450cf in scsi_lib.c (was: Large amount of scsi-sgpool)objects In-Reply-To: <1236119195.24019.24.camel@localhost.localdomain> Message-ID: References: <49ACF8FE.2020904@panasas.com> <1236093718.3263.3.camel@localhost.localdomain> <1236097526.3263.17.camel@localhost.localdomain> <1236119195.24019.24.camel@localhost.localdomain> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1667 Lines: 46 On Tue, 3 Mar 2009, James Bottomley wrote: > On Tue, 2009-03-03 at 23:07 +0100, Thomas Gleixner wrote: > > On Tue, 3 Mar 2009, Thomas Gleixner wrote: > > > My bad. I was playing with that to get rid of the aic7xxx wreckage on > > > one of my test boxen and forgot to remove it. > > > > While the one below is definitey not my fault. It's on Linus latest: > > > > commit 2450cf51a1bdba7037e91b1bcc494b01c58aaf66 > > > > While compiling a kernel I triggerred the BUG below. Not so nice as it > > took a whole filesystem with it. fsck took more than 20 min to recover > > the leftovers :( > > > > Thanks, > > > > tglx > > > > > > ------------[ cut here ]------------ > > kernel BUG at /home/tglx/work/kernel/git/linux-2.6/drivers/scsi/scsi_lib.c:1141! > > This is BUG_ON(count > sdb->table.nents); > > It looks like the sg list got split and grew in size ... I suspect this > might be libata related, so cc'ing the ide list. I suspect either the > block layer initially parametrised this wrongly (tomo bug) or a sg list > got split then requeued (something in libata?). FYI, after I've lost a full day of work including the results of four "iozone -a -g 4G" runs I tried to reproduce the problem on that machine - the leftovers of the filesystem are pretty useless anyway. It took about 2hrs to trigger the bug again. Same back trace. Anything I can do what might help to decode the problem ? Thanks, tglx -- 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/