ldd leaves the machine unresponsive

Anton Shterenlikht mexas at bristol.ac.uk
Wed Mar 17 16:32:32 UTC 2010


Just updated to ia64 r205248

If my problem is due to my mis-configuration,
I apologise in advance.

I run this shell script after each upgrade
and 'make delete-old-libs' to check
if any shared objects need to be rebuilt:

<start script>

#!/bin/sh

for file in `find /bin /sbin /usr/bin /usr/sbin /usr/lib /usr/libexec /usr/local -name "*"`
do
        echo $file
        ldd $file >> /root/ldd_results 2> /dev/zero
done

<end script>

After the upgrade to r205248, the script
freezes at seemingly random points.

I can still ssh to the machine (using keys), i.e.
I see the welcome message, but cannot get to the console prompt.

On the serial console I cannot get the prompt
after entering the root password.

I have top(1) running interactively in another window.
The sh process is in "getblk" state, and ignores kill -9.
But there's no ldd process.

And shutdown requests are also ignored:

# shutdown -r now
Shutdown NOW!
shutdown: [pid 8019]
#
and nothing happens after that

So I have to do a cold reset via MP.

On ia64 r204322, this script causes no problems.

Please advise

many thanks
anton


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423


More information about the freebsd-current mailing list