Date: Mon, 10 Jan 2005 10:41:39 -0800 From: John-Mark Gurney <gurney_j@resnet.uoregon.edu> To: Maksim Yevmenkin <emax@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netgraph ng_base.c src/sys/sys kernel.h Message-ID: <20050110184139.GE19624@funkthat.com> In-Reply-To: <200501061745.j06Hj344034786@repoman.freebsd.org> References: <200501061745.j06Hj344034786@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050110184139.GE19624>