From owner-freebsd-sparc Sun Oct 27 8:47:10 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 102E937B401 for ; Sun, 27 Oct 2002 08:47:09 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8DC243E4A for ; Sun, 27 Oct 2002 08:47:08 -0800 (PST) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id AA556AE211; Sun, 27 Oct 2002 08:47:08 -0800 (PST) Date: Sun, 27 Oct 2002 08:47:08 -0800 From: Maxime Henrion To: Jake Burkholder Cc: marius@alchemy.franken.de, freebsd-sparc@FreeBSD.ORG Subject: Re: kldxref: bad address Message-ID: <20021027164708.GW26605@elvis.mu.org> References: <20021027160506.GA30274@newtrinity.zeist.de> <20021027114453.G89245@locore.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021027114453.G89245@locore.ca> User-Agent: Mutt/1.4i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Jake Burkholder wrote: > Apparently, On Sun, Oct 27, 2002 at 05:05:06PM +0100, > marius@alchemy.franken.de said words to the effect of; > > > > > While updating from a October 20 -current to a October 27 one I got > > the following error at the installkernel-stage: > > > > ===> xl > > install -o root -g wheel -m 555 if_xl.ko /boot/kernel > > kldxref /boot/kernel > > kldxref: error while reading /boot/kernel/3dfx.ko: Bad address > > kldxref: error while reading /boot/kernel/accf_data.ko: Bad address > > kldxref: error while reading /boot/kernel/accf_http.ko: Bad address > > kldxref: error while reading /boot/kernel/agp.ko: Bad address > > kldxref: error while reading /boot/kernel/aha.ko: Bad address > > kldxref: error while reading /boot/kernel/aio.ko: Bad address > > <...> > > > > This problem persists after the update when installing a kernel > > built the usual way (`config`, `make depend all install`). > > This is a known problem. kldxref is making invalid assumptions about > reading variables from object files before they are relocated. Due to > the way that kldxref was written this is not entirely easy to fix. You can set the NO_XREF variable in your /etc/make.conf to work around this problem until it has been fixed. Cheers, Maxime To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message