From owner-freebsd-current@FreeBSD.ORG Tue Aug 17 13:54:13 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E865216A4CE; Tue, 17 Aug 2004 13:54:13 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DD8D43D5A; Tue, 17 Aug 2004 13:54:13 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.11/8.12.11) with ESMTP id i7HDqIXC014078; Tue, 17 Aug 2004 09:52:18 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i7HDqIMD014075; Tue, 17 Aug 2004 09:52:18 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Tue, 17 Aug 2004 09:52:18 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Cedric Tabary In-Reply-To: <20040817000252.GE37300@efrei.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@FreeBSD.ORG cc: Mark Murray Subject: Re: mem_range_attr_set undefined X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 13:54:14 -0000 On Tue, 17 Aug 2004, Cedric Tabary wrote: > > If it is, its a bug. Loading is loading. > > > > Can you please try this really pedantically and report back? > > I had exactly the same problem with nvidia driver compiled from ports > with default options except -DWITHOUT_LINUX. > > kldload mem > kldload io (needed by xorg) > kldload nvidia -> failed (mem_range_attr_set undefined) > > I had to compile 'device mem' into kernel > > note 1: I did not try loading mem at the boot loader stage > note 2: I did not try the new release of nvidia driver > > Hope this helps ... The mem kld will need to explicitly symbols required by other modules using the EXPORT_SYMS line in its Makefile. So try adding: EXPORT_SYMS= mem_range_attr_set to the module Makefile for mem, rebuilding, reloading, and adding additional symbols until it works? Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research