Skip to main content.

ELDK Installation Hangs

Question:
I try to install the ELDK on a Linux PC, and the installation hangs. It starts fine, but then it freezes like this:
...
Preparing...                ########################################### [100%]
   1:db4-devel-ppc_4xx      ########################################### [100%]
Preparing...                ########################################### [100%]
   1:db4-utils-ppc_4xx      ########################################### [100%]
Preparing...                ########################################### [100%]
   1:glib2-ppc_4xx          ########################################### [100%]
Preparing...                ########################################### [100%]
   1:glib2-devel-ppc_4xx    ########################################### [100%]
Preparing...                ########################################### [100%]

<hangs here>
Answer:
This is almost certainly a FUTEX problem. To verify this, please wait until the process grinds to a halt, then use ps to find the pid of the "rpm" process that was started by the "install" program (use "ps -axf" which gives you a nice hierarchy, look for the "install" process, then for "rpm") and then attach to it with "strace -p". Most probably you will see the something like this:
# strace -p 21197
Process 21197 attached - interrupt to quit
futex(0x96fe17c, FUTEX_WAIT_PRIVATE, 1, NULL
i. e. the process is hanging in a futex call.
We have seen this more than once with differing Linux systems, but unfortunately we don't know a clean and reliable way to fix it yet. We suspect that it is a kernel/libc combination problem because it usually went away usually after changing the exact used kernel version.
The only workaround we can recommend so far is to update your host system and install more recent versions of the Linux kernel and/or the glibc C library (assuming such are available for your Linux distribution; if not, falling back to a previous kernel version may help, too).
Note: This is only needed for the installer, the problem does not happen with the regular use of the ELDK.
14.1.1. ELDK Installation under FreeBSD 1. Abstract 14.1.3. .gvfs: Permission Denied
Prev Home Next