All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: NPTL/db4 problem with FC3
@ 2005-03-21 21:34 Ian Pratt
  2005-03-22  7:50 ` Nils Toedtmann
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Ian Pratt @ 2005-03-21 21:34 UTC (permalink / raw)
  To: Nils Toedtmann, Xen devel list; +Cc: ian.pratt

 > It turned out to be a FC specific db4 problem with non-NPTL-aware
> ARCHes:
> 
>   <https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=91933>
> 
> Unfortunatly, RedHat closed this bug as WONTFIX, but it's 
> still present
> with FC3 on ARCH={xen,um}. /lib/tls and /usr/lib/tls moved away, the
> LD_ASSUME_KERNEL workaround does not help, too.

We have a trivial patch to NTPL glibc that make it "xen-friendly",
providing glibc is built with the "-mno-tls-direct-seg-refs" option to
gcc.

It's currently undergoing testing, and I expect we'll check it in to the
repo later this week.

Ian


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 12+ messages in thread
* RE: NPTL/db4 problem with FC3
@ 2005-04-05 11:51 Ian Pratt
  2005-04-16 11:20 ` Nils Toedtmann
  0 siblings, 1 reply; 12+ messages in thread
From: Ian Pratt @ 2005-04-05 11:51 UTC (permalink / raw)
  To: Nils Toedtmann, Keir Fraser; +Cc: xen-devel

> Sorry for being insistent, but what about that "trivial patch 
> to NTPL glibc" you told me about?

Christian's away -- he'll check it in when he's back.
You also need to build glibc (and ideally any other binaries that use
tls) with:
  "-mno-tls-direct-seg-refs"

Ian

^ permalink raw reply	[flat|nested] 12+ messages in thread
* NPTL/db4 problem with FC3
@ 2005-03-21 20:32 Nils Toedtmann
  0 siblings, 0 replies; 12+ messages in thread
From: Nils Toedtmann @ 2005-03-21 20:32 UTC (permalink / raw)
  To: Xen devel list

This is a cross post to <xen-devel@lists.sourceforge.net> and <user-
mode-linux-user@lists.sourceforge.net>


Dear lists,

Anybody successfully running cyrus-imapd in FC2/3+Xen/UML? When i tried
to run cyrus-imapd in a virtual FC3 (Xen or UML) i got lot's of

  DBERROR db4: Berkeley DB library configured to support only
               DB_PRIVATE environments
  DBERROR: dbenv->open '/var/lib/imap/db' failed: Invalid argument
  DBERROR: init() on berkeley

It turned out to be a FC specific db4 problem with non-NPTL-aware
ARCHes:

  <https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=91933>

Unfortunatly, RedHat closed this bug as WONTFIX, but it's still present
with FC3 on ARCH={xen,um}. /lib/tls and /usr/lib/tls moved away, the
LD_ASSUME_KERNEL workaround does not help, too.

So i followed the way of Radu Greab and rebuilt db4 using his patches
and specfile

  <https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=100060>

It was tricky, but worked. As this is an ugly workaround (eg it bombs
with apt/yum updating) i look for a better solution. 

Anybody?

/nils.
--
no sig



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-04-16 19:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-21 21:34 NPTL/db4 problem with FC3 Ian Pratt
2005-03-22  7:50 ` Nils Toedtmann
2005-03-25 11:48 ` Tupshin Harper
2005-04-04 17:00 ` Nils Toedtmann
2005-04-04 19:55   ` Rik van Riel
2005-04-04 20:12     ` Keir Fraser
2005-04-04 20:19       ` Rik van Riel
2005-04-05 11:22       ` Nils Toedtmann
  -- strict thread matches above, loose matches on Subject: below --
2005-04-05 11:51 Ian Pratt
2005-04-16 11:20 ` Nils Toedtmann
2005-04-16 19:04   ` Kip Macy
2005-03-21 20:32 Nils Toedtmann

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.