From owner-freebsd-current Tue Jun 2 17:43:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA15627 for freebsd-current-outgoing; Tue, 2 Jun 1998 17:43:12 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA15613 for ; Tue, 2 Jun 1998 17:43:07 -0700 (PDT) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.8/8.8.8) with ESMTP id RAA03024; Tue, 2 Jun 1998 17:43:00 -0700 (PDT) (envelope-from jdp) Message-Id: <199806030043.RAA03024@austin.polstra.com> To: kkennawa@physics.adelaide.edu.au Subject: Re: Old kernels not compatible with elf-changes? In-Reply-To: References: Organization: Polstra & Co., Seattle, WA Cc: current@FreeBSD.ORG Date: Tue, 02 Jun 1998 17:43:00 -0700 From: John Polstra Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article , Kris Kennaway 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