Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Aug 2004 11:28:29 -0700
From:      "David O'Brien" <obrien@freebsd.org>
To:        markm@freebsd.org
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/modules Makefile
Message-ID:  <20040802182829.GA930@dragon.nuxi.com>
In-Reply-To: <200408021814.i72IE6QJ030695@repoman.freebsd.org>
References:  <200408021814.i72IE6QJ030695@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040802182829.GA930>