Specifications
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.3. .gvfs: Permission Denied
Question:
When trying to install the ELDK, I get error messages like this for each and every package that gets
installed:
Preparing... ################### 100%
1: rpm... ################### 100%
Error: Failed to stat /home/wd/.gvfs: Permission Denied
This happens even though I run the installer as root.
Answer:
Even though flagged as an error, these messages are harmless warnings that can be safely ignored.
Before the RPM tool starts to install a package, it checks if there is sufficient space for it in the file
system. Unfortunately it is dumb and checks all mounted file systems for space, but the permissions
of the ".gvfs" directory (the mount point for the Gnome Virtual File System) do not permit this.
Note:
Actually the messages are not printed despite the fact that you are running as root, but because you
run as root. You have permissions to check the "$HOME/.gvfs" directory, while root gets an error:
14.1.3. .gvfs: Permission Denied 152