From owner-freebsd-current@FreeBSD.ORG Tue Aug 17 14:14:02 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 0D57416A4CF; Tue, 17 Aug 2004 14:14:02 +0000 (GMT) Received: from smtp-bedford-dr.mitre.org (smtpproxy2.mitre.org [192.160.51.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E19643D48; Tue, 17 Aug 2004 14:14:01 +0000 (GMT) (envelope-from jandrese@mitre.org) Received: from smtp-bedford-dr.mitre.org (localhost.localdomain [127.0.0.1]) i7HEE0c04846; Tue, 17 Aug 2004 10:14:00 -0400 Received: from smtp-bedford-dr.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford-dr.mitre.org (Postfix) with ESMTP id 506C84F8E6; Tue, 17 Aug 2004 10:13:59 -0400 (EDT) Received: from MAILHUB2 (mailhub2.mitre.org [129.83.221.18]) i7HEDwZ04634; Tue, 17 Aug 2004 10:13:58 -0400 Received: from mm112324-2k.mitre.org (128.29.3.51) by mailhub2.mitre.org with SMTP id 4183359; Tue, 17 Aug 2004 10:13:53 -0400 Message-ID: <412212A0.2040502@mitre.org> Date: Tue, 17 Aug 2004 10:13:52 -0400 From: Jason Andresen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.1) Gecko/20040707 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robert Watson References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org cc: Cedric Tabary 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 14:14:02 -0000 Robert Watson wrote: >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? > > Sure, I can try this. Where is the Makefile for the mem device?