<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:osnews="http://osnews.com/rss2#">
	<channel>
		<title>OSNews: </title>
		<link>http://www.osnews.com/story/19784/Writing_a_Kernel_Module_for_FreeBSD</link>
		<description>Exploring the Future of Computing</description>
		<language>en-us</language>
		<copyright>Copyright 2001-2009, David Adams</copyright>
		<webMaster>adam+nospam@osnews.com</webMaster>
		<lastBuildDate>Wed, 25 Nov 2009 18:46:02 GMT</lastBuildDate>
		<image>
			<url>http://www.osnews.com/images/osnews.gif</url>
			<title>OSNews.com</title>
			<link>http://www.osnews.com</link>
		</image>
		<item>
			<title>Some small notes</title>
			<link>http://osnews.com/thread?315467</link>
			<guid isPermaLink="true">http://osnews.com/thread?315467</guid>
			<description>First of all, I'd like to state that the article was interesting to me and it was written in an understandable way. I'm a (nearly) fulltime FreeBSD user, so some minor revisions came into my mind when I read the article. Here they are:<br />
<br />
The mentioned command sequence<br />
<br />
<i>cd /usr/src/sys/amd64 <br />
cp GENERIC CUSTOM</i><br />
<br />
won't work. The author writes &quot;If you are on an x86 based machine, the kernel is located in the /usr/src/sys/i386 directory. [...] The kernel configuration file is located in a directory called conf.&quot; correctly, but misses to add the conf subdirectory to his commands. They should be:<br />
<br />
# cd /usr/src/sys/amd64/conf<br />
# cp GENERIC CUSTOM<br />
<br />
For the AMD64 arch, /usr/src/sys/amd64/conf would be the correct path.<br />
<br />
You can shorten the path, too, because there's a symlink /sys pointing at /usr/src/sys, so /sys/i386/conf is a valid cd parameter.<br />
<br />
Side note: The author states that these procedures work fine with the 7.0-RELEASE kernel (stock kernel); be sure to build kernel and world if you updated your sources before, because kernel and world should be the same version (e. g. 7.0-RELEASE-p1).<br />
<br />
If you want to read up some more about this topic, don't miss the high quality FreeBSD handbook: <a href="http://www.freebsd.org/doc/en/books/handbook/kernelconfig.html" rel="nofollow">http://www.freebsd.org/doc/en/books/handbook/kernelconfig.html</a>  - the author mentions this source, too.<br />
<br />
An interesting starting point, after all. I'm still thinking about writing a KLD module to read from a Sun type 5 keyboard attached to the serial port... say hello world to /dev/skbd0. :-)</description>
			<pubDate>Fri, 23 May 2008 23:04:00 GMT</pubDate>
			<author>donotreply@osnews.com (Doc Pain)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Comment by primelight@live.com</title>
			<link>http://osnews.com/thread?315499</link>
			<guid isPermaLink="true">http://osnews.com/thread?315499</guid>
			<description>excellent. now go write about newbus.</description>
			<pubDate>Sat, 24 May 2008 08:59:00 GMT</pubDate>
			<author>donotreply@osnews.com (primelight@live.com)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>syntax error</title>
			<link>http://osnews.com/thread?315522</link>
			<guid isPermaLink="true">http://osnews.com/thread?315522</guid>
			<description>Nice! Code contains a syntax error though<br />
<br />
switch event --&gt; switch (event)</description>
			<pubDate>Sat, 24 May 2008 15:33:00 GMT</pubDate>
			<author>donotreply@osnews.com (hanne)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>A great book</title>
			<link>http://osnews.com/thread?315527</link>
			<guid isPermaLink="true">http://osnews.com/thread?315527</guid>
			<description>A great book to learn more about this topic is:<br />
<br />
Designing BSD Rootkits<br />
An Introduction to Kernel Hacking<br />
by Joseph Kong<br />
<br />
April 2007, 142 pp.<br />
ISBN-10 1-59327-142-5<br />
ISBN-13 978-1-59327-142-8<br />
<br />
the only problem is that this book is based on FreeBSD 6.x <img src="/images/emo/sad.gif" alt=";)" /></description>
			<pubDate>Sat, 24 May 2008 16:46:00 GMT</pubDate>
			<author>donotreply@osnews.com (Espartano)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>so good ...</title>
			<link>http://osnews.com/thread?315595</link>
			<guid isPermaLink="true">http://osnews.com/thread?315595</guid>
			<description>Why isn't there more articles like this?<br />
An updated version of: The Design and Implementation of the FreeBSD Operating System ?<br />
<br />
Interesting readings are so few and far between nowadays .. in the internet times .. when interesting readings should abound ... it's such a shame given all the chances we have now and that other only dreamt of ...</description>
			<pubDate>Mon, 26 May 2008 04:06:00 GMT</pubDate>
			<author>donotreply@osnews.com (gnemmi)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Excellent article! </title>
			<link>http://osnews.com/thread?315599</link>
			<guid isPermaLink="true">http://osnews.com/thread?315599</guid>
			<description>A very good read! <br />
   <br />
 I was wondering about the exact thing that the article mentioned (how to enable the ULE scheduler in FreeBSD 7.0). Really good to see this article which gives a good description of how to do that (and many thanks to Doc Pain for his revisions too).Edited 2008-05-26 07:33 UTC</description>
			<pubDate>Mon, 26 May 2008 07:30:00 GMT</pubDate>
			<author>donotreply@osnews.com (obsidian)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: A great book</title>
			<link>http://osnews.com/thread?315619</link>
			<guid isPermaLink="true">http://osnews.com/thread?315619</guid>
			<description>Precisely why lkm are turned off on my secure servers.</description>
			<pubDate>Mon, 26 May 2008 14:53:00 GMT</pubDate>
			<author>donotreply@osnews.com (libray)</author>
			<category>Comments</category>
		</item>
	</channel>
</rss>
