Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jun 1998 17:43:00 -0700
From:      John Polstra <jdp@polstra.com>
To:        kkennawa@physics.adelaide.edu.au
Cc:        current@FreeBSD.ORG
Subject:   Re: Old kernels not compatible with elf-changes?
Message-ID:  <199806030043.RAA03024@austin.polstra.com>
In-Reply-To: <Pine.OSF.3.90.980602235448.19167A-100000@bragg>
References:  <Pine.OSF.3.90.980602235448.19167A-100000@bragg>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.OSF.3.90.980602235448.19167A-100000@bragg>,
Kris Kennaway  <kkennawa@physics.adelaide.edu.au> wrote:

> Since there was something obviously wrong with the kernel I was using 
> (though I hadnt had a problem for the prior 4 days) I tried to reboot 
> into the previous kernel of May 26. So far the disk seems to have 
> maintained integrity, but this kernel appears to be incompatible with 
> one of the ld changes since then:
> 
> [morden|root] 23:07 /usr/src/sys/compile/MORDEN ls -l /usr/bin/ld
> -r-xr-xr-x  9 bin  bin  12288 May 27 22:20 /usr/bin/ld*
> [morden|root] 23:08 /usr/src/sys/compile/MORDEN ld
> /usr/bin/ld: Bad address.
> [morden|root] 23:08 /usr/src/sys/compile/MORDEN file /usr/bin/ld
> /usr/bin/ld: FreeBSD/i386 compact demand paged dynamically linked executable
...
> Can anyone shed some light as to whether the above problem (specifically, 
> pre-elf stage 2 kernels not being able to work with post-elf stage 2 
> world) is general or something which is peculiar to me?

I can't think of any reason why "ld" would care which kernel it was
running under.  I notice that your "ls" still works, and I doubt
that "ld" does very much that "ls" doesn't do too, from the kernel's
point of view.  So I think your "ld" binary is corrupted.

Just for interest's sake, it might be fun to run it under ktrace.
--
   John Polstra                                       jdp@polstra.com
   John D. Polstra & Co., Inc.                Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806030043.RAA03024>