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

<channel>
	<title>A Blog by Tim Bishop</title>
	<atom:link href="http://www.bishnet.net/tim/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bishnet.net/tim/blog</link>
	<description>"For a moment, nothing happened. Then, after a second or so, nothing continued to happen." -- HHGTTG</description>
	<pubDate>Thu, 24 Jul 2008 09:35:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>CSProjects Upgrade</title>
		<link>http://www.bishnet.net/tim/blog/2008/07/24/csprojects-upgrade/</link>
		<comments>http://www.bishnet.net/tim/blog/2008/07/24/csprojects-upgrade/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 09:35:03 +0000</pubDate>
		<dc:creator>Tim Bishop</dc:creator>
		
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.bishnet.net/tim/blog/?p=67</guid>
		<description><![CDATA[Since launching CSProjects last year we&#8217;ve had nearly 80 projects set up on it. I&#8217;m pleased with the success it&#8217;s had so far, but I&#8217;m still surprised by people not knowning about it. Recently I&#8217;ve been trying to do more to publicise it, with some success.
Over the past couple of weeks I&#8217;ve spent some time [...]]]></description>
			<content:encoded><![CDATA[<p>Since <a href="http://www.bishnet.net/tim/blog/2007/10/18/csprojects-is-unleashed-at-last/">launching CSProjects</a> last year we&#8217;ve had nearly 80 projects set up on it. I&#8217;m pleased with the success it&#8217;s had so far, but I&#8217;m still surprised by people not knowning about it. Recently I&#8217;ve been trying to do more to publicise it, with some success.</p>
<p>Over the past couple of weeks I&#8217;ve spent some time sorting out the upgrade to Trac 0.11. It&#8217;s not significantly different from the 0.10.4 version that we&#8217;ve been running for the past year, but it did require some config and code changes. We&#8217;ve rolled that out today, and so far there haven&#8217;t been any problems.</p>
<p>Next on the agenda is upgrading Subversion to 1.5. Hopefully that&#8217;ll be fairly easy <img src='http://www.bishnet.net/tim/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bishnet.net/tim/blog/2008/07/24/csprojects-upgrade/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A solution? It&#8217;s all Sun&#8217;s fault.</title>
		<link>http://www.bishnet.net/tim/blog/2008/07/22/a-solution-its-all-suns-fault/</link>
		<comments>http://www.bishnet.net/tim/blog/2008/07/22/a-solution-its-all-suns-fault/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 20:26:14 +0000</pubDate>
		<dc:creator>Tim Bishop</dc:creator>
		
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.bishnet.net/tim/blog/?p=69</guid>
		<description><![CDATA[I&#8217;ve made a couple of posts lately about the problems we&#8217;ve been having with one of our Sun 3511 disk arrays. Sun got back to me today with what they thought the problem was. Here&#8217;s the gory detail (slightly truncated to fit this blog post):
* SES

Ch  Id Chassis Vendor/Product ID        Rev  PLD
-------------------------------------------------
 2  28 092131  SUN [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve made a <a href="http://www.bishnet.net/tim/blog/2008/07/16/any-idea-wtf-is-going-on/">couple</a> of <a href="http://www.bishnet.net/tim/blog/2008/07/21/sigh-stupid-array/">posts</a> lately about the problems we&#8217;ve been having with one of our Sun 3511 disk arrays. Sun got back to me today with what they thought the problem was. Here&#8217;s the gory detail (slightly truncated to fit this blog post):</p>
<pre>* SES

Ch  Id Chassis Vendor/Product ID        Rev  PLD
-------------------------------------------------
 2  28 092131  SUN StorEdge 3511F A     0430 1000
 3  28 092131  SUN StorEdge 3511F D     0420 1100*

* indicates SES or PLD firmware mismatch.</pre>
<p>This appears in a few places, so I&#8217;ve only quoted the one Sun spotted. It boils down to the components in the array having inconsistent firmware revisions. This could very well have caused the crash we saw <a href="http://www.bishnet.net/tim/blog/2008/07/21/sigh-stupid-array/">yesterday</a>.</p>
<p>This is something I blame Sun for. Firstly, they shipped out a controller with mismatched firmwares on it. I guess this sort of thing might happen though, but the field engineer should really have spotted the mistake when he was onsite and getting the replacement controller configured.</p>
<p>Today Sun wanted to send out another engineer to get the firmware updated, and when I came back from shifting some stuff around I had a voicemail from dispatch. It&#8217;s good to see them being so proactive at fixing the issue, although I wonder if it&#8217;s because they realised it was their fault?</p>
<p>However, being as I am a sysadmin, I figured I could save everyone a lot of time and hassle if I did the upgrade myself. Sun gave me the link and a couple of hours later it was all sorted (and I even managed to shift some furniture around the building in the middle of it). We&#8217;ve agreed with Sun to wait until next week to ensure things are working as they should, then we&#8217;ll close the case.</p>
<p>In the meantime I have our largest volume resyncing, but have some familiar looking problems cropping up with the other. Somehow I fear this saga isn&#8217;t quite over yet&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bishnet.net/tim/blog/2008/07/22/a-solution-its-all-suns-fault/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sigh. Stupid array.</title>
		<link>http://www.bishnet.net/tim/blog/2008/07/21/sigh-stupid-array/</link>
		<comments>http://www.bishnet.net/tim/blog/2008/07/21/sigh-stupid-array/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 15:51:29 +0000</pubDate>
		<dc:creator>Tim Bishop</dc:creator>
		
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.bishnet.net/tim/blog/?p=64</guid>
		<description><![CDATA[After all the fun the other day I was hoping for some time to work on other stuff this week. By the end of the weekend the array had finishing syncing and I&#8217;d remirrored all the volumes back on to it. It was all ticking over nicely, until this morning&#8230;
Unrecoverable Controller Error Encountered !
Resetting Controller [...]]]></description>
			<content:encoded><![CDATA[<p>After all the <a href="http://www.bishnet.net/tim/blog/2008/07/16/any-idea-wtf-is-going-on/">fun the other day</a> I was hoping for some time to work on other stuff this week. By the end of the weekend the array had finishing syncing and I&#8217;d remirrored all the volumes back on to it. It was all ticking over nicely, until this morning&#8230;</p>
<pre>Unrecoverable Controller Error Encountered !
Resetting Controller !</pre>
<p>After which the array disappeared. On arrival at work I power cycled the unit and it came back up without any problems (albeit needing resyncing, again). But this isn&#8217;t good enough - the unit is still faulty.</p>
<p>So I&#8217;ve logged the case with Sun, again. They&#8217;re being remarkably slow to respond today, despite me logging it as high priority. But, as you&#8217;d expect, they <em>just</em> got it within their 4 hour SLA window.</p>
<p>So it continues&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bishnet.net/tim/blog/2008/07/21/sigh-stupid-array/feed/</wfw:commentRss>
		</item>
		<item>
		<title>&#8220;Any idea WTF is going on?&#8221;</title>
		<link>http://www.bishnet.net/tim/blog/2008/07/16/any-idea-wtf-is-going-on/</link>
		<comments>http://www.bishnet.net/tim/blog/2008/07/16/any-idea-wtf-is-going-on/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 16:59:19 +0000</pubDate>
		<dc:creator>Tim Bishop</dc:creator>
		
		<category><![CDATA[Computing]]></category>

		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.bishnet.net/tim/blog/?p=63</guid>
		<description><![CDATA[&#8220;Any idea WTF is going on?&#8221; is what I read on my phone as I stumbled out of bed this morning. It was from one of my colleagues who, for some reason I can&#8217;t understand, seems to like getting in to work at a ridiculous hour in the morning.
Still half asleep I plodded through to [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;Any idea WTF is going on?&#8221; is what I read on my phone as I stumbled out of bed this morning. It was from one of my colleagues who, for some reason I can&#8217;t understand, seems to like getting in to work at a ridiculous hour in the morning.</p>
<p>Still half asleep I plodded through to my desk and sat down at my computer. I tried to check my email but nothing was responding. Then I saw the message &#8220;NFS server resfs.fs.cs not responding&#8221;&#8230; and woke up rather quickly. This meant either our network was shafted, or more likely, the cluster had blown up again.</p>
<p>I discovered one of the cluster nodes was offline and marked as failed, and the service group that manages our filestore was also marked as failed. That was odd, but it had happened before. I dug a bit further and found a screenful of SCSI errors. This was bad - something must have gone wrong with the storage.</p>
<p>Next I checked the arrays. The first one I checked had numerous errors on it; failed disks, missing disks, and drive not ready messages. I can&#8217;t stress enough how important this data is - it holds files, email and shared areas for all the staff and researchers in our department, and I really didn&#8217;t want to explain to them that we&#8217;d lost it all (well, we do have backups&#8230;). I nervously moved on to check the second array - they were mirrored, so as long as one was OK we&#8217;d be fine - and I was delighted to find no error messages.</p>
<p>So, now I knew that the likely cause of the problems was an array failing. It turned out later on to be the controller in this array, which was a good thing because Sun managed to send the wrong disks anyway. The next steps were to get the array fixed and to get things back online. I asked my colleague, who was already in the office, to disconnect the fibres from the failed array (to keep it completely out of the loop whilst it was fixed) and get on to Sun to fix it. Whilst he did that I, still at home, not dressed, and without breakfast, got on with getting things back online.</p>
<p>This, in theory, should have been the easy part. We had a mirrored setup so the plan was to just bring the volume back online with only half of the mirror. No problem, I thought. Except when it wouldn&#8217;t come online. When the initial problem had occured the cluster software (VCS) had failed to unmount the disk from the node it was on. It had decided that it needed to do this to bring it online on another node (little did it know that it wouldn&#8217;t work on any other node either), so as a last resort it asked the machine to panic. This is something akin to asking it to commit suicide. It duely did it&#8217;s job, but in the process left the disks in an odd state.</p>
<p>When I tried to mount these disks on one of the other nodes I got errors from the volume manager telling me a split brain had occured (this happens when a live cluster splits in two, but neither half can see the other). I knew that wasn&#8217;t the case, so I tried to force the mount. That failed with write errors. After a lot of head scratching I realised it was probably the I/O fencing stopping this node from accessing the disk. Whilst frustrating, it was nice to see the software behaving as it should - in a real split brain situation this is exactly what you want.</p>
<p>A while later I figured out how to clear the SCSI3 reservations on the disks (-o clearreserve option to vxdg import). This was nearly enough. Another issue with the split brain was that the configuration data stored on the disks didn&#8217;t quite match (I&#8217;m not 100% sure why, but I believe the node that paniced hadn&#8217;t managed to consistently update the metadata). After dumping the configuration it was clear that they were identical, bar a revision number, so by using -o selectcp we were able to get the diskgroup imported.</p>
<pre>vxdg -fC -o clearreserve -o selectcp=1128804183.107.qetesh \
    import ResFS</pre>
<p>Success! The diskgroup was online. From here it was just a case of waiting for fsck to confirm everything looked OK and then unleashing VCS to bring the service group back online.</p>
<p>By this point Sun had sent out an engineer and parts to fix the other array (we get a good service from them, thankfully). That&#8217;s currently resyncing its disks, which will take a day or two. Once that&#8217;s done we&#8217;ll hook it back in to the fibre fabric and bring things back online. It&#8217;ll take just as long again to resync the data, but all I have to do is sit and watch <img src='http://www.bishnet.net/tim/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Finally, after hours of investigation I finally found out the cause of all the problems. We&#8217;ve just ordered a newer, bigger array. The old ones are just jealous.</p>
<p>(And a quick thanks to Pete for his help in debugging things this morning <img src='http://www.bishnet.net/tim/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> )</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bishnet.net/tim/blog/2008/07/16/any-idea-wtf-is-going-on/feed/</wfw:commentRss>
		</item>
		<item>
		<title>FreeBSD stuff</title>
		<link>http://www.bishnet.net/tim/blog/2008/07/16/freebsd-stuff/</link>
		<comments>http://www.bishnet.net/tim/blog/2008/07/16/freebsd-stuff/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 16:22:27 +0000</pubDate>
		<dc:creator>Tim Bishop</dc:creator>
		
		<category><![CDATA[Computing]]></category>

		<category><![CDATA[FreeBSD]]></category>

		<category><![CDATA[KRoC]]></category>

		<category><![CDATA[Squeezecenter]]></category>

		<guid isPermaLink="false">http://www.bishnet.net/tim/blog/?p=62</guid>
		<description><![CDATA[I&#8217;ve done a bit of work on my FreeBSD ports lately. Firstly, after building my new server, I got round to upgrading from SlimServer to SqueezeCenter. This also meant sorting out ports for all the plugins I use. This didn&#8217;t take too long, and you can find them all over here. So far I&#8217;m liking [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve done a bit of work on my FreeBSD ports lately. Firstly, after <a href="http://www.bishnet.net/tim/blog/2008/06/19/ill-build-a-new-server-its-got-to-be-easier-than-patching-up-the-old-one/">building my new server</a>, I got round to upgrading from SlimServer to <a href="http://www.freshports.org/audio/squeezecenter/">SqueezeCenter</a>. This also meant sorting out ports for all the plugins I use. This didn&#8217;t take too long, and you <a href="http://www.freshports.org/audio/squeezecenter-dynamicplaylist/">can</a> <a href="http://www.freshports.org/audio/squeezecenter-lazysearch/">find</a> <a href="http://www.freshports.org/audio/squeezecenter-sqlplaylist/">them</a> <a href="http://www.freshports.org/audio/squeezecenter-superdatetime/">all</a> <a href="http://www.freshports.org/audio/squeezecenter-trackstat/">over</a> <a href="http://www.freshports.org/audio/squeezecenter-transitionupdater/">here</a>. So far I&#8217;m liking SqueezeCenter, and I&#8217;d highly recommend it (and a SqueezeBox, of course).</p>
<p>I also maintain a port for a suite of software called <a href="http://projects.cs.kent.ac.uk/projects/kroc/trac/">KRoC</a>. KRoC is written and maintained <a href="http://www.cs.kent.ac.uk/">where I work</a>, so apart from making it available to FreeBSD users I also have an interest in supporting the work done by our department. I&#8217;ve been waiting some time for a 1.5.x release of KRoC, but I finally got impatient. I automated the production of <a href="http://ftp.i-scream.org/pub/kroc/">snapshots</a> from their stable branch, and updated the <a href="http://www.freshports.org/lang/kroc/">port</a> to build from that. I also run a FreeBSD 7 machine in their buildbot system to further test KRoC on my favourite operating system <img src='http://www.bishnet.net/tim/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>And in other FreeBSD news, I cast my vote in the FreeBSD Core elections. It&#8217;s hard to know who to vote for, but I gave their statements a good read and made a decision. Good luck to them all!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bishnet.net/tim/blog/2008/07/16/freebsd-stuff/feed/</wfw:commentRss>
		</item>
		<item>
		<title>&#8220;I&#8217;ll build a new server; it&#8217;s got to be easier than patching up the old one&#8230;&#8221;</title>
		<link>http://www.bishnet.net/tim/blog/2008/06/19/ill-build-a-new-server-its-got-to-be-easier-than-patching-up-the-old-one/</link>
		<comments>http://www.bishnet.net/tim/blog/2008/06/19/ill-build-a-new-server-its-got-to-be-easier-than-patching-up-the-old-one/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 22:24:29 +0000</pubDate>
		<dc:creator>Tim Bishop</dc:creator>
		
		<category><![CDATA[Computing]]></category>

		<category><![CDATA[FreeBSD]]></category>

		<category><![CDATA[3ware]]></category>

		<category><![CDATA[9690]]></category>

		<category><![CDATA[9690SA]]></category>

		<category><![CDATA[AN05]]></category>

		<category><![CDATA[Cable CRC error]]></category>

		<category><![CDATA[Drive timeout detected]]></category>

		<category><![CDATA[P5E3]]></category>

		<category><![CDATA[Seagate]]></category>

		<category><![CDATA[SN04]]></category>

		<category><![CDATA[ST31000340NS]]></category>

		<guid isPermaLink="false">http://www.bishnet.net/tim/blog/?p=61</guid>
		<description><![CDATA[A few weeks back I started having problems with my file server at home. This machine is fairly important to us; it holds all our photos, music and other files. For years I&#8217;ve been bodging it together with various old parts scavenged from other machines and some new parts when needed. But, once again, it&#8217;d [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks back I started having problems with my file server at home. This machine is fairly important to us; it holds all our photos, music and other files. For years I&#8217;ve been bodging it together with various old parts scavenged from other machines and some new parts when needed. But, once again, it&#8217;d started to break. Disks were dropping out of the RAID unexpectedly, and the replacements were refusing to rebuild. Unsure of where the problem was I uttered the fateful words &#8220;I&#8217;ll build a new server; it&#8217;s got to be easier than patching up the old one&#8230;&#8221;. My colleagues were sceptical, but I ploughed on anyway. Maybe I should have listened to them?</p>
<p>It took the best part of a week to work out what I wanted. There were so many decisions to make: which RAID card, disks, motherboard, CPU, RAM, case, etc. I researched each one as much as I could, but there&#8217;s a bottomless pit of information on the Internet. Eventually I settled on a 3ware 9690SA RAID card with 4 Seagate ST31000340NS disks. The other bits were fairly decent to make sure the machine would have a good life, but not excessive.</p>
<p>The reason for choosing a hardware RAID solution over software RAID was simple - reliability. Now, I&#8217;m not knocking software RAID in principal (look at ZFS, for example), but the implementations for RAID 3-5 on FreeBSD aren&#8217;t great (yes, it has ZFS, but I&#8217;m not in the mood for trailblazing this time round). I wanted to stick with FreeBSD so I opted for the well known reliablity that 3ware cards provide. And the 5 year warranty on Seagate disks made them an attractive choice.</p>
<p>The purchasing process wasn&#8217;t as simple as it could have been. I ordered from <a href="http://www.dabs.com/">dabs.com</a>, <a href="http://www.span.com/">span.com</a> (they specialise in storage stuff) and <a href="http://www.overclockers.co.uk/">overclockers.co.uk</a>. I&#8217;ve used all three companies before, so I wasn&#8217;t too concerned about problems. The bulk of it was ordered from Dabs - it looks like they&#8217;re back to being competitive on prices. The problems started almost immediately; Dabs held my order over an issue with my address. It&#8217;s happened once before and that put me off Dabs for some time, but we use them all the time at work, so I had hopes they&#8217;d be better now. It took a working day to resolve that issue&#8230; and then next day I get an email to say my credit card company has declined the order. On the phone to them and through to their security department; seems buying lots of stuff online is unusual&#8230; not for me it isn&#8217;t. Anyway, that was resolved and then I had more waiting for Dabs to try the transaction again. Eventually I got impatient and tried their online chat thing and the matter was resolved in minutes. Meanwhile the parts ordered from the other two suppliers were sitting on my desk.</p>
<p>Eventually it all arrived and I took it home. Ruth wasn&#8217;t overly impressed when I cleared off the dining room table and covered it in computer parts, but I assured her it wasn&#8217;t for long. That was a couple of weeks ago - it&#8217;s all still there.</p>
<p>I spent a weekend putting things together and testing it all out. I routed every cable neatly and tied them carefully to the case to ensure nothing moved about. Airflow was good and the additional fans in the case were doing a great job of keeping things cool (not sure about their blue LEDs though&#8230;). All was looking good and I was enjoying the process.</p>
<p>Then I tried to use the RAID card. The first problems hit when I turned on the motherboard&#8217;s RAID, which I&#8217;d intended to use to mirror the system disks, whilst the 9690SA was plugged in. I&#8217;d gone for a Asus P5E3 and expected both RAID systems to work happily together, but sadly I was wrong. I experienced unusual problems such as the machine hanging on the Intel Matrix Storage (the onboard RAID) screen and disks randomly disappearing from both arrays. In the end I gave up and turned off the onboard RAID; I figured the FreeBSD RAID 1 (gmirror) is pretty solid, so I&#8217;d use that.</p>
<p>Thinking I&#8217;d got over the worst of the problems I moved on to setting up the 9690SA. Things looked good for a while; the interface was clear and everything was easy to set up. It wasn&#8217;t until I started trying to put data on that I noticed problems. Here&#8217;s a snippet from the error log (largely for the benefit of Google):</p>
<pre>E=0200 T=08:26:00 : <strong>Cable CRC error</strong>
SATA Device. port = 0x0
task file written out : cd dh ch cl sn sc ft
                      : 00 70 00 00 00 1200 00
  task file read back : st dh ch cl sn sc er
                      : 00 00 00 00 00 8441 00
E=0200 T=08:26:00 P=0h: Soft reset drive
E=0200 T=08:26:00 P=0h: exitCode = 1013
Port retry not allowed
E=0200 T=08:26:00 P=0h: Prepare for command retry
exitCode = 1013</pre>
<p>At first I wasn&#8217;t sure what to make of this. Maybe it was the cable or connection, but on all four drives? It was a special 4-in-1 (SFF8087) cable, but it still seemed odd. I logged the case with 3ware&#8217;s technical support and got back a response suggesting I try another cable. Well, duh, I could have figured that myself. I was hoping they might be able to point out any other less obvious potential causes.</p>
<p>So, I purchased another cable. It took a couple of days to arrive and did absolutely nothing to resolve the problem. Sigh. At the same time as this was going on I had another problem - it&#8217;s only with hindsight that I know to separate the two:</p>
<pre>E=0204 T=18:34:36     : Port timeout (ext)
SATA Device. port = 0x2
task file written out : cd dh ch cl sn sc ft
                      : 00 04 00 00 00 00 00
Send AEN (code, time): 0x9, 06/10/2008 18:34:36
<strong>Drive timeout detected</strong>
(EC:0x09, SK=0x04, ASC=0x00, ASCQ=0x00, SEV=01, Type=0x71)
phy=6
  task file read back : st dh ch cl sn sc er
                      : 00 00 00 00 00 00 00
E=0204 T=18:34:36 P=2h: Soft reset drive
E=0204 T=18:34:36 P=2 : Inserting Set UDMA command
E=0204 T=18:34:36 P=2h: Check power cycles, initial=40, current=40
E=0204 T=18:34:36 P=2h: exitCode = 1013
Port retry not allowed
E=0204 T=18:34:36 P=2h: Prepare for command retry
exitCode = 1013
E=0204 T=18:34:36 U=0 : Retrying command</pre>
<p>These errors happened less frequently, but eventually caused I/O to hang and the controller to reset. Again I logged this with 3ware&#8217;s technical support and got back a bunch of not so helpful responses. They suggested moving the card in the machine, testing the disks, checking the power supply, and so on. All valid points, but what annoyed me was they could only ask me to check one at a time&#8230; and they could only reply to me once a day. Plus I&#8217;d already done everything they suggested. It took a week to go through this nonsense.</p>
<p>In the mean time I spent a lot of time experimenting, fiddling, and web searching. Eventually I found the following two pages, although it took me a while to realise their significance:</p>
<p><a href="http://www.3ware.com/KB/article.aspx?id=15385">http://www.3ware.com/KB/article.aspx?id=15385</a><br />
<a href="http://www.3ware.com/kb/article.aspx?id=15171">http://www.3ware.com/kb/article.aspx?id=15171</a></p>
<p>The first of the articles explicitly mentions my controller card and drives, so it seemed to be the right thing to do. But I had the SN04 firmware on my drives and they wanted me to apply AN05. I asked both 3ware and Seagate to clarify the differences, but neither gave satisfactory answers. Seagate managed to give me the SN05 firmware to try, but it didn&#8217;t help. In slight desperation, and without anyone giving me much help, I decided to take a punt on the AN05 firmware.</p>
<p>IT WORKED!</p>
<p>There was a lot of tension for the next few hours whilst I continued testing, but eventually I was satisfied that the AN05 firmware solved the problem. Later attempts to clarify with Seagate why SN05, which they gave me, didn&#8217;t work and AN05, which 3ware pointed me at, did work, got nowhere. Seagate support actually admitted that they basically don&#8217;t know.</p>
<p>So on to the next issue. The second article suggested limiting the speed of the drives to work around the drive timeout issue. It&#8217;s definately a workaround, but it was worth a shot. I&#8217;d already removed the jumpers from the drives that limited them to 1.5 Gb/s, and they were a nightmare to do - I&#8217;ve never seen such small and fiddly jumpers on a disk&#8230; it was completely unnecessary given the available space. This time I decided to do the limiting in the 9690SA&#8217;s software.</p>
<p>ONCE AGAIN, IT WORKED!</p>
<p>So at this point I&#8217;m happy. Things are looking good. That last fix is definately a workaround, and I&#8217;ve told 3ware they need to fix it. It&#8217;s a bug, and bugs need fixing. I&#8217;m now using the array to store my data on, it&#8217;s nice and quick (a 512MB write cache helps!), and I have plenty of space. And Ruth might get the dining room table back soon&#8230; assuming I can work out how to lift this massive machine (did I mention the case was quite big?).</p>
<p>But I&#8217;d like to finish this post with a rant. It turned out that the solutions to my problems were both in the 3ware knowledge base. Now maybe I should have searched harder initially, but it took me some time to find these articles. But more to the point, 3ware support should definately have known about these issues and should have directed me straight to them. I wasted a week of my time messing around with them, and I&#8217;m not happy about it. The card is great (apart from the aforementioned bug), but the support sucks. It will seriously make me think twice about going with 3ware again.</p>
<p>I hope this post will fill in the whole story to those I&#8217;ve been ranting at recently, and maybe it&#8217;ll help someone else on the Internet out if/when they hit the same problem. That&#8217;s assuming they can read this lengthy post in less time that in takes to figure out the solution themselves ;-).</p>
<p>Good night.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bishnet.net/tim/blog/2008/06/19/ill-build-a-new-server-its-got-to-be-easier-than-patching-up-the-old-one/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Eating out in Falmouth</title>
		<link>http://www.bishnet.net/tim/blog/2008/04/16/eating-out-in-falmouth/</link>
		<comments>http://www.bishnet.net/tim/blog/2008/04/16/eating-out-in-falmouth/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 00:56:40 +0000</pubDate>
		<dc:creator>Tim Bishop</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.bishnet.net/tim/blog/?p=60</guid>
		<description><![CDATA[Since we spend quite a bit of time in Falmouth I thought I&#8217;d just quickly list some of the places we like to eat. This was originally just going to be a post about our favourite place, but I figured I&#8217;d list a few others as well.
Our number one place to go is Five Degrees [...]]]></description>
			<content:encoded><![CDATA[<p>Since we spend quite a bit of time in Falmouth I thought I&#8217;d just quickly list some of the places we like to eat. This was originally just going to be a post about our favourite place, but I figured I&#8217;d list a few others as well.</p>
<p>Our number one place to go is Five Degrees West at the Arwenack Street end of town (for those that remember the old Pirate pub, it&#8217;s where that used to be). It&#8217;s a modern pub looking pub with a fairly relaxed atmosphere. The staff are really friendly and nearly always manage to say hello and goodbye as you walk in or out. The food is excellent for a pub (and probably beats a lot of restaurants too), and it has a decent selection of beverages. A lot of the food and drink is sourced locally too. Price wise it&#8217;s probably more than your average pub, but below that of a restaurant.</p>
<p>I&#8217;ve rated Five Degrees West as our number one place because it&#8217;s a great all rounder. It&#8217;s good for lunch, an evening meal or just a relaxing drink. It even has free Wi-Fi. So I recommend you take a visit if you&#8217;re in Falmouth, and I further recommend the Bacon and Cornish Brie Ciabatta <img src='http://www.bishnet.net/tim/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>We also have a couple of favourite restaurants which by chance are right on top of each other. They are The Warehouse Bistro and Clarks Restaurant, which are located on Custom House Quay. Warehouse has a smaller, older and cosier feel to it, and has a lovely fillet steak (I recommend the Stilton sauce). Clarks is more modern and has some nice food on the menu. Both are obviously more pricey than Five Degrees West, but worth a visit once when we&#8217;re in Falmouth.</p>
<p>I&#8217;d also like to briefly mention The Hut. We went there last year and had a good time, but haven&#8217;t had the chance to go again.</p>
<p>On the cheaper side we have a Weatherspoons at the other end of town. It was good when it first opened, but it&#8217;s starting to look a bit shabby now. The food can be variable and likewise for the service. We still go in on occasions, but usually in the evening for a drink rather than food.</p>
<p>No post about eating out in Cornwall would be complete without a mention of the good old Cornish Pasty (thanks pao for spotting this glaring omission!). There&#8217;s only one place to get a Pasty in Falmouth - that&#8217;s Rowes Bakery near the Prince of Wales pier. Well, there&#8217;s absolutely loads of places, but I only go there <img src='http://www.bishnet.net/tim/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Falmouth is awash with restaurants, and more seem to be opening all the time (the old Post Office building has turned in to an Italian!). I haven&#8217;t been to a lot of them, but if you&#8217;ve been somewhere good and you happen to be reading this, feel free to leave a recommendation <img src='http://www.bishnet.net/tim/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bishnet.net/tim/blog/2008/04/16/eating-out-in-falmouth/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Connecting to and LDAP server using Kerberos authentication in Perl</title>
		<link>http://www.bishnet.net/tim/blog/2008/01/18/connecting-to-ldap-using-kerberos-authentication-in-perl/</link>
		<comments>http://www.bishnet.net/tim/blog/2008/01/18/connecting-to-ldap-using-kerberos-authentication-in-perl/#comments</comments>
		<pubDate>Fri, 18 Jan 2008 10:44:10 +0000</pubDate>
		<dc:creator>Tim Bishop</dc:creator>
		
		<category><![CDATA[Computing]]></category>

		<category><![CDATA[Auth::SASL]]></category>

		<category><![CDATA[Authen::Krb5::Easy]]></category>

		<category><![CDATA[GSSAPI]]></category>

		<category><![CDATA[Kerberos]]></category>

		<category><![CDATA[keytab]]></category>

		<category><![CDATA[KRB5CCNAME]]></category>

		<category><![CDATA[LDAP]]></category>

		<category><![CDATA[Net::LDAP]]></category>

		<guid isPermaLink="false">http://www.bishnet.net/tim/blog/2008/01/18/connecting-to-ldap-using-kerberos-authentication-in-perl/</guid>
		<description><![CDATA[It took me a while to figure this code out, and there seemed to be a lack of complete examples on the web to do exactly this, so I thought I&#8217;d document it.
I needed to connect to an LDAP server using a Kerberos principal for authentication from within a Perl script. This meant that it [...]]]></description>
			<content:encoded><![CDATA[<p>It took me a while to figure this code out, and there seemed to be a lack of complete examples on the web to do exactly this, so I thought I&#8217;d document it.</p>
<p>I needed to connect to an LDAP server using a Kerberos principal for authentication from within a Perl script. This meant that it needed to do it without any external input, so it couldn&#8217;t rely on a password being entered or someone doing a kinit first.</p>
<p>The code is fairly simple. It basically gets the right credentials using a pre-initialised keytab and then sets up the relevant objects and uses them to bind to an LDAP server.</p>
<blockquote>
<pre>#!/usr/local/bin/perl -w    

# How to connect to an LDAP server using GSSAPI Kerberos auth.    

use strict;    

use Net::LDAP;
use Authen::SASL qw(Perl);
# This module makes doing the kinit much easier
use Authen::Krb5::Easy qw(kinit kdestroy kerror);    

# Location of the keytab which contains testuser's key
# exported in kadmin by: ktadd -k /tmp/test.keytab testuser
my $keytab = '/tmp/test.keytab';
# Where to store the credentials
my $ccache = '/tmp/test.ccache';    

$ENV{KRB5CCNAME} = $ccache;    

# Get credentials for testuser
kinit($keytab, 'testuser@CS.UKC.AC.UK') || die kerror();    

# Set up a SASL object
my $sasl = Authen::SASL-&gt;new(mechanism =&gt; 'GSSAPI') || die "$@";    

# Set up an LDAP connection
my $ldap = Net::LDAP-&gt;new('ldap.cs.kent.ac.uk') || die "$@";    

# Finally bind to LDAP using our SASL object
my $mesg = $ldap-&gt;bind(sasl =&gt; $sasl);    

# This should say "0 (Success)" if it worked
print "Message is ". $mesg-&gt;code ." (". $mesg-&gt;error .").\n";    

# Clear up the credentials
kdestroy();</pre>
</blockquote>
<p>Hopefully this will help someone else out. Comments welcome <img src='http://www.bishnet.net/tim/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bishnet.net/tim/blog/2008/01/18/connecting-to-ldap-using-kerberos-authentication-in-perl/feed/</wfw:commentRss>
		</item>
		<item>
		<title>IPv6 connectivity - changing brokers</title>
		<link>http://www.bishnet.net/tim/blog/2008/01/06/ipv6-connectivity-changing-brokers/</link>
		<comments>http://www.bishnet.net/tim/blog/2008/01/06/ipv6-connectivity-changing-brokers/#comments</comments>
		<pubDate>Sun, 06 Jan 2008 23:18:30 +0000</pubDate>
		<dc:creator>Tim Bishop</dc:creator>
		
		<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://www.bishnet.net/tim/blog/2008/01/06/ipv6-connectivity-changing-brokers/</guid>
		<description><![CDATA[It&#8217;s been nearly 2 years since I intially set up my IPv6 connectivity, and back then I had some problems with the BT Exact IPv6 tunnel broker. Now it seems that without much notice the service has been taken down permanently, so I&#8217;ve just spent quite a few hours moving over to a new provider [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been nearly 2 years since I intially <a href="http://www.bishnet.net/tim/blog/2006/03/19/router-rebuild-or-an-excuse-to-play-with-ipv6/">set up my IPv6 connectivity</a>, and back then I <a href="http://www.bishnet.net/tim/blog/2006/03/23/bt-exact-ipv6-tunnel-broker-is-back/">had some problems</a> with the BT Exact IPv6 tunnel broker. Now it seems that without much notice the service has been taken down permanently, so I&#8217;ve just spent quite a few hours moving over to a new provider - <a href="http://www.sixxs.net/">SixXS</a>.</p>
<p>My initial impression of SixXS is that it&#8217;s much more polished than the BT service was. They have many PoPs (although a tunnel is only associated with one nearby PoP), a decent website, and all the facilities that I need. They work on a credit based system which means to use a facility you need credits. You get some credits when you set up an account, and you gain more by running a reliable tunnel. It&#8217;s an interesting idea&#8230; it encourages you to look after your setup.</p>
<p>Handily I got some bonus credits for my work on some Open Source projects, so I got both my home network and my colo server setup in one go. The process was as good as identical to the BT service, so there were no real problems - just the tediousness of updating configs, DNS entries and firewalls.</p>
<p>So there we have it - SixXS++ <img src='http://www.bishnet.net/tim/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bishnet.net/tim/blog/2008/01/06/ipv6-connectivity-changing-brokers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A new camera</title>
		<link>http://www.bishnet.net/tim/blog/2007/12/08/a-new-camera/</link>
		<comments>http://www.bishnet.net/tim/blog/2007/12/08/a-new-camera/#comments</comments>
		<pubDate>Sat, 08 Dec 2007 16:34:06 +0000</pubDate>
		<dc:creator>Tim Bishop</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.bishnet.net/tim/blog/2007/12/08/a-new-camera/</guid>
		<description><![CDATA[Yesterday we went and bought a new camera. I&#8217;ve been trying to decide what to get for ages now, and I&#8217;ve managed to go all the way back round to my first choice.
We picked up a shiny new Nikon D80 with the Nikon 18-200mm VR lens from Jessops in Canterbury. I&#8217;d already purchased a pair of [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday we went and bought a new camera. I&#8217;ve been trying to decide what to get for ages now, and I&#8217;ve managed to go all the way back round to my first choice.</p>
<p>We picked up a shiny new <a href="http://www.europe-nikon.com/product/en_GB/products/broad/777/overview.html">Nikon D80</a> with the <a href="http://www.europe-nikon.com/product/en_GB/products/broad/392/overview.html">Nikon 18-200mm VR lens</a> from Jessops in Canterbury. I&#8217;d already purchased a pair of <a href="http://www.sandisk.co.uk/Products/Item(1973)-SDSDX3-2048-901-SanDisk_Extreme_III_SD_2GB.aspx">Sandisk 2GB SD cards</a> and a <a href="http://www.hoyafilter.com/products/hoya/pro1d-02.html">Hoya 72mm Protector filter</a> online (Play.com and PurelyGadgets.co.uk respectively), since they were considerably cheaper than Jessops.</p>
<p>I wasn&#8217;t sure what to expect from Jessops. I&#8217;ve become quite cynical in recent years and I&#8217;ve come to expect being messed about and ripped off. But, to my delight, Jessops was great. I was served by a guy called Chris in the Mercery Lane store who thankfully knew what he was doing. He was also more than happy to price match a couple of magazines I&#8217;d taken in (containing the Jessops price match promise). I made a saving of around £150 from their list prices, and Nikon are offering a further £50 cash back. So I&#8217;m a happy man.</p>
<p>Now I would go on to say how great the camera is, but I can&#8217;t just yet. The first reason is that it&#8217;s meant to be a Christmas present, so I really ought to leave it alone for a couple of weeks. But, ignoring the first reason, it&#8217;s been either dark or pouring with rain since I left the store, so I haven&#8217;t had much opportunity.</p>
<p>Roll on Christmas! <img src='http://www.bishnet.net/tim/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bishnet.net/tim/blog/2007/12/08/a-new-camera/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
