Subject: Re: Failed install -- bad ld.elf_so
To: None <current-users@netbsd.org>
From: Sverre Froyen <sverre@viewmark.com>
List: current-users
Date: 03/22/2007 16:29:41
A rebuild fixed the problem.  I do not see any src changes that might account 
for this so I will assume that a file was corrupted -- perhaps by a system 
crash.  I'm using LSF on the /usr partition.

Sverre

On Thursday 22 March 2007, Sverre Froyen wrote:
> Hi,
>
> Yesterday (around 6pm MDT) I did a CVS update and a kernel and distribution
> build.  I rebooted with the new kernel and started a build install.  After
> the base set was installed, every command would core dump.
> Reverting /libexec/ld.elf_so restored a functional system.  I had built the
> distribution using the update option but the previous build was only a few
> days old.  I did another CVS update this morning and I'm currently doing a
> full rebuild of everything (tools, kernel, distribution with no update).
> I'll follow-up with the result.
>
> Sverre
>
> PS Here's a ktrace of a core-dumping /bin/ls
>
>     56      1 ktrace   EMUL  "netbsd"
>     56      1 ktrace   CALL  execve(0xbfbfef35,0xbfbfeeac,0xbfbfeeb4)
>     56      1 ktrace   NAMI  "/bin/ls"
>     56      1 ktrace   NAMI  "/libexec/ld.elf_so"
>     56      1 ls       EMUL  "netbsd"
>     56      1 ls       RET   execve JUSTRETURN
>     56      1 ls       PSIG  SIGSEGV SIG_DFL
>     56      1 ls       NAMI  "ls.core"