Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 May 2005 13:50:55 -0400 (EDT)
From:      Mikhail Teterin <mi@aldan.algebra.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/81344: wrong reaction to loading modules compiled into kernel
Message-ID:  <200505211750.j4LHotgA009225@symbion.zaytman.com>
Resent-Message-ID: <200505211800.j4LI0HCe099717@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         81344
>Category:       kern
>Synopsis:       wrong reaction to loading modules compiled into kernel
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 21 18:00:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Mikhail Teterin
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
Virtual Estates, Inc.
>Environment:
System: FreeBSD symbion.zaytman.com 4.11-STABLE FreeBSD 4.11-STABLE #0: Wed May 18 12:21:05 EDT 2005 mi@symbion.zaytman.com:/ibm/obj/opt/src/sys/TRISTAR i386

>Description:

	I forgot, I had the umass compiled into the kernel and tried
	to kldload the module after boot. Understandibly, it failed with:
		kldload: can't load umass: File exists
	on stderr, and the following kernel messages:
		module_register: module uhub/umass already exists!
		linker_file_sysinit "umass.ko" failed to register! 17

	however, the module is not listed in the kldstat output and
	can not be unloaded:
		kldunload: can't unload file: Device busy
	and the folloing kernel message:
		linkerunload: attempt to unload file that was loaded by the kernel

	I don't know if this problem is purely cosmetic or not.

>How-To-Repeat:

	See Description.

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



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