Re: Change to kernel+modules build approach

2003-08-15 Thread Matthew Dillon
:: Has anyone in this discussion looked at what Matt has done with :: Dragonfly? He's re-arranged the kernel tree and moved each driver/module :: into its own directory. Each directory has a Makefile. thus :: a traversal of the kernel tree "make" hierarchy generates the modules. :: :: The "module

Re: Change to kernel+modules build approach

2003-08-15 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Julian Elischer <[EMAIL PROTECTED]> writes: : : : On Fri, 15 Aug 2003, M. Warner Losh wrote: : : > In message: <[EMAIL PROTECTED]> : > Andrew Gallatin <[EMAIL PROTECTED]> writes: : > : : > : John Baldwin writes: : > : > : > : > No, gene

Re: Change to kernel+modules build approach

2003-08-15 Thread Julian Elischer
On Fri, 15 Aug 2003, M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > Andrew Gallatin <[EMAIL PROTECTED]> writes: > : > : John Baldwin writes: > : > > : > No, generic modules would always work with all kernels except for > : > exceptional cases like PAE (unavoidable, re

Re: Change to kernel+modules build approach

2003-08-15 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Andrew Gallatin <[EMAIL PROTECTED]> writes: : : John Baldwin writes: : > : > No, generic modules would always work with all kernels except for : > exceptional cases like PAE (unavoidable, really), and MUTEX_PROFILING : > (this is a debugging thing,

Re: Change to kernel+modules build approach

2003-08-15 Thread Andrew Gallatin
John Baldwin writes: > > No, generic modules would always work with all kernels except for > exceptional cases like PAE (unavoidable, really), and MUTEX_PROFILING > (this is a debugging thing, so ISV's wouldn't need to ship modules > with that turned on). All this would add is the ability t

Re: Change to kernel+modules build approach

2003-08-15 Thread John Baldwin
On 15-Aug-2003 M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > John Baldwin <[EMAIL PROTECTED]> writes: >: >: On 14-Aug-2003 Andrew Gallatin wrote: >: > >: > John Baldwin writes: >: > > >: > > On 14-Aug-2003 Ruslan Ermilov wrote: >: > > > On Thu, Aug 14, 2003 at 02:10:1

Re: Change to kernel+modules build approach

2003-08-14 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Scott Long <[EMAIL PROTECTED]> writes: : I can tell you first hand that this is painful. However, in the case of : PAE, it's somewhat neccessary since certain fundamental types change : size. I can envision solutions for this, but I'm not sure if they a

Re: Change to kernel+modules build approach

2003-08-14 Thread Scott Long
M. Warner Losh wrote: In message: <[EMAIL PROTECTED]> John Baldwin <[EMAIL PROTECTED]> writes: : : On 14-Aug-2003 Ruslan Ermilov wrote: : > On Thu, Aug 14, 2003 at 02:10:19AM -0600, Scott Long wrote: : >> Luoqi Chen wrote: : > [...] : >> >On the other hand, all modules should create al

Re: Change to kernel+modules build approach

2003-08-14 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> John Baldwin <[EMAIL PROTECTED]> writes: : : On 14-Aug-2003 Andrew Gallatin wrote: : > : > John Baldwin writes: : > > : > > On 14-Aug-2003 Ruslan Ermilov wrote: : > > > On Thu, Aug 14, 2003 at 02:10:19AM -0600, Scott Long wrote: : > > >> Luoqi Chen

Re: Change to kernel+modules build approach

2003-08-14 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> John Baldwin <[EMAIL PROTECTED]> writes: : : On 14-Aug-2003 Ruslan Ermilov wrote: : > On Thu, Aug 14, 2003 at 02:10:19AM -0600, Scott Long wrote: : >> Luoqi Chen wrote: : > [...] : >> >On the other hand, all modules should create all the opt_*.h files :

RE: Change to kernel+modules build approach

2003-08-14 Thread Andrew Gallatin
John Baldwin writes: > > On 14-Aug-2003 Andrew Gallatin wrote: > > > > John Baldwin writes: > > > > > > On 14-Aug-2003 Ruslan Ermilov wrote: > > > > On Thu, Aug 14, 2003 at 02:10:19AM -0600, Scott Long wrote: > > > >> Luoqi Chen wrote: > > > > [...] > > > >> >On the other hand,

Change to kernel+modules build approach

2003-08-14 Thread Ruslan Ermilov
On Thu, Aug 14, 2003 at 02:10:19AM -0600, Scott Long wrote: > Luoqi Chen wrote: [...] > >On the other hand, all modules should create all the opt_*.h files > >it needs when built individually. Add opt_ddb.h to nullfs's Makefile > >should fix the breakage. > > > Our kernel build system isn't set up

RE: Change to kernel+modules build approach

2003-08-14 Thread John Baldwin
On 14-Aug-2003 Andrew Gallatin wrote: > > John Baldwin writes: > > > > On 14-Aug-2003 Ruslan Ermilov wrote: > > > On Thu, Aug 14, 2003 at 02:10:19AM -0600, Scott Long wrote: > > >> Luoqi Chen wrote: > > > [...] > > >> >On the other hand, all modules should create all the opt_*.h files > >

RE: Change to kernel+modules build approach

2003-08-14 Thread John Baldwin
On 14-Aug-2003 Ruslan Ermilov wrote: > On Thu, Aug 14, 2003 at 02:10:19AM -0600, Scott Long wrote: >> Luoqi Chen wrote: > [...] >> >On the other hand, all modules should create all the opt_*.h files >> >it needs when built individually. Add opt_ddb.h to nullfs's Makefile >> >should fix the breakag

RE: Change to kernel+modules build approach

2003-08-14 Thread Andrew Gallatin
John Baldwin writes: > > On 14-Aug-2003 Ruslan Ermilov wrote: > > On Thu, Aug 14, 2003 at 02:10:19AM -0600, Scott Long wrote: > >> Luoqi Chen wrote: > > [...] > >> >On the other hand, all modules should create all the opt_*.h files > >> >it needs when built individually. Add opt_ddb.h to n