From nobody@FreeBSD.ORG Fri May 28 16:00:50 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 7524A150F3; Fri, 28 May 1999 16:00:46 -0700 (PDT)
Message-Id: <19990528230046.7524A150F3@hub.freebsd.org>
Date: Fri, 28 May 1999 16:00:46 -0700 (PDT)
From: aron@cs.rice.edu
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: kldload doesn't return error on loading a module multiple times
X-Send-Pr-Version: www-1.0

>Number:         11919
>Category:       kern
>Synopsis:       kldload doesn't return error on loading a module multiple times
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 28 16:10:01 PDT 1999
>Closed-Date:    Fri Jun 2 22:52:45 PDT 2000
>Last-Modified:  Fri Jun 02 23:19:35 PDT 2000
>Originator:     Mohit Aron
>Release:        FreeBSD-3.2-Release
>Organization:
Rice University
>Environment:
FreeBSD luzern.cs.rice.edu 3.2-RELEASE FreeBSD 3.2-RELEASE #2: Fri May 28 15:22:48 CDT 1999     aron@luzern.cs.rice.edu:/usr/src/sys/compile/LUZERN  i386
>Description:
kldload doesn't return an error when a module is loaded multiple times.
On the other hand it permits the module to be loaded multiple times.
This can lead to severe problems when by mistake some module is loaded
multiple times while development. The old lkm interface used to report
an error when a module was tried to be loaded multiple times.
>How-To-Repeat:
Compile the syscall example in /usr/share/examples/kld/syscall. Issue
'make load' multiple times.
>Fix:


>Release-Note:
>Audit-Trail:

From: Doug Rabson <dfr@nlsystems.com>
To: aron@cs.rice.edu
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/11919: kldload doesn't return error on loading a module
 multiple times
Date: Sat, 29 May 1999 07:58:55 +0100 (BST)

 This is fixed in -current.
 
 --
 Doug Rabson				Mail:  dfr@nlsystems.com
 Nonlinear Systems Ltd.			Phone: +44 181 442 9037
 
 
 

From: Mohit Aron <aron@cs.rice.edu>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: kern/11919: kldload doesn't return error on loading a module 
 multiple times
Date: Sun, 30 May 1999 22:10:41 -0500

 Hi,
     thanks for fixing it in FreeBSD-current. Can you also add it to
 FreeBSD-3.2-stable. Thanks,
 
 
 - Mohit
 
 
 
State-Changed-From-To: open->closed 
State-Changed-By: bp 
State-Changed-When: Fri Jun 2 22:52:45 PDT 2000 
State-Changed-Why:  
The fix MFCed from -current. 
Thank you. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=11919 
>Unformatted:
