From owner-freebsd-hackers Tue Feb 19 10:59: 6 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from post.mail.nl.demon.net (post-10.mail.nl.demon.net [194.159.73.20]) by hub.freebsd.org (Postfix) with ESMTP id 58A1637B404 for ; Tue, 19 Feb 2002 10:58:58 -0800 (PST) Received: from [212.238.194.207] (helo=mailhost.raggedclown.net) by post.mail.nl.demon.net with esmtp (Exim 3.33 #1) id 16dFTd-0004pr-00 for freebsd-hackers@freebsd.org; Tue, 19 Feb 2002 18:58:57 +0000 Received: from angel.raggedclown.net (angel.raggedclown.intra [192.168.1.7]) by mailhost.raggedclown.net (Ragged Clown Mail Gateway [buffy]) with ESMTP id 4F11D13040 for ; Tue, 19 Feb 2002 19:58:56 +0100 (CET) Received: by angel.raggedclown.net (Ragged Clown Host [angel], from userid 6002) id 2A5E022590; Tue, 19 Feb 2002 19:58:56 +0100 (CET) Date: Tue, 19 Feb 2002 19:58:56 +0100 From: Cliff Sarginson To: freebsd-hackers@freebsd.org Subject: A question and a suggestion about loadable modules Message-ID: <20020219185856.GB1191@raggedclown.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, Someone suggested this may be the right list for this. - Has consideration in the loadable modules implementation been given to a module dependency facility, in the manner of "depmod" in Linux ? So that any module loaded will automagically load modules it depends on to run ? - I have reported in a PR a problem with drm_kmod from the ports. During my experiments at getting this to work I noticed diffferent behaviour when I loaded the agp module via loader.conf (or as a pseudo-device entry in the kernel configuration file), and when I loaded it via a script in /usr/local/etc/rc.d. In the first case subsequent loading of the "mga" (drm_kmod) module initialised successfuly, in the latter case it complained. This appears to show to me an unsuspected sensitivity to the point in the boot process a loadable module is loaded. Is this to be expected ? If so, then it should probably be documented. Thanks for your time. Please CC: me any reply. -- Regards Cliff Sarginson -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message