kern/81344: wrong reaction to loading modules compiled into kernel
Mikhail Teterin
mi at aldan.algebra.com
Sat May 21 18:00:18 GMT 2005
>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 at 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:
More information about the freebsd-bugs
mailing list