kern/81344: wrong reaction to loading modules compiled into kernel
mi at aldan.algebra.com
Sat May 21 18:00:18 GMT 2005
>Synopsis: wrong reaction to loading modules compiled into kernel
>Arrival-Date: Sat May 21 18:00:16 GMT 2005
>Originator: Mikhail Teterin
>Release: FreeBSD 4.11-STABLE i386
Virtual Estates, Inc.
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
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.
More information about the freebsd-bugs