From owner-freebsd-stable@FreeBSD.ORG Wed Jan 30 17:39:18 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33A1C16A41A for ; Wed, 30 Jan 2008 17:39:18 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id E2C5313C4EF for ; Wed, 30 Jan 2008 17:39:17 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id 3098943E16B for ; Wed, 30 Jan 2008 19:39:16 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fsI2d-BpRGTP for ; Wed, 30 Jan 2008 19:39:16 +0200 (EET) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [88.81.251.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id DED13744004 for ; Wed, 30 Jan 2008 19:39:15 +0200 (EET) Message-ID: <47A0B642.9060000@icyb.net.ua> Date: Wed, 30 Jan 2008 19:39:14 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.9 (X11/20080123) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: kld regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2008 17:39:18 -0000 The problem is as follows: 1. put udf_load="YES" in loader.conf 2. you can mount and unmount udf filesystems 3. you can kldunload udf if no udf filesystems are mounted 4. now mount udf fs while udf.ko is unloaded 5. udf is auto loaded and fs is mounted 6. unmount fs 7. try to kldunload udf kldunload: can't unload file: Device busy kernel message: kldunload: attempt to unload file that was loaded by the kernel Yeah, it was loaded by kernel indeed, but WTF - what is the difference from manual/loader.conf loading and why I can not manage my modules as I wish? -- Andriy Gapon