From owner-freebsd-stable@FreeBSD.ORG Thu Jan 31 12:16:02 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 B2E7116A420 for ; Thu, 31 Jan 2008 12:16:02 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 283F513C44B for ; Thu, 31 Jan 2008 12:16:02 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8s) with ESMTP id 230312661-1834499 for multiple; Thu, 31 Jan 2008 07:14:41 -0500 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m0VCFpqY018988; Thu, 31 Jan 2008 07:15:57 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-stable@freebsd.org Date: Thu, 31 Jan 2008 06:07:55 -0500 User-Agent: KMail/1.9.7 References: <47A0B642.9060000@icyb.net.ua> In-Reply-To: <47A0B642.9060000@icyb.net.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801310607.55346.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Thu, 31 Jan 2008 07:15:57 -0500 (EST) X-Virus-Scanned: ClamAV 0.91.2/5622/Thu Jan 31 06:00:29 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Andriy Gapon Subject: Re: 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: Thu, 31 Jan 2008 12:16:02 -0000 On Wednesday 30 January 2008 12:39:14 pm Andriy Gapon wrote: > > 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? Hmm, the relevant code (vfs_init.c) hasn't changed in 6.x since 6.0. There were some changes in 7.0, but this should work in both branches. What is the previous release that this worked on? -- John Baldwin