From nobody@FreeBSD.org  Sun Oct 28 12:15:56 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id A0FF337B401
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 Oct 2001 12:15:56 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f9SKFrk49233;
	Sun, 28 Oct 2001 12:15:53 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200110282015.f9SKFrk49233@freefall.freebsd.org>
Date: Sun, 28 Oct 2001 12:15:53 -0800 (PST)
From: Brad Laue <brad@brad-x.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: VESA module loadable while statically compiled
X-Send-Pr-Version: www-1.0

>Number:         31566
>Category:       kern
>Synopsis:       VESA module loadable while statically compiled
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 28 12:20:03 PST 2001
>Closed-Date:    Fri Nov 2 06:43:29 PST 2001
>Last-Modified:  Fri Nov 02 06:44:17 PST 2001
>Originator:     Brad Laue
>Release:        4.4-STABLE
>Organization:
>Environment:
FreeBSD Discovery.brad-x.com 4.4-STABLE FreeBSD 4.4-STABLE #0: Sun Oct 28 12:52:29 EST 2001     root@Discovery.brad-x.com:/usr/src/sys/compile/PHOENIX  i386

>Description:
When options VESA is placed in a kernel config file, and one boots to this kernel, it is possible to load vesa.ko using kldload, and to list it using kldstat. The proper behaviour should be to inform the user that this code is already compiled in.
>How-To-Repeat:
add 

options VESA

to the kernel config file, reboot; kldload vesa.ko; kldstat

kldunload vesa.ko yields no crash.
>Fix:
None.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dwmalone 
State-Changed-When: Fri Nov 2 06:43:29 PST 2001 
State-Changed-Why:  
Issue of loading klds which are compiled into kernel duplicates PR 24392. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=31566 
>Unformatted:
