From owner-freebsd-i386@FreeBSD.ORG Tue Sep 14 14:26:31 2004 Return-Path: Delivered-To: freebsd-i386@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D269B16A4CE for ; Tue, 14 Sep 2004 14:26:31 +0000 (GMT) Received: from neuronfire.org (neuronfire.org [213.78.141.73]) by mx1.FreeBSD.org (Postfix) with SMTP id D568243D55 for ; Tue, 14 Sep 2004 14:26:30 +0000 (GMT) (envelope-from dsw@neuronfire.org) Received: (qmail 5653 invoked by uid 1000); 14 Sep 2004 14:26:21 -0000 Date: Tue, 14 Sep 2004 15:26:21 +0100 From: dsw To: "Simon L. Nielsen" Message-ID: <20040914142621.GE14229@neuronfire.org> References: <20040914104345.GA14229@neuronfire.org> <20040914140528.GC3841@zaphod.nitro.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040914140528.GC3841@zaphod.nitro.dk> User-Agent: Mutt/1.4.2i cc: freebsd-i386@freebsd.org Subject: Re: make buildkernel 5.2.1 -> 5.3-BETA3 error (mem_range_attr_set / DRM) X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2004 14:26:31 -0000 On Tue, Sep 14, 2004 at 04:05:28PM +0200, Simon L. Nielsen wrote: > On 2004.09.14 11:43:45 +0100, dsw wrote: > > Hi List, > > > > Going from 5.2.1-RELEASE to 5.3-BETA3, and compiling a non-SMP custom kernel with > > radeondrm I get the following breakage: > > > > ...snip... > > > > linking kernel > > radeon_drv.o(.text+0x5346): In function `radeon_mtrr_add': > > : undefined reference to `mem_range_attr_set' > > radeon_drv.o(.text+0x53a2): In function `radeon_mtrr_del': > > : undefined reference to `mem_range_attr_set' > > > > I saw a recent thread where Robert Watson committed a change to mp_machdep.c > > and machdep.c which fixed a /similar/ error, but this seems unrelated. > > > > I have checked out the RELENG_5 tree from scratch just in case there was > > any cruft left from 5.2.1, but still the same error.. > > > > Has anyone else seen/fixed this? > > Looks like you are missing the mem or io device from your kernel > configuration file. > > -- > Simon L. Nielsen > FreeBSD Documentation Team Simon, Many thanks - I misread the entry in UPDATING from 20040802. Thanks again. D. -- Brennen der bruecken.