<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Klausdieter0815's Weblog</title>
	<atom:link href="http://klausdieter0815.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://klausdieter0815.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Tue, 15 Jun 2010 22:29:48 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='klausdieter0815.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Klausdieter0815's Weblog</title>
		<link>http://klausdieter0815.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://klausdieter0815.wordpress.com/osd.xml" title="Klausdieter0815&#039;s Weblog" />
	<atom:link rel='hub' href='http://klausdieter0815.wordpress.com/?pushpress=hub'/>
		<item>
		<title>making the webkit browser rekonq use a different user agent string</title>
		<link>http://klausdieter0815.wordpress.com/2010/06/15/making-the-webkit-browser-rekonq-use-a-different-user-agent-string/</link>
		<comments>http://klausdieter0815.wordpress.com/2010/06/15/making-the-webkit-browser-rekonq-use-a-different-user-agent-string/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 22:09:38 +0000</pubDate>
		<dc:creator>klausdieter0815</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[rekonq]]></category>
		<category><![CDATA[browser identification]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[user agent]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://klausdieter0815.wordpress.com/?p=56</guid>
		<description><![CDATA[well, I have been hacking again. Since some websites are broken in a way that they only work when the browser returns a specific identification string, I tried to find a way around this brokenness for my favorite browser rekonq on freebsd.org. This lead to a very hackish patch that is attached here: Remove the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=klausdieter0815.wordpress.com&amp;blog=5024785&amp;post=56&amp;subd=klausdieter0815&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>well, I have been hacking again. Since some websites are broken in a way that they only work when the browser returns a specific identification string, I tried to find a way around this brokenness for my favorite browser rekonq on freebsd.org.<br />
This lead to a very hackish patch that is attached here:</p>
<p><a href="http://klausdieter0815.files.wordpress.com/2010/06/rekonq-user-agent-hack-patch.jpg"><img src="http://klausdieter0815.files.wordpress.com/2010/06/rekonq-user-agent-hack-patch.jpg?w=418" alt="patch against rekonq 0.4.0 to set the browser identification to khtml" title="rekonq-user-agent-hack.patch" class="alignnone size-full wp-image-57" /></a></p>
<p>Remove the .jpg suffix and then apply via the patch command from within the main folder.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/klausdieter0815.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/klausdieter0815.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/klausdieter0815.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/klausdieter0815.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/klausdieter0815.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/klausdieter0815.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/klausdieter0815.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/klausdieter0815.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/klausdieter0815.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/klausdieter0815.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/klausdieter0815.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/klausdieter0815.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/klausdieter0815.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/klausdieter0815.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=klausdieter0815.wordpress.com&amp;blog=5024785&amp;post=56&amp;subd=klausdieter0815&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://klausdieter0815.wordpress.com/2010/06/15/making-the-webkit-browser-rekonq-use-a-different-user-agent-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">klausdieter0815</media:title>
		</media:content>

		<media:content url="http://klausdieter0815.files.wordpress.com/2010/06/rekonq-user-agent-hack-patch.jpg" medium="image">
			<media:title type="html">rekonq-user-agent-hack.patch</media:title>
		</media:content>
	</item>
		<item>
		<title>trac + rss-reader login</title>
		<link>http://klausdieter0815.wordpress.com/2009/04/11/trac-rss-reader-login/</link>
		<comments>http://klausdieter0815.wordpress.com/2009/04/11/trac-rss-reader-login/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 20:05:02 +0000</pubDate>
		<dc:creator>klausdieter0815</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Su]]></category>

		<guid isPermaLink="false">http://klausdieter0815.wordpress.com/2009/04/11/trac-rss-reader-login/</guid>
		<description><![CDATA[To be able to read a trac-rss from within an rss reader it is necessary to patch trac to request authentication instead of returning an error message via http if the user is not authenticated. This can be done using the following patch which is menat to work against 0.11 and can be made to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=klausdieter0815.wordpress.com&amp;blog=5024785&amp;post=50&amp;subd=klausdieter0815&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To be able to read a trac-rss from within an rss reader it is necessary to patch trac to request authentication instead of returning an error message via http if the user is not authenticated.<br />
This can be done using the following patch which is menat to work against 0.11 and can be made to work against 0.10.4</p>
<p><code><br />
diff --git a/trac/web/api.py b/trac/web/api.py<br />
--- a/trac/web/api.py<br />
+++ b/trac/web/api.py<br />
@@ -181,6 +181,9 @@<br />
                       doc='The HTTP method of the request')<br />
     path_info = property(fget=lambda self: self.environ.get('PATH_INFO', '').decode('utf-8'),<br />
                          doc='Path inside the application')<br />
+    query_string = property(fget=lambda self: self.environ.get('QUERY_STRING',<br />
+                                                               ''),<br />
+                            doc='Query part of the request')<br />
     remote_addr = property(fget=lambda self: self.environ.get('REMOTE_ADDR'),<br />
                            doc='IP address of the remote user')<br />
     remote_user = property(fget=lambda self: self.environ.get('REMOTE_USER'),<br />
diff --git a/trac/web/auth.py b/trac/web/auth.py<br />
--- a/trac/web/auth.py<br />
+++ b/trac/web/auth.py<br />
@@ -197,7 +197,7 @@</p>
<p>     def _redirect_back(self, req):<br />
         """Redirect the user back to the URL she came from."""<br />
-        referer = req.get_header('Referer')<br />
+        referer = req.args.get('referer', req.get_header('Referer'))<br />
         if referer and not (referer == req.base_url or \<br />
                 referer.startswith(req.base_url.rstrip('/')+'/')):<br />
             # only redirect to referer if it is from the same site<br />
diff --git a/trac/web/href.py b/trac/web/href.py<br />
--- a/trac/web/href.py<br />
+++ b/trac/web/href.py<br />
@@ -129,7 +129,7 @@<br />
             if type(value) in (list, tuple):<br />
                 for i in [i for i in value if i != None]:<br />
                     params.append((name, i))<br />
-            elif v != None:<br />
+            elif value != None:<br />
                 params.append((name, value))</p>
<p>         if args:<br />
diff --git a/trac/web/main.py b/trac/web/main.py<br />
--- a/trac/web/main.py<br />
+++ b/trac/web/main.py<br />
@@ -437,6 +437,11 @@<br />
         data = {'title': title, 'type': 'TracError', 'message': e.detail,<br />
                 'frames': [], 'traceback': None}<br />
         try:<br />
+            if e.code == 403 and req.authname == 'anonymous':<br />
+                referer = env.abs_href(req.path_info)<br />
+                if req.query_string:<br />
+                    referer += '?' + req.query_string<br />
+                req.redirect(env.href('login', {'referer': referer}))<br />
             req.send_error(sys.exc_info(), status=e.code, env=env, data=data)<br />
         except RequestDone:<br />
             pass</p>
<p></code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/klausdieter0815.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/klausdieter0815.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/klausdieter0815.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/klausdieter0815.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/klausdieter0815.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/klausdieter0815.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/klausdieter0815.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/klausdieter0815.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/klausdieter0815.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/klausdieter0815.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/klausdieter0815.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/klausdieter0815.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/klausdieter0815.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/klausdieter0815.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=klausdieter0815.wordpress.com&amp;blog=5024785&amp;post=50&amp;subd=klausdieter0815&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://klausdieter0815.wordpress.com/2009/04/11/trac-rss-reader-login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">klausdieter0815</media:title>
		</media:content>
	</item>
		<item>
		<title>Real Offline RSS Reader</title>
		<link>http://klausdieter0815.wordpress.com/2009/03/20/43/</link>
		<comments>http://klausdieter0815.wordpress.com/2009/03/20/43/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 15:10:42 +0000</pubDate>
		<dc:creator>klausdieter0815</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[offline]]></category>
		<category><![CDATA[reader]]></category>
		<category><![CDATA[RSS]]></category>

		<guid isPermaLink="false">http://klausdieter0815.wordpress.com/2009/03/20/43/</guid>
		<description><![CDATA[It seems like I am not the only person in the need of an rss reader that is capable of fetching the articles including the link in each article for offline reading. [1] Since I am aware of only one rss offline reader (straw) which currently segfaults before it even starts on my FreeBSD system, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=klausdieter0815.wordpress.com&amp;blog=5024785&amp;post=43&amp;subd=klausdieter0815&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It seems  like I am not the only person in the need of an rss reader that is capable of fetching the articles including the link in each article for offline reading. <a href="http://ubuntuforums.org/showthread.php?t=539437">[1]</a></p>
<p>Since I am aware of only one rss offline reader (straw) which currently segfaults before it even starts on my FreeBSD system, I decided to make my own using various parts.</p>
<p>I am using akregator as rss reader, pdnsd and wwwoffle for the caching part and a little bash script to fetch the articles.</p>
<p>The logic in the script detecting internal links is rather nasty since I am not using any xml dtd. Nevertheless it works for me and I can finally read news when I am riding on a train.<br />
<code><br />
#!/bin/bash<br />
akregatorFeeds="/home/erika/spielwiese/akregator-feeds.xml"<br />
tempdir="$(mktemp -d -t fetchfeeds)"<br />
TIDY="/usr/local/bin/tidy"<br />
DISPATCHER="/home/erika/bin/dispatcher.sh"<br />
FETCH="/usr/bin/fetch"<br />
FETCHTHREADS=5<br />
DISPATCHCHUNK=30</p>
<p>#<br />
#mkdir -p ${tempdir}<br />
rm -f "$akregatorFeeds"<br />
qdbus org.kde.akregator /Akregator org.kde.akregator.part.exportFile "$akregatorFeeds"</p>
<p>if ! [ -f "$akregatorFeeds" ]<br />
then<br />
  echo akregator feeds could not be retrieved via qdbus<br />
  echo exiting.<br />
  exit 1<br />
fi</p>
<p>cd "$tempdir"</p>
<p>echo fetching each feed<br />
for i in $(cat "$akregatorFeeds")<br />
do<br />
  if [ $(echo $i|grep -c xmlUrl) -eq 1 ]<br />
  then<br />
    tmp=${i//xmlUrl=\"/}<br />
    xmlUrl[${#xmlUrl[@]}]=${tmp//\"/}<br />
    #    echo ${xmlUrl[${#xmlUrl[@]}-1]}<br />
  fi<br />
done       </p>
<p># fetch $FETCHTHREADS feeds at once<br />
for ((i=0;i ${tempdir}/$i-tidy.xml 2&gt;/dev/null<br />
    curcount+=1<br />
  } &amp;<br />
  if [[ $curcount -ge $FETCHTHREADS ]]<br />
  then<br />
    curcount=0<br />
    wait<br />
  fi<br />
done</p>
<p>wait</p>
<p>echo fetching articles</p>
<p>linklist=( $(cat *tidy*|grep -e /link -e /id -e /guid |grep "http.*://"|sed -e 's/\//' -e 's/\//' -e 's/\//' -e 's/\//' |grep -v feedburner|grep -v href|grep -v guid) )</p>
<p>for ((i=0;i&lt;${#linklist[@]};i+=$DISPATCHCHUNK))<br />
do<br />
  thisCHUNK=""<br />
  for ((a=$i;a/dev/null<br />
  done<br />
#  $DISPATCHER -c "$FETCH -q" -p $FETCHTHREADS --- ${thisCHUNK}<br />
#  $DISPATCHER -c "wwwoffle -O " -p $FETCHTHREADS --- ${thisCHUNK}<br />
done<br />
echo going online<br />
wwwoffle -on<br />
wwwoffle -fetch &gt;/dev/null<br />
rm -rf "$tempdir<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/klausdieter0815.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/klausdieter0815.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/klausdieter0815.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/klausdieter0815.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/klausdieter0815.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/klausdieter0815.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/klausdieter0815.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/klausdieter0815.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/klausdieter0815.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/klausdieter0815.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/klausdieter0815.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/klausdieter0815.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/klausdieter0815.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/klausdieter0815.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=klausdieter0815.wordpress.com&amp;blog=5024785&amp;post=43&amp;subd=klausdieter0815&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://klausdieter0815.wordpress.com/2009/03/20/43/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">klausdieter0815</media:title>
		</media:content>
	</item>
		<item>
		<title>Awesome Windowmanager</title>
		<link>http://klausdieter0815.wordpress.com/2009/02/25/awesome-windowmanager/</link>
		<comments>http://klausdieter0815.wordpress.com/2009/02/25/awesome-windowmanager/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 22:44:51 +0000</pubDate>
		<dc:creator>klausdieter0815</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://klausdieter0815.wordpress.com/2009/02/25/awesome-windowmanager/</guid>
		<description><![CDATA[The other day I found a new windowmanager. It is tiling and it is awesome. So to not lose the wiki and homepage here it is: AWesome Wiki<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=klausdieter0815.wordpress.com&amp;blog=5024785&amp;post=41&amp;subd=klausdieter0815&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The other day I found a new windowmanager.<br />
It is tiling and it is awesome. So to not lose the wiki and homepage here it is:</p>
<p><a href="http://awesome.naquadah.org/wiki/index.php?title=Main_Page">AWesome Wiki</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/klausdieter0815.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/klausdieter0815.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/klausdieter0815.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/klausdieter0815.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/klausdieter0815.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/klausdieter0815.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/klausdieter0815.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/klausdieter0815.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/klausdieter0815.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/klausdieter0815.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/klausdieter0815.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/klausdieter0815.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/klausdieter0815.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/klausdieter0815.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=klausdieter0815.wordpress.com&amp;blog=5024785&amp;post=41&amp;subd=klausdieter0815&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://klausdieter0815.wordpress.com/2009/02/25/awesome-windowmanager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">klausdieter0815</media:title>
		</media:content>
	</item>
		<item>
		<title>Ricoh Card Reader in Samsung q35 on FreeBSD II</title>
		<link>http://klausdieter0815.wordpress.com/2009/01/08/ricoh-card-reader-in-samsung-q35-on-freebsd-ii/</link>
		<comments>http://klausdieter0815.wordpress.com/2009/01/08/ricoh-card-reader-in-samsung-q35-on-freebsd-ii/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 00:49:51 +0000</pubDate>
		<dc:creator>klausdieter0815</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://klausdieter0815.wordpress.com/?p=38</guid>
		<description><![CDATA[This Cardreader works on 7.1-rc2 when used with the driver for mmc and sdhci from mav http://people.freebsd.org/~mav/sdhci Also the code from current for mmcsd is needed. I checked out the code from one of the cvs servers (see freebsd handbook staying up to date with -current) using cvs and changed all calls from kproc_create and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=klausdieter0815.wordpress.com&amp;blog=5024785&amp;post=38&amp;subd=klausdieter0815&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This Cardreader works on 7.1-rc2 when used with the driver for mmc and sdhci from mav<br />
<a href="http://people.freebsd.org/~mav/sdhci">http://people.freebsd.org/~mav/sdhci</a></p>
<p>Also the code from current for mmcsd is needed. I checked out the code from one of the cvs servers (see freebsd handbook staying up to date with -current) using cvs and changed all calls from kproc_create and kproc_exit to kthread_create and kthread_exit.<br />
I ran kldload mmc sdhci mmcsd, inserted an SD card and watched the device nodes appear!<br />
The Speed is comparable to the Linux/Windows driver on my machine and the solution is much more elegant than what I posted before.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/klausdieter0815.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/klausdieter0815.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/klausdieter0815.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/klausdieter0815.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/klausdieter0815.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/klausdieter0815.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/klausdieter0815.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/klausdieter0815.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/klausdieter0815.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/klausdieter0815.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/klausdieter0815.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/klausdieter0815.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/klausdieter0815.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/klausdieter0815.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=klausdieter0815.wordpress.com&amp;blog=5024785&amp;post=38&amp;subd=klausdieter0815&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://klausdieter0815.wordpress.com/2009/01/08/ricoh-card-reader-in-samsung-q35-on-freebsd-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">klausdieter0815</media:title>
		</media:content>
	</item>
		<item>
		<title>Ricoh Card Reader in Samsung q35 on FreeBSD</title>
		<link>http://klausdieter0815.wordpress.com/2009/01/03/ricoh-card-reader-in-samsung-q35-on-freebsd/</link>
		<comments>http://klausdieter0815.wordpress.com/2009/01/03/ricoh-card-reader-in-samsung-q35-on-freebsd/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 13:05:54 +0000</pubDate>
		<dc:creator>klausdieter0815</dc:creator>
				<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://klausdieter0815.wordpress.com/2009/01/03/ricoh-card-reader-in-samsung-q35-on-freebsd/</guid>
		<description><![CDATA[Since the hack from http://lists.freebsd.org/pipermail/freebsd-mobile/2007-January/009481.html does not compile on my amd64 freebsd 7.1-rc2 I wrote a quick hack to make it compile. From a quick glance at the code there seems to be no write support and read support is dead slow &#8211; around 30 Bytes/s. Yet, it is possible to get some pictures from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=klausdieter0815.wordpress.com&amp;blog=5024785&amp;post=33&amp;subd=klausdieter0815&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-32" title="sdhcidd-71-rc2-fixdiff" src="http://klausdieter0815.files.wordpress.com/2009/01/sdhcidd-71-rc2-fixdiff.jpg?w=418" alt="sdhcidd-71-rc2-fixdiff" />Since the hack from http://lists.freebsd.org/pipermail/freebsd-mobile/2007-January/009481.html does not compile on my amd64 freebsd 7.1-rc2 I wrote a quick hack to make it compile.<br />
From a quick glance at the code there seems to be no write support and read support is dead slow &#8211; around 30 Bytes/s. Yet, it is possible to get some pictures from an sd card.<br />
To compile the code, folow the instructions from above mail and apply this patch:<br />
If anyone can tell me how to properly attach ascii files to a post on wordpress.com I would be very glad. Until then I guess everyone has to live with crappy layout of the code tags<br />
<code><br />
--- ../sdhcidd-0.0.3/sdhci.c    2009-01-03 01:09:30.000000000 +0100<br />
+++ sdhci.c     2009-01-03 14:02:24.000000000 +0100<br />
@@ -921,7 +921,7 @@<br />
  }                                                     </p>
<p>  /* setup ISR to IRQ */<br />
- if ( bus_setup_intr(dev,sc-&gt;irqres,INTR_TYPE_CAM|INTR_MPSAFE,NULL,(driver_intr_t *) sdhciISR,sc,&amp;(sc-&gt;irqhnd)) )<br />
+ if ( bus_setup_intr(dev,sc-&gt;irqres,INTR_TYPE_CAM|INTR_MPSAFE,(driver_intr_t *) sdhciISR,sc,&amp;(sc-&gt;irqhnd)) )<br />
  {<br />
   printf("ISR setup failed.\n");<br />
   bus_release_resource(dev, SYS_RES_MEMORY, sc-&gt;portid, sc-&gt;portres);<br />
@@ -938,7 +938,7 @@<br />
  bus_space_write_2(sc-&gt;bt,sc-&gt;bh,SDHREG_INT_STATUS_ENABLE,(SDHBIT_INT_CARD_REMOVE|SDHBIT_INT_CARD_INSERT|SDHBIT_INT_TRNCOMPLETE|SDHBIT_INT_CMDCOMPLETE|SDHBIT_INT_READ_READY|SDHBIT_INT_WRITE_READY));<br />
  bus_space_write_2(sc-&gt;bt,sc-&gt;bh,SDHREG_INT_SIG_ENABLE,(SDHBIT_INT_CARD_REMOVE|SDHBIT_INT_CARD_INSERT));</p>
<p>- device_printf(dev,"%s, slots=0x%x, first-slot@BAR=0x%x, revision=0x%x, interface-code=0x%x, sub-class=0x%x, basic-class=0x%x, bus-tag=0x%x, bus-hnd=0x%x\n",device_get_desc(sc-&gt;sdhci_dev),sc-&gt;slots,sc-&gt;firstBARat,rev,ic,subcls,bascls,(unsigned int)sc-&gt;bt,(unsigned int)sc-&gt;bh);<br />
+ device_printf(dev,"%s, slots=0x%x, first-slot@BAR=0x%x, revision=0x%x, interface-code=0x%x, sub-class=0x%x, basic-class=0x%x, bus-tag=0x%x, bus-hnd=0x%x\n",device_get_desc(sc-&gt;sdhci_dev),sc-&gt;slots,sc-&gt;firstBARat,rev,ic,subcls,bascls,sc-&gt;bt,sc-&gt;bh);</p>
<p>  sdhci_led_off(sc);<br />
  return (0);<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/klausdieter0815.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/klausdieter0815.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/klausdieter0815.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/klausdieter0815.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/klausdieter0815.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/klausdieter0815.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/klausdieter0815.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/klausdieter0815.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/klausdieter0815.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/klausdieter0815.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/klausdieter0815.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/klausdieter0815.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/klausdieter0815.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/klausdieter0815.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=klausdieter0815.wordpress.com&amp;blog=5024785&amp;post=33&amp;subd=klausdieter0815&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://klausdieter0815.wordpress.com/2009/01/03/ricoh-card-reader-in-samsung-q35-on-freebsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">klausdieter0815</media:title>
		</media:content>

		<media:content url="http://klausdieter0815.files.wordpress.com/2009/01/sdhcidd-71-rc2-fixdiff.jpg" medium="image">
			<media:title type="html">sdhcidd-71-rc2-fixdiff</media:title>
		</media:content>
	</item>
		<item>
		<title>Subversion + Unison</title>
		<link>http://klausdieter0815.wordpress.com/2008/12/02/subversion-unison/</link>
		<comments>http://klausdieter0815.wordpress.com/2008/12/02/subversion-unison/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 17:32:07 +0000</pubDate>
		<dc:creator>klausdieter0815</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Su]]></category>
		<category><![CDATA[Subversionn]]></category>
		<category><![CDATA[unison]]></category>

		<guid isPermaLink="false">http://klausdieter0815.wordpress.com/?p=28</guid>
		<description><![CDATA[Unison is a great tool to keep data from different folders in sync. The only drawback is, that is upsets svn if its database gets changed by an external tool like unison. The solution is to have svn Directories excluded from the unison sync, but how to do it if these directories continually change? This [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=klausdieter0815.wordpress.com&amp;blog=5024785&amp;post=28&amp;subd=klausdieter0815&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Unison is a great tool to keep data from different folders in sync. The only drawback is, that is upsets svn if its database gets changed by an external tool like unison.</p>
<p>The solution is to have svn Directories excluded from the unison sync, but how to do it if these directories continually change?</p>
<p>This is possible using a <a href="http://klausdieter0815.files.wordpress.com/2008/12/unisongen.jpg">script</a> I wrote recently. Rename the file to .sh and review before running it.</p>
<p>It is still horribly inefficient but it works and since<br />
the main time consuming factor is not the logic but IO I kept unoptimized.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/klausdieter0815.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/klausdieter0815.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/klausdieter0815.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/klausdieter0815.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/klausdieter0815.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/klausdieter0815.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/klausdieter0815.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/klausdieter0815.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/klausdieter0815.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/klausdieter0815.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/klausdieter0815.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/klausdieter0815.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/klausdieter0815.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/klausdieter0815.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=klausdieter0815.wordpress.com&amp;blog=5024785&amp;post=28&amp;subd=klausdieter0815&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://klausdieter0815.wordpress.com/2008/12/02/subversion-unison/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">klausdieter0815</media:title>
		</media:content>
	</item>
		<item>
		<title>FreeBSD Custom Kernel</title>
		<link>http://klausdieter0815.wordpress.com/2008/11/26/freebsd-custom-kernel/</link>
		<comments>http://klausdieter0815.wordpress.com/2008/11/26/freebsd-custom-kernel/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 13:04:56 +0000</pubDate>
		<dc:creator>klausdieter0815</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://klausdieter0815.wordpress.com/?p=25</guid>
		<description><![CDATA[So this is probably a newbie-mistake but anyways. If one happens to build a custom kernel in FreeBSD, then sets some variables in /boot/loader.conf that are incompatible with the standard kernel (raising vm.kmem_size_max above 700M comes to mind on 32 bit systems) and then performs an update of freebsd to the next release, then you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=klausdieter0815.wordpress.com&amp;blog=5024785&amp;post=25&amp;subd=klausdieter0815&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So this is probably a newbie-mistake but anyways. If one happens to build a custom kernel in FreeBSD, then sets some variables in /boot/loader.conf that are incompatible with the standard kernel (raising vm.kmem_size_max above 700M comes to mind on 32 bit systems) and then performs an update of freebsd to the next release, then you are in trouble because the update seems to overwrite the own custom kernel. This means that a kernel will be installed that cannot cope with the custom settings from loader.conf which will cause it to crap out.</p>
<p>Note to self: Rebuild custom kernel after System upgrade and BEFORE reboot</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/klausdieter0815.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/klausdieter0815.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/klausdieter0815.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/klausdieter0815.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/klausdieter0815.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/klausdieter0815.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/klausdieter0815.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/klausdieter0815.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/klausdieter0815.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/klausdieter0815.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/klausdieter0815.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/klausdieter0815.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/klausdieter0815.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/klausdieter0815.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=klausdieter0815.wordpress.com&amp;blog=5024785&amp;post=25&amp;subd=klausdieter0815&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://klausdieter0815.wordpress.com/2008/11/26/freebsd-custom-kernel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">klausdieter0815</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting rid of need for TICKET_MODIFY Rights to assign tickets to trac user in dropdown box</title>
		<link>http://klausdieter0815.wordpress.com/2008/11/24/getting-rid-of-need-for-ticket_modify-rights-to-assign-tickets-to-trac-user-in-dropdown-box/</link>
		<comments>http://klausdieter0815.wordpress.com/2008/11/24/getting-rid-of-need-for-ticket_modify-rights-to-assign-tickets-to-trac-user-in-dropdown-box/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 23:24:58 +0000</pubDate>
		<dc:creator>klausdieter0815</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[trac]]></category>

		<guid isPermaLink="false">http://klausdieter0815.wordpress.com/?p=23</guid>
		<description><![CDATA[Today I wanted to be able to assign tickets to users in trac 0.10 that do not have TICKET_MODIFY rights. Nevertheless I wanted to be able to use the dropdown field instead of typing every username. So I hacked trac to not require this right anymore. In api.py which on my system is located in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=klausdieter0815.wordpress.com&amp;blog=5024785&amp;post=23&amp;subd=klausdieter0815&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I wanted to be able to assign tickets to users in trac 0.10 that do not have TICKET_MODIFY rights.</p>
<p>Nevertheless I wanted to be able to use the dropdown field instead of typing every username.</p>
<p>So I hacked trac to not require this right anymore. In api.py which on my system is located in /usr/lib/python2.4/site-packages/trac/ticket I changed line 105 to a comment</p>
<p>The part of the script now looks like:</p>
<p><code><br />
# Owner field, can be text or drop-down depending on configuration<br />
field = {'name': 'owner', 'label': 'Owner'}<br />
if self.restrict_owner:<br />
field['type'] = 'select'<br />
users = []<br />
perm = PermissionSystem(self.env)<br />
for username, name, email in self.env.get_known_users(db):<br />
# if perm.get_user_permissions(username).get('TICKET_MODIFY'):<br />
users.append(username)<br />
field['options'] = users<br />
field['optional'] = True<br />
else:<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/klausdieter0815.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/klausdieter0815.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/klausdieter0815.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/klausdieter0815.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/klausdieter0815.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/klausdieter0815.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/klausdieter0815.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/klausdieter0815.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/klausdieter0815.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/klausdieter0815.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/klausdieter0815.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/klausdieter0815.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/klausdieter0815.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/klausdieter0815.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=klausdieter0815.wordpress.com&amp;blog=5024785&amp;post=23&amp;subd=klausdieter0815&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://klausdieter0815.wordpress.com/2008/11/24/getting-rid-of-need-for-ticket_modify-rights-to-assign-tickets-to-trac-user-in-dropdown-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">klausdieter0815</media:title>
		</media:content>
	</item>
		<item>
		<title>FreeBSD + ZFS</title>
		<link>http://klausdieter0815.wordpress.com/2008/10/22/freebsd-zfs/</link>
		<comments>http://klausdieter0815.wordpress.com/2008/10/22/freebsd-zfs/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 09:27:34 +0000</pubDate>
		<dc:creator>klausdieter0815</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://klausdieter0815.wordpress.com/?p=21</guid>
		<description><![CDATA[So zfs is a wonderful filesystem. After having used it on linux with zfs-fuse I felt that it was worth using, but that it is way too slow (both for 32 and 64 bit Systems) and unstable to be used comfortably in Linux. So ZFS was one of the main reasons I switched to FreeBSD. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=klausdieter0815.wordpress.com&amp;blog=5024785&amp;post=21&amp;subd=klausdieter0815&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So zfs is a wonderful filesystem. After having used it on linux with zfs-fuse I felt that it was worth using, but  that it is way too slow (both for 32 and 64 bit Systems) and unstable to be used comfortably in Linux. So ZFS was one of the main reasons I switched to FreeBSD.</p>
<p>Installing zfs is not hard on freebsd and I do not want to go over it here. There are several Tuning guides out there and until yesterday I was too lazy to build my own kernel to increase in-kernel memory.<br />
I had some crashes and yesterday I finally rebuilt the kernel to set options KVA_PAGES=512 in the config file to be able to increase vm.kmem_size above 700 MB. vm.kmem_size as well as vm.kmem_size_max are set to 1280MB  &#8211; I have 3gb ram on my 32 bit system.<br />
This seems to have been the Problem because since then even after heavy IO the system is stable.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/klausdieter0815.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/klausdieter0815.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/klausdieter0815.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/klausdieter0815.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/klausdieter0815.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/klausdieter0815.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/klausdieter0815.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/klausdieter0815.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/klausdieter0815.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/klausdieter0815.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/klausdieter0815.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/klausdieter0815.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/klausdieter0815.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/klausdieter0815.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=klausdieter0815.wordpress.com&amp;blog=5024785&amp;post=21&amp;subd=klausdieter0815&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://klausdieter0815.wordpress.com/2008/10/22/freebsd-zfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">klausdieter0815</media:title>
		</media:content>
	</item>
	</channel>
</rss>
