From owner-freebsd-bugs@FreeBSD.ORG Sat May 21 18:00:18 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3347B16A4CE for ; Sat, 21 May 2005 18:00:18 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C32DE43D82 for ; Sat, 21 May 2005 18:00:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4LI0HhT099718 for ; Sat, 21 May 2005 18:00:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4LI0HCe099717; Sat, 21 May 2005 18:00:17 GMT (envelope-from gnats) Resent-Date: Sat, 21 May 2005 18:00:17 GMT Resent-Message-Id: <200505211800.j4LI0HCe099717@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mikhail Teterin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E25516A4CE for ; Sat, 21 May 2005 17:50:57 +0000 (GMT) Received: from smtp04.mrf.mail.rcn.net (smtp04.mrf.mail.rcn.net [207.172.4.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83BD643D9B for ; Sat, 21 May 2005 17:50:56 +0000 (GMT) (envelope-from mi@symbion.zaytman.com) Received: from 207-172-77-9.c3-0.sbo-ubr1.sbo-ubr.ma.cable.rcn.com (HELO symbion.zaytman.com) (207.172.77.9) by smtp04.mrf.mail.rcn.net with ESMTP; 21 May 2005 13:50:55 -0400 Received: from symbion.zaytman.com (localhost [127.0.0.1]) by symbion.zaytman.com (8.13.1/8.13.1) with ESMTP id j4LHotSH009226 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 21 May 2005 13:50:55 -0400 (EDT) (envelope-from mi@symbion.zaytman.com) Received: (from root@localhost) by symbion.zaytman.com (8.13.1/8.13.1/Submit) id j4LHotgA009225; Sat, 21 May 2005 13:50:55 -0400 (EDT) (envelope-from mi) Message-Id: <200505211750.j4LHotgA009225@symbion.zaytman.com> Date: Sat, 21 May 2005 13:50:55 -0400 (EDT) From: Mikhail Teterin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/81344: wrong reaction to loading modules compiled into kernel X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Mikhail Teterin List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 May 2005 18:00:18 -0000 >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: