From owner-freebsd-current@FreeBSD.ORG Thu Mar 30 05:46:51 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DAEC16A422 for ; Thu, 30 Mar 2006 05:46:51 +0000 (UTC) (envelope-from Stanley.Jobson@gmx.ch) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 083FD43D53 for ; Thu, 30 Mar 2006 05:46:49 +0000 (GMT) (envelope-from Stanley.Jobson@gmx.ch) Received: (qmail 31187 invoked by uid 0); 30 Mar 2006 05:46:48 -0000 Received: from 153.97.66.2 by www080.gmx.net with HTTP; Thu, 30 Mar 2006 07:46:48 +0200 (MEST) Date: Thu, 30 Mar 2006 07:46:48 +0200 (MEST) From: "Stanley Jobson" To: John-Mark Gurney MIME-Version: 1.0 References: <20060329190123.GQ7001@funkthat.com> X-Priority: 3 (Normal) X-Authenticated: #25056747 Message-ID: <20878.1143697608@www080.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: KLD technical docs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2006 05:46:51 -0000 > > > > for my master thesis i am looking for technical docs about > > > > dynamic linking esp. about the kernel dynamic linker facility. > > > > > > > > i found some good docs about dynamic linking in general but > > > > nothing about KLD/LKM. > > > > > > > > are there any technical docs on KLD? I read the short chapter > > > > in the arch handbook but thats not much info. > > > > > > > > i am interested in docs answering the following questions: > > > > - how does the dynamic loading and linking work for KLDs/LKMs? > > > > - does this anything has to do with libbfd, libdl or rtld? > > > > - how are dependencies handled? > > > > > > > > technical info to LKM and dynamic linking facility of the other > > > > BSDs would be also interesting :) > > > > > > The best technical doc is src/sys/kern/kern_linker.c... :) That > > > handles all the magic of SYSINIT's, sysctl's and the other magic of > > > kernel modules... > > > > sure ;-) ... but kinda low level ... so am i right that there is no > > higher level doc available ? > > Besides docs on how to write kld drivers, not really... > > A couple links I found on writing kld's: > http://ezine.daemonnews.org/200010/blueprints.html > http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/driverbasics-kld.html > thank u - i know these docs - unfort. not really what i am looking for :( btw: i read somewhere that there was a discussion about KLD vs. LKM but i couldnt find the original (only citations). does anybody has a link? thx regards, stan -- Echte DSL-Flatrate dauerhaft für 0,- Euro*! "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl