<?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>Tube Shards</title>
	<atom:link href="http://tubeshards.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tubeshards.wordpress.com</link>
	<description>sharp little beasties</description>
	<lastBuildDate>Fri, 02 Dec 2011 22:06:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='tubeshards.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Tube Shards</title>
		<link>http://tubeshards.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://tubeshards.wordpress.com/osd.xml" title="Tube Shards" />
	<atom:link rel='hub' href='http://tubeshards.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Find the service tag of a Dell server from the Linux command line.</title>
		<link>http://tubeshards.wordpress.com/2010/07/13/find-the-service-tag-of-a-dell-server-from-the-linux-shell/</link>
		<comments>http://tubeshards.wordpress.com/2010/07/13/find-the-service-tag-of-a-dell-server-from-the-linux-shell/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 00:45:32 +0000</pubDate>
		<dc:creator>jarpy</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[service tag]]></category>

		<guid isPermaLink="false">http://tubeshards.wordpress.com/?p=22</guid>
		<description><![CDATA[Here&#8217;s a quick way to get the service tag (serial number) of a Dell server remotely. root@vmhost:~# dmidecode &#124; grep "Serial Number" &#124; head -n1 Serial Number: DJ6GH3H<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tubeshards.wordpress.com&amp;blog=591618&amp;post=22&amp;subd=tubeshards&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a quick way to get the service tag (serial number) of a Dell server remotely.</p>
<pre>
root@vmhost:~# dmidecode | grep "Serial Number" | head -n1
        Serial Number: DJ6GH3H
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tubeshards.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tubeshards.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tubeshards.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tubeshards.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tubeshards.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tubeshards.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tubeshards.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tubeshards.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tubeshards.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tubeshards.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tubeshards.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tubeshards.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tubeshards.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tubeshards.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tubeshards.wordpress.com&amp;blog=591618&amp;post=22&amp;subd=tubeshards&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tubeshards.wordpress.com/2010/07/13/find-the-service-tag-of-a-dell-server-from-the-linux-shell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ecb90a288881d054e5e01ad344831c0e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jarpy</media:title>
		</media:content>
	</item>
		<item>
		<title>SATA is SATA&#8230; unless your BIOS lies</title>
		<link>http://tubeshards.wordpress.com/2010/03/12/sata-is-sata/</link>
		<comments>http://tubeshards.wordpress.com/2010/03/12/sata-is-sata/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 01:26:10 +0000</pubDate>
		<dc:creator>jarpy</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://tubeshards.wordpress.com/?p=4</guid>
		<description><![CDATA[Yesterday I got an emergency call to fix a RHEL5 system that had taken a dive. The system was not booting and the sotware RAID1 containing the root filesystem had split. I added the failed disk back into the RAID to see if it was really broken, or if it was just a gremlin. (This [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tubeshards.wordpress.com&amp;blog=591618&amp;post=4&amp;subd=tubeshards&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yesterday I got an emergency call to fix a RHEL5 system that had taken a dive. The system was not booting and the sotware RAID1 containing the root filesystem had split.</p>
<p>I added the failed disk back into the RAID to see if it was really broken, or if it was just a gremlin. (This all happened after a massive storm).</p>
<p>Once the mirror started rebuilding the kernel began to spew out a continuous stream of these:</p>
<pre>
Mar 11 13:18:07 sparkus kernel: hdc: status timeout: status=0xd0 { Busy }
Mar 11 13:18:07 sparkus kernel: ide: failed opcode was: unknown
Mar 11 13:18:07 sparkus kernel: hdc: no DRQ after issuing MULTWRITE
Mar 11 13:18:07 sparkus kernel: ide1: reset: success
</pre>
<p>I thought &#8220;OK, that disk really is dead&#8221;. But I was wrong.</p>
<p>A bit of Googling suggested that &#8220;MULTWRITE&#8221; is a command unique to IDE disks, but this disk was SATA. It was also suspicious that the disk was mapped as &#8220;hdc&#8221;, not &#8220;sdc&#8221; where I would expect a SATA disk to appear on a modern kernel.</p>
<p>It turns out that the BIOS was set to present the SATA disks in &#8220;legacy mode&#8221;. Translation: &#8220;lie to the operating system and tell it the disks are IDE, even though <strong>they aren&#8217;t</strong>&#8220;.</p>
<p>I flipped the BIOS to show the disks as native SATA and brought the system back up. The disks mapped to &#8220;/dev/sd<em>x</em>&#8220;, the mirror started rebuilding with better throughput than before and the kernel errors ceased.</p>
<p>So folks, don&#8217;t let your BIOS lie to your kernel&#8230; unless you really need to.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tubeshards.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tubeshards.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tubeshards.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tubeshards.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tubeshards.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tubeshards.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tubeshards.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tubeshards.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tubeshards.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tubeshards.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tubeshards.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tubeshards.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tubeshards.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tubeshards.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tubeshards.wordpress.com&amp;blog=591618&amp;post=4&amp;subd=tubeshards&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tubeshards.wordpress.com/2010/03/12/sata-is-sata/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ecb90a288881d054e5e01ad344831c0e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jarpy</media:title>
		</media:content>
	</item>
		<item>
		<title>Install Windows to a Macintosh USB drive (without Bootcamp).</title>
		<link>http://tubeshards.wordpress.com/2006/12/05/install-windows-to-a-macintosh-usb-drive/</link>
		<comments>http://tubeshards.wordpress.com/2006/12/05/install-windows-to-a-macintosh-usb-drive/#comments</comments>
		<pubDate>Tue, 05 Dec 2006 01:12:35 +0000</pubDate>
		<dc:creator>jarpy</dc:creator>
				<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[bootcamp]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://tubeshards.wordpress.com/2006/12/05/install-windows-to-a-macintosh-usb-drive/</guid>
		<description><![CDATA[The Motivation OSX can do everything I want from day to day, but occasionally I want to play some San Andreas. Bootcamp and Windows should have had me playing Windows games on the Mac. Sadly, Bootcamp refused to partition my internal disk so I was stuck with no Windows and no San Andreas. A ray [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tubeshards.wordpress.com&amp;blog=591618&amp;post=3&amp;subd=tubeshards&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>The Motivation</h3>
<p>OSX can do everything I want from day to day, but occasionally I want to play some <a href="http://en.wikipedia.org/wiki/Grand_Theft_Auto:_San_Andreas">San Andreas</a>. Bootcamp and Windows should have had me playing Windows games on the Mac. Sadly, Bootcamp refused to partition my internal disk so I was stuck with no Windows and no San Andreas. </p>
<p>A ray of hope was the idea of installing Windows onto a blank external disk. Windows is not supposed to run from an external disk but it <a href="http://forum.onmac.net/showthread.php?t=1015">has been done before</a>. The brave souls who made this work in the past still needed to re-partition their disk with Bootcamp though, something that wasn&#8217;t an option for me.</p>
<p>It turns out that it is possible to install Windows to a USB disk without using Bootcamp at all. Here&#8217;s the recipe:</p>
<h3>Ingredients</h3>
<ul>
<li>An Intel Macintosh &#8211; This procedure was tested on a first generation MacBook.</li>
<li>A USB2 hard drive &#8211; I used a Welland &#8220;Sun Bright&#8221; chassis with a Samsung IDE disk inside.</li>
<li><a href="http://refit.sourceforge.net/">rEFIt</a> &#8211; A boot manager for EFI computers (like Intel Macs).</li>
<li>A Windows XP install CD (SP1 or higher).</li>
<li>A tool for extracting and editing ISO images. I used <a href="http://www.magiciso.com/">MagicISO</a> (a commercial Windows application sadly).</li>
<li><a href="http://download.microsoft.com/download/platformsdk/cab/2.0/w98nt42kmexp/en-us/Cabsdk.exe">The Microsoft CAB SDK</a>.</li>
</ul>
<h3>Procedure</h3>
<p>This is the process I used. Step two is a pretty complex sub-procedure. It was produced by some serious Windows Wizards and is the core of what we are doing here. The rest is easy, these guys are <b>good</b>.  </p>
<ol>
<li><a href="http://refit.sourceforge.net/doc/c1s1_install.html">Install rEFIt.</a></li>
<li><a href="http://www.ngine.de/index.jsp?pageid=4176">Create a modified Windows XP install CD</a> with support for USB installation. This is a long procedure. Follow the link, complete steps 1-9, then come back here.</li>
<li>Power off.</li>
<li>Disconnect your internal hard drive. For a MacBook, use <a href="http://manuals.info.apple.com/en/MacBook_13inch_HardDrive_DIY.pdf">this guide.</a></li>
<li>Start your Mac, holding &#8220;c&#8221; to boot from the XP install disc.</li>
<li>Step through the Windows text-mode installer until your system reboots.</li>
<li>Power off.</li>
<li>Replace your internal drive.</li>
<li>Power on.</li>
<li>Tell rEFIt to boot Windows from the USB drive.</li>
<li>Follow the Windows graphical installer. Answer yes to any questions about unsigned drivers. The system will reboot again</li>
<li>Tell rEFIt to boot Windows from the USB drive.</li>
</ol>
<p>Now you are running Windows from the USB drive.</p>
<h3>Macintosh Drivers (and the USB trap)</h3>
<p>At this point, I must confess that I cheated. I did install the Bootcamp <em>drivers</em> into my XP install and I believe there is a serious trap here. The Bootcamp driver set contains drivers for the Intel USB controller, which it naturally tries to install. It pops up an uncertified driver warning before installing them. I told it <strong>not to install the USB drivers</strong>, since the entire operating system was hanging off that device. Replacing the drivers at that point seemed like a very bad idea to me.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tubeshards.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tubeshards.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tubeshards.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tubeshards.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tubeshards.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tubeshards.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tubeshards.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tubeshards.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tubeshards.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tubeshards.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tubeshards.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tubeshards.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tubeshards.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tubeshards.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tubeshards.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tubeshards.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tubeshards.wordpress.com&amp;blog=591618&amp;post=3&amp;subd=tubeshards&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tubeshards.wordpress.com/2006/12/05/install-windows-to-a-macintosh-usb-drive/feed/</wfw:commentRss>
		<slash:comments>155</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ecb90a288881d054e5e01ad344831c0e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jarpy</media:title>
		</media:content>
	</item>
	</channel>
</rss>
