From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 02:34:31 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1127537B401 for ; Thu, 3 Jul 2003 02:34:31 -0700 (PDT) Received: from mailer.gwdg.de (mailer.gwdg.de [134.76.10.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A6CC43F3F for ; Thu, 3 Jul 2003 02:34:29 -0700 (PDT) (envelope-from sfarren@gwdg.de) Received: from sub00261.sub.uni-goettingen.de ([134.76.162.89]) by mailer.gwdg.de with esmtp (Exim 4.14) id 19Y0Tv-0001Td-6R for freebsd-questions@freebsd.org; Thu, 03 Jul 2003 11:34:23 +0200 Date: Thu, 03 Jul 2003 11:34:22 +0200 From: Stefan Farrenkopf To: freebsd-questions@freebsd.org Message-ID: <3600000.1057224862@SUB00261.sub.uni-goettingen.de> X-Mailer: Mulberry/3.0.3 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: how to influence load order of kernel modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Stefan Farrenkopf List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 09:34:31 -0000 Hi all, first of all about the background of my question: if I start vmware (version 2 from the ports tree) on my FreeBSD 4.8 system, the system reboots :(( I found that if I restart /usr/local/etc/rc.d/vmware.sh (stop, start) the kernel module vmmon gets unloaded and loaded again and I get a new order in the kldstat list (see below). I am wondering how I can influence the initial load order of kernel modules, because the problem with vmware my disappear if vmmon is always loaded after if_tap.ko (which is also part of the vmware.sh script, but which does not unload by vmware.sh stop). Thanks for you help, Stefan ........................................................... Stefan Farrenkopf - Goettingen State and University Library Platz der Goettinger Sieben 1 D-37070 Goettingen, Germany phone: +49(0)551-39-5827 || fax: +49(0)551-39-5222 ........................................................... PGP Public Key: http://www.gwdg.de/~sfarren/public-key.txt