Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 11 Sep 2002 11:33:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 11 Sep 2002 11:33:46 -0400 Received: from angband.namesys.com ([212.16.7.85]:1408 "HELO angband.namesys.com") by vger.kernel.org with SMTP id ; Wed, 11 Sep 2002 11:33:45 -0400 Date: Wed, 11 Sep 2002 19:38:29 +0400 From: Oleg Drokin To: Jens Axboe Cc: Ingo Molnar , Robert Love , Thomas Molina , linux-kernel@vger.kernel.org, andre@linux-ide.org Subject: Re: 2.5 Problem Status Report Message-ID: <20020911193829.A851@namesys.com> References: <20020911120551.A937@namesys.com> <20020911102507.GA1364@suse.de> <20020911102926.GB1364@suse.de> <20020911144740.A911@namesys.com> <20020911105807.GF1089@suse.de> <20020911151602.A830@namesys.com> <20020911111726.GJ1089@suse.de> <20020911114903.GK1089@suse.de> <20020911161021.A962@namesys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20020911161021.A962@namesys.com> User-Agent: Mutt/1.3.22.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1609 Lines: 43 Hello! On Wed, Sep 11, 2002 at 04:10:21PM +0400, Oleg Drokin wrote: > > > > Ok, with other patch it still fails in the same way. > > > > I have not backed out other patch so I tested with both patches perent. > > > alright, seems I do have to try it myself... ok will do that. > > with both patches I sent applied, the bug does _not_ exist here as > > expected. could you please double check that they are applied, and that > > you have booted the right kernel? a make clean just to be on the safe > > side might be a good idea :-) > Well, now it works for me too. Not sure why it was working previous time, > because all the patches were in place. I will play more with it later today. It's me again. And I have bad news. I have figured why it works for you and did not worked for me. Try following patch (inspired by Ingo) to get nice BUG on bootup again. Without the patch ext2 works with your fixes, but reiserfs is not working, so it seems there are constant preempt counter underflows that later gets corrected. Bye, Oleg ===== include/linux/preempt.h 1.6 vs edited ===== --- 1.6/include/linux/preempt.h Fri Sep 6 04:18:30 2002 +++ edited/include/linux/preempt.h Wed Sep 11 19:28:42 2002 @@ -17,7 +17,8 @@ #define dec_preempt_count() \ do { \ - preempt_count()--; \ + if ( --preempt_count()) \ + BUG(); \ } while (0) #ifdef CONFIG_PREEMPT - 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/