From owner-cvs-all@FreeBSD.ORG Mon Jan 10 18:41:41 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6EE916A4CF for ; Mon, 10 Jan 2005 18:41:41 +0000 (GMT) Received: from mail4.speakeasy.net (mail4.speakeasy.net [216.254.0.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3015743D2D for ; Mon, 10 Jan 2005 18:41:41 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 355 invoked from network); 10 Jan 2005 18:41:40 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail4.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 10 Jan 2005 18:41:40 -0000 Received: from hydrogen.funkthat.com (ilclej@localhost.funkthat.com [127.0.0.1])j0AIfeGH053916; Mon, 10 Jan 2005 10:41:40 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id j0AIfed5053915; Mon, 10 Jan 2005 10:41:40 -0800 (PST) Date: Mon, 10 Jan 2005 10:41:39 -0800 From: John-Mark Gurney To: Maksim Yevmenkin Message-ID: <20050110184139.GE19624@funkthat.com> References: <200501061745.j06Hj344034786@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200501061745.j06Hj344034786@repoman.freebsd.org> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netgraph ng_base.c src/sys/sys kernel.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jan 2005 18:41:41 -0000 Maksim Yevmenkin wrote this message on Thu, Jan 06, 2005 at 17:45 +0000: > This does not address the bigger problem: MODULE_DEPEND > does not seem to work when modules are compiled in the > kernel, but it fixes the problem with Netgraph Bluetooth > device drivers reported by a few folks. The real problem is that MODULE_DEPEND only documents other kernel dependancies, but does not reorder SYSINIT's... Considering that SYSINIT's are always suppose to be ordered properly (otherwise, what is the point of SYSINIT's) when staticly linked, having SYSINIT's not properly ordered is the only bug... If we move to a more complex and module aware system of SYSINIT's, then it might happen, but this will be very difficult considering that when staticly linked, you have no way to seperate which SYSINIT's belong to which modules... So, to everone, MODULE_DEPEND only marks which modules are required for this module to work, it does not infulence startup ordering at all... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."