cvs commit: src/sys/modules Makefile

David O'Brien obrien at freebsd.org
Mon Aug 2 11:28:37 PDT 2004


On Mon, Aug 02, 2004 at 06:14:06PM +0000, David E. O'Brien wrote:
> obrien      2004-08-02 18:14:06 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/modules          Makefile 
>   Log:
>   Don't build and install a mem.ko module.
>   Currently one cannot load the mem.ko module without panicing if mem is
>   compiled into the kernel and one cannot build a kernel w/o "device mem"
>   right now either.  Thus it is too dangerous to install mem.ko right now
>   because if one puts 'mem_load="YES"' in /etc/loader.conf they cannot
>   boot an "old" kernel (at the time that a kernel doesn't have to be built
>   with "device mem).

Please find a way for all your /dev KO's to detect if they are already
active and not panic if loaded(initialized) twice.  Many of the network
and SCSI device KO's DTRT.  Maybe you can copy their method of handling
this.

-- 
-- David  (obrien at FreeBSD.org)


More information about the cvs-all mailing list