<?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>Off you go... into the purple yonder! &#187; Hardware</title>
	<atom:link href="https://ward.vandewege.net/blog/category/hardware/feed/" rel="self" type="application/rss+xml" />
	<link>https://ward.vandewege.net/blog</link>
	<description></description>
	<lastBuildDate>Sun, 12 May 2024 20:57:05 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>more home server disk</title>
		<link>https://ward.vandewege.net/blog/2012/06/more-home-server-disk/</link>
		<comments>https://ward.vandewege.net/blog/2012/06/more-home-server-disk/#comments</comments>
		<pubDate>Tue, 12 Jun 2012 01:02:27 +0000</pubDate>
		<dc:creator><![CDATA[ward]]></dc:creator>
				<category><![CDATA[Everything else]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Sysadmin]]></category>

		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=708</guid>
		<description><![CDATA[I blogged almost 3 years ago about my home server upgrade. The thing has been running very reliably ever since, but I am running out of disk space again. So, time for another upgrade &#8211; disk only though this time. &#8230; <a href="https://ward.vandewege.net/blog/2012/06/more-home-server-disk/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I blogged <a href="http://ward.vandewege.net/blog/2009/09/a-new-home-server/">almost 3 years ago</a> about my home server upgrade. The thing has been running very reliably ever since, but I am running out of disk space again. So, time for another upgrade &#8211; disk only though this time. Notice the pattern?</p>
<p>  * October 2004 &#8211; purchase Shuttle home server with 2x 200GB disk (200GB useable)<br />
  * May 2007 &#8211; upgrade to 2x 500GB disk (500GB useable)<br />
  * September 2009 &#8211; upgrade to MSI Wind with 2x 1TB disk (1TB useable)<br />
  * June 2012 &#8211; upgrade to 2x 2TB disk (2TB useable)</p>
<p>Looks like my upgrades are roughly 2.5 years apart. Interesting!</p>
<p>I bought one Hitachi HDS723020BLA642 (that&#8217;s model &#8217;0f12115&#8242;, a 2TB SATA3 drive with 64MB of cache). Well, actually I ordered model &#8217;0S02861&#8242; which is SATA2 and only has 32MB of cache, but for some reason Amazon shipped me the faster one. Ah, well, I&#8217;m not complaining. The other drive is a Western Digital WD20EARX (that&#8217;s also 2TB SATA3 drive with 64MB of cache).</p>
<p>It&#8217;s worth noting that the two 1TB drives that are being replaced (WD10EADS-00L) have been rock solid over the past 2.75 years, despite a *lot* of data being written to them (nightly backups of more and more servers, which is also why I was running out of space&#8230;).</p>
<p>So now I have two SATA3 drives in a system that is SATA2 only. That&#8217;s too bad. On the other hand, this machine now has 10x the amount of disk space that its first incarnation had, back in 2004. Nice!</p>
]]></content:encoded>
			<wfw:commentRss>https://ward.vandewege.net/blog/2012/06/more-home-server-disk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>disk, disk, disk</title>
		<link>https://ward.vandewege.net/blog/2011/07/disk-disk-disk/</link>
		<comments>https://ward.vandewege.net/blog/2011/07/disk-disk-disk/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 14:13:50 +0000</pubDate>
		<dc:creator><![CDATA[ward]]></dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Sysadmin]]></category>

		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=496</guid>
		<description><![CDATA[I started adding 165 TB of disk to one of our clusters today. This is what that looks like &#8211; 55 three TB disks: The packaging was not too great; while all disks were well packaged individually, the big boxes &#8230; <a href="https://ward.vandewege.net/blog/2011/07/disk-disk-disk/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I started adding 165 TB of disk to one of our clusters today. This is what that looks like &#8211; 55 three TB disks:</p>
<p><a href='/blog/wp-content/photos/img_3317.jpg' title='165 TB'><img src='/blog/wp-content/photos/thumb_img_3317.jpg' alt='165 TB' width='130' height='97' class='pp_empty' /></a></p>
<p>The packaging was not too great; while all disks were well packaged individually, the big boxes that contained the individual drive boxes were flimsy. As a consequence, one of the disks got rather damaged (the one on the right):</p>
<p><a href='/blog/wp-content/photos/img_3318.jpg' title='damaged disk'><img src='/blog/wp-content/photos/thumb_img_3318.jpg' alt='damaged disk' width='130' height='97' class='pp_empty' /></a></p>
<p>I don&#8217;t know what it got hit with, but it must have been a pretty serious blow. The aluminium enclosure of the drive is severely dented and even cracked; the white line in the image below is an actual crack in the metal:</p>
<p><a href='/blog/wp-content/photos/IMG_3327.JPG' title='cracked disk'><img src='/blog/wp-content/photos/thumb_IMG_3327.JPG' alt='cracked disk' width='130' height='97' class='pp_empty' /></a></p>
<p>Back in October 2009 I added 130 TB of disk to another cluster, which looked like this, prior to install:</p>
<p><a href='/blog/wp-content/photos/2009_10_09_10.07.22.jpg' title=130TB, big'><img src='/blog/wp-content/photos/thumb_2009_10_09_10.07.22.jpg' alt='130TB' width='97' height='130' class='pp_empty' /></a></p>
<p>That was 65 times <a href="http://www.wdc.com/en/products/products.asp?driveid=610">WD2002FYPS</a>. </p>
<p>So this time around &#8211; almost 18 months later &#8211; we get 27% more capacity using 15% fewer drives. Got to love the computer industry and the progress it makes.</p>
]]></content:encoded>
			<wfw:commentRss>https://ward.vandewege.net/blog/2011/07/disk-disk-disk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>resistor captcha</title>
		<link>https://ward.vandewege.net/blog/2010/11/resistor-captcha/</link>
		<comments>https://ward.vandewege.net/blog/2010/11/resistor-captcha/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 16:12:30 +0000</pubDate>
		<dc:creator><![CDATA[ward]]></dc:creator>
				<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=589</guid>
		<description><![CDATA[Adafruit Industries uses an awesome captcha. For an example, look at the Kinect bounty page (scroll all the way to the bottom).]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.adafruit.com">Adafruit Industries</a> uses an awesome captcha. For an example, look at the <a href="http://www.adafruit.com/blog/2010/11/04/the-open-kinect-project-the-ok-prize-get-1000-bounty-for-kinect-for-xbox-360-open-source-drivers/">Kinect bounty</a> page (scroll all the way to the bottom).</p>
<p><img src="http://ward.vandewege.net/blog/wp-content/uploads/2010/11/adafruit-captcha.png" alt="resistor-captcha" title="resistor-captcha" width="516" height="364" class="aligncenter size-full wp-image-588" /></p>
]]></content:encoded>
			<wfw:commentRss>https://ward.vandewege.net/blog/2010/11/resistor-captcha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>microsoft discovers remote attestation</title>
		<link>https://ward.vandewege.net/blog/2010/10/microsoft-discovers-remote-attestation/</link>
		<comments>https://ward.vandewege.net/blog/2010/10/microsoft-discovers-remote-attestation/#comments</comments>
		<pubDate>Fri, 08 Oct 2010 02:31:03 +0000</pubDate>
		<dc:creator><![CDATA[ward]]></dc:creator>
				<category><![CDATA[Free Software/Open Source]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=579</guid>
		<description><![CDATA[Via slashdot: Microsoft&#8217;s corporate VP for trustworthy computing &#8211; Scott Charney &#8211; has published a position paper that boils down to remote attestation: let ISPs cut off internet access for computers that are not deemed free of malware. So&#8230; how &#8230; <a href="https://ward.vandewege.net/blog/2010/10/microsoft-discovers-remote-attestation/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Via <a href="http://it.slashdot.org/story/10/10/08/006240/Microsoft-Eyes-PC-Isolation-Ward-To-Thwart-Botnets">slashdot</a>: Microsoft&#8217;s corporate VP for trustworthy computing &#8211; Scott Charney &#8211; has <a href="http://blogs.technet.com/b/microsoft_on_the_issues/archive/2010/10/05/the-need-for-global-collective-defense-on-the-internet.aspx?wa=wsignin1.0">published a position paper</a> that boils down to <a href="http://en.wikipedia.org/wiki/Trusted_Computing#Remote_attestation">remote attestation</a>: let ISPs cut off internet access for computers that are not deemed free of malware.</p>
<p>So&#8230; how would this work? Presumably the computer would run some code that is not under the control of the user/owner of the machine, and protected by the <a href="http://en.wikipedia.org/wiki/Trusted_Platform_Module">TPM</a> module. That code would then validate if the machine is free of malware or not &#8211; somehow. I have no idea how that could possibly be foolproof, but let&#8217;s assume for a moment there is a way to do this.</p>
<p>First problem: your computer would have to run code that most likely comes without source, is hard or impossible to inspect, and cannot be changed.</p>
<p>Let&#8217;s say for the sake of argument that this validation code is somehow optional. Or perhaps you are an enterprising person, and you&#8217;ve managed to kick this stuff off your computer (TPM-ectomy, anyone?). Next problem: now you can&#8217;t validate your computer with your ISP to prove that it is free of malware. To do that, you need access to the secret encryption key buried in the TPM.</p>
<p>This is called remote attestation: the machine(s) your computer communicates with can see information about your computer &#8211; say, what operating system you run, and what patch level &#8211; and because that data is signed or encrypted by your TPM chip, <i>you can not change it</i>.</p>
<p>Note that it&#8217;s already pretty easy for remote machines to see what (version of) an operating system a computer runs, for instance with <a href="http://en.wikipedia.org/wiki/TCP/IP_stack_fingerprinting">TCP/IP fingerprinting</a>, but that is easy to fake.</p>
<p>Remote attestation is the real danger of &#8216;trustworthy&#8217; computing. They can try to put all sorts of things in the hardware; if people have physical access, someone will find a way around it. But if they make it impossible to network your computer without an operational TPM chip then we might as well kiss all our free software and free hardware goodbye. It won&#8217;t be any good to run a computer with GNU/Linux, if we can&#8217;t go online with it&#8230; Or if our online banking refuses to talk to our computer because our machine is not deemed to be running a fully patched version of Windows.</p>
<p>Given that this position paper comes from Microsoft, it&#8217;s not too hard to see where they want to go. Microsoft would love to be in a position where ISPs and banks require certain patchlevels of its software. Can you imagine a better way to force people to keep upgrading their Windows licenses? Or to force people to stop using free operating systems?</p>
<p>I have a better idea to combat the malware problem, mr. Charney. Why don&#8217;t we ask people to stop using Windows. Without Windows, the malware/botnet problem would not be nearly as bad as it is today.</p>
]]></content:encoded>
			<wfw:commentRss>https://ward.vandewege.net/blog/2010/10/microsoft-discovers-remote-attestation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intel selling crippled CPUs</title>
		<link>https://ward.vandewege.net/blog/2010/09/intel-sellin-crippled-cpus/</link>
		<comments>https://ward.vandewege.net/blog/2010/09/intel-sellin-crippled-cpus/#comments</comments>
		<pubDate>Tue, 21 Sep 2010 02:41:33 +0000</pubDate>
		<dc:creator><![CDATA[ward]]></dc:creator>
				<category><![CDATA[DRM]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=574</guid>
		<description><![CDATA[Via boingboing.net: Intel is now selling crippled CPUs that can be &#8216;upgraded&#8217; through the purchase of scratch cards (!) with a code. That code can be entered in the BIOS of the computer, thus unlocking additional horsepower. I&#8217;m running out &#8230; <a href="https://ward.vandewege.net/blog/2010/09/intel-sellin-crippled-cpus/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Via <a href="http://www.boingboing.net/2010/09/19/intel-drm-a-crippled.html">boingboing.net</a>: Intel is now selling crippled CPUs that can be &#8216;upgraded&#8217; through the purchase of scratch cards (!) with a code. That code can be entered in the BIOS of the computer, thus unlocking additional horsepower.</p>
<p><i>I&#8217;m running out of CPU &#8211; quick, head over to the corner store for an Intel scratch card!</i> </p>
<p>Is this an alternate universe? And, how long before they sell cards that will unlock extra features, but only for a limited time? </p>
<p>I guess now we know at least one concrete reason why Intel does not like <a href="http://coreboot.org">coreboot</a>. You can&#8217;t restrict people like this when their computer does not have a proprietary BIOS.</p>
]]></content:encoded>
			<wfw:commentRss>https://ward.vandewege.net/blog/2010/09/intel-sellin-crippled-cpus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>a new home server</title>
		<link>https://ward.vandewege.net/blog/2009/09/a-new-home-server/</link>
		<comments>https://ward.vandewege.net/blog/2009/09/a-new-home-server/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 03:01:59 +0000</pubDate>
		<dc:creator><![CDATA[ward]]></dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Add new tag]]></category>

		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=480</guid>
		<description><![CDATA[I&#8217;ve been running an old Shuttle with a 2.4GHz celeron CPU, 512MB of ram and two 500GB disks in raid-1 as home server for the past 5 years or so. Well, I upgraded the disks in May 2007, before that &#8230; <a href="https://ward.vandewege.net/blog/2009/09/a-new-home-server/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been running an old Shuttle with a 2.4GHz celeron CPU, 512MB of ram and two 500GB disks in raid-1 as home server for the past 5 years or so. Well, I upgraded the disks in May 2007, before that it had 2x 200GB in raid-1. The thing has no UPS and runs in the closet here at home. And yet:</p>
<pre>
13:40:34 up 569 days, 17:04,  2 users,  load average: 1.26, 0.94, 0.45
</pre>
<p>Yeah, home power is pretty reliable around here.</p>
<p>This machine serves as the central network storage for our home, and I also use it to back up a bunch of servers that live at a nearby colo facility, with the rather fantastic <a href="http://backuppc.sf.net">BackupPC</a>. The Shuttle has served well over the years but it is getting a bit old &#8211; I was starting to expect it to fail. Its power draw is rather high: 78W while idle (that&#8217;s after applying all of powertop&#8217;s suggestions), and a whopping 100W while doing heavy disk activity. </p>
<p>I was running out of disk space again, so I bought two 1TB &#8216;green&#8217; WD drives (WD10EADS-00L) that are rated at 5.4W active, 2.8W idle, and 0.4W standby/sleep.</p>
<p>Next &#8211; a replacement for the Shuttle. First I looked at a <a href="http://www.qnap.com/pro_detail_feature.asp?p_id=122">QNAP TS-219p</a> which is a rather awesome little NAS device. It&#8217;s based on Marvell&#8217;s Kirkwood ARM core, which is the same as the one used in the <a href="http://www.marvell.com/products/embedded_processors/developer/kirkwood/sheevaplug.jsp">Sheevaplug</a>, clocked at 1.2GHz. This thing is pretty fast. Its power specs are also impressive: </p>
<pre>
Sleep mode: 5W
In operation: 21W (with 2 x 500GB HDD installed)
</pre>
<p>I was of course looking to <a href="http://www.cyrius.com/debian/kirkwood/qnap/ts-219/">run Debian on it</a>, which is perfectly possible. People like the firmware that the thing comes with, but it&#8217;s proprietary so I&#8217;d rather not use that. Plus, I need to be able to run BackupPC.</p>
<p>The major downside is price &#8211; the TS-219P costs about $400, without disks. Since the Sheevaplug costs about $100, I would have thought a price in the $200-250 range for the TS-219P would have been reasonable.</p>
<p>Meanwhile I came across some really good NAS reviews over at <a href="http://www.smallnetbuilder.com/content/view/85/93/">SmallNetBuilder</a>, and in particular their <a href="http://www.smallnetbuilder.com/component/option,com_nas/Itemid,190/task,guide/chart,13/">price/performance NAS chart</a>.</p>
<p>Looking at that chart, the <a href="http://en.wikipedia.org/wiki/MSI_Wind_PC">MSI Wind PC</a> performance is pretty much on par with the TS-219P, for a fraction of the price. Extra bonus: it does not come with proprietary software preinstalled, because the Wind is really a bare-bones PC. The Wind has one 3.5&#8243; bay, and one 5.15&#8243; bay. It also has an on-board CF adapter. It has a dual-core Intel Atom 230 (1.6GHz).</p>
<p>I purchased </p>
<pre>
$134.99    MSI Wind PC
 $26.99    G.SKILL 2GB 200-Pin DDR2 SO-DIMM DDR2 533
 $43.99    Transcend 16GB Compact Flash (CF) Flash Card Model TS16GCF133
  $9.99    StarTech BRACKET Metal 3.5" to 5.25" Drive Adapter Bracket

Total: $215.96 + shipping
</pre>
<p>The drive bay adaptor turned out to be not only severely overpriced, but also not practical for the Wind &#8211; I had to drill a few holes in the damn thing to make the second hard drive fit in the Wind. Don&#8217;t buy this kind, or don&#8217;t pay $10 for it!</p>
<p>I installed Debian on the CF card (leaving it read-only during normal operation) and use the two disks purely for data &#8211; in raid-1 of course. If I did this again I&#8217;d buy a smaller CF card &#8211; 8GB would be plenty, even 4GB would be enough for the non-volatile bits of /.</p>
<p>Power use, as tested: idle 27W, with heavy disk activity 33W. In other words, this will take 50-70W off our household power budget, which should work out to a savings of $7 to $10/month.</p>
]]></content:encoded>
			<wfw:commentRss>https://ward.vandewege.net/blog/2009/09/a-new-home-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>over to x25-m</title>
		<link>https://ward.vandewege.net/blog/2009/08/over-to-x25-m/</link>
		<comments>https://ward.vandewege.net/blog/2009/08/over-to-x25-m/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 14:29:04 +0000</pubDate>
		<dc:creator><![CDATA[ward]]></dc:creator>
				<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=434</guid>
		<description><![CDATA[I bought an Intel X-25M SSD drive for my laptop in early June. I got the 80GB version, and this was to replace a Hitachi 7K200-160 &#8211; a 160GB 7200rpm drive. Note that the X25-M is generation 1; Intel has &#8230; <a href="https://ward.vandewege.net/blog/2009/08/over-to-x25-m/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I bought an <a href="http://www.intel.com/design/flash/nand/mainstream/index.htm">Intel X-25M SSD drive</a> for my laptop in early June. I got the 80GB version, and this was to replace a Hitachi 7K200-160 &#8211; a 160GB 7200rpm drive. Note that the X25-M is generation 1; Intel has since released an updated, cheaper version of the drive that is <a href="http://hothardware.com/Articles/Intel-34nm-X25M-Gen-2-SSD-Performance-Review/?page=1">slightly faster and uses a little less power</a>. The Intel SSD drives generally blow the competition out of the water in real world applications because they have extraordinary random write performance. SSDs are typically marketed with their theoretical maximum sequential write performance, which &#8211; barring a few very specific use cases &#8211; is far less important than random write performance for your average desktop or server.</p>
<p>The difference in performance between the old mechanical drive and this SSD is *spectacular*. The machine feels 100 times faster. In other words, you want one of these for your desktop/laptop <img src="https://ward.vandewege.net/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> </p>
<p>As for servers &#8211; I can&#8217;t wait until these things become big enough/cheap enough to replace mechanical drives there, too&#8230;</p>
<p>Here are some bonnie++ results:</p>
<p>Hitachi 7K200-160:</p>
<pre>
$ bonnie++ 
Writing with putc()...done
Writing intelligently...done
Rewriting...done
Reading with getc()...done
Reading intelligently...done
start 'em...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version 1.03c       ------Sequential Output------ --Sequential Input- --Random-
                    -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
countzero        4G 14755  55 15887  20 13568  13 18775  58 31430  11  72.4   0
                    ------Sequential Create------ --------Random Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16 21341  83 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
countzero,4G,14755,55,15887,20,13568,13,18775,58,31430,11,72.4,0,16,21341,83,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
</pre>
<p>Intel X25-M gen 1:</p>
<pre>
$ bonnie++
Writing with putc()...done
Writing intelligently...done
Rewriting...done
Reading with getc()...done
Reading intelligently...done
start 'em...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version 1.03c       ------Sequential Output------ --Sequential Input- --Random-
                    -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
countzero        4G 51217  98 76395  31 42853  25 43666  80 150391  45 14762  61
                    ------Sequential Create------ --------Random Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
countzero,4G,51217,98,76395,31,42853,25,43666,80,150391,45,14762.2,61,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
</pre>
]]></content:encoded>
			<wfw:commentRss>https://ward.vandewege.net/blog/2009/08/over-to-x25-m/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>recycling a ton of old computing gear</title>
		<link>https://ward.vandewege.net/blog/2009/03/recycling-a-ton-of-old-computing-gear/</link>
		<comments>https://ward.vandewege.net/blog/2009/03/recycling-a-ton-of-old-computing-gear/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 03:22:29 +0000</pubDate>
		<dc:creator><![CDATA[ward]]></dc:creator>
				<category><![CDATA[Environment]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Sysadmin]]></category>

		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=390</guid>
		<description><![CDATA[We recycled at work this week &#8211; literally over a metric ton (estimated) of old servers. This is what about two thirds of that amount looked liked: Apologies for the low quality picture &#8211; I only had a crappy cell &#8230; <a href="https://ward.vandewege.net/blog/2009/03/recycling-a-ton-of-old-computing-gear/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>We recycled at work this week &#8211; literally over a metric ton (estimated) of old servers. This is what about two thirds of that amount looked liked:</p>
<p><a href='https://ward.vandewege.net/blog/wp-content/photos/20090311_001_800x600.jpg' title='old_computers'><img src='https://ward.vandewege.net/blog/wp-content/photos/20090311_001_800x600.jpg' alt='old_computers' class='pp_empty' /></a></p>
<p>Apologies for the low quality picture &#8211; I only had a crappy cell phone camera on hand&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>https://ward.vandewege.net/blog/2009/03/recycling-a-ton-of-old-computing-gear/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>howto: replace a PLCC chip with a socket &#8220;ghetto style&#8221;</title>
		<link>https://ward.vandewege.net/blog/2009/03/howto-replace-a-plcc-chip-with-a-socket-ghetto-style/</link>
		<comments>https://ward.vandewege.net/blog/2009/03/howto-replace-a-plcc-chip-with-a-socket-ghetto-style/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 01:04:19 +0000</pubDate>
		<dc:creator><![CDATA[ward]]></dc:creator>
				<category><![CDATA[coreboot]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=372</guid>
		<description><![CDATA[I used Peter Stuge&#8217;s &#8220;ghetto&#8221; method to replace a PLCC bios chip with a socket on an asus m2a-2vm board. This board has excellent coreboot support. The method basically consists of cutting off the legs of the PLCC chip as &#8230; <a href="https://ward.vandewege.net/blog/2009/03/howto-replace-a-plcc-chip-with-a-socket-ghetto-style/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I used <a href="http://stuge.se">Peter Stuge&#8217;s</a> &#8220;ghetto&#8221; method to replace a PLCC bios chip with a socket on an <a href="http://www.asus.com/products.aspx?l1=3&#038;l2=101&#038;l3=496&#038;l4=0&#038;model=1568&#038;modelmenu=1">asus m2a-2vm</a> board. This board has excellent <a href="http://coreboot.org">coreboot</a> support.</p>
<p>The method basically consists of cutting off the legs of the PLCC chip as close to the package as possible, so as to minimize strain on the paths on the motherboard while cutting. After that, the legs can easily be de-soldered from the board, and it&#8217;s trivial to solder on a PLCC socket. Obviously you loose the PLCC chip in the process, but this method is a lot easier than removing the PLCC chip with a heat gun. It&#8217;s also safer for the surrounding components.</p>
<p>Here are some photos:</p>
<p><a href='https://ward.vandewege.net/blog/wp-content/photos/dscn9362.jpg' title='plcc-desoldering-1'><img src='https://ward.vandewege.net/blog/wp-content/photos/dscn9362.jpg' alt='PLCC chip before removal' width='455' height='322' class='centered' /></a><br />
The chip prior to modification.</p>
<p><a href='https://ward.vandewege.net/blog/wp-content/photos/dscn9365.jpg' title='plcc-desoldering-1'><img src='https://ward.vandewege.net/blog/wp-content/photos/dscn9365.jpg' alt='PLCC chip with some legs cut off' width='450' height=322' class='centered' /></a><br />
Legs cut off on two sides of the chip. It&#8217;s important to use the right cutter for this job &#8211; it needs to be able to cut very closely to the package of the chip. I used a <a href="http://hmcelectronics.com/cgi-bin/scripts/query.cgi?query=+%09+TR20M">Hakko CHP Ergonomic Micro Cutter</a>, part number TR20M.</p>
<p><a href='https://ward.vandewege.net/blog/wp-content/photos/dscn9368.jpg' title='plcc-desoldering-1'><img src='https://ward.vandewege.net/blog/wp-content/photos/dscn9368.jpg' alt='PLCC chip removed' width='450' height='322' class='centered' /></a><br />
PLCC chip removed.</p>
<p><a href='https://ward.vandewege.net/blog/wp-content/photos/dscn9381.jpg' title='plcc-desoldering-1'><img src='https://ward.vandewege.net/blog/wp-content/photos/dscn9381.jpg' alt='PLCC chip without legs' width='450' height='322' class='centered' /></a><br />
PLCC chip without legs.</p>
<p><a href='https://ward.vandewege.net/blog/wp-content/photos/dscn9375.jpg' title='plcc-desoldering-1'><img src='https://ward.vandewege.net/blog/wp-content/photos/dscn9375.jpg' alt='legs de-soldered from board' width='430' height='600' class='centered' /></a><br />
The legs have been de-soldered. If you look carefully near pins 1 and 2 on the top row, you&#8217;ll see I was foolish and used too much force and a too small soldering tip while de-soldering. I damaged the board. Luckily the pins involved are all on the same big pad, and everything still works.</p>
<p><a href='https://ward.vandewege.net/blog/wp-content/photos/dscn9377.jpg' title='plcc-desoldering-1'><img src='https://ward.vandewege.net/blog/wp-content/photos/dscn9377.jpg' alt='the socket prior to soldering' width='450' height='322' class='centered' /></a><br />
This is the socket prior to soldering. I had to remove the plastic &#8216;floor&#8217; of the socket in the center to allow easy access to the pins for soldering. You can put that piece of plastic back in the socket after it has been soldered onto the board, even loose. It will prevent PLCC chips from being pushed too deep into the socket, where not all pins might make contact with the socket.</p>
<p><a href='https://ward.vandewege.net/blog/wp-content/photos/dscn9383.jpg' title='plcc-desoldering-1'><img src='https://ward.vandewege.net/blog/wp-content/photos/dscn9383.jpg' alt='socket installed' width='430' height='600' class='centered' /></a><br />
The PLCC socket, installed.</p>
]]></content:encoded>
			<wfw:commentRss>https://ward.vandewege.net/blog/2009/03/howto-replace-a-plcc-chip-with-a-socket-ghetto-style/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dell&#8217;s GNU/Linux support leaves to be desired</title>
		<link>https://ward.vandewege.net/blog/2008/10/dells-gnulinux-support-leaves-to-be-desired/</link>
		<comments>https://ward.vandewege.net/blog/2008/10/dells-gnulinux-support-leaves-to-be-desired/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 19:59:33 +0000</pubDate>
		<dc:creator><![CDATA[ward]]></dc:creator>
				<category><![CDATA[Free Software/Open Source]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=287</guid>
		<description><![CDATA[So I have a poweredge 2800 with some hardware issues (voltage sensors on the riser card seeing things they should not&#8230;). The Dell support folks wanted me to run a DSET report with this tool http://support.euro.dell.com/support/downloads/download.aspx?c=uk&#038;l=en&#038;s=gen&#038;releaseid=R155882&#038;formatcnt=2&#038;libid=0&#038;fileid=208066 Man &#8211; what a &#8230; <a href="https://ward.vandewege.net/blog/2008/10/dells-gnulinux-support-leaves-to-be-desired/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>So I have a poweredge 2800 with some hardware issues (voltage sensors on the riser card seeing things they should not&#8230;). The Dell support folks wanted me to run a DSET report with this tool</p>
<pre>

http://support.euro.dell.com/support/downloads/download.aspx?c=uk&#038;l=en&#038;s=gen&#038;releaseid=R155882&#038;formatcnt=2&#038;libid=0&#038;fileid=208066

</pre>
<p>Man &#8211; what a pile of crap. This thing is a self-extracting archive for rpm-based systems (redhat/suse). Fine &#8211; except that I run Debian on that machine. Anyway, you can run it with &#8211;extract to extract the contents:</p>
<pre>
./delldset_v1.4.0.8.bin --help


Command-line options for Dell System E-Support Tool (DSET)

Usage: <package name> [options...]

Options:

-h,--help        : Display command-line usage help
-i,--install     : Install/upgrade the DSET application
-v,--version     : Display version information
--list           : Display contents of package (+)
--extract <path> : Extract files to specified path (+)

Using no options will display the interactive user
interface which will guide you through using DSET.
</path></package></pre>
<p>These contents are basically an rpm file and some support files:</p>
<pre>
-r-xr-xr-x  1 ward ward     4133 Apr  2  2007 Dell_License*
-r-xr-xr-x  1 ward ward     9909 May  8  2007 README*
-r-xr-xr-x  1 ward ward       58 May  8  2007 Version.txt*
-r-xr-xr-x  1 ward ward 15200341 May  9  2007 delldset-1.4.0-8.i386.rpm*
-rw-r--r--  1 ward ward 15187240 Oct 27 15:57 delldset_1.4.0-9_i386.deb
-r-xr-xr-x  1 ward ward    10271 Apr  2  2007 install.sh*
-r-xr-xr-x  1 ward ward      472 Apr  2  2007 sphelp.txt*
-r-xr-xr-x  1 ward ward       24 May  4  2005 test.sh*
-r-xr-xr-x  1 ward ward     9877 Apr  2  2007 utility.sh*
</pre>
<p>The rpm can be transformed into a .deb with alien:</p>
<pre>
$ alien delldset-1.4.0-8.i386.rpm 
Warning: Skipping conversion of scripts in package delldset: postinst postrm preinst prerm
Warning: Use the --scripts parameter to include the scripts.
delldset_1.4.0-9_i386.deb generated
$ alien delldset-1.4.0-8.i386.rpm --scripts
delldset_1.4.0-9_i386.deb generated
</pre>
<p>Which installs fine &#8211; but you really want to be using a kernel that has ipmi functionality compiled as modules; otherwise the package will not install properly until you add</p>
<pre>
hapi.allow.user.mode=yes
</pre>
<p>to /etc/omreg.cfg. In any case, you need to have ipmi as modules for the rest of this sequence of commands, so you might as well boot into a stock Debian kernel.</p>
<p>You&#8217;ll probably want to have installed Dell&#8217;s open manage before you run the DSET report. To do that, add </p>
<pre>
  deb ftp://ftp.sara.nl/pub/sara-omsa dell sara
</pre>
<p>to your /etc/apt/sources.list file and </p>
<pre>
  apt-get update
  apt-get install dellomsa
</pre>
<p>So, then you would be ready to run the dellsysteminfo command but WAIT &#8211; don&#8217;t do it yet. That script is dangerous. It does stuff like this, probing for the running services (from /opt/dell/dset/bin/dell-sysreport.sh):</p>
<pre>
#Dell: Extra OS stuff we want

echo "     Getting status of services ..." ${TEE2LOG}

#Dell: SuSE doesn't have a "service status" method so do it the manual way 
#catifexec "/sbin/service" "--status-all" 
 
rm -f $ROOT/service > /dev/null 2>&#038;1 
 
SERVICEDIR=/etc/init.d 
 
#pushd ${SERVICEDIR} > /dev/null 
          for SERVICE in `ls -1 ${SERVICEDIR}` ; do 
 
            case "${SERVICE}" in 
#Skip over these "services" since they tend to hang some systems when requested for status 
              functions | halt | killall | single| linuxconf| kudzu | bgpd | boot | reboot | single | nscd | \ 
                  halt.* | rc | boot.* | *rpmorig | *rpmnew | *rpmsave | *~ | *.orig) 
      ;; 
              *) 
                if [ -x "${SERVICEDIR}/${SERVICE}" -a -f "${SERVICEDIR}/${SERVICE}" ]; then 
        echo "Service Name: ${SERVICE}" >> $ROOT/service 
                 /usr/bin/env -i LANG=$LANG PATH=$PATH TERM=$TERM "${SERVICEDIR}/${SERVICE}" status >> $ROOT/service 2>&#038;1 
    echo >> $ROOT/service 
    echo "---------------------------------------------------------------------------" >> $ROOT/service 
               fi 
                ;; 
            esac 
          done 
#popd > /dev/null
</pre>
<p>That didn&#8217;t go over too well on my system &#8211; a bunch of things stopped working (like the &#8216;w&#8217; command), samba started segfaulting, etc. It&#8217;s clearly calling some init scripts that don&#8217;t deal well with being asked for a status.</p>
<p>So I commented out that part of the script, which made things a lot happier &#8211; but of course services are now not mentioned in the report.</p>
<p>The other problem with the dset package is that it is riddled with calls to awk, sort, etc <i>with absolute paths</i>. Seriously, this is not 1995. You&#8217;ll need to fix tons of calls &#8211; just grep for &#8216;/bin/awk&#8217;, &#8216;/bin/grep&#8217;, &#8216;/bin/sort&#8217; etc in /opt/dell/dset.</p>
<p>When all that&#8217;s done, you can generate the report</p>
<pre>
  dellsysteminfo
</pre>
<p>which will drop a zip file with a horribly long name (including the use of round brackets, sigh) in /root/ with the password &#8216;dell&#8217;. Awesome security guys. Why is there even a password if it&#8217;s so trivial?</p>
<p>The Dell tech I&#8217;m e-mailing with (who is very helpful btw, this post is not a criticism about Dell&#8217;s support people &#8211; only about their GNU/Linux tools) said I&#8217;d need to upgrade the system bios and the &#8216;ESM&#8217;, which is the &#8216;system firmware&#8217;. The former was easy with the help of <a href="http://www.ducea.com/2007/08/27/dell-bios-firmware-updates-on-debian/">this blog post</a>. In a nutshell:</p>
<pre>
aptitude install libsmbios-bin libsmbios1 libsmbiosxml1
getSystemId
</pre>
<p>That will print out your &#8216;System ID&#8217;. Look up the latest system bios for that System ID at</p>
<pre>

http://linux.dell.com/repo/software/bios-hdrs/

</pre>
<p>and download it. Then</p>
<pre>
modprobe dell_rbu
dellBiosUpdate -u -f bios.hdr
</pre>
<p>and reboot, at which point your bios will be upgraded if all goes well. Note that if your cmos battery is dead, you can&#8217;t upgrade your bios anymore because all the command line tool does is load it into ram and flip a switch to tell the bios to upgrade itself on the next boot; without cmos battery either that switch or the bios in ram may not survive a reboot.</p>
<p>So that worked fine. The ESM update was a little trickier. I downloaded another .BIN file from </p>
<pre>

http://support.euro.dell.com/support/downloads/download.aspx?c=fr&#038;l=fr&#038;s=gen&#038;releaseid=R147948&#038;SystemID=PWE_PNT_2800&#038;servicetag=8YGYQ1J&#038;os=WNET&#038;osl=fr&#038;deviceid=5814&#038;devlib=0&#038;typecnt=0&#038;vercnt=7&#038;catid=-1&#038;impid=-1&#038;formatcnt=4&#038;libid=29&#038;fileid=196749

</pre>
<p>At least that thing didn&#8217;t try to do all sorts of rpm manipulations, it just runs a few scripts (again, you can verify with &#8211;extract).</p>
<p>The tricky thing here is that running the BIN file conflicts with the ipmi modules. Here&#8217;s what I did:</p>
<p>Boot into single user mode, and stop openmanage and ipmievd:</p>
<pre>
/etc/init.d/instsvcdrv stop
/etc/init.d/ipmievd stop
</pre>
<p>Then unload all ipmi modules:</p>
<pre>
rmmod ipmi_devintf
rmmod ipmi_si 
rmmod ipmi_msghandler
</pre>
<p>Then start screen, and start the .BIN file. It will look around, cause the ipmi modules to be loaded again and if all is well ask you if you really want to update your ESM, [Y/N].</p>
<p>At this point, break out of screen with ctrl-a d, and unload the ipmi modules again (I kid you not!):</p>
<pre>
rmmod ipmi_devintf
rmmod ipmi_si 
rmmod ipmi_msghandler
</pre>
<p>Now return to screen</p>
<pre>
screen -r
</pre>
<p>and press &#8216;Y&#8217;. Don&#8217;t worry, it&#8217;s going to load the ipmi modules yet again, and then starts printing dots on the screen as the upgrade progresses. It takes a while &#8211; at least 5 minutes on my system. So just wait until it is done.</p>
<p>Eventually the script said &#8216;update complete&#8217;. I read this trick with screen and the unloading of the ipmi modules somewhere on a dell wiki, but I can&#8217;t find the link now (sorry!) so I can&#8217;t give credit. </p>
<p>Anyway, and I was able to verify the upgrade with ipmitool (I upgraded to firmware revision 1.72):</p>
<pre>
# ipmitool -I open mc info
Device ID                 : 32
Device Revision           : 0
Firmware Revision         : 1.72
IPMI Version              : 1.5
Manufacturer ID           : 674
Manufacturer Name         : Unknown (0x2a2)
Product ID                : 0 (0x0000)
Device Available          : yes
Provides Device SDRs      : yes
Additional Device Support :
    Sensor Device
    SDR Repository Device
    SEL Device
    FRU Inventory Device
    IPMB Event Receiver
    Chassis Device
Aux Firmware Rev Info     :
    0x00
    0x00
    0x00
    0x00
</pre>
<p>So in the end I got almost everything to work (except for the dset output which is still partially missing). But seriously, this was way harder than it should be. </p>
<p>That DSET package is a total mess and needs some serious reworking.</p>
<p>The system bios upgrade procedure is elegant and simple &#8211; there Dell deserves credit.</p>
<p>The ESM upgrade&#8230; not so much. Seriously &#8211; what&#8217;s up with those ipmi modules getting in the way <i>twice</i>?</p>
<p>In a nutshell, I&#8217;d like Dell to hire some people to clean up the GNU/Linux tools they provide. But they have to be people who know about more than just rpm-based distros, and who are interested in truly cross-distribution solutions and want to work with all (popular) distributions. Basically, if Dell can get their tools into Debian, Fedora and OpenSuse, things will trickle down to almost every other popular flavor of GNU/Linux. There is a lot of work to do&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>https://ward.vandewege.net/blog/2008/10/dells-gnulinux-support-leaves-to-be-desired/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
