<?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>SurlyJake &#187; FreeBSD8</title>
	<atom:link href="http://www.surlyjake.com/tag/freebsd8/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.surlyjake.com</link>
	<description></description>
	<lastBuildDate>Tue, 29 Jun 2010 21:27:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>FreeBSD error in /boot/loader.conf</title>
		<link>http://www.surlyjake.com/freebsd8/freebsd-error-in-bootloader-conf/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=freebsd-error-in-bootloader-conf</link>
		<comments>http://www.surlyjake.com/freebsd8/freebsd-error-in-bootloader-conf/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 21:29:41 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[FreeBSD8]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=572</guid>
		<description><![CDATA[While experimenting with ZFS in FreeBSD, I made some tweaks to the vk.kmem_size variable in /boot/loader.conf. when setting it like this: #/boot/loader.conf vm.kmem_size="1024" everything worked, but I wanted to see what would happen if i doubled it. Unfortunately, setting vm.kmem_size to 2048 kept the FreeBSD kernel from booting. At startup it would just do this: [...]]]></description>
			<content:encoded><![CDATA[<p>While experimenting with ZFS in FreeBSD, I made some tweaks to the vk.kmem_size variable in /boot/loader.conf. when setting it like this:</p>
<pre><code>#/boot/loader.conf
vm.kmem_size="1024"</code></pre>
<p>everything worked, but I wanted to see what would happen if i doubled it. Unfortunately, setting vm.kmem_size to 2048 kept the FreeBSD kernel from booting. At startup it would just do this:</p>
<pre><code>panic: kmem_suballoc: bad status return of 3
cpuid = 0</code></pre>
<p>To fix the erroneous variable setting, I had to :</p>
<p>1. Reboot.</p>
<p>2. Wait for the FreeBSD Boot menu. (the screen that lists Default, ACPI disabled, safe, and single user modes)</p>
<p>3. Press 6 to select &#8220;Escape to loader prompt&#8221;</p>
<p>4. At the loader prompt, type &#8220;show&#8221;. This will provide all the default variable settings. press the spacebar to page down. In my case, at the end, the incorrect variable was: vm.kmem_size=&#8221;2048&#8243;.</p>
<p>5. to switch it back and allow the system to boot, type</p>
<pre><code>set (variable)=(correct value)</code></pre>
<p>in my case this was:</p>
<pre><code>set vm.kmem_size=1024M</code></pre>
<p>6. type</p>
<pre><code>boot</code></pre>
<p>When you are finished with all that fun, you should edit the /boot/loader.conf file back so you don&#8217;t have to do this again.<br />
Thanks to &#8220;crsd&#8221; from the FreeBSD IRC channel for the help.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/freebsd8/freebsd-error-in-bootloader-conf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->