Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 1995 12:51:33 -0700 (PDT)
From:      Julian Elischer <julian@ref.tfs.com>
To:        gibbs@estienne.CS.Berkeley.EDU (Justin T. Gibbs)
Cc:        CVBASMA@VM.CC.OLEMISS.EDU, hackers@FreeBSD.org
Subject:   Re: Help?
Message-ID:  <199504251951.MAA08241@ref.tfs.com>
In-Reply-To: <199504250729.AAA21930@estienne.cs.berkeley.edu> from "Justin T. Gibbs" at Apr 25, 95 00:29:18 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> >Dear Mr. Gibbs:
> 
> I'm flattered that you picked me to send this to, but am sort
> of perplexed why it was me that you picked! :)  The network
> layers of the kernel are not my forte', and I think that more
> information on how your managers interface at the device layer
> will be needed to fully answer your question.  I've CC'd 
> hackers@FreeBSD.org so that a wider audience will be able to
> respond.  I'm sure that there will be many people interested 
> in what you are trying to do with FreeBSD and hopefully someone 
> more experienced in these areas will get back to you.  If no one 
> responds, ping me again and I'll see what I can do to help you out.
> 
> --
> Justin
It SOUNDS (though I'm not sure) that he wants to know how to add his
own modules to the kernel.. (i.e. /sys/conf/files etc.)
(and possibly a user interface) (new syscall? ioctl on a device?)


[...]


> >
> >     These managers have been written and tested separately. My
> >question to you is how can I compile and link these managers to
> >become part of FreeBSD kernel. I have tried to understand the
> >Makefile and have tried just about every thing I could think of,
> >only to fail. Any help from you would very much be appreciated
> >for I am desperate to any other input. Please, if you could E-
> >Mail me the steps as to how I can build my libraries and link
> >them with the kernel so that all my modules will be visible to
> >the kernel you would save my life :-).
add the files to /sys/conf/files, making them dependednt on an option
such as 'distos'   (lower case)
then in /sys/i386/conf,
make a config file by copying GENERIC to MYCONFIG,
and add the line 
options DISTOS		(upper case)
(and you should add teh DDB option as well if you are experimenting)

any changes you make in existing files should be bracketted by:
#ifdef DISTOS			(upper case)
#endif
then:
in /sys/i386/conf
type:
config  MYCONFIG
cd ../../compile/MYCONFIG
make depend 
make all
make install <-- if you're adventurous


julian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504251951.MAA08241>