Re: mem_range_attr_set undefined

From: Robert Watson <rwatson_at_freebsd.org>
Date: Tue, 17 Aug 2004 10:58:44 -0400 (EDT)
On Tue, 17 Aug 2004, Jason Andresen wrote:

> >>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
> >
> >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? 

You can find the Makefile for the mem module in src/sys/modules/mem.  You
might want to look at some of the other module Makefiles in related
directories for examples of EXPORT_SYMBOLS use.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert_at_fledge.watson.org      Principal Research Scientist, McAfee Research
Received on Tue Aug 17 2004 - 13:00:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:06 UTC