<?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>Embracing Chaos &#187; Hardware</title>
	<atom:link href="http://www.embracingchaos.com/hardware/feed" rel="self" type="application/rss+xml" />
	<link>http://www.embracingchaos.com</link>
	<description>Analysis of Trends in Technology, Business, Society</description>
	<lastBuildDate>Mon, 23 Jan 2012 16:29:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Macbook Crashes, Kernel Panics and coping with an Apple &#8220;Genius&#8221;</title>
		<link>http://www.embracingchaos.com/2011/05/macbook-crashes-kernel-panics-and-coping-with-an-apple-genius.html</link>
		<comments>http://www.embracingchaos.com/2011/05/macbook-crashes-kernel-panics-and-coping-with-an-apple-genius.html#comments</comments>
		<pubDate>Sun, 15 May 2011 05:38:33 +0000</pubDate>
		<dc:creator>leodirac</dc:creator>
				<category><![CDATA[Analysis]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Geek]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://www.embracingchaos.com/?p=1268</guid>
		<description><![CDATA[So your Mac is crashing a lot, and after a trip to the &#8220;Genius Bar&#8221;, you&#8217;re starting to think maybe that &#8220;genius&#8221; you talked to is anything but.  Is this where you are?  If so, join the club, because that&#8217;s exactly what I&#8217;ve been going through recently.  My MacBook Pro would regularly go black without [...]]]></description>
			<content:encoded><![CDATA[<p><img class="top" src="http://www.embracingchaos.com/wp-content/uploads/2011/05/Kernel_Panic-img-300x162.png" alt="" width="300" height="162" />So your Mac is crashing a lot, and after a trip to the &#8220;Genius Bar&#8221;, you&#8217;re starting to think maybe that &#8220;genius&#8221; you talked to is anything but.  Is this where you are?  If so, join the club, because that&#8217;s exactly what I&#8217;ve been going through recently.  My MacBook Pro would regularly go black without warning, and the only way I could get its attention again was to hold the power button for ten seconds.  Often it crashed while the screen saver was running, or when I was switching between desktop Spaces, or any other time.  And it was a thorough and complete crash &#8212; no warning, no recovery.</p>
<p>It was quite a chore to get Apple to admit that the cause was a hardware problem, and fix it.  But I finally succeeded, so I thought I&#8217;d share some of my experiences.  I&#8217;ll explain what a Kernel Panic is, how they sometimes can be caused by faulty software but often indicate hardware problems, how they differ from other kinds of crashes, and provide a guide on <strong>how to read a Mac OS X kernel panic report</strong>.</p>
<h4>Dealing with the &#8220;Genius&#8221; Bar staff</h4>
<p>&#8220;Genius&#8221; is what Apple calls its first tier of technical support.  I find the brand unfortunate and insulting for everybody involved.  There is no intelligence test required to work as a &#8220;genius&#8221; &#8212; just some minimal training on how to follow Apple customer service scripts like an obedient robot.  Knowing Apple, I wouldn&#8217;t be surprised if the &#8220;Genius&#8221; staff are required to follow these scripts verbatim and face not only termination but punitive lawsuits for deviating from the party line.  Keep this in mind when dealing with them.  Also know that they have some discretion in the outcome of your visit, but the discretion exists within guidelines that they cannot control.</p>
<p>Some tips on getting past the &#8220;genius&#8221; from my limited experience.  Print out your kernel panic reports and bring them in.  The more the better.  Highlight the relevant parts.  I&#8217;m not sure if bringing a bad attitude with you helps or not &#8212; they want to make their customers happy, but they don&#8217;t like their &#8220;genius&#8221; title challenged with logic.  I also recommend persistence.  Following their stupid advice and showing them that it did no good will help.  I&#8217;m not sure if understanding what&#8217;s going on will or not.  But if you&#8217;d like to understand more about why your Mac is crashing, read on&#8230;</p>
<h4>Kernel panics and hardware failures vs regular software failures</h4>
<p>There are two basic ways your Mac can crash.  First, an application might lock up on you and become unresponsive.  You get the <strong>spinning beachball of death</strong>, and eventually have to Force Quit your application, losing whatever work you hadn&#8217;t saved.  This kind of user mode failure is very common with buggy software.  If the beachball is getting you down, the problem <strong>is almost certainly caused by bad software, not by a hardware problem</strong>.  In OS 9 and before, this kind of failure could have taken down your entire machine, but since the introduction of the BSD kernel in OS X, the system is designed to allow one application to fail while protecting all the other applications.</p>
<p>Sometimes though your entire Mac will crash hard.  Without warning your system displays a full-screen message saying &#8220;<strong>You need to restart your computer. Hold down the Power button for several seconds or press the Restart button.</strong>&#8221; in several languages.  This is OS X&#8217;s last ditch attempt to tell you something about what happened before it goes completely teets up.  It&#8217;s formally known as a kernel panic.  Sometimes the system is so screwed it can&#8217;t even get that error message onto the screen before it dies.</p>
<p><strong>Kernel panics indicate a serious problem, either with the computer&#8217;s hardware, or the low-level software in the operating system.</strong> In fact there are only three things that can cause a kernel panic:</p>
<ol>
<li>Faulty hardware causes a problem that the OS doesn&#8217;t know how to deal with</li>
<li>A bug in OS X itself</li>
<li>A bug in an OS plugin called a kernel extension or kext</li>
</ol>
<p>Firstly, if the hardware itself has problems, then kernel panics are a common way they manifest themselves.  Similarly, if the operating system itself has any bugs, they could take down the entire system.  The third option could be caused by third-party software, while the first two are entirely Apple&#8217;s responsibility.  So when it comes to dealing with the &#8220;Genius&#8221; behind the bar, the first two are fairly straightforward.  <strong>If you&#8217;re seeing this problem a lot, and nobody else is, then it&#8217;s probably a hardware problem, and they should replace your hardware.</strong> Here&#8217;s a thought experiment I tried unsuccessfully with the Apple &#8220;geniuses&#8221; I had to deal with: Imagine you have a hundred Macs all running the same software, and one of them crashes periodically, but the other 99 don&#8217;t.  Would you classify that Mac as having a hardware problem or a software problem?  In my case, the genius insisted that it was a software problem.  In fact he claimed he was certain that if I uninstalled Adobe Flash, the problem would be fixed.  Read on, and you&#8217;ll learn how the kernel panic reports themselves show that this explanation is impossible.</p>
<h4>Understanding and interpreting Kernel Panic reports</h4>
<p>First a bit about what a Kernel Panic is.  Very simply, it&#8217;s when something unexpected goes wrong in the operating system kernel.  What&#8217;s the kernel?  The kernel is the lowest level of the operating system &#8212; the part that&#8217;s closest to the hardware.  In modern operating systems, there&#8217;s a fairly arbitrary line between what functionality lives in the kernel and what functionality lives in the user space.  The key difference is that when something goes wrong with software in the user space, you get a beachball on the app, but the system survives.  When something goes wrong in the kernel, you get a kernel panic, and the whole system goes bye bye fast.  So it&#8217;s critical that any code running in the kernel space be ultra reliable.  You don&#8217;t change kernel code quickly or lightly, and you test the hell out of it before you release it.  But code runs faster in the kernel, so most modern operating systems put important things like networking and graphics into the kernel.  The BSD kernel which powers OS X allows the installation of &#8220;kernel extensions&#8221; or &#8220;kexts&#8221; which add functionality.  More about these soon.  But suffice to say that when anything goes wrong with any kext, it&#8217;s a big deal problem because there&#8217;s nothing to fall back on (e.g. can&#8217;t display an error dialog if the problem is with the display system), so the system&#8217;s reaction is called a panic.  Thus &#8220;kernel panic.&#8221;</p>
<p>Immediately after a KP, your computer does two things: it stores a bunch of information to help diagnose what caused the problem, and puts up the error screen, if it can.  When you reboot, your computer asks if you want to send the KP report to Apple.  You should do this.  The smarter of the &#8220;genius&#8221; staff can look these reports up and see that your Mac is actually crashing, but they&#8217;ll admit that the contents are too technical for a mere &#8220;genius&#8221; to understand.  Well I&#8217;m going to explain to you what the reports contain and what it means about what&#8217;s wrong with your computer.</p>
<p>Here&#8217;s a typical crash report from my computer.  In my case, these panics weren&#8217;t even accompanied by the &#8220;restart your computer message&#8221; because as I&#8217;ll explain, the problem originated in the graphics system.  My computer just suddenly went black and non-responsive.  I&#8217;ve highlighted a few key sections for explanation below.</p>
<pre style="font-size: 9px; line-height: 10px;"><strong>Interval Since Last Panic Report:  420 sec
</strong>Panics Since Last Report:          1
<strong>Anonymous UUID:                    8A09F455-1039-4696-8479-xxxxxxxxxxxx
</strong>Thu Apr 21 09:00:51 2011
<strong>panic(cpu 3 caller 0x9cdc8f): NVRM[0/1:0:0]: Read Error 0x00000100: CFG 0xffffffff 0xffffffff 0xffffffff, BAR0 0xc0000000 0xa734e000 0x0a5480a2, D0, P2/4
</strong>Backtrace (CPU 3), Frame : Return Address (4 potential args on stack)
0xbc001728 : 0x21b510 (0x5d9514 0xbc00175c 0x223978 0x0)
0xbc001778 : 0x9cdc8f (0xbe323c 0xc53840 0xbf23cc 0x0)
0xbc001818 : 0xae85d3 (0xe0cfc04 0xe5c9004 0x100 0xb83de000)
0xbc001868 : 0xadf5cc (0xe5c9004 0x100 0xbc001898 0x9bd76c)
0xbc001898 : 0x16c8965 (0xe5c9004 0x100 0x438004ee 0x28)
0xbc0019d8 : 0xb07250 (0xe5c9004 0xe5ca004 0x0 0x0)
0xbc001a18 : 0x9d6e23 (0xe5c9004 0xe5ca004 0x0 0x0)
0xbc001ab8 : 0x9d3502 (0x0 0x9 0x0 0x0)
0xbc001c68 : 0x9d4aa0 (0x0 0x600d600d 0x704a 0xbc001c98)
0xbc001d38 : 0xc89217 (0xbc001d58 0x0 0x98 0x2a358d)
0xbc001df8 : 0xc8ec1d (0xe8e5404 0x0 0x98 0x45e8d022)
0xbc001f18 : 0xc8f0b4 (0xe8e5404 0x124b6204 0x6d39d1c0 0x0)
0xbc001f78 : 0xc8f39f (0xe8e5404 0x124b6204 0x6d39d1c0 0xbc0021e0)
0xbc002028 : 0xca3691 (0xe8e5404 0x1f80d8e8 0xbc00239c 0xbc0021e0)
0xbc002298 : 0xc84d09 (0x6d0b7000 0x1f80d8e8 0xbc00239c 0x0)
0xbc0023f8 : 0xc84f47 (0x6d0c6000 0x1f80d800 0x1 0x0)
0xbc002428 : 0xc87a04 (0x6d0c6000 0x1f80d800 0x0 0x97c6c4fc)
0xbc002468 : 0xca9d40 (0x6d0c6000 0x1f80d800 0x6d09f274 0x140)
0xbc0024f8 : 0xc9b5a9 (0xde94bc0 0x1f80d800 0x0 0x1)
0xbc002558 : 0xc9b810 (0x6d09f000 0x6d09f77c 0x1f80d800 0x0)
0xbc0025a8 : 0xc9bce4 (0x6d09f000 0x6d09f77c 0xbc0028cc 0xbc00286c)
0xbc0028e8 : 0xc98aaf (0x6d09f000 0x6d09f77c 0x1 0x0)
0xbc002908 : 0xc605a1 (0x6d09f000 0x6d09f77c 0x1956a580 0x0)
0xbc002938 : 0xc9a572 (0x6d09f000 0xbc002a7c 0xbc002968 0x5046b1)
0xbc002978 : 0xc648de (0x6d09f000 0xbc002a7c 0x0 0xc000401)
0xbc002ab8 : 0xc9dee6 (0x6d09f000 0x0 0xbc002bcc 0xbc002bc8)
0xbc002b68 : 0xc60c93 (0x6d09f000 0x0 0xbc002bcc 0xbc002bc8)
0xbc002be8 : 0x56a738 (0x6d09f000 0x0 0xbc002e3c 0xbc002c74)
0xbc002c38 : 0x56afd7 (0xcef020 0x6d09f000 0x129bab88 0x1)
0xbc002c88 : 0x56b88b (0x6d09f000 0x10 0xbc002cd0 0x0)
0xbc002da8 : 0x285be0 (0x6d09f000 0x10 0x129bab88 0x1)
0xbc003e58 : 0x21d8be (0x129bab60 0x1ec235a0 0x1fd7e8 0x5f43)
      Backtrace continues...

<strong>      Kernel Extensions in backtrace (with dependencies):
</strong>         <strong>com.apple.GeForce</strong>(6.2.6)@0xc55000-&gt;0xd0afff
            dependency: com.apple.NVDAResman(6.2.6)@0x967000
            dependency: com.apple.iokit.IONDRVSupport(2.2)@0x95a000
            dependency: com.apple.iokit.IOPCIFamily(2.6)@0x927000
            dependency: com.apple.iokit.IOGraphicsFamily(2.2)@0x938000
         <strong>com.apple.nvidia.nv50hal</strong>(6.2.6)@0x1592000-&gt;0x19a6fff
            dependency: com.apple.NVDAResman(6.2.6)@0x967000
         <strong>com.apple.NVDAResman</strong>(6.2.6)@0x967000-&gt;0xc54fff
            dependency: com.apple.iokit.IOPCIFamily(2.6)@0x927000
            dependency: com.apple.iokit.IONDRVSupport(2.2)@0x95a000
            dependency: com.apple.iokit.IOGraphicsFamily(2.2)@0x938000

<strong>BSD process name corresponding to current thread: kernel_task</strong>

Mac OS version:
10J869
Kernel version:
Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386
System model name: MacBookPro6,2 (Mac-F22586C8)
System uptime in nanoseconds: 35829130822125

unloaded kexts:
com.apple.filesystems.msdosfs 1.6.3 (addr 0xbc1e5000, size 0x53248) - last unloaded 12216461868115

<strong>loaded kexts:
</strong>com.parallels.kext.prl_vnic 6.0 11992.625164
com.parallels.kext.prl_netbridge 6.0 11992.625164
com.parallels.kext.prl_usb_connect 6.0 11992.625164
com.parallels.kext.prl_hid_hook 6.0 11992.625164
com.parallels.kext.prl_hypervisor 6.0 11992.625164
com.apple.filesystems.smbfs 1.6.6 - last loaded 12151022138289
com.apple.driver.AppleHWSensor 1.9.3d0
com.apple.driver.AGPM 100.12.19
com.apple.driver.AppleMikeyHIDDriver 1.2.0
com.apple.driver.AppleHDA 1.9.9f12
com.apple.driver.AppleUpstreamUserClient 3.5.4
com.apple.driver.AppleMCCSControl 1.0.17
com.apple.driver.AppleMikeyDriver 1.9.9f12
com.apple.driver.AudioAUUC 1.54
com.apple.driver.AppleIntelHDGraphics 6.2.6
com.apple.driver.AppleIntelHDGraphicsFB 6.2.6
com.apple.driver.SMCMotionSensor 3.0.0d4
com.apple.kext.AppleSMCLMU 1.5.0d3
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.iokit.CHUDUtils 201
com.apple.iokit.CHUDProf 216
com.apple.driver.AudioIPCDriver 1.1.6
com.apple.driver.AppleGraphicsControl 2.8.68
com.apple.driver.ACPI_SMC_PlatformPlugin 4.5.0d5
com.apple.GeForce 6.2.6
com.apple.driver.AppleLPC 1.4.12
com.apple.filesystems.autofs 2.1.0
com.apple.driver.AppleUSBTCButtons 200.3.2
com.apple.driver.AppleUSBTCKeyboard 200.3.2
com.apple.driver.AppleIRController 303.8
com.apple.driver.AppleUSBCardReader 2.5.8
com.apple.iokit.SCSITaskUserClient 2.6.5
com.apple.BootCache 31
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.iokit.IOAHCIBlockStorage 1.6.3
com.apple.driver.AppleUSBHub 4.1.7
com.apple.driver.AppleFWOHCI 4.7.1
com.apple.driver.AirPortBrcm43224 427.36.9
com.apple.iokit.AppleBCM5701Ethernet 2.3.9b6
com.apple.driver.AppleEFINVRAM 1.4.0
com.apple.driver.AppleSmartBatteryManager 160.0.0
com.apple.driver.AppleUSBEHCI 4.1.8
com.apple.driver.AppleAHCIPort 2.1.5
com.apple.driver.AppleACPIButtons 1.3.5
com.apple.driver.AppleRTC 1.3.1
com.apple.driver.AppleHPET 1.5
com.apple.driver.AppleSMBIOS 1.6
com.apple.driver.AppleACPIEC 1.3.5
com.apple.driver.AppleAPIC 1.4
com.apple.driver.AppleIntelCPUPowerManagementClient 105.13.0
com.apple.security.sandbox 1
com.apple.security.quarantine 0
com.apple.nke.applicationfirewall 2.1.11
com.apple.driver.AppleIntelCPUPowerManagement 105.13.0
com.apple.driver.DspFuncLib 1.9.9f12
com.apple.driver.AppleProfileReadCounterAction 17
com.apple.driver.AppleProfileTimestampAction 10
com.apple.driver.AppleProfileThreadInfoAction 14
com.apple.driver.AppleProfileRegisterStateAction 10
com.apple.driver.AppleProfileKEventAction 10
com.apple.driver.AppleProfileCallstackAction 20
com.apple.driver.AppleSMBusController 1.0.8d0
com.apple.iokit.IOFireWireIP 2.0.3
com.apple.iokit.IOSurface 74.2
com.apple.iokit.IOBluetoothSerialManager 2.4.0f1
com.apple.iokit.IOSerialFamily 10.0.3
com.apple.iokit.CHUDKernLib 208
com.apple.iokit.IOAudioFamily 1.8.0fc1
com.apple.kext.OSvKernDSPLib 1.3
com.apple.driver.AppleHDAController 1.9.9f12
com.apple.iokit.IOHDAFamily 1.9.9f12
com.apple.iokit.AppleProfileFamily 41
com.apple.driver.AppleSMC 3.1.0d3
com.apple.driver.IOPlatformPluginFamily 4.5.0d5
com.apple.driver.AppleSMBusPCI 1.0.8d0
com.apple.nvidia.nv50hal 6.2.6
com.apple.NVDAResman 6.2.6
com.apple.iokit.IONDRVSupport 2.2
com.apple.iokit.IOGraphicsFamily 2.2
com.apple.driver.BroadcomUSBBluetoothHCIController 2.4.0f1
com.apple.driver.AppleUSBBluetoothHCIController 2.4.0f1
com.apple.iokit.IOBluetoothFamily 2.4.0f1
com.apple.driver.AppleUSBMultitouch 206.6
com.apple.iokit.IOUSBHIDDriver 4.1.5
com.apple.iokit.IOSCSIBlockCommandsDevice 2.6.5
com.apple.iokit.IOUSBMassStorageClass 2.6.5
com.apple.driver.AppleUSBMergeNub 4.1.8
com.apple.driver.AppleUSBComposite 3.9.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice 2.6.5
com.apple.iokit.IOBDStorageFamily 1.6
com.apple.iokit.IODVDStorageFamily 1.6
com.apple.iokit.IOCDStorageFamily 1.6
com.apple.driver.XsanFilter 402.1
com.apple.iokit.IOAHCISerialATAPI 1.2.5
com.apple.iokit.IOSCSIArchitectureModelFamily 2.6.5
com.apple.iokit.IOUSBUserClient 4.1.5
com.apple.iokit.IOFireWireFamily 4.2.6
com.apple.iokit.IO80211Family 314.1.1
com.apple.iokit.IONetworkingFamily 1.10
com.apple.iokit.IOUSBFamily 4.1.8
com.apple.iokit.IOAHCIFamily 2.0.4
com.apple.driver.AppleEFIRuntime 1.4.0
com.apple.iokit.IOHIDFamily 1.6.5
com.apple.iokit.IOSMBusFamily 1.1
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 6
com.apple.driver.DiskImages 289
com.apple.iokit.IOStorageFamily 1.6.2
com.apple.driver.AppleACPIPlatform 1.3.5
com.apple.iokit.IOPCIFamily 2.6
com.apple.iokit.IOACPIFamily 1.3.0</pre>
<p>The first line is fairly clear &#8212; how long has your system been running since its last crash?  If this is less than an hour, as it was for my computer, then your machine is completely <a href="http://en.wikipedia.org/wiki/FUBAR">FUBAR</a>.  Less than a day and you&#8217;ve still got a seriously unstable computer.  (Hint for any &#8220;genius&#8221; that might be reading this article: take the number of seconds, divide it by 60 using the Calculator app on your store-issued-iPad, and that will give you the number of minutes.  Divide that new smaller number by 60 again to get an even smaller number which is hours.  If you can figure out how to get to number of days by yourself, it&#8217;s time to apply for the &#8220;Genius Lead&#8221; job.)</p>
<p>The Anonymous UUID is an effectively random code that allows Apple to lookup the crash reports for your computer when you go into the store.  Then there&#8217;s the date.  Straightforward.</p>
<p><strong>The line which starts &#8220;panic&#8221; is the closest thing you&#8217;ll find to a concise explanation of what went wrong. </strong>In all likelihood this will be a jumble of words and numbers that make no sense, but it&#8217;s a great string to Google.  If you&#8217;re having a hardware problem, this message will probably stay about the same with each KP.  Googling my error message &#8220;<strong>NVRM[0/1:0:0]: Read Error 0&#215;00000100</strong>&#8221; turns up a bunch of people with similar problems &#8212; computer going black without warning, often while playing World of Warcraft.</p>
<p>The next section titled &#8220;backtrace&#8221; is worthless unless you&#8217;re actually diving into the source code that caused the problem.  Skip over it.  But the section after it is extremely interesting and relatively easy to interpret.</p>
<p><strong>The section titled &#8220;Kernel Extensions in backtrace (with dependencies)&#8221; actually tells you what part of the system failed.  Read this one closely and try to make sense of it.</strong> In the case of my example, there are three kernel extensions involved with the crash.  They are called &#8220;com.apple.GeForce&#8221; and &#8220;com.apple.nvidia.nv50hal&#8221; and &#8220;com.apple.NVDAResman&#8221;.  The first one is fairly obvious &#8212; GeForce is the kind of graphics chip in the macbook.  The second one is also pretty clear &#8212; NVidia is the company that makes GeForce, and nv50hal I would guess means &#8220;NVidia 5.0 Hardware Abstraction Layer&#8221; or something similar.  I&#8217;m not sure what NVDAResman is but looking down a bit I see it&#8217;s related to &#8220;IOGraphicsFamily&#8221;.  This paints a really clear picture that the failure is in the graphics system.  Moreover, <strong>since every line here starts with &#8220;com.apple&#8221; we know the failure is entirely in code written by Apple</strong>.  There is no third-party software involved in this crash.</p>
<p>For my particular crash, it&#8217;s important to know something about the graphics hardware of these MacBooks, since all evidence points to the graphics hardware.  This generation of macbooks have two graphics chips &#8212; a faster one from Nvidia, and a more battery-friendly one from Intel.  The nvidia chip which is apparently having problems is always used when the computer has an external monitor plugged in, or when something fancy is happening on the built-in screen.  A nice utility called <a href="http://codykrieger.com/gfxCardStatus">gfxCardStatus</a> can help you understand this complexity, and will definitely give you a leg up on the &#8220;genius.&#8221;</p>
<p>The following line starting with <strong>&#8220;BSD process name&#8221; can also be important</strong>.  This will sometimes tell you which user-level app originated the call into the kernel which failed.  In my case it was &#8220;kernel_task&#8221; which provides no additional information.</p>
<p>The next section gives some basic info about the Mac &#8212; hardware and OS versions.  What follows is a complete list of kernel extensions (kexts) installed.  This gives you a bit more ammo in dealing with the &#8220;genius&#8221; who is probably ignoring you at this point anyway.  You can look through this list and see everything that might possibly contribute to a kernel panic.  In my case, the only software modules that aren&#8217;t from Apple are some drivers from Parallels for running my Windows virtual machine.  So <strong>the only reasons my Mac might kernel panic are because of a hardware problem, a bug in OS X itself, or something going wrong with Parallels</strong>.  Understanding this should, in theory, be very helpful when talking to your local neighborhood &#8220;genius&#8221; but unfortunately they are simple bots that only run scripts authored in Cupertino and are not permitted to listen to logic.</p>
<h4>Apple&#8217;s Propaganda about Flash</h4>
<p>When the &#8220;genius&#8221; told me my Mac&#8217;s problem was that I had Adobe Flash installed, I just laughed at first.  Flash is installed on something like 97% of desktop computers, and very few of them regularly turn themselves off for no reason.   Moreover, the kernel panic report lists every piece of software that could possibly contribute to the kernel panic, and neither the word &#8220;flash&#8221; nor &#8220;adobe&#8221; appear anywhere in the list.  But then I realized he wasn&#8217;t joking.</p>
<p>Apple&#8217;s ongoing arguments with Adobe over Flash are <a href="http://www.google.com/search?q=apple+vs+adobe">well publicized</a>.  The root of the issue, in very brief summary, is that Apple sees Adobe&#8217;s Flash as a strategic threat to their incredibly profitable iPhone platform.  The poor &#8220;genius&#8221; I&#8217;m stuck with has become a pawn in Apple&#8217;s PR battle, throwing himself on the grenade of propaganda just to spread <a href="http://en.wikipedia.org/wiki/Fear,_uncertainty_and_doubt">FUD</a> about Flash.  I tried reasoning with him, explaining that Adobe&#8217;s software doesn&#8217;t run in the kernel, and therefore cannot cause a kernel panic.  <strong>The job of the kernel is to protect users from badly written software crashing the whole machine.</strong> But he would not budge.  I imagined a &#8220;genius&#8221; script which read as follows:</p>
<p style="padding-left: 30px;">Mac is crashing&#8230;</p>
<p style="padding-left: 30px;">1. Run hardware diagnostic tests.</p>
<p style="padding-left: 30px;">2. Address any identified hardware problems.</p>
<p style="padding-left: 30px;">3. If hardware tests come back clean, tell customer that the problem (whatever it is) is caused by Flash.  Tell them to uninstall it, and see if that helps.</p>
<p>Here I imagine the Dantesque trap of the rare &#8220;genius&#8221; who actually understands how OS X works.  <em>I&#8217;m telling the customer something which is impossible on its face, and he knows it.  He&#8217;s arguing with me telling me I&#8217;m being stupid.  But I signed a contract with Apple saying I would defame Adobe, and deviation from this contract will bring the wrath of Steve&#8217;s legal team on me.  I just have to smile and say things like &#8220;yeah, that&#8217;s the really strange thing about this particular software problem &#8212; it only affects certain computers.  But it&#8217;s definitely caused by Flash.&#8221;</em></p>
<p>One might reason that Flash could cause kernel panics because it makes more extensive use of the graphics system than other applications.  But in this case, Flash isn&#8217;t the actual problem.  Flash is exposing the underlying problem, as would any software which works the graphics system hard.  Thus lots of people with the same problem as me who play World of Warcraft.  If the &#8220;genius&#8221; advice ever works, it&#8217;s just because Flash is the most graphics intensive software that many people use on their Macs.  The actual problem is still either a bug in OS X, or a hardware problem.</p>
<p>Consider the advice not to use Flash on your Mac in analogy to a car.  (A high-end MacBook actually costs as much as <a href="http://www.csmonitor.com/Innovation/Horizons/2010/0115/World-s-cheapest-car-Tata-Nano-revs-toward-US">some cars</a>.)  Imagine that your car sometimes just turned its engine off while you were in the middle of driving it &#8211; catastrophic failure with no warning or apparent reason.  You go to the dealership and they can&#8217;t find anything wrong with it, but ask if you ever listen to electronic music?  Well, yes, sometimes.  That&#8217;s the problem!  It&#8217;s the electronic music which is causing your car to malfunction.  So stop listening to it, and the problem will be fixed.  Umm, what?  The closest thing to the truth, by analogy, would be that any bass-heavy music (graphics-intensive application) is stressing out some weak connection in the electronics.  But because the car dealership is owned by the local philharmonic, they&#8217;re blaming it on that awful music the kids listen to.   Using your misfortune and their incompetence to push an unrelated political agenda.</p>
<p>It&#8217;s an interesting glimpse into how Apple is using their retail presence to advance a strategic PR goal.  Evidence that Apple has grown up as a company to the point where their own motives are more important than doing what actually helps customers.  *sigh*  At least I got my MacBook fixed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.embracingchaos.com/2011/05/macbook-crashes-kernel-panics-and-coping-with-an-apple-genius.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Fighting buffer-bloat on DD-WRT</title>
		<link>http://www.embracingchaos.com/2011/01/fighting-buffer-bloat-on-dd-wrt.html</link>
		<comments>http://www.embracingchaos.com/2011/01/fighting-buffer-bloat-on-dd-wrt.html#comments</comments>
		<pubDate>Tue, 01 Feb 2011 02:59:41 +0000</pubDate>
		<dc:creator>leodirac</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://www.embracingchaos.com/?p=1152</guid>
		<description><![CDATA[Recently, 20th century software pioneer Jim Gettys has been doing a bang-up job raising awareness about performance problems with the internet known as &#8220;buffer-bloat.&#8221;   The details are technical and complex but the gist of it is that networking equipment is often buffering way too much data, resulting in unnecessarily long latencies.  High latencies (literally [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, 20th century software pioneer <a href="https://gettys.wordpress.com/">Jim Gettys</a> has been doing a bang-up job raising awareness about performance problems with the internet known as &#8220;<a href="https://gettys.wordpress.com/2010/12/03/introducing-the-criminal-mastermind-bufferbloat/">buffer-bloat</a>.&#8221;   The details are technical and complex but the gist of it is that networking equipment is often buffering way too much data, resulting in unnecessarily long latencies.  High latencies (literally delays) result in unpleasant experiences when using a network as things take a long time.  It&#8217;s important to recognize that even if your network&#8217;s bandwidth is extremely high, a long latency will make it feel very slow &#8212; the two measures of network speed are somewhat related, but mostly independent.</p>
<p>The simple way to counter buffer bloat is simply to reduce the size of the transmit buffer in each piece of your network gear.  Most linux systems default to a transmit buffer of 1,000 packets, each of which can be 1.5 kilobytes, meaning that 1.5 megabytes of data can get queued up waiting for a chance to go across the network.  Any application that is trying to move a lot of data through a clogged network will fill this buffer.  That&#8217;s fine for the buffer-filling application, but any other application will suffer.  So, for example, if you&#8217;re watching youtube and your roommate is trying to surf the net, your roommate&#8217;s web page requests will suffer very long latency, because their small web pages must get in this megabyte-long line along with your youtube video before they can be delivered.  If your DSL line runs at say 10 mbps, then it&#8217;ll take 1.2 seconds for that 1.5 MB buffer to work fit through your pipe.  Since it takes at least 2 round-trips to get a web page that means your roommate&#8217;s web page will take at least 2.4 seconds to show up, no matter how small it is!</p>
<p>Gettys <a href="https://gettys.wordpress.com/2010/12/03/introducing-the-criminal-mastermind-bufferbloat/">quotes Kleinrock</a> that the ideal size of a network buffer is (bandwidth) x (latency).  Say your bandwidth is 10 mbps.  Latency to any web page you&#8217;re likely to visit in the US should be less than 100ms, so let&#8217;s use that.  This puts your ideal buffer size 125k.  Buffer sizes are usually configured in terms of maximum number of packets.  Typically the maximum packet size (MTU) is 1500 bytes, resulting in the ideal theoretical buffer size of 83 packets for a typical fastish home network line.  Please redo these calculations yourself and experiment with how different numbers affect your system. (Be careful not to set your buffer size to zero as it could lock up the device&#8217;s network.)  Remember that linux (which is likely what your wifi router is running) defaults to 1,000 packets!</p>
<p><em>[Update shortly after posting: a <a href="http://nex-6.taht.net/">reader</a> suggested I try setting my buffer to be much smaller still.  So I went down to <strong>just 2 packets</strong>, and noticed that my ping times are much more reliable now when the network has more than one thing.  His caveat which I will echo is that this will mess with your system if your router is trying to do any kind of traffic shaping, i.e. QoS.  But otherwise protocols like TCP will keep everything running fine.]</em></p>
<p>If your home wifi access points are using <a href="http://www.dd-wrt.com/site/index">DD-WRT</a> as mine are, here&#8217;s how you set them to use a more sane buffer size:</p>
<p>1. Log in to your router&#8217;s admin web page.</p>
<p>2. Select the Administration tab and the Commands sub-tab</p>
<p>3. Type in the following commands into the box:</p>
<blockquote><p>ifconfig eth0 txqueuelen 2</p>
<p>ifconfig eth1 txqueuelen 2</p></blockquote>
<p>4. Click the &#8220;Save Startup&#8221; button at the bottom.</p>
<p>There &#8212; you&#8217;re done!  For alternate techniques to configure your dd-wrt router for this kind of thing, see the wiki page on <a href="http://www.dd-wrt.com/wiki/index.php/Startup_Scripts  ">Startup Scripts</a>.</p>
<p>I&#8217;m sharing this information because it took me a while to figure out.  This problem is not well documented.  I&#8217;m trying this out now on my house&#8217;s network now.  In some controlled tests it seems like it might be somewhat better.  But my tests have not been able to replicate the really horrible situations I&#8217;ve seen on our network which I suspect come from lots of simultaneous users.  So it&#8217;ll be a while before we know for sure if this was a good change.  To be clear, <strong>I don&#8217;t know if this advice is good or not.</strong> It could reduce your network&#8217;s maximum effective bandwidth, but hopefully it will do so by reducing the maximum latency, which is often a very good trade-off.  This advice is consistent with the advice Gettys offers in terms of optimizing buffer sizes, and make sense to me.  YMMV.  If you try it out, please leave a comment on whether or not it helps you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.embracingchaos.com/2011/01/fighting-buffer-bloat-on-dd-wrt.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RAID repair successful</title>
		<link>http://www.embracingchaos.com/2008/12/raid-repair-suc.html</link>
		<comments>http://www.embracingchaos.com/2008/12/raid-repair-suc.html#comments</comments>
		<pubDate>Mon, 22 Dec 2008 02:50:25 +0000</pubDate>
		<dc:creator>leodirac</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://wp.embracingchaos.com/2008/12/raid-repair-suc.html</guid>
		<description><![CDATA[For everybody who has been waiting with baited breath to hear whether or not the repair of the RAID array worked or not, it did. It took several days, but since we were away on vacation seeing my dad receive the Fleming Medal from the American Geophysical Union, the waiting was pretty easy. To convince myself that the repair was successful, I unplugged one of the previously functional drives, and saw that all my files were still there when the array was running just on the new drive and the other previous drive. I recommend this to anybody who thinks...
]]></description>
			<content:encoded><![CDATA[<p>For everybody who has been waiting with baited breath to hear whether or not the <a href="http://www.embracingchaos.com/2008/12/repairing-a-deg.html">repair of the RAID array</a> worked or not, it did.  It took several days, but since we were away on vacation seeing my dad receive the <a href="http://www.agu.org/inside/honors.html#Fleming">Fleming Medal</a> from the <a href="http://www.agu.org/">American Geophysical Union</a>, the waiting was pretty easy.</p>
<p>To convince myself that the repair was successful, I unplugged one of the previously functional drives, and saw that all my files were still there when the array was running just on the new drive and the other previous drive.  I recommend this to anybody who thinks they&#8217;re running a RAID system &#8212; <strong>until you&#8217;ve seen the RAID array work with a drive removed, how can you be sure it&#8217;s really working?</strong>  If your system is set up better than mine is, you&#8217;ll get some kind of warning message too.</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.embracingchaos.com/2008/12/raid-repair-suc.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Repairing a degraded EVMS RAID 5 array</title>
		<link>http://www.embracingchaos.com/2008/12/repairing-a-deg.html</link>
		<comments>http://www.embracingchaos.com/2008/12/repairing-a-deg.html#comments</comments>
		<pubDate>Sun, 14 Dec 2008 23:38:36 +0000</pubDate>
		<dc:creator>leodirac</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://wp.embracingchaos.com/2008/12/repairing-a-deg.html</guid>
		<description><![CDATA[A while back, lightning scrambled one of the disks in my home RAID 5 array. I figured out how to recover it. And I got the critical data off. Here I describe the steps I took to add a new drive and get it working with the old RAID array. I share this with the net in hopes it will make it easier for somebody else who has to go through this process themselves, and selfishly as notes for me to refer to. It's a testament to the power of EVMS and a warning to anybody who thinks it might...
]]></description>
			<content:encoded><![CDATA[<p>A while back, lightning scrambled one of the disks in my home RAID 5 array.&nbsp; I figured out <a href="http://www.embracingchaos.com/2008/07/raid-failure-ev.html">how to recover it</a>.&nbsp; And I got the critical data off.&nbsp; &nbsp;Here I describe the steps I took to add a new drive and get it working with the old RAID array.&nbsp; I share this with the net in hopes it will make it easier for somebody else who has to go through this process themselves, and selfishly as notes for me to refer to.&nbsp; It&#8217;s a testament to the power of EVMS and a warning to anybody who thinks it might be fun to run their own open-source software RAID server at home.&nbsp; </p>
<p><strong>My advice for people seeking reliable storage: go with a hosted solution.</strong>&nbsp; Understanding the arcane nuances of these software systems is an extremely specific skill that doesn&#8217;t translate well to many real-life necessities.&nbsp; If you&#8217;re smart, you can figure it out, but it doesn&#8217;t teach you much of anything except how to do exactly that.&nbsp; Each person who understands this stuff should be keeping petabytes of data happy, rather than one couple&#8217;s pictures and music collections.&nbsp; I hear Microsoft&#8217;s &quot;home server&quot; actually makes this pretty easy, but I can&#8217;t recommend anybody willingly lock themselves into Microsoft&#8217;s business model.</p>
<p><strong>Background</strong></p>
<p>So I bought a new drive, following <a href="http://www.embracingchaos.com/2007/01/setting_up_a_ra.html">my own advice about picking drives from different manufacturers when building a raid array</a>, and plugged it in to the mobo and booted the machine.&nbsp; After futzing with /etc/fstab to get it to find the boot disk and load up, I logged into evms and got these messages:</p>
<blockquote><p>MDRaid5RegMgr: RAID5 array md/md1 is miissing the member&nbsp; with RAID index 0.&nbsp; The array is running in degrade mode.</p>
</blockquote>
<p>and</p>
<blockquote><p>MDRaid5RegMgr: Region md/md1 is currently in degraded mode.&nbsp; To bring it back to normal state, add 1 new spare device to replace the faulty or missing device.</p>
</blockquote>
<p>Conceptually easy.&nbsp; I&#8217;ve got a new 500 GB drive in the system.&nbsp; Linux sees it.&nbsp; It didn&#8217;t take me too long to figure out it&#8217;s called /dev/sda, while the previous 2 disks in the array are sdb and sdc, with a small boot drive at sdd.&nbsp; Now the fun part is figuring out EVMS terminology enough to tell it to use the new disk.</p>
<p>The hierarchy of the array in EVMS land seems to be as follows:</p>
<ul>
<li><em>Logical Volume</em> teraraid (contains)</li>
<li><em>Region</em> md/md1 (which contains)</li>
<li><em>Segments</em> sdb1 and sdc1 (which are built on)</li>
<li><em>Logical disks</em> sdb, sdc.</li>
</ul>
<p><strong>What I tried, and what seems to have worked</strong></p>
<p>I see that logical disk sda has no segments.&nbsp; So I try Action -&gt; Create -&gt; Segment.&nbsp; It only gives me one choice for &quot;Segment Manager&quot; which is &quot;GPT Segment Manager.&quot;&nbsp; But when I choose it, it doesn&#8217;t let me make a segment on sda.&nbsp; Only the tiny free space on sdb and sdc.&nbsp; So sda needs something else done to it before we can use it.&nbsp; What?</p>
<p>sda also shows up in the list of Logical Volumes, next to Teraraid and the formatted boot partition.&nbsp; Hmmm.</p>
<p>Well I tried converting it to an EVMS Volume.&nbsp; It complained that sda does not have a File System Interface Module (FSIM) associated with it, but it made the new logical volume anyway.&nbsp; This wasn&#8217;t getting me anywhere.&nbsp; So I erased it.</p>
<p>Next I tried &quot;Add&quot; -&gt; &quot;Segment Manager to Storage Object&quot;.&nbsp; I noticed that all of the Disk Segments associated with the array were listed as using &quot;Plug-in&quot; &quot;GptSegM&quot; and this gave me the choice of adding Gpt Segment Manager to sda.&nbsp; W00t.&nbsp; I said &quot;No&quot; to make this a system disk.&nbsp; This seems to be working.&nbsp; Now I see a bunch of Disk Segments starting with sda, including a big one (465 GB) labelled sda_freespace1.&nbsp; </p>
<p>Now when I tried to Create -&gt; Segment, it let me use GPT Segment Manager on sda_freespace1 and allocate a 450 GB disk segment to match the others.&nbsp; (I left 15 GB off each disk with the idea I could put a boot segment in that space, but I&#8217;ve never gotten around to it.)</p>
<p>Now in &quot;Available Objects&quot; there is sda1 with 450.0 ready for me.&nbsp; Alrighty we&#8217;re getting there.</p>
<p>Now I look at &quot;Storage Regions&quot; and in the context menu for md/md1 I see an option that says &quot;Add spare to fix degraded array&#8230;&quot;&nbsp; I didn&#8217;t see it there before &#8212; it might have not shown up when there weren&#8217;t any spares, or maybe I was just being thick.&nbsp; In any case, selecting it now gives me a menu with one choice &#8212; sda1.&nbsp; </p>
<p>Now in details of md/md1 it shows:</p>
<blockquote><pre>

 Na┌──────────────────── Detailed Information - md/md1 ─────────────────────┐ ──│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│── lv│&nbsp; &nbsp;&nbsp; Name&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; Value&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; │ lv│ ────────────────────────────────────────────────────────────────────── │ lv│&nbsp; &nbsp;&nbsp; Major Number&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;9&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│ md│&nbsp; &nbsp;&nbsp; Minor Number&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; Name&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; md/md1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; │&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; State&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; Discovered, Degraded, Active&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; Personality&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; RAID5&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; │&nbsp; &nbsp;│ +&nbsp; &nbsp;Working SuperBlock&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; │&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; Number of disks&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;3&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│ +&nbsp; &nbsp;Disk 1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;sdb1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│ +&nbsp; &nbsp;Disk 2&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;sdc1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; Number of stale disks&nbsp; &nbsp;1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│ +&nbsp; &nbsp;Stale disk 0&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;sda1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp; Use spacebar on fields marked with &quot;+&quot; to view more information&nbsp; &nbsp;&nbsp; │&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│ [Help]&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; [OK]&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;└────────────────────────────────────────────────────────────────────────┘
</pre>
</blockquote>
<p>That last line about the Stale disk is new.</p>
<p>Actions -&gt; Save commits these changes to disk.&nbsp; Now looking at Detailed information for md/md1 shows</p>
<blockquote><pre>

 Na┌──────────────────── Detailed Information - md/md1 ─────────────────────┐ ──│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│── lv│&nbsp; &nbsp;&nbsp; Name&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; Value&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; │ lv│ ────────────────────────────────────────────────────────────────────── │ lv│&nbsp; &nbsp;&nbsp; Major Number&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;9&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│ md│&nbsp; &nbsp;&nbsp; Minor Number&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; Name&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; md/md1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; │&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; State&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; Discovered, Degraded, Active, Syncing =&nbsp; 0 │&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; Personality&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; RAID5&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; │&nbsp; &nbsp;│ +&nbsp; &nbsp;Working SuperBlock&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; │&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; Number of disks&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;3&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│ +&nbsp; &nbsp;Disk 1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;sdb1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│ +&nbsp; &nbsp;Disk 2&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;sdc1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; Number of stale disks&nbsp; &nbsp;1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│ +&nbsp; &nbsp;Stale disk 0&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;sda1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp; Use spacebar on fields marked with &quot;+&quot; to view more information&nbsp; &nbsp;&nbsp; │&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│ [Help]&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; [OK]&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;└────────────────────────────────────────────────────────────────────────┘
</pre>
</blockquote>
<p>Emotionally I feel like I should be done now.&nbsp; But I don&#8217;t hear the thrashing noise of a half-terabyte of of checksums being unwound and copied onto a fresh disk.&nbsp; And it says &quot;Syncing = 0&quot;.&nbsp; Hmmm.</p>
<p>I quit evmsn and reload it to see two new messages.&nbsp; One familiar:</p>
<blockquote><p> MDRaid5RegMgr: Region md/md1 is currently in degraded mode.&nbsp; To bring it<br />back to normal state, add 1 new spare device to replace the faulty or missing device.</p>
</blockquote>
<p>And one novel:</p>
<blockquote><p>MDRaid5RegMgr: RAID5 array md/md1 is missing the member&nbsp; with RAID index 0.&nbsp; The array is running in degrade mode.&nbsp; The MD recovery process is running, please wait&#8230;</p>
</blockquote>
<p>But this novel message saying it&#8217;s recovering is &quot;Number 0&quot; implying that it came before the other message (Number 1) which tells me I need to take action for it to fix itself.&nbsp; And the drives are not thrashing.&nbsp; Again I look at the details for md/md1 and now I see:</p>
<blockquote><pre>

 Na┌──────────────────── Detailed Information - md/md1 ─────────────────────┐ ──│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│── lv│&nbsp; &nbsp;&nbsp; Name&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; Value&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; │ lv│ ────────────────────────────────────────────────────────────────────── │ lv│&nbsp; &nbsp;&nbsp; Major Number&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;9&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│ md│&nbsp; &nbsp;&nbsp; Minor Number&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; Name&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; md/md1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; │&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; State&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; Discovered, Degraded, Active, Syncing =&nbsp; 0.3% │&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; Personality&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; RAID5&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; │&nbsp; &nbsp;│ +&nbsp; &nbsp;Working SuperBlock&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; │&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; Number of disks&nbsp; &nbsp;&nbsp; &nbsp;3&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│ +&nbsp; &nbsp;Disk 1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;sdb1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│ +&nbsp; &nbsp;Disk 2&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;sdc1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│ +&nbsp; &nbsp;Disk 3&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;sda1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp; Use spacebar on fields marked with &quot;+&quot; to view more information&nbsp; &nbsp;&nbsp; │&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;│ [Help]&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; [OK]&nbsp; &nbsp;│&nbsp; &nbsp;│&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;│&nbsp; &nbsp;└────────────────────────────────────────────────────────────────────────┘
</pre>
</blockquote>
<p>Which really seems to say its doing its thing.&nbsp; Maybe I don&#8217;t hear the disks because it&#8217;s formating the disk first, which is a linear process.&nbsp; Or maybe the whole copy process is very linear and I won&#8217;t hear it thrashing.&nbsp; Its progress implies it&#8217;s going to take a couple/few days to finish, which is what I&#8217;d expect.&nbsp; So maybe it&#8217;s working.  I&#8217;ll let it run for a while and see what happens to the array if I try to unplug one of the previously working drives.</p>
<p>Pretty cool that I didn&#8217;t even need to unmount the array to do this.</p>
<p>Now if I could just figure out why my laser printer periodically decides it needs to print it internal test page, I&#8217;d be even happier.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.embracingchaos.com/2008/12/repairing-a-deg.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple moves downmarket: iPhone as a services platform</title>
		<link>http://www.embracingchaos.com/2008/08/app-store-downm.html</link>
		<comments>http://www.embracingchaos.com/2008/08/app-store-downm.html#comments</comments>
		<pubDate>Mon, 04 Aug 2008 06:54:50 +0000</pubDate>
		<dc:creator>leodirac</dc:creator>
				<category><![CDATA[Analysis]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[Tech Industry]]></category>

		<guid isPermaLink="false">http://wp.embracingchaos.com/2008/08/app-store-downm.html</guid>
		<description><![CDATA[Coincident with the launch of the iPhone 3G hardware, Apple has started a couple of new online services: MobileMe and the iPhone App Store. In some ways these are natural extensions of existing product lines. But I believe their launch actually represents a fairly substantial strategic shift as Apple attempts to diversify from a hardware-only company to one that runs on a mix of hardware and services. In order to make this strategy work, Apple will need to sacrifice its much coveted high hardware margins. Diversifying from hardware Since Jobs pulled the company out of the doldrums, Apple has been...
]]></description>
			<content:encoded><![CDATA[<p><span id="lenk1">Coincident with the launch of the iPhone 3G hardware, Apple has started a couple of new online services: MobileMe and the iPhone App Store.  In some ways these are natural extensions of existing product lines.  But<br />
I believe their launch actually represents a fairly substantial strategic shift as <strong>Apple</strong> <strong>attempts to diversify</strong> <strong>from</strong> <strong>a hardware-only company to</strong><strong> one that runs on </strong><strong>a mix of hardware and services</strong>. <strong> In order to make this strategy work, Apple will need to sacrifice its much coveted high hardware margins.</strong><br id="itzf" /><br />
</span></p>
<h3>Diversifying from hardware</h3>
<p><span id="p2at">Since Jobs pulled the company out of the doldrums, Apple has been a manufacturer of high-end hardware.  This is a very nice place to be. Their margins are very high.  If you compare the hardware bits that go into a Mac to those in any PC, Apple&#8217;s prices are much higher.  PC manufacturers squabble over low single digit margins because their product is almost completely commoditized. HP, Dell and IBM struggle to differentiate themselves in the market.<br />
Meanwhile Apple can charge a hefty premium for good industrial design and software that is slicker than windows.  iPod followed in this tradition of high margins by setting the bar for usability in portable<br />
media devices and following up with fantastic marketing.<br id="a6cd" /><br />
Being a niche retailer of high-end products is a comfortable and stable place to be.  However, having a single line of revenue isn&#8217;t good for a large company, so diversifying makes a lot of sense.  Thus Apple&#8217;s current push into services.</span></p>
<p><span id="p2at">The iTunes music store was an important pre-cursor to the current push into services.  Even though iTunes moves a massive volume of music, if you work through the accounting confusion, they&#8217;re not actually making much money there.  Because the established <a href="http://www.embracingchaos.com/2008/02/music-ip.html">music industry giants are completely fucked</a> and have no idea what to do, they drive the margins of all big online retailers down to a pittance.  But <strong>iTunes </strong>did something very important for Apple: it <strong>established a billing relationship with customers</strong>. </span><span id="zn2y">Cellular operators have this kind of ongoing billing relationship with their customers which enables them to push high margin, low utility products like ring-tones.</span> Similarly, <span id="zn2y0">people are used to spending small quantities of money in iTunes to get music. So iTunes is the perfect precursor for an App Store.  In this way, Apple doesn&#8217;t even need to rely on the carrier&#8217;s billing relationship<br />
to build a services business.  This will be very important for Apple in coming years as carriers increasingly become just another provider of wireless bandwidth.  In the coming decades, the value will not come from piping bits around.  It will come from the services built on those pipes.  <br id="d-v9" /><br />
</span></p>
<h3>MobileMe is a very Apple service</h3>
<p>MobileMe is a cloud-hosted email, contact and calendaring solution. There&#8217;s nothing revolutionary about this.  Google offers all of these services for free.  By charging for these services, Apple is implicitly promising to provide a better solution.  Considering their vertical integration into popular hardware, it&#8217;s not hard to imagine that they will succeed at this.  Google will probably remain committed to supporting open standards for working with hardware.  By using proprietary protocols, Apple can provide a higher-quality product and support it better on the few platforms they care about.  It&#8217;s a classic story we&#8217;ve seen in this industry before.</p>
<p>MobileMe&#8217;s launch was a <a href="http://www.google.com/search?q=mobilemess">disaster</a>.  This isn&#8217;t surprising as Apple is yet to demonstrated great skill in online services.  Personally I believe they&#8217;ll figure it out, because it&#8217;s important to their long-term objectives, and they&#8217;re a smart company, and the skills to do this well are getting easier and easier to find. But from a marketing perspective, MobileMe is nothing new for Apple.  <strong>Because MobileMe is a premium service for which there is a very good free alternative, MobileMe still targets Apple&#8217;s classic market segment. </strong>They&#8217;re still targeting people who are willing to pay extra to have something really polished.  They can stick to their classic bag of tricks, like the ads that make fun of people who aren&#8217;t as cool as the mac devotees.</p>
<h3>App Store is new: a platform play</h3>
<p>App Store on the other hand is going to be much harder for them to pull off.  For App Store to succeed, their primary challenge is not to attract paying customers, but developers.  Because independent software developers (ISVs) are the ones who are actually creating value in the App Store.  App is just a distributor taking a cut on that.  So what attracts developers to the App Store?  Customers do.</p>
<p>It&#8217;s a real chicken and egg problem.  Nobody&#8217;s going to build software unless there are customers to buy it, and it&#8217;s hard to get customers without cool apps.  Well right now Apple has the whole farm, but it&#8217;s a very small farm.  There are millions of iPhones out there, representing potential customers.  Moreover, the iPhone SDK is very rich and capable when compared to its competitors.  Qualcomm&#8217;s BREW, Windows Mobile, Palm OS, Blackberry and Symbian have all faltered for one reason or several.  Google&#8217;s Android holds much promise and hope, but at this<br />
point it&#8217;s complete vapor-ware.  So for now, Apple has almost all the mindshare of mobile application developers.</p>
<p>But how long will this dominance last?  Software platforms are <a href="http://en.wikipedia.org/wiki/Natural_monopoly">natural monopolies</a>, meaning the economics tend to be winner-take-all.  The chicken and egg &#8220;problem&#8221; can easily turn into a virtuous cycle, pushing a winner to the top. Application developers are fickle and will code to whatever platform has the best distribution.  iPhones are very popular, but they are still only used by a small fraction of all mobile subscribers.  <strong>Until the distribution of iPhones reaches a critical mass, their dominance as a mobile application platform is very shaky.</strong></p>
<h3>The mobile app challenger is HTML</h3>
<p>But the laundry list of alternatives shows that the competition is fragmented.  What could unseat Apple?  IMHO it&#8217;s not another application platform, open or proprietary.  It&#8217;s the web.  Every high-end phone can display web pages, and increasingly they&#8217;re using high-quality javascript engines that can run real web applications. Webkit, the super-fast open-source HTML/JS engine behind Safari is showing up in Symbian devices, <a href="http://www.rimarkable.com/blackberry-thunder-to-utilize-haptic-touchscreen-technology">Blackberries</a> and <a href="http://gigaom.com/2008/02/11/webkit-comes-to-windows-mobile-devices/">Windows Mobile phones</a>.</p>
<p>Apple&#8217;s challenge is to make the proprieray iPhone SDK compelling to developers.  The alternative is to build a web application that works well on webkit, and works on every high-end phone.  They can attract developers in two basic ways &#8212; make the native features of their SDK more compelling, and provide a large market for distribution of the applications.</p>
<p>Charging for distribution of these applications is a gimick that won&#8217;t last long.  Soon all the interesting applications will be free, but tied to cloud services that have their own business models independent of the mobile client.  Premium applications will start to seem a lot like premium ringtones pretty fast.  Still, it will help bootstrap this market for Apple so long as there are no serious competitors.</p>
<h3>To stay on top, iPhones need distribution quickly</h3>
<p>One thing that ties all these points together is that Apple&#8217;s continued success with App Store hinges on having wide distribution of iPhones. They are currently <a href="http://www.embracingchaos.com/2008/07/iphone-scarcity.html">throttling the distribution of iPhones</a> for some reason, possibly<br />
because of software glitches.  But the aggressive $199 pricing is clearly aimed at attracting a new larger customer base that will help maintain their dominance in the mobile application space.</p>
<p>Long term they might be happy getting by offering premium versions of applications that are freely available on the web.  But something tells me they&#8217;re actually trying to break open the mass market on this one. This is Jobs&#8217; big play.  It&#8217;ll be really interesting to see how it works out once Android hits the streets.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.embracingchaos.com/2008/08/app-store-downm.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Is Apple using scarcity to hide iPhone quality problems?</title>
		<link>http://www.embracingchaos.com/2008/07/iphone-scarcity.html</link>
		<comments>http://www.embracingchaos.com/2008/07/iphone-scarcity.html#comments</comments>
		<pubDate>Tue, 29 Jul 2008 01:30:25 +0000</pubDate>
		<dc:creator>leodirac</dc:creator>
				<category><![CDATA[Analysis]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Consumer Electronics]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[Psychology]]></category>

		<guid isPermaLink="false">http://wp.embracingchaos.com/2008/07/iphone-scarcity.html</guid>
		<description><![CDATA[Here I propose an alternative explanation for iPhone scarcity: the difficulty in obtaining a new iPhone keeps people from complaining about problems with it. I will explore this sophisticated marketing technique that Apple may or may not be employing to cover up quality problems with the new iPhone 3G. Even if Apple is not doing this deliberately, I assert that it is a valid and potentially very useful technique if your product is lucky enough to have the prerequisites. New iPhones are hard to get The blogosphere is full of speculation about whether or not Apple deliberately made the iPhone...
]]></description>
			<content:encoded><![CDATA[<p>Here I propose an alternative explanation for iPhone scarcity: <strong>the difficulty in obtaining a new iPhone keeps people from complaining about problems with it.</strong>&nbsp; I will explore this sophisticated marketing technique that Apple may or may not be employing to cover up quality problems with the new iPhone 3G.&nbsp; Even if Apple is not doing this deliberately, I assert that it is a valid and potentially very useful technique if your product is lucky enough to have the prerequisites.</p>
<h3>New iPhones are hard to get</h3>
<p>The blogosphere is full of <a href="http://rich.bruchal.com/2008/07/26/iphone-scarcity/">speculation</a> about whether or not Apple deliberately made the iPhone scarce on <a href="http://www.techcrunch.com/2008/07/11/is-apple-manufacturing-a-first-day-iphone-shortage/">opening day</a> and <a href="http://blog.horizontheory.com/2008/07/20/iphone-scarcity/">since then</a>.&nbsp; Most assume that this is deliberate on Apple&#8217;s part for a variety of <a href="http://sethgodin.typepad.com/seths_blog/2008/07/scarcity.html">reasons</a>, mostly to attract more attention, increase demand, etc.&nbsp; I assume most of these rants are from bloggers who want their new iPhones but haven&#8217;t overcome the barriers to obtain one yet.</p>
<p>But if Apple&#8217;s goal was purely to meter out their distribution, why not sell them online?&nbsp; To get a phone you need to place an order for one, wait a week or two, and then you can get it.&nbsp; This seems reasonable in conditions of scarcity.&nbsp; But to get an iPhone 3G, you need to walk into an at&amp;t store to place your order, and then walk into the store again to pick it up.&nbsp; Think about this.&nbsp; If the limitation was purely lack of supply then there are several ways this could be easier for customers:</p>
<ol>
<li>You could order a phone online to be delivered to your house.</li>
<li>You could order a phone to be delivered to your nearest at&amp;t store.</li>
<li>You could call the nearest at&amp;t store to place your order, but still have to walk in to pick it up.</li>
</ol>
<p>Try asking them why you can&#8217;t do any of these things and they will answer with one word: policy.&nbsp; Clearly Apple &amp; at&amp;t have gone out of their way to make it difficult for people to get their hands on a phone.&nbsp; &nbsp;This goes above and beyond just preserving a limited supply.&nbsp; You have to work to get an iPhone 3G.</p>
<h3>New iPhones have Issues</h3>
<p>From all the reports I&#8217;ve read, the problems with the new iPhone are in the software not the hardware.&nbsp; I conclude this because my friends with first generation iPhones are experiencing the same problems as those with the new 3G iPhones.&nbsp; Moreover everybody seems to agree that these problems only showed up after they upgraded their iPhone software.&nbsp; Problems include:</p>
<ul>
<li>Frequent crashes of applications, especially Safari</li>
<li>Increased lag in common operations</li>
<li>Significant problems with large contact lists (&gt;200 contacts)</li>
<li>Extended delays before placing a call</li>
</ul>
<p>Apple is legendary for their high quality software.&nbsp; People buy Macs because they &quot;just work.&quot;&nbsp; It&#8217;s really not like Apple to release a buggy piece of software.&nbsp; But it sure seems that they did in this case.&nbsp; Why?&nbsp; Obvious answers of fierce competition for high-end smartphones.&nbsp; The more interesting question for me is &quot;How did they get away with it?&quot;&nbsp; Which it sure seems they are.</p>
<h3>Escalation of Commitment: The Hush-factor</h3>
<p>There&#8217;s a well-document psychological principal at play which prevents people from objectively critiquing things that they are personally invested in.&nbsp; Sometimes called escalation of commitment, or irrational escalation, the idea is the same.&nbsp; If somebody works really hard to obtain something, they will blind themselves to its faults.&nbsp; Imagine this conversation:</p>
<ul>
<p>
&quot;Dude, I can&#8217;t believe you waited in line for hours to get that phone.&nbsp; What do you think of it?&quot;
</p>
<p>
&quot;Actually, it&#8217;s just okay.&nbsp; The applications crash a lot.&nbsp; And it&#8217;s not nearly as fast as I&#8217;d hoped it would be &#8212; sometimes it just hangs for like 10 seconds.&nbsp; But at least it&#8217;s pretty.&quot;
</p>
</ul>
<p><strong>Very few people have the objectivity to imply that their personal sacrifice was not worth while.</strong>&nbsp; This effect is commonly observed in people who buy high-end items.&nbsp; </p>
<p>The flip side of this effect is buyer&#8217;s remorse.&nbsp; But since the phone itself is not actually at all expensive (when compared to the monthly fees), that&#8217;s unlikely.&nbsp; Also, it has become a <a href="http://en.wikipedia.org/wiki/Positional_good">positional good</a>, whereby it has value simply because other people don&#8217;t have one.&nbsp; That fact remains regardless of how unreliable it is.</p>
<h3>Speculative Conclusion</h3>
<p>I posit that Apple knew about the software problems with the iPhone 3G before launch.&nbsp; They did manage to iron out all the performance and stability problems they encountered before launch.&nbsp; They felt they needed to launch it this summer to get ahead of other notable smartphones like the <a href="http://www.blackberry.com/blackberrybold/">Blackberry Bold</a>, <a href="http://www.htctouch.com/">HTC Touch</a>, and <a href="http://code.google.com/android/">Android</a> which are hot on their heels.&nbsp; So <strong>they rushed it out the door at sub-standard quality.</strong></p>
<p>In order to partially cover for this mistake, they have made this device especially hard to get.&nbsp; This covers their tracks in two ways: people make even more noise about scarcity.&nbsp; And those who do jump through the whoops to obtain one are far less likely to complain about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.embracingchaos.com/2008/07/iphone-scarcity.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Recovering a RAID Array after Lightning</title>
		<link>http://www.embracingchaos.com/2008/07/raid-failure-ev.html</link>
		<comments>http://www.embracingchaos.com/2008/07/raid-failure-ev.html#comments</comments>
		<pubDate>Wed, 09 Jul 2008 23:22:00 +0000</pubDate>
		<dc:creator>leodirac</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://wp.embracingchaos.com/2008/07/raid-failure-ev.html</guid>
		<description><![CDATA[The EVMS RAID 5 array in my linux fileserver crashed recently due to a lightning storm, and I thought I'd lost everything. But with some luck and intuition I was able to recover all my files. I'll tell you how I did it, so hopefully others who run into similar problems can recover their data too. But first, a little background. Last week Seattle had some crazy electrical storms. In recent years' storms, my block has done better than most with respect to power failures making me think we're either lucky or in a particularly robust section of the grid....
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/leodirac/358733435/" title="RAID array"><img width="180" height="240" class="top" src="http://farm1.static.flickr.com/145/358733435_af19f3bece_m.jpg" alt="RAID array" /></a>The EVMS RAID 5 array in my linux fileserver crashed recently due to a lightning storm, and I thought I&#8217;d lost everything.&nbsp; But with some luck and intuition I was able to recover all my files.&nbsp; I&#8217;ll tell you how I did it, so hopefully others who run into similar problems can recover their data too.&nbsp; But first, a little background.</p>
<p>Last week Seattle had some crazy electrical storms.&nbsp; In <a href="http://www.embracingchaos.com/2006/12/100_chance_of_r.html">recent years&#8217; storms</a>, my block has done better than most with respect to power failures making me think we&#8217;re either lucky or in a particularly robust section of the grid.&nbsp; So I was a little surprised to find my whole house offline on Wednesday morning.&nbsp; After a bit of debugging I figured out that the small UPS that runs all my networking gear got toasted, and for some reason the file server was down.</p>
<p>I left it alone for several days, and when I got around to turning it back on, I was happy that the whole stack through the samba server came up by itself.&nbsp; (It doesn&#8217;t always!)&nbsp; But when I started looking around I quickly realized things were amiss.&nbsp; The media/video directory normally has 4 subdirectories: movies, episodic TV, imake and other.&nbsp; But today it listed:</p>
<ul>
<pre>leo@elephant:/raid/shares/media/video$ lsdpisndic TV&nbsp; hmakd&nbsp; movies&nbsp; nther</pre>
</ul>
<p>WTF!?&nbsp; A few <em>bits</em> had been scrambled in the directory names.&nbsp; This sounds really bad.&nbsp; Moreover, even though the first couple levels of the directory hierarchy were there, but no files were to be found.&nbsp; Definitely a problem.</p>
<p><strong><u>Step 1: As soon as you suspect your RAID array has a problem, stop writing to it until you know what&#8217;s going on.</u>&nbsp; Writing changes can make things worse.&nbsp; Stop the bleeding.&nbsp; &nbsp;<br /></strong></p>
<p>I unmounted the drive from my mac, not trusting Finder or Spotlight to sprinkle damaging meta-files over the array.&nbsp; Once I remembered how to ssh into the box, I stopped the samba daemon, </p>
<ul>
<pre>leo@elephant:/$ sudo /etc/init.d/samba stop</pre>
</ul>
<p>unmounted the filesystem </p>
<ul>
<pre>leo@elephant:/$ sudo umount /raid</pre>
</ul>
<p>and changed fstab so it would be read-only when it comes back, and that it wouldn&#8217;t come back without me asking.</p>
<ul>
<pre>leo@elephant:/$ sudo vi /etc/fstab</pre>
</ul>
<p>changing</p>
<ul>
<pre>/dev/evms/teraraid500 /raid ext3 defaults&nbsp; 0 0</pre>
</ul>
<p>
to</p>
<ul>
<pre>/dev/evms/teraraid500 /raid ext3 ro,noauto&nbsp; 0 0</pre>
</ul>
<p>I tried poking around in EVMS by running</p>
<ul>
<pre>leo@elephant:/$ evmsn</pre>
</ul>
<p>But it hung during initialization with blue dialog saying &quot;Discovering segments&#8230;&quot;&nbsp; I&#8217;m thinking EVMS can&#8217;t help me.&nbsp; After a bit of googling I thought I should try <a href="http://linux.die.net/man/8/e2fsck">e2fsck</a> or some such.&nbsp; First, I tried to mount it again read-only and see what&#8217;s there.</p>
<ul>
<pre>mount: wrong fs type, bad option, bad superblock on /dev/evms/teraraid500,&nbsp; &nbsp;&nbsp; &nbsp; missing codepage or other error&nbsp; &nbsp;&nbsp; &nbsp; In some cases useful info is found in syslog - try&nbsp; &nbsp;&nbsp; &nbsp; dmesg | tail&nbsp; or so</pre>
</ul>
<p>Bad superblock.&nbsp; Uh oh.&nbsp; Well this guy managed to <a href="http://linux.omnipotent.net/article.php?article_id=12488">recover a drive with a bad superblock</a>.&nbsp; Lots of things were pushing me in this direction &#8212; fix the filesystem.&nbsp; But I realized that was a mistake.</p>
<p><strong><u>Step 2: Do not make changes at the filesystem level until you&#8217;re confident that the RAID array is working properly.</u>&nbsp; You set up RAID for a reason.&nbsp; You&#8217;ve still got a chance to recover everything, but if you start<br />
making changes to it in a broken state, you&#8217;re almost certainly going<br />
to make things worse.</strong></p>
<p>Me to self: Think about it.&nbsp; EVMS is confused.&nbsp; Linux is confused.&nbsp; Ext2 and ext3 are messed up complaining about bad superblocks.&nbsp; The problem was caused by lightning.&nbsp; When the drive was mounted there were wierd bit-level corruptions in the data that were still there.&nbsp; Maybe one of the drives in the array got data scrambled, but didn&#8217;t get totally fragged so it went offline.&nbsp; RAID 5 is designed to survive total loss of a single drive.&nbsp; But if a drive gets corrupted, who knows what will happen.&nbsp; So I came up with this plan:</p>
<p><strong><u>Step 3: Try physically disconnecting the drives in your array, one at a time.</u>&nbsp; If only one of them is scrambled, disconnecting it should restore all the data in the array.</strong></p>
<p>Having followed my own advice, it&#8217;s easy for me to tell the drives in my array apart since <a href="http://www.embracingchaos.com/2007/01/setting_up_a_ra.html">each drive in the RAID array is from a different manufacturer</a> (which makes array failure due to manufacturing defects far less likely).&nbsp; </p>
<p>This plan actually worked perfectly!&nbsp; Removing a drive caused a bit of a hassle in getting the machine back up, because when I booted it couldn&#8217;t find the /boot partition complaining</p>
<ul>
<pre> * Starting Enterprise Volume Management System...[42949392.340000] raid5: raid level 5 set md1 active with 2 out of 3 devices, algorithm 0

 * Checking all filesystems...fsck.ext3: No such file or directory while trying to open /dev/sdd5/dev/sdd5:The superblock could not be read or does not describe a correct ext2 filesystem.&nbsp; If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:&nbsp; &nbsp; e2fsck -b 8193 &lt;device&gt;</pre>
</ul>
<p>Notice the complaint about the superblock again &#8212; don&#8217;t trust it, and don&#8217;t do what it says!&nbsp; What really happened was that the boot drive letter had been changed from /dev/sdd to /dev/sdc, so I had to change /etc/fstab to mount /boot from&nbsp; /dev/sdc5 instead of /dev/sdd5.&nbsp; In my system, I boot off a non-RAID disk attached to the mobo, which for some annoying reason gets the last drive letter after all the drives no the SATA card.</p>
<p>But once I got past this, it quickly turned out that the Samsung drive was the culprit.&nbsp; With it removed, the software RAID kicked in and plugged all the whole.&nbsp; Everything the array looked<br />
completely normal again.&nbsp; All the directories.&nbsp; All the files.&nbsp; Hooray!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.embracingchaos.com/2008/07/raid-failure-ev.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Greening up the Home Office</title>
		<link>http://www.embracingchaos.com/2008/04/greening-up-the.html</link>
		<comments>http://www.embracingchaos.com/2008/04/greening-up-the.html#comments</comments>
		<pubDate>Wed, 23 Apr 2008 03:21:24 +0000</pubDate>
		<dc:creator>leodirac</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Electronic Security]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Sustainability]]></category>
		<category><![CDATA[Tech Industry]]></category>

		<guid isPermaLink="false">http://wp.embracingchaos.com/2008/04/greening-up-the.html</guid>
		<description><![CDATA[It was pretty late at night at my friend Miller's birthday party last week. She had asked everybody to do something good for the world in lieu of birthday presents. The awake were discussing options as I was dozing off. I overheard somebody say "If you've got an old linux box that you're using as a firewall drawing 400 watts continuously, consider spending $30 on a dedicated router." I thought about the headless Pentium 3 box in my office closet which is running the IP Cop Linux firewall distro. I thought about the four matching ethernet cards I'd put in...
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/leodirac/235189188/" title="Miller"><img width="240" height="160" class="top" src="http://farm1.static.flickr.com/87/235189188_19268aa540_m.jpg" alt="Miller" /></a>It was pretty late at night at my friend Miller&#8217;s birthday party last week.&nbsp; She had asked everybody to do something good for the world in lieu of birthday presents.&nbsp; The awake were discussing options as I was dozing off.&nbsp; I overheard somebody say &quot;<strong>If you&#8217;ve got an old linux box that you&#8217;re using as a firewall drawing 400 watts continuously, consider spending $30 on a dedicated router.</strong>&quot;&nbsp; I thought about the headless Pentium 3 box in my office closet which is running the <a href="http://www.ipcop.org/">IP Cop Linux firewall distro</a>.&nbsp; I thought about the four matching ethernet cards I&#8217;d put in it and the rainbow of color-coded cat-5 coming off it: red for untrusted outside world, green for safe, orange for servers and blue for wifi.&nbsp; I thought about all the time I&#8217;d spent configuring the thing perfectly and routing cables throughout the house and I thought, yeah it draws a lot of power, but I NEED all that.</p>
<p>When I sobered up the next afternoon it occured to me that I&#8217;d pulled my file server off the orange DMZ network for performance and simplicity, and that the other server box had long since been virtualized into the file server.&nbsp; I moved <a href="http://www.embracingchaos.com/2007/01/protecting_agai.html">my local public wifi</a> off the blue network onto the red to make its security brain-dead simple.&nbsp; So despite all the pretty color-coded cables and corresponding hubs, all I really had was a big loud NAT box with a few key port holes in it.&nbsp; And since I&#8217;ve switched from outlook to Gmail, I never even RAS into my home XP boxes any more.&nbsp; And since I do all my personal development on EC2 or some other host, I never use my home dev servers any more.&nbsp; So in fact, I don&#8217;t need to tunnel home for anything.&nbsp; Cloud computing.&nbsp; For real.&nbsp; All this stuff I used to need I don&#8217;t any more.&nbsp; I could replace that old linux box with a cheap low-power firewall.</p>
<p>But that got me thinking.&nbsp; There&#8217;s this li&#8217;l XP box sitting next to the printer that I have configured never to go to sleep because otherwise I can&#8217;t print from my laptops.&nbsp; Print servers are similarly small and low-power and sometimes come in the same box as the firewall.&nbsp; Then my eye turned to the terabyte file server in the corner and next thing you know I&#8217;ve got an Apple Time Capsule in the mail to replace all three permanently powered-on PCs in my house.</p>
<p>Happy BEarthday, Miller!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.embracingchaos.com/2008/04/greening-up-the.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Heavy laptops: there&#8217;s no excuse</title>
		<link>http://www.embracingchaos.com/2007/10/heavy-laptops-t.html</link>
		<comments>http://www.embracingchaos.com/2007/10/heavy-laptops-t.html#comments</comments>
		<pubDate>Tue, 30 Oct 2007 13:32:00 +0000</pubDate>
		<dc:creator>leodirac</dc:creator>
				<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Geek]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://wp.embracingchaos.com/2007/10/heavy-laptops-t.html</guid>
		<description><![CDATA[The way I see it, there's no compelling reason to buy a heavy laptop. Light laptops are great because they're portable. Their processors might be a little slower, but local processing power rarely limits what you can do with a computer these days. And unless you get a really tiny laptop they're hardly slower. If you do get a tiny one then you're trading reduced HCI-bandwidth for increased access to that bandwidth, which is often worthwhile. Today I'd probably argue that iPhone or iPod Touch is a pareto-optimal choice (sweet-spot) in this trade-off, beating out things like OQO and FlipStart....
]]></description>
			<content:encoded><![CDATA[<p>The way I see it, there&#8217;s no compelling reason to buy a heavy laptop.&nbsp; Light laptops are great because they&#8217;re portable.&nbsp; Their processors might be a little slower, but <a href="http://www.embracingchaos.com/2007/09/human-computer-.html">local processing power rarely limits what you can do with a computer these days</a>.&nbsp; And unless you get a really tiny laptop they&#8217;re hardly slower.&nbsp; If you do get a tiny one then you&#8217;re trading <a href="http://www.embracingchaos.com/2007/09/human-computer-.html">reduced HCI-bandwidth</a> for increased access to that bandwidth, which is often worthwhile.&nbsp; Today I&#8217;d probably argue that iPhone or iPod Touch is a <a href="http://en.wikipedia.org/wiki/Pareto_efficiency">pareto-optimal</a> choice (sweet-spot) in this trade-off, beating out things like <a href="http://www.oqo.com/">OQO</a> and <a href="http://www.flipstart.com/">FlipStart</a>.</p>
<p>But think about the longevity of these devices.&nbsp; Computers always slow down.&nbsp; In a few years, any laptop is going to feel really slow, no matter how fast it feels today.&nbsp; But if it&#8217;s a light, small laptop, then you&#8217;ll have something which is slow, but at least nice and portable.&nbsp; Some of my friends&#8217; house has this ancient Pentium II Viao laptop kicking around the living room &#8212; it barely runs a browser.&nbsp; But it&#8217;s so small and portable that it&#8217;s still a reasonable computing device today.&nbsp; If your laptop is heavy to start with, then <strong>in a few years when it slows down you&#8217;re stuck with a heavy, slow laptop</strong>, which nobody nobody wants.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.embracingchaos.com/2007/10/heavy-laptops-t.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A Small Tip when Setting up a Raid array</title>
		<link>http://www.embracingchaos.com/2007/01/setting_up_a_ra.html</link>
		<comments>http://www.embracingchaos.com/2007/01/setting_up_a_ra.html#comments</comments>
		<pubDate>Sun, 07 Jan 2007 09:56:19 +0000</pubDate>
		<dc:creator>leodirac</dc:creator>
				<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://wp.embracingchaos.com/2007/01/setting_up_a_ra.html</guid>
		<description><![CDATA[If you're building a RAID array for your home, or somewhere else that isn't super-industrial-strength enterprise, here's a tip. Get each hard drive as a different brand. That way it's way easier to tell them apart. If your drives are identical save for a serial number, and one of them crashes, the raid controller will tell you the serial number of the crashed drive, and then you need to figure out which of your drives to pull and replace based on that, and you probably try it by just unplugging each of them and seeing when the system thinks it's...
]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re building a RAID array for your home, or somewhere else that isn&#8217;t super-industrial-strength enterprise, here&#8217;s a tip.&nbsp; <strong>Get each hard drive as a different brand.</strong>&nbsp; That way it&#8217;s <em>way</em> easier to tell them apart.&nbsp; If your drives are identical save for a serial number, and one of them crashes, the raid controller will tell you the serial number of the crashed drive, and then you need to figure out which of your drives to pull and replace based on that, and you probably try it by just unplugging each of them and seeing when the system thinks it&#8217;s still got a valid drive.&nbsp; But if they&#8217;re different brands of drive, then the BIOS or whatever is running your raid system will tell you exactly which one is dead, by name.</p>
<p>Another good reason is that whole batches of drives sometimes get manufacturing defects.&nbsp; So if you get 3 or 4 drives from the same batch with sequential serial numbers, they might all have the same defect.&nbsp; So <strong>the odds of 2 drives crashing at once are much lower if they came from different factories.&nbsp; </strong>Most RAID schemes can survive a single drive failure, but few can survive multiple.<strong></strong></p>
<p>That&#8217;s all.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.embracingchaos.com/2007/01/setting_up_a_ra.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

