From owner-freebsd-questions Mon Oct 1 22:31: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by hub.freebsd.org (Postfix) with ESMTP id 1894437B410 for ; Mon, 1 Oct 2001 22:31:02 -0700 (PDT) Received: from dsto-ms2.dsto.defence.gov.au (dsto-ms2.dsto.defence.gov.au [131.185.2.150]) by digger1.defence.gov.au (8.10.1/8.10.1) with ESMTP id f925UO816229 for ; Tue, 2 Oct 2001 15:00:24 +0930 (CST) Received: from muttley.dsto.defence.gov.au (unverified) by dsto-ms2.dsto.defence.gov.au (Content Technologies SMTPRS 4.1.5) with ESMTP id for ; Tue, 2 Oct 2001 14:58:49 +0930 Received: from salex001.dsto.defence.gov.au (salex001.dsto.defence.gov.au [131.185.2.9]) by muttley.dsto.defence.gov.au (8.9.3/8.9.3/8.9.3.LMD.990513) with ESMTP id OAA28308 for ; Tue, 2 Oct 2001 14:55:59 +0930 (CST) Received: from pluto2.dsto.defence.gov.au ([131.185.75.211]) by salex001.dsto.defence.gov.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 4AVVQQ9G; Tue, 2 Oct 2001 14:55:55 +0930 Date: Tue, 2 Oct 2001 14:54:15 +0930 (CST) From: "Wilkinson,Alex" X-X-Sender: Reply-To: To: Subject: kld Message-ID: <20011002144056.H26882-100000@pluto2.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Howdy all, I just would like to know how I could find out what the dependencies are for any given kld module. The issue at hand is that I need to unload vmmon_up.ko from the kernel but I get: shell>sudo kldunload vmmon_up.ko shell>kldunload: can't unload file: Device busy Ok, so I need to find out what depends on vmmon_up.ko or what is keeping it busy. I did a: shell> kldstat -v -i 8 Id Refs Address Size Name 8 1 0xc0fbe000 9000 vmmon_up.ko Contains modules: Id Name 226 vmmon But still no clues. What utility could be used to find out this info so I can restart vmmon_up.ko ? Thanks -Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message