<?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/"
	>

<channel>
	<title>bobpeers -&#62; blog &#187; kernel</title>
	<atom:link href="http://blog.bobpeers.com/tag/kernel/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bobpeers.com</link>
	<description>Better late than never</description>
	<lastBuildDate>Fri, 24 Jun 2011 12:34:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Non Booting 64bit Kernel</title>
		<link>http://blog.bobpeers.com/2009/12/18/non-booting-64bit-kernel/</link>
		<comments>http://blog.bobpeers.com/2009/12/18/non-booting-64bit-kernel/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 11:13:34 +0000</pubDate>
		<dc:creator>Bob Peers</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[device]]></category>
		<category><![CDATA[hang]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[nodes]]></category>

		<guid isPermaLink="false">http://blog.bobpeers.com/?p=227</guid>
		<description><![CDATA[In an attempt to fix the slow booting problem I have with Fedora 12 running in a virtual machine I decided to compile the latest stable kernel, 2.6.32. Compiling went fine but I cannot get it to boot as it hangs at the line &#8216;Creating initial device nodes&#8217;. There&#8217;s plenty of people with the same [...]]]></description>
			<content:encoded><![CDATA[<p>In an attempt to fix the slow booting problem I have with Fedora 12 running in a virtual machine I decided to compile the latest stable kernel, 2.6.32.</p>
<p>Compiling went fine  but I cannot get it to boot as it hangs at the line &#8216;Creating initial device nodes&#8217;. There&#8217;s plenty of people with the <a href="http://www.google.dk/search?q=creating+initial+device+nodes&#038;ie=utf-8&#038;oe=utf-8&#038;aq=t&#038;rls=org.mozilla:en-GB:official&#038;client=firefox-a">same problem</a> it seems, but no solution that works for me. I&#8217;ve compiled many kernels before and never had a booting problem so this is pretty annoying, maybe it&#8217;s because it&#8217;s the first 64bit kernel I&#8217;ve tried compiling.</p>
<p><img width="500px" height="278px" class="centered" src="http://blog.bobpeers.com/wp-content/uploads/2009/12/device_nodes.png" alt="Kernel Hang"/></p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fblog.bobpeers.com%2F2009%2F12%2F18%2Fnon-booting-64bit-kernel%2F&amp;counturl=http%3A%2F%2Fblog.bobpeers.com%2F2009%2F12%2F18%2Fnon-booting-64bit-kernel%2F&amp;count=none&amp;text=Non%20Booting%2064bit%20Kernel" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fblog.bobpeers.com%2F2009%2F12%2F18%2Fnon-booting-64bit-kernel%2F&amp;counturl=http%3A%2F%2Fblog.bobpeers.com%2F2009%2F12%2F18%2Fnon-booting-64bit-kernel%2F&amp;count=none&amp;text=Non%20Booting%2064bit%20Kernel" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.bobpeers.com%2F2009%2F12%2F18%2Fnon-booting-64bit-kernel%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.bobpeers.com%2F2009%2F12%2F18%2Fnon-booting-64bit-kernel%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fblog.bobpeers.com%2F2009%2F12%2F18%2Fnon-booting-64bit-kernel%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fblog.bobpeers.com%2F2009%2F12%2F18%2Fnon-booting-64bit-kernel%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2009%2F12%2F18%2Fnon-booting-64bit-kernel%2F&amp;linkname=Non%20Booting%2064bit%20Kernel" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_evernote" href="http://www.addtoany.com/add_to/evernote?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2009%2F12%2F18%2Fnon-booting-64bit-kernel%2F&amp;linkname=Non%20Booting%2064bit%20Kernel" title="Evernote" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/evernote.png" width="16" height="16" alt="Evernote"/></a><a class="a2a_button_google_gmail" href="http://www.addtoany.com/add_to/google_gmail?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2009%2F12%2F18%2Fnon-booting-64bit-kernel%2F&amp;linkname=Non%20Booting%2064bit%20Kernel" title="Google Gmail" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/gmail.png" width="16" height="16" alt="Google Gmail"/></a><a class="a2a_button_hotmail" href="http://www.addtoany.com/add_to/hotmail?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2009%2F12%2F18%2Fnon-booting-64bit-kernel%2F&amp;linkname=Non%20Booting%2064bit%20Kernel" title="Hotmail" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Hotmail"/></a><a class="a2a_button_wordpress" href="http://www.addtoany.com/add_to/wordpress?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2009%2F12%2F18%2Fnon-booting-64bit-kernel%2F&amp;linkname=Non%20Booting%2064bit%20Kernel" title="WordPress" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/wordpress.png" width="16" height="16" alt="WordPress"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2009%2F12%2F18%2Fnon-booting-64bit-kernel%2F&amp;linkname=Non%20Booting%2064bit%20Kernel" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2009%2F12%2F18%2Fnon-booting-64bit-kernel%2F&amp;linkname=Non%20Booting%2064bit%20Kernel" title="Facebook" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2009%2F12%2F18%2Fnon-booting-64bit-kernel%2F&amp;linkname=Non%20Booting%2064bit%20Kernel" title="Delicious" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.bobpeers.com%2F2009%2F12%2F18%2Fnon-booting-64bit-kernel%2F&amp;title=Non%20Booting%2064bit%20Kernel" id="wpa2a_2"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.bobpeers.com/2009/12/18/non-booting-64bit-kernel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compiling Your Own Kernel to Decrease Boot Time</title>
		<link>http://blog.bobpeers.com/2008/10/03/compiling-your-own-kernel-to-decrease-boot-time/</link>
		<comments>http://blog.bobpeers.com/2008/10/03/compiling-your-own-kernel-to-decrease-boot-time/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 19:40:57 +0000</pubDate>
		<dc:creator>Bob Peers</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[bootchart]]></category>
		<category><![CDATA[compiling]]></category>
		<category><![CDATA[kernel]]></category>

		<guid isPermaLink="false">http://blog.bobpeers.com/2008/10/03/compiling-your-own-kernel-to-decrease-boot-time/</guid>
		<description><![CDATA[After reading about Fedora and Ubuntu attempts to speed up the boot times I thought I&#8217;d see how my boot times compared, plus if there was anything I could easily do to improve mine. First I installed Bootchart, it&#8217;s in the Fedora 9 repositories so it&#8217;s a simple install. # yum install bootchart That&#8217;s all [...]]]></description>
			<content:encoded><![CDATA[<p>After reading about Fedora and Ubuntu attempts to speed up the boot times I thought I&#8217;d see how my boot times compared, plus if there was anything I could easily do to improve mine.</p>
<p>First I installed <a href="http://www.bootchart.org/">Bootchart,</a> it&#8217;s in the Fedora 9 repositories so it&#8217;s a simple install.</p>
<pre># yum install bootchart</pre>
<p>That&#8217;s all the is to it, it even edits your grub.conf to append the  init=/sbin/bootchartd to your currently running kernel (to stop Bootchart running each boot just remove this entry from your grub.conf).</p>
<p>After booting the Bootchart output is saved to /var/log/bootchart.svgz, but just running the command bootchart with no arguments will automatically parse the file and format the output into a svg file in your current directory.</p>
<p>Running a stock Fedora 9 kernel (2.6.26.5-45.fc9.i686) gave a boot time of 42 seconds, not that bad for a 5 year old laptop plus I&#8217;m running SELinux. This is probably because I have already turned off many services that I rarely or never use.</p>
<p>As a comparison I decided to download  and compile a &#8216;vanilla&#8217; 2.6.26.5 kernel from <a href="http://www.kernel.org/">kernel.org</a>. Running `make menuconfig` I was fairly ruthless with removing unneeded options and trying to compile most options into the kernel instead of into modules. For example my laptop has a pccard slot but I never use it so I removed support in the kernel.</p>
<p>Another optimization I tried was to remove all the debugging options under &#8216;Kernel Hacking&#8217; and to remove the &#8216;Compile for size&#8217; option under  &#8216;General Setup&#8217; so the compiler uses  the -O2 flag instead of -Os, as the help says:</p>
<p><code>CONFIG_CC_OPTIMIZE_FOR_SIZE:<br />
  Enabling this option will pass "-Os" instead of "-O2" to gcc<br />
  resulting in a smaller kernel.<br />
</code></p>
<p>I didn&#8217;t change anything that affected the functionality of my laptop, it still works perfectly, plus I didn&#8217;t compile all options into the kernel (ipw2100 wireless to name one) or remove everything I could have.</p>
<p>The result of running Bootchart with the new kernel gave a boot time of 33 seconds. That&#8217;s a 9 second or 21% speedup! I must admit that it was more than I expected and it&#8217;s a good improvement for about 1 hours work. It would be even quicker the next time since most of the time was spent creating the .config file but I can just use that again next time.</p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F10%2F03%2Fcompiling-your-own-kernel-to-decrease-boot-time%2F&amp;counturl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F10%2F03%2Fcompiling-your-own-kernel-to-decrease-boot-time%2F&amp;count=none&amp;text=Compiling%20Your%20Own%20Kernel%20to%20Decrease%20Boot%20Time" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F10%2F03%2Fcompiling-your-own-kernel-to-decrease-boot-time%2F&amp;counturl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F10%2F03%2Fcompiling-your-own-kernel-to-decrease-boot-time%2F&amp;count=none&amp;text=Compiling%20Your%20Own%20Kernel%20to%20Decrease%20Boot%20Time" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F10%2F03%2Fcompiling-your-own-kernel-to-decrease-boot-time%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F10%2F03%2Fcompiling-your-own-kernel-to-decrease-boot-time%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F10%2F03%2Fcompiling-your-own-kernel-to-decrease-boot-time%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F10%2F03%2Fcompiling-your-own-kernel-to-decrease-boot-time%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F10%2F03%2Fcompiling-your-own-kernel-to-decrease-boot-time%2F&amp;linkname=Compiling%20Your%20Own%20Kernel%20to%20Decrease%20Boot%20Time" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_evernote" href="http://www.addtoany.com/add_to/evernote?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F10%2F03%2Fcompiling-your-own-kernel-to-decrease-boot-time%2F&amp;linkname=Compiling%20Your%20Own%20Kernel%20to%20Decrease%20Boot%20Time" title="Evernote" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/evernote.png" width="16" height="16" alt="Evernote"/></a><a class="a2a_button_google_gmail" href="http://www.addtoany.com/add_to/google_gmail?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F10%2F03%2Fcompiling-your-own-kernel-to-decrease-boot-time%2F&amp;linkname=Compiling%20Your%20Own%20Kernel%20to%20Decrease%20Boot%20Time" title="Google Gmail" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/gmail.png" width="16" height="16" alt="Google Gmail"/></a><a class="a2a_button_hotmail" href="http://www.addtoany.com/add_to/hotmail?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F10%2F03%2Fcompiling-your-own-kernel-to-decrease-boot-time%2F&amp;linkname=Compiling%20Your%20Own%20Kernel%20to%20Decrease%20Boot%20Time" title="Hotmail" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Hotmail"/></a><a class="a2a_button_wordpress" href="http://www.addtoany.com/add_to/wordpress?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F10%2F03%2Fcompiling-your-own-kernel-to-decrease-boot-time%2F&amp;linkname=Compiling%20Your%20Own%20Kernel%20to%20Decrease%20Boot%20Time" title="WordPress" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/wordpress.png" width="16" height="16" alt="WordPress"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F10%2F03%2Fcompiling-your-own-kernel-to-decrease-boot-time%2F&amp;linkname=Compiling%20Your%20Own%20Kernel%20to%20Decrease%20Boot%20Time" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F10%2F03%2Fcompiling-your-own-kernel-to-decrease-boot-time%2F&amp;linkname=Compiling%20Your%20Own%20Kernel%20to%20Decrease%20Boot%20Time" title="Facebook" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F10%2F03%2Fcompiling-your-own-kernel-to-decrease-boot-time%2F&amp;linkname=Compiling%20Your%20Own%20Kernel%20to%20Decrease%20Boot%20Time" title="Delicious" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F10%2F03%2Fcompiling-your-own-kernel-to-decrease-boot-time%2F&amp;title=Compiling%20Your%20Own%20Kernel%20to%20Decrease%20Boot%20Time" id="wpa2a_4"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.bobpeers.com/2008/10/03/compiling-your-own-kernel-to-decrease-boot-time/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Safely Shutdown a Frozen Linux System</title>
		<link>http://blog.bobpeers.com/2008/09/17/safely-shutdown-a-frozen-linux-system/</link>
		<comments>http://blog.bobpeers.com/2008/09/17/safely-shutdown-a-frozen-linux-system/#comments</comments>
		<pubDate>Wed, 17 Sep 2008 19:44:41 +0000</pubDate>
		<dc:creator>Bob Peers</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[frozen]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[sysrq]]></category>

		<guid isPermaLink="false">http://blog.bobpeers.com/2008/09/17/safely-shutdown-a-frozen-linux-system/</guid>
		<description><![CDATA[For when everything freezes totally it&#8217;s useful to know the commands on this Free Software Magazine page. I notice that on Fedora these keys are not captured by default but this is easily fixed using the following command as root. # echo 1 > /proc/sys/kernel/sysrq On my system this also opens gnome-screenshot but don&#8217;t worry [...]]]></description>
			<content:encoded><![CDATA[<p>For when everything freezes totally it&#8217;s useful to know the commands on this <a href="http://www.freesoftwaremagazine.com/columns/closing_down_gnu_linux_safely_with_sysrq+">Free Software Magazine page</a>.</p>
<p>I notice that on Fedora these keys are not captured by default but this is easily fixed using the following command as root.</p>
<pre># echo 1 > /proc/sys/kernel/sysrq</pre>
<p>On my system this also opens gnome-screenshot but don&#8217;t worry as the kernel still gets the keys as well. My only problem is that the /proc/sys/kernel/sysrq file gets overwritten on boot so I need to make the change permanent, if I find a solution I&#8217;ll update the post.</p>
<p>Update &#8211; on Fedora it&#8217;s very easy to set the sysrq parameter to 1 permanently. Just open the file /etc/sysctl.conf as root and look for the following line, changing it from 0 to 1.</p>
<pre># Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
</pre>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F09%2F17%2Fsafely-shutdown-a-frozen-linux-system%2F&amp;counturl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F09%2F17%2Fsafely-shutdown-a-frozen-linux-system%2F&amp;count=none&amp;text=Safely%20Shutdown%20a%20Frozen%20Linux%20System" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F09%2F17%2Fsafely-shutdown-a-frozen-linux-system%2F&amp;counturl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F09%2F17%2Fsafely-shutdown-a-frozen-linux-system%2F&amp;count=none&amp;text=Safely%20Shutdown%20a%20Frozen%20Linux%20System" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F09%2F17%2Fsafely-shutdown-a-frozen-linux-system%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F09%2F17%2Fsafely-shutdown-a-frozen-linux-system%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F09%2F17%2Fsafely-shutdown-a-frozen-linux-system%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F09%2F17%2Fsafely-shutdown-a-frozen-linux-system%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F09%2F17%2Fsafely-shutdown-a-frozen-linux-system%2F&amp;linkname=Safely%20Shutdown%20a%20Frozen%20Linux%20System" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_evernote" href="http://www.addtoany.com/add_to/evernote?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F09%2F17%2Fsafely-shutdown-a-frozen-linux-system%2F&amp;linkname=Safely%20Shutdown%20a%20Frozen%20Linux%20System" title="Evernote" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/evernote.png" width="16" height="16" alt="Evernote"/></a><a class="a2a_button_google_gmail" href="http://www.addtoany.com/add_to/google_gmail?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F09%2F17%2Fsafely-shutdown-a-frozen-linux-system%2F&amp;linkname=Safely%20Shutdown%20a%20Frozen%20Linux%20System" title="Google Gmail" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/gmail.png" width="16" height="16" alt="Google Gmail"/></a><a class="a2a_button_hotmail" href="http://www.addtoany.com/add_to/hotmail?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F09%2F17%2Fsafely-shutdown-a-frozen-linux-system%2F&amp;linkname=Safely%20Shutdown%20a%20Frozen%20Linux%20System" title="Hotmail" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Hotmail"/></a><a class="a2a_button_wordpress" href="http://www.addtoany.com/add_to/wordpress?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F09%2F17%2Fsafely-shutdown-a-frozen-linux-system%2F&amp;linkname=Safely%20Shutdown%20a%20Frozen%20Linux%20System" title="WordPress" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/wordpress.png" width="16" height="16" alt="WordPress"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F09%2F17%2Fsafely-shutdown-a-frozen-linux-system%2F&amp;linkname=Safely%20Shutdown%20a%20Frozen%20Linux%20System" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F09%2F17%2Fsafely-shutdown-a-frozen-linux-system%2F&amp;linkname=Safely%20Shutdown%20a%20Frozen%20Linux%20System" title="Facebook" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F09%2F17%2Fsafely-shutdown-a-frozen-linux-system%2F&amp;linkname=Safely%20Shutdown%20a%20Frozen%20Linux%20System" title="Delicious" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F09%2F17%2Fsafely-shutdown-a-frozen-linux-system%2F&amp;title=Safely%20Shutdown%20a%20Frozen%20Linux%20System" id="wpa2a_6"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.bobpeers.com/2008/09/17/safely-shutdown-a-frozen-linux-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recompiling Virtualbox Kernel Module</title>
		<link>http://blog.bobpeers.com/2008/07/07/recompiling-virtualbox-kernel-module/</link>
		<comments>http://blog.bobpeers.com/2008/07/07/recompiling-virtualbox-kernel-module/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 09:15:34 +0000</pubDate>
		<dc:creator>Bob Peers</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[recompile]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://blog.bobpeers.com/2008/07/07/recompiling-virtualbox-kernel-module/</guid>
		<description><![CDATA[If after installing a new kernel you may get an error message when you try to start Virtualbox saying something like &#8216;The vboxdrv kernel module was either not loaded&#8230;&#8217;. If you then read the logs the solution is actually written there. Re-setup the kernel module by executing &#8216;/etc/init.d/vboxdrv setup&#8217; as root. Sure enough this command [...]]]></description>
			<content:encoded><![CDATA[<p>If after installing a new kernel you may get an error message when you try to start Virtualbox saying something like &#8216;The vboxdrv kernel module was either not loaded&#8230;&#8217;. If you then read the logs the solution is actually written there.</p>
<blockquote><p>Re-setup the kernel module by executing &#8216;/etc/init.d/vboxdrv setup&#8217; as root.</p></blockquote>
<p>Sure enough this command fixes the problem and rebuilds the kernel module for the currently running kernel.</p>
<pre># /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module          [  OK  ]
Recompiling VirtualBox kernel module       [  OK  ]
Starting VirtualBox kernel module          [  OK  ]
</pre>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F07%2F07%2Frecompiling-virtualbox-kernel-module%2F&amp;counturl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F07%2F07%2Frecompiling-virtualbox-kernel-module%2F&amp;count=none&amp;text=Recompiling%20Virtualbox%20Kernel%20Module" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F07%2F07%2Frecompiling-virtualbox-kernel-module%2F&amp;counturl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F07%2F07%2Frecompiling-virtualbox-kernel-module%2F&amp;count=none&amp;text=Recompiling%20Virtualbox%20Kernel%20Module" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F07%2F07%2Frecompiling-virtualbox-kernel-module%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F07%2F07%2Frecompiling-virtualbox-kernel-module%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F07%2F07%2Frecompiling-virtualbox-kernel-module%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F07%2F07%2Frecompiling-virtualbox-kernel-module%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F07%2F07%2Frecompiling-virtualbox-kernel-module%2F&amp;linkname=Recompiling%20Virtualbox%20Kernel%20Module" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_evernote" href="http://www.addtoany.com/add_to/evernote?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F07%2F07%2Frecompiling-virtualbox-kernel-module%2F&amp;linkname=Recompiling%20Virtualbox%20Kernel%20Module" title="Evernote" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/evernote.png" width="16" height="16" alt="Evernote"/></a><a class="a2a_button_google_gmail" href="http://www.addtoany.com/add_to/google_gmail?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F07%2F07%2Frecompiling-virtualbox-kernel-module%2F&amp;linkname=Recompiling%20Virtualbox%20Kernel%20Module" title="Google Gmail" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/gmail.png" width="16" height="16" alt="Google Gmail"/></a><a class="a2a_button_hotmail" href="http://www.addtoany.com/add_to/hotmail?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F07%2F07%2Frecompiling-virtualbox-kernel-module%2F&amp;linkname=Recompiling%20Virtualbox%20Kernel%20Module" title="Hotmail" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Hotmail"/></a><a class="a2a_button_wordpress" href="http://www.addtoany.com/add_to/wordpress?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F07%2F07%2Frecompiling-virtualbox-kernel-module%2F&amp;linkname=Recompiling%20Virtualbox%20Kernel%20Module" title="WordPress" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/wordpress.png" width="16" height="16" alt="WordPress"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F07%2F07%2Frecompiling-virtualbox-kernel-module%2F&amp;linkname=Recompiling%20Virtualbox%20Kernel%20Module" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F07%2F07%2Frecompiling-virtualbox-kernel-module%2F&amp;linkname=Recompiling%20Virtualbox%20Kernel%20Module" title="Facebook" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F07%2F07%2Frecompiling-virtualbox-kernel-module%2F&amp;linkname=Recompiling%20Virtualbox%20Kernel%20Module" title="Delicious" rel="nofollow" target="_blank"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.bobpeers.com%2F2008%2F07%2F07%2Frecompiling-virtualbox-kernel-module%2F&amp;title=Recompiling%20Virtualbox%20Kernel%20Module" id="wpa2a_8"><img src="http://blog.bobpeers.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.bobpeers.com/2008/07/07/recompiling-virtualbox-kernel-module/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
	</channel>
</rss>

