From: Christopher Faylor <cgf@redhat.com>
To: Warren Togami <warren@togami.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: rpm-4.2 problem with kernel-2.5.65 NPTL
Date: Fri, 21 Mar 2003 00:17:48 -0500 [thread overview]
Message-ID: <20030321051748.GA12336@redhat.com> (raw)
In-Reply-To: <3E7A9E20.4000908@togami.com>
[reply-to set]
On Thu, Mar 20, 2003 at 07:07:44PM -1000, Warren Togami wrote:
>Jeff Johnson suspected from this behavior that NPTL in my kernel is
>broken in kernel-2.5.65 compiled with gcc-3.2.2-2. Any ideas of what I
>can try?
I think I tracked this down yesterday to the fact that RPM is opening
its files with the O_DIRECT flag and then is trying to create a sparse
file. If I am reading the archives of this mailing list correctly, this
is no longer supported.
I "solved" the problem by rebuilding rpm. It didn't use the O_DIRECT
flag when I rebuilt it and things seemed to work better.
Sure wish I remembered LD_ASSUME_KERNEL=2.2.5 yesterday when I was
banging my head against the wall trying to figure this out...
cgf
>(I am not subscribed to LKML at the moment. Please CC me. Thanks.)
>Warren Togami
>warren@togami.com
>
>On Thu, 2003-03-20 at 07:22, Jeff Johnson wrote:
>
>>> On Wed, Mar 19, 2003 at 11:43:29PM -1000, Warren Togami wrote:
>>
>>>> > rpm-4.2-0.70 seems to be broken while I am using kernel-2.5.65 with
>>>> > Rawhide. When I use LD_ASSUME_KERNEL=2.2.5 it works properly as
>you can
>>>> > see below.
>>>> >
>>>> > Is this a bug in rpm or upstream kernel? Should I file a Red Hat
>>>> > Bugzilla report for rpm?
>>>> >
>>
>>>
>>> Then you have a broken NPTL implementation, which is a glibc/kernel,
>>> not rpm, problem.
>>>
>>
>>>> > (Is rpm-4.2-0.72 or higher available packaged anywhere?)
>>
>>>
>>> Use CVS. rpm-4.2 is on the -r rpm-4_2 branch.
>>>
>>> 73 de Jeff
>
>
>[root@laptop root]# rpm -Uvh gaim*
>rpmdb: write: 0xbfffd350, 8192: Invalid argument
>error: db4 error(22) from dbenv->open: Invalid argument
>error: cannot open Packages index using db3 - Invalid argument (22)
>error: cannot open Packages database in /var/lib/rpm
>rpmdb: unable to join the environment
>error: db4 error(11) from dbenv->open: Resource temporarily unavailable
>error: cannot open Packages database in /var/lib/rpm
>rpmdb: unable to join the environment
>error: db4 error(11) from dbenv->open: Resource temporarily unavailable
>error: cannot open Packages database in /var/lib/rpm
>[root@laptop root]# ls
>bin gaim-0.60-0.fdr.0.1.cvs20030319.i386.rpm
>gaim-plugin-encrypt-0.60-0.fdr.0.1.cvs20030319.i386.rpm kernel
>[root@laptop root]# LD_ASSUME_KERNEL=2.2.5 rpm -Uvh gaim*
>Preparing... ###########################################
>[100%]
> 1:gaim ###########################################
>[ 50%]
> 2:gaim-plugin-encrypt ###########################################
>[100%]
>[root@laptop root]# uname -a
>Linux laptop 2.5.65 #2 Tue Mar 18 23:39:11 HST 2003 i686 athlon i386
>GNU/Linux
>[root@laptop root]# rpm -q rpm
>rpmdb: unable to join the environment
>error: db4 error(11) from dbenv->open: Resource temporarily unavailable
>error: cannot open Packages index using db3 - Resource temporarily
>unavailable (11)
>error: cannot open Packages database in /var/lib/rpm
>package rpm is not installed
>[root@laptop root]# LD_ASSUME_KERNEL=2.2.5 rpm -q rpm
>rpm-4.2-0.70
prev parent reply other threads:[~2003-03-21 5:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-21 5:07 rpm-4.2 problem with kernel-2.5.65 NPTL Warren Togami
2003-03-21 5:17 ` Christopher Faylor [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030321051748.GA12336@redhat.com \
--to=cgf@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=warren@togami.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.