From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1L8EES-0006B5-6w for garchives@archives.gentoo.org; Thu, 04 Dec 2008 13:27:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 38F0FE0424; Thu, 4 Dec 2008 13:27:02 +0000 (UTC) Received: from md2.t-2.net (md2.t-2.net [84.255.209.81]) by pigeon.gentoo.org (Postfix) with ESMTP id E31F4E0424 for ; Thu, 4 Dec 2008 13:27:01 +0000 (UTC) Received: from [192.168.0.11] (84-255-203-94.static.t-2.net [84.255.203.94]) by md2.t-2.net (MOS 3.10.2-GA) with ESMTP id CWT75352; Thu, 4 Dec 2008 14:27:00 +0100 (CET) Message-ID: <4937E715.1030003@avtomatika.com> Date: Thu, 04 Dec 2008 15:20:05 +0100 From: Branko Badrljica User-Agent: Thunderbird 2.0.0.18 (X11/20081123) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-kernel@lists.gentoo.org Reply-to: gentoo-kernel@lists.gentoo.org MIME-Version: 1.0 To: gentoo-kernel@lists.gentoo.org Subject: Re: [gentoo-kernel] Re: [gentoo-dev] Looking for help with kernel maintenance References: <49232BC8.9020000@gentoo.org> <91b13c310812012059l25579c2fi9c06e3e4598dddb@mail.gmail.com> <20081203061555.GC25344@ultras> <4936B2BA.1020302@reactivated.net> <20081204083442.GD25344@ultras> <4937D4FF.70102@gentoo.org> In-Reply-To: <4937D4FF.70102@gentoo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Junkmail-Status: score=10/150, host=md2.t-2.net X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A010202.4937DAA4.014E,ss=1,fgs=0, ip=192.168.0.11, so=2008-08-01 02:07:42, dmn=5.7.1/2008-09-02, mode=single engine X-Junkmail-IWF: false X-Archives-Salt: 76549d27-3e59-4aa7-832f-4ab33c0ba0f3 X-Archives-Hash: 14c03974ef5d5f98307c6fe75eb804de Daniel Drake wrote: > Nicolas Sebrecht wrote: >> Does someone knows a good general (and free) documentation where to >> start ? > > For working with the internals, specifically driver-side stuff and the > mechanisms you need to write drivers, this book is really good (and > free): > http://lwn.net/Kernel/LDD3/ > > I'm also fond of this book which complements LDD3 nicely (it talks > about the scheduler, memory management, and a lot of other non-driver > stuff which LDD3 purposefully omits): > http://rlove.org/ > It's not free though. > > Daniel > After reading/skimming "essentials" and "kernel drivers", my favourite way is to use Code::Blocks, make an empty project and then recursively import all the kernel sources into it. It is big pile of source and import takes a few minutes, but being able to browse, search and jump effotlessly through the tree more than makes it wortwhile. Caveat: C::B will crash during the import phase if during that time there is other program that significantly loads CPUs or if user generates gtk events by clicking on the program window. I suspect the cause for this in wxGTK, but haven't been able to pinpoint it. It's good enough for me at this time...