Skip to contentSkip to conversation

conditions for the db4/nptl bug?

DISCUSSION Nils Toedtmann 2 participants 3 messages Feb 8, 2007

lore
Share & tools
lore
#0 lore raw

Hi *,

i run several CentOS4 systems as xen3 domU, and all of them suffer from the well-known-to-this-list db4/nptl bug:

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

so that i needed to rebuild db4 to make cyrus-imapd work. But a member of the centos devel ML reported that he has no problem at all running cyrus-imapd. Our setups are almost identical (dom0=FC6, xen-3.0-x86_32p, domU=CentOS-4.4 with kernel-xenU-2.6.9-* from Jason Baron), and the only difference we found was the CPU: my systems all run on intel, his on amd. That made us curious:

Does - on 32bit systems - the db4/nptl bug depend on the CPU? The feature "syscall" is only present on the amd CPU, is there a relation?

(i hope my question is not too silly ;)

/nils.

#1 lore raw
Quoted 4 lines

so that i needed to rebuild db4 to make cyrus-imapd work. But a member of the centos devel ML reported that he has no problem at all running cyrus-imapd. Our setups are almost identical (dom0=FC6,

xen-3.0-x86_32p,

Quoted 1 line

domU=CentOS-4.4 with kernel-xenU-2.6.9-* from Jason Baron), and the

only

Quoted 5 lines

difference we found was the CPU: my systems all run on intel, his on amd. That made us curious:

Does - on 32bit systems - the db4/nptl bug depend on the CPU? The feature "syscall" is only present on the amd CPU, is there a relation?

No, it doesn't depend on the CPU.

The easiest solution is just to download the patched glibc from the XenSource web site or build your own. This is a much better solution than disabling TLS.

Ian

#2 lore raw

Am Donnerstag, den 08.02.2007, 12:23 +0000 schrieb Ian Pratt:

Quoted 5 lines
Quoted 3 lines

so that i needed to rebuild db4 to make cyrus-imapd work. But a member of the centos devel ML reported that he has no problem at all running cyrus-imapd. Our setups are almost identical (dom0=FC6,

xen-3.0-x86_32p,

Quoted 1 line

domU=CentOS-4.4 with kernel-xenU-2.6.9-* from Jason Baron), and the

Quoted 8 lines

only

Quoted 5 lines

difference we found was the CPU: my systems all run on intel, his on amd. That made us curious:

Does - on 32bit systems - the db4/nptl bug depend on the CPU? The feature "syscall" is only present on the amd CPU, is there a relation?

No, it doesn't depend on the CPU.

OK. What else may be the reason that the bug does not strike on an almost identical, pristine centos4?

Quoted 3 lines

The easiest solution is just to download the patched glibc from the XenSource web site or build your own. This is a much better solution than disabling TLS.

Agreed. I once built my domU mailservers before there was a patched and update-sync'd glibc for Centos4/RHEL4 available (back in the xen2 days). Since they run fine, i'll keep my evil workaround till CentOS5 is out.

/nils.