Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263748AbTENCNp (ORCPT ); Tue, 13 May 2003 22:13:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263749AbTENCNp (ORCPT ); Tue, 13 May 2003 22:13:45 -0400 Received: from CPE-24-163-212-250.mn.rr.com ([24.163.212.250]:41347 "EHLO www.enodev.com") by vger.kernel.org with ESMTP id S263748AbTENCNo (ORCPT ); Tue, 13 May 2003 22:13:44 -0400 Subject: Re: odd db4 error with 2.5.69-mm4 [was Re: Huraaa for 2.5] From: Shawn To: William Lee Irwin III Cc: "linux-kernel@vger.kernel.org" , Andrew Morton In-Reply-To: <20030514021826.GI8978@holomorphy.com> References: <1052866461.23191.4.camel@www.enodev.com> <20030514012731.GF8978@holomorphy.com> <1052877161.3569.17.camel@www.enodev.com> <20030514021826.GI8978@holomorphy.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1052879063.3569.31.camel@www.enodev.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.3.3 (Preview Release) Date: 13 May 2003 21:24:23 -0500 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1036 Lines: 23 Thanks for all the help! So, is it that there is likely misuse of O_DIRECT somewhere (db4, rpm, etc)? Wonder if I should bother filing a bug if rpm has a bugzilla... On Tue, 2003-05-13 at 21:18, William Lee Irwin III wrote: > They appear to either not be running in equivalent environments or > something has gone horribly wrong. The diff is incredibly noisy and not > useful for debugging, could you strace the working kernel's bit as root? > > Also, things start getting wildly different after both examine DB_CONFIG, > where 2.4 and 2.5 open different files with different options, i.e. 2.5 > does O_DIRECT on /var/lib/rpm/__db.001 and 2.4 never touches that file, > and 2.4 never does O_DIRECT either. > > This may very well have something to do with the difference in > privileges. - 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/