From owner-freebsd-hackers Tue Apr 25 12:51:41 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA11663 for hackers-outgoing; Tue, 25 Apr 1995 12:51:41 -0700 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id MAA11653 for ; Tue, 25 Apr 1995 12:51:38 -0700 Received: (from julian@localhost) by ref.tfs.com (8.6.8/8.6.6) id MAA08241; Tue, 25 Apr 1995 12:51:34 -0700 From: Julian Elischer Message-Id: <199504251951.MAA08241@ref.tfs.com> Subject: Re: Help? To: gibbs@estienne.CS.Berkeley.EDU (Justin T. Gibbs) Date: Tue, 25 Apr 1995 12:51:33 -0700 (PDT) Cc: CVBASMA@VM.CC.OLEMISS.EDU, hackers@FreeBSD.org In-Reply-To: <199504250729.AAA21930@estienne.cs.berkeley.edu> from "Justin T. Gibbs" at Apr 25, 95 00:29:18 am Content-Type: text Content-Length: 2003 Sender: hackers-owner@FreeBSD.org Precedence: bulk > > >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