xfs
[Top] [All Lists]

Re: Patch 1300 & rpm issue with 1.3.0

To: Steve Lord <lord@xxxxxxx>
Subject: Re: Patch 1300 & rpm issue with 1.3.0
From: Axel Thimm <Axel.Thimm@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 29 Aug 2003 19:21:28 +0300
Cc: "Foris, Jim (MED)" <james.foris@xxxxxxxxxx>, Russell Cattelan <cattelan@xxxxxxx>, "Foris, Jim (MED)" <foris@xxxxxxxxxxxxxxxx>, Eric Sandeen <sandeen@xxxxxxx>, Kai Leibrandt <k_leibrandt@xxxxxxxxxxx>, "'Simon Matter'" <simon.matter@xxxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <1062165707.22918.1292.camel@jen.americas.sgi.com>
References: <Pine.LNX.4.44.0308280914100.19961-100000@stout.americas.sgi.com> <3F4E5AD3.80101@med.ge.com> <1062111109.4318.6.camel@naboo> <1062115583.1695.25.camel@laptop.americas.sgi.com> <3F4F3F97.9010701@med.ge.com> <1062165707.22918.1292.camel@jen.americas.sgi.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Fri, Aug 29, 2003 at 09:01:47AM -0500, Steve Lord wrote:
> On Fri, 2003-08-29 at 06:57, Foris, Jim (MED) wrote:
> 
> > 
> > Turns out that information is in my original posting:
> > 
> >      4144  write(2, "write: 0xbffed120, 8192: Invalid"..., 41) = 41 
> > <0.000012>
> > 
> > So the buffer address, 0xbffed120, is NOT correctly alligned.
> > 
> > 
> > AND THE MYSTERY IS SOLVED; RPM fails because the person who tried to use
> > O_DIRECT file access to an internal database file did not check 
> > for/guarantee
> > correct buffer address alignment.  This bug did not show up to Red Hat 
> > because
> > they never tested it (RPM) on a file system that actually supports O_DIRECT
> > (because they don't have any).
> > 
> 
> Can someone bug ;-) redhat about this one then?

Already known problem there. Solution is to hack out O_DIRECT support
in rpm in the specfile. Unfortunately this leaves the tarball itself
with the buggy O_DIRECT calls in place.

See a forward from the rpm-list to this list in a minute.
-- 
Axel.Thimm@xxxxxxxxxxxxxxxxxxx

Attachment: pgpXOC3sCYIcG.pgp
Description: PGP signature

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