<?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>Scurvy Jake&#039;s Pirate Blog &#187; linux</title>
	<atom:link href="http://bogomip.net/blog/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://bogomip.net/blog</link>
	<description>Rated arrrr for Piracy</description>
	<lastBuildDate>Wed, 08 Feb 2012 18:43:57 +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>Connecting To a Cisco Router With Minicom</title>
		<link>http://bogomip.net/blog/2010/09/03/connecting-to-a-cisco-router-with-minicom/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=connecting-to-a-cisco-router-with-minicom</link>
		<comments>http://bogomip.net/blog/2010/09/03/connecting-to-a-cisco-router-with-minicom/#comments</comments>
		<pubDate>Sat, 04 Sep 2010 04:10:36 +0000</pubDate>
		<dc:creator>Scurvy Jake</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://bogomip.net/blog/?p=4436</guid>
		<description><![CDATA[This article about connecting to a Cisco router with minicom just helped me solve a nasty problem I've been having. PS. The default IP address of a Cisco 881W router is 10.10.10.1 with a netmask of 255.255.255.248 (or /29), and the usable range of IP addresses for that setup is 10.10.10.1 to 10.10.10.6.]]></description>
			<content:encoded><![CDATA[<p>This article about <a href="http://fadils.wordpress.com/2008/05/20/how-to-connect-to-cisco-routers-using-minicom/">connecting to a Cisco router with minicom</a> just helped me solve a nasty problem I've been having.</p>
<p>PS. The default IP address of a Cisco 881W router is <strong>10.10.10.1</strong> with a netmask of <strong>255.255.255.248</strong> (or <code>/29</code>), and the usable range of IP addresses for that setup is <em>10.10.10.1 to 10.10.10.6</em>.</p>
<img src="http://bogomip.net/blog/16cfc4b3/266bb3e9/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://bogomip.net/blog/2010/09/03/connecting-to-a-cisco-router-with-minicom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No syslog-ng?</title>
		<link>http://bogomip.net/blog/2010/07/22/no-syslog-ng/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=no-syslog-ng</link>
		<comments>http://bogomip.net/blog/2010/07/22/no-syslog-ng/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 22:29:39 +0000</pubDate>
		<dc:creator>Scurvy Jake</dc:creator>
				<category><![CDATA[Strangeness]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://bogomip.net/blog/?p=4350</guid>
		<description><![CDATA[One of my servers went down today. It runs Red Hat Enterprise Linux 4. I don't know what happened, none of the partitions filled up or anything, it just "freaked out." Perhaps something went bad somewhere, and in its defense, it'd been running for 352 straight days. In any case, after triage I was doing [...]]]></description>
			<content:encoded><![CDATA[<p>One of my servers went down today. It runs Red Hat Enterprise Linux 4. I don't know what happened, none of the partitions filled up or anything, it just "freaked out." Perhaps something went bad somewhere, and in its defense, it'd been running for 352 straight days.</p>
<p>In any case, after triage I was doing some system checks and I found I'm missing the <code>/var/log/messages</code> file. Weird. So I send a SIGHUP to the syslog daemon and it does nothing.</p>
<p>So I check the <code>/sbin</code> directory and the <strong>klogd</strong> binary was there, but the <strong>syslogd</strong> binary <em>wasn't</em>! I had to reinstall <code>syslog-ng</code>. It's hard to track down a problem like this when your logfiles aren't there&#8230;</p>
<img src="http://bogomip.net/blog/16cfc4b3/266bb3e9/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://bogomip.net/blog/2010/07/22/no-syslog-ng/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FAILbuntu Server</title>
		<link>http://bogomip.net/blog/2010/02/05/failbuntu_server/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=failbuntu_server</link>
		<comments>http://bogomip.net/blog/2010/02/05/failbuntu_server/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 01:34:58 +0000</pubDate>
		<dc:creator>Scurvy Jake</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://bogomip.net/blog/?p=4098</guid>
		<description><![CDATA[I've been fighting an install of Ubuntu server on a new rackmount machine all afternoon. I've never used Ubuntu server (I recommend Ubuntu Desktop all the time), but I thought it would be a breeze. Boy was I wrong. After fighting RAID-1 (which should be simple), and a grub bootloader that just won't install on [...]]]></description>
			<content:encoded><![CDATA[<p>I've been fighting an install of Ubuntu server on a new rackmount machine all afternoon. I've never used Ubuntu server (I recommend <a href="http://www.ubuntu.com/">Ubuntu Desktop</a> all the time), but I thought it would be a breeze.</p>
<p>Boy was I <em>wrong</em>. After fighting RAID-1 (which should be simple), and a <a href="http://www.gnu.org/software/grub/">grub bootloader</a> that just won't install on the master boot record, I just gave up and I'm going to see if it'll run Ubuntu Desktop. I bet it works fine.</p>
<img src="http://bogomip.net/blog/16cfc4b3/266bb3e9/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://bogomip.net/blog/2010/02/05/failbuntu_server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intel Compiler on Ubuntu 9.04</title>
		<link>http://bogomip.net/blog/2009/09/16/intel-compiler-on-ubuntu-9-04/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=intel-compiler-on-ubuntu-9-04</link>
		<comments>http://bogomip.net/blog/2009/09/16/intel-compiler-on-ubuntu-9-04/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 23:38:04 +0000</pubDate>
		<dc:creator>Scurvy Jake</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://bogomip.net/blog/?p=3876</guid>
		<description><![CDATA[Just in case I'm not the only one to run across this issue, you must have libstdc++5 installed (use Synaptic Package Manager). It is not installed by default, even on a development system. libstdc++6 is, but the Intel compiler won't use it. You may be able to fake it by creating a symbolic link in [...]]]></description>
			<content:encoded><![CDATA[<p>Just in case I'm not the only one to run across this issue, you must have <strong>libstdc++5</strong> installed (use Synaptic Package Manager). It is not installed by default, even on a development system. <code>libstdc++6</code> is, but the Intel compiler won't use it. You may be able to fake it by creating a symbolic link in <code>/usr/lib</code>, but it's not worth the trouble. Just install the old library, it doesn't hurt anything.</p>
<img src="http://bogomip.net/blog/16cfc4b3/266bb3e9/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://bogomip.net/blog/2009/09/16/intel-compiler-on-ubuntu-9-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Panic Moment!</title>
		<link>http://bogomip.net/blog/2008/05/01/panic-moment/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=panic-moment</link>
		<comments>http://bogomip.net/blog/2008/05/01/panic-moment/#comments</comments>
		<pubDate>Thu, 01 May 2008 19:19:54 +0000</pubDate>
		<dc:creator>Scurvy Jake</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://bogomip.net/blog/?p=2456</guid>
		<description><![CDATA[This morning as I continue to work on my new server, I ran in to a serious problem&#8212;the /var/log directory was growing at an alarming rate! Both the messages and warn logfiles were over 4Gb each, after only about five hours of operation. The logs were filling with kernel messages that looked like this: kernel: [...]]]></description>
			<content:encoded><![CDATA[<p>This morning as I continue to work on my <a href="http://bogomip.net/blog/2008/04/30/new-server/">new server</a>, I ran in to a serious problem&#8212;the <code>/var/log</code> directory was growing at an alarming rate! Both the <code>messages</code> and <code>warn</code> logfiles were over 4Gb each, after only about <strong>five hours of operation</strong>. The logs were filling with kernel messages that looked like this:</p>
<blockquote><p>
kernel: FAILED<br />
kernel:    status = 1, messages = 00, host = 0, driver = 08<br />
kernel:    &lt;6&gt;sd: Current: sense key: Illegal Request
</p></blockquote>
<p>And this was showing up dozens of times <em>per second</em>. Thinking I was either on the fast track to a <a href="http://en.wikipedia.org/wiki/Kernel_Panic">kernel panic</a> or just filling up my shiny new 750Gb (RAID-1) setup, I quickly googled for an answer and found it <a href="http://www.techno-obscura.com/~delgado/weblog/archives/2007/05/sles10_and_mega_1.html">here</a>. I tried to leave a "thank you" comment, but his comment code is broken. I'm trying to send a trackback instead.</p>
<p>In any case, the short answer is as follows:<br />
<code><br />
cd /var/lib/dkms/megaraid_sas/v00.00.03.16/source<br />
patch &lt; patches/sles10-ga.patch<br />
</code><br />
If you are asked about using the <code>-R</code> option, answer yes.<br />
<code><br />
dkms build -m megaraid_sas -v v00.00.03.16<br />
dkms install -m megaraid_sas -v v00.00.03.16<br />
</code><br />
Reboot your machine. You will no longer have kernel issues with the RAID controller. You may have a different version than I do (03.16), but it should still work.</p>
<p>Be sure and visit <a href="http://www.techno-obscura.com/~delgado/weblog/archives/2007/05/sles10_and_mega_1.html">Jonathan Delgado's blog post</a> about this problem for many more details.</p>
<img src="http://bogomip.net/blog/16cfc4b3/266bb3e9/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://bogomip.net/blog/2008/05/01/panic-moment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Server</title>
		<link>http://bogomip.net/blog/2008/04/30/new-server/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-server</link>
		<comments>http://bogomip.net/blog/2008/04/30/new-server/#comments</comments>
		<pubDate>Thu, 01 May 2008 00:45:18 +0000</pubDate>
		<dc:creator>Scurvy Jake</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://bogomip.net/blog/?p=2455</guid>
		<description><![CDATA[I'm currently building a new server for our colo facility to host streaming video. It's a nice machine, quad-core Xeon processor, 4Gb of RAM, 750Gb of RAID-1. When compiling PHP I kept running in to a problem with the gd library configuration. The shared object files are installed into /usr/lib64 (because it's a 64-bit operating [...]]]></description>
			<content:encoded><![CDATA[<p>I'm currently building a new server for our colo facility to host streaming video. It's a nice machine, quad-core Xeon processor, 4Gb of RAM, 750Gb of RAID-1. When compiling <a href="http://www.php.net/">PHP</a> I kept running in to a problem with the <strong>gd</strong> library configuration. The shared object files are installed into <code>/usr/lib64</code> (because it's a 64-bit operating system), but the header files are installed into <code>/usr/include</code> and are not being found.</p>
<p>If you tell the <code>configure</code> script to <code>--enable-gd=/usr</code> it balks about not finding the <code>libgd.(a|so)</code> file. If you rerun <code>configure</code> and use <code>--enable-gd=/usr/lib64</code> it finds <code>libgd.so</code>, but then doesn't pick up the header files.</p>
<p>Turns out the problem is pretty simple to solve: add <code>--with-libdir=lib64</code> to the <code>configure</code> script and it will fix everything. It's just not obvious when reading the configure help, especially when you come from a primarily 32-bit background.</p>
<img src="http://bogomip.net/blog/16cfc4b3/266bb3e9/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://bogomip.net/blog/2008/04/30/new-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Login Panic</title>
		<link>http://bogomip.net/blog/2008/02/27/login-panic/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=login-panic</link>
		<comments>http://bogomip.net/blog/2008/02/27/login-panic/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 20:38:33 +0000</pubDate>
		<dc:creator>Scurvy Jake</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://bogomip.net/blog/2008/02/27/login-panic/</guid>
		<description><![CDATA[Yesterday I took down my machine for two reasons. One, I was running low on hard drive space (I store a lot of CD and DVD ISO images for the office). Two, my numpad stopped working. I have no idea why. I plugged in a different USB keyboard and its numpad didn't work either. Anyway, [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I took down my machine for two reasons. One, I was running low on hard drive space (I store a lot of CD and DVD ISO images for the office). Two, my numpad stopped working. I have no idea why. I plugged in a different USB keyboard and its numpad didn't work either.</p>
<p>Anyway, I took the machine down, added the drive into the third SATA hookup (I have two drives in there already, with a maximum of four), and started everything back up again.</p>
<p>I couldn't log in after it started up. I almost <em>panicked</em>, but being the calm, cool, sysadmin that I am, I <code>tail</code>ed some logfiles which led me to discover that despite the new drive being in the third SATA port, it got named <code>/dev/sdb</code>, and the drive that <em>was</em> /dev/sdb was now <strong>/dev/sdc</strong>. That also happened to be where my <code>/home</code> partition was mounted. So I fixed <code>/etc/fstab</code>, mounted <code>/home</code>, and <em>voila!</em>, I could log in again.</p>
<p>After a quick XFS format of the new <code>/dev/sdb1</code> partition, I was in business. See how easy Linux is? And people say it's not for everybody&#8230;</p>
<img src="http://bogomip.net/blog/16cfc4b3/266bb3e9/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://bogomip.net/blog/2008/02/27/login-panic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sweet Softwarey Goodness</title>
		<link>http://bogomip.net/blog/2007/10/05/sweet-softwarey-goodness/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sweet-softwarey-goodness</link>
		<comments>http://bogomip.net/blog/2007/10/05/sweet-softwarey-goodness/#comments</comments>
		<pubDate>Fri, 05 Oct 2007 20:16:06 +0000</pubDate>
		<dc:creator>Scurvy Jake</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://bogomip.net/blog/2007/10/05/sweet-softwarey-goodness/</guid>
		<description><![CDATA[OpenSUSE 10.3 was released yesterday. Not many people sharing out the torrent yet, though.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.opensuse.org/">OpenSUSE 10.3</a> was released yesterday. Not many people sharing out the torrent yet, though.</p>
<img src="http://bogomip.net/blog/16cfc4b3/266bb3e9/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://bogomip.net/blog/2007/10/05/sweet-softwarey-goodness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

