xfs
[Top] [All Lists]

Re: Patch 1300 & rpm issue with 1.3.0

To: "Eric Sandeen" <sandeen@xxxxxxx>
Subject: Re: Patch 1300 & rpm issue with 1.3.0
From: "Simon Matter" <simon.matter@xxxxxxxxxxxxxxxx>
Date: Tue, 26 Aug 2003 22:12:40 +0200 (CEST)
Cc: "Kai Leibrandt" <k_leibrandt@xxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
Importance: Normal
In-reply-to: <1061912643.13459.1.camel@xxxxxxxxxxxxxxxxxxxxxx>
References: <Pine.LNX.4.44.0308241122220.16149-100000@xxxxxxxxxxxxxxxxxxxxxx> <3F4B73F3.1A08113B@xxxxxxxxxxxxxxxx> <1061912643.13459.1.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: SquirrelMail/1.4.1
> Simon - the RH9 kernels, where we turned O_DIRECT back on -only- for
> xfs, together with the nptl patches in the RH9 kernel, seems to cause
> problems with RPM - even if the RPM db is not on xfs.

Hmm, and this happens on all x86 platforms?

I'm the maintainer of cyrus-imapd rpms and there was already a big
surprise with nptl kernels in combination with db4. Interestingly the
problem appeared only on AMD K6 and Athlon CPU's. The following error from
cyrus-imapd showed up in syslog:

May 15 13:51:25 co ctl_cyrusdb[10520]: DBERROR: dbenv->open
'/var/lib/imap/db' failed: Function not implemented

This was with the original RedHat kernels as well as on XFS enabled ones.
The solution was to rebuild db4 without --enable-posixmutexes. A modified
spec to rebuild db4 from RedHat is here
http://home.teleport.ch/simix/RPMS/Cyrus-imapd/DB4_for_RH-9/db4.spec

Is it possible that the nonnptl db4 package is a solution for the problem
discussed here? I'll just try it but can someone tell me what problem I
should expect if this fix doesn't work. Does rpm not work at all?

Simon

>
> FWIW, the other solution seems to be to get the latest RPMs from rpm.org
> (4.2.x) which turn off O_DIRECT in the rpm source.
>
> I still don't know what the underlying problem actually is.
>
> -Eric
>
> On Tue, 2003-08-26 at 09:51, Simon Matter wrote:
>
>> Hmm, can somebody explain what the patch 1300 problem is? I have built
>> my own 2.4.20-20.7.XFS1.3.0 and 2.4.20-20.9.XFS1.3.0 rpms and I'm using
>> the 20.7 version on RedHat 7.2 without any problem. Did I miss
>> something? Is there a problem when using in on RedHat 9? Of course 20.9
>> has the nptl patches so should I expect any problems which are not
>> present in 20.7?
>
> --
> Eric Sandeen      [C]XFS for Linux   http://oss.sgi.com/projects/xfs
> sandeen@xxxxxxx   SGI, Inc.          651-683-3102
>
>


-- 
Simon Matter              Tel:  +41 61 695 57 35
Fr.Sauter AG / CIT        Fax:  +41 61 695 53 30
Im Surinam 55
CH-4016 Basel             [mailto:simon.matter@xxxxxxxxxxxxxxxx]


<Prev in Thread] Current Thread [Next in Thread>