<?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>phrog blog &#187; geek speak</title>
	<atom:link href="http://blog.phrog.org/tag/nerdy/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.phrog.org</link>
	<description>Let it snow, let it snow, let it SNOW!</description>
	<lastBuildDate>Thu, 01 Dec 2011 19:07:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Steamboat Springs Snow &amp; Weather Updates</title>
		<link>http://blog.phrog.org/2007/12/08/steamboat-springs-snow-weather-updates/</link>
		<comments>http://blog.phrog.org/2007/12/08/steamboat-springs-snow-weather-updates/#comments</comments>
		<pubDate>Sat, 08 Dec 2007 16:24:33 +0000</pubDate>
		<dc:creator>phrog</dc:creator>
				<category><![CDATA[day to day]]></category>
		<category><![CDATA[geek speak]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.phrog.org/2007/12/08/steamboat-springs-snow-weather-updates/</guid>
		<description><![CDATA[Well some of you may have noticed the addition of the snow report and weather to my sidebar. Since phrog.org is the first thing I see in my web browser every morning while I drink my coffee I figured I may as well get the weather I needed to decide if it was a ski [...]]]></description>
			<content:encoded><![CDATA[<p>Well some of you may have noticed the addition of the snow report and weather to my sidebar. Since phrog.org is the first thing I see in my web browser every morning while I drink my coffee I figured I may as well get the weather I needed to decide if it was a ski day or not.  </p>
<p>The snow report comes from steamboat.com which offers up an XML feed of the report, however it has been broken for years because it has no &#8220;style&#8221; associated with it, making it useless for anyone with a normal RSS reader to subscribe. <span id="more-114"></span>So I made up a cron job to scrape the snow page on steamboat.com and dump it to a php for including here.  If you would like to use the no frills raw scrape of the report for viewing on your phone or whatever just point it to <a href="http://phrog.org/snow.php">http://phrog.org/snow.php</a> and stay updated. I promise you your browser will not complain about plugins your missing, and it wont crash because of some fancy web designers effect is overpowering your device. Just the snow report.</p>
<p>Getting the Weather was much simpler. NOAA kicks ass when it comes to sharing info and the <a href="http://www.viper007bond.com/wordpress-plugins/weathericon/">Weathericon plugin</a> uses the information from noaa.gov to fill in the weather info I want into the sidebar, its simple and I recommend it to anyone who would like weather in their wordpress.</p>
<p>I was quite pleased with myself yesterday when I woke up all hung over and stumbled downstairs to my computer and saw the mountain had 5 inches at 5am. When I got on the mountain at 8am it was at 11 inches. My official first powder day of this season. <img src='http://blog.phrog.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.phrog.org/2007/12/08/steamboat-springs-snow-weather-updates/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Geek Night with Laura and Dave</title>
		<link>http://blog.phrog.org/2007/05/18/geek-night-with-laura-and-dave/</link>
		<comments>http://blog.phrog.org/2007/05/18/geek-night-with-laura-and-dave/#comments</comments>
		<pubDate>Fri, 18 May 2007 17:17:46 +0000</pubDate>
		<dc:creator>phrog</dc:creator>
				<category><![CDATA[day to day]]></category>
		<category><![CDATA[friends]]></category>
		<category><![CDATA[geek speak]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.phrog.org/2007/05/18/geek-night-with-laura-and-dave/</guid>
		<description><![CDATA[&#8220;Geek Night&#8221; happens when somewhat non-geek friends of mine want to bust some ass on code and get down to business and make shit happen on the internet. I provide the nerdness, they get me wasted, and somehow things end up okay. Last night we managed to make this happen. Please check out the latest [...]]]></description>
			<content:encoded><![CDATA[<p> &#8220;Geek Night&#8221; happens when somewhat non-geek friends of mine want to bust some ass on code and get down to business and make shit happen on the internet. I provide the nerdness, they get me wasted, and somehow things end up okay. Last night we managed to make this happen. Please check out the latest additions to the phrog blogroll <a href="http://lauralamun.com">lauralamun.com</a> and <a href="http://daveallendrums.com">daveallendrums.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.phrog.org/2007/05/18/geek-night-with-laura-and-dave/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 Reasons Why It Doesn’t Pay To Be “The Computer Guy”</title>
		<link>http://blog.phrog.org/2007/05/03/10-reasons-why-it-doesn%e2%80%99t-pay-to-be-%e2%80%9cthe-computer-guy%e2%80%9d/</link>
		<comments>http://blog.phrog.org/2007/05/03/10-reasons-why-it-doesn%e2%80%99t-pay-to-be-%e2%80%9cthe-computer-guy%e2%80%9d/#comments</comments>
		<pubDate>Thu, 03 May 2007 23:02:57 +0000</pubDate>
		<dc:creator>phrog</dc:creator>
				<category><![CDATA[geek speak]]></category>
		<category><![CDATA[funny]]></category>

		<guid isPermaLink="false">http://blog.phrog.org/2007/05/03/10-reasons-why-it-doesn%e2%80%99t-pay-to-be-%e2%80%9cthe-computer-guy%e2%80%9d/</guid>
		<description><![CDATA[I did not write this. it got dugg and the site hosting it went down for the count. I had to share. I only met my brother’s ex-girlfriend’s family once — the year they invited our family over to share Thanksgiving dinner. Since we were basically a group of strangers looking to make a good [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>I did not write this. it got dugg and the site hosting it went down for the count. I had to share.</p></blockquote>
<p>I only met my brother’s ex-girlfriend’s family once — the year they invited our family over to share Thanksgiving dinner. Since we were basically a group of strangers looking to make a good first impression, the table conversation was nothing more than friendly idle chitchat.</p>
<p>When I asked our hostess for more mashed potatoes, she took the opportunity to ask me about myself while dishing out my second helping — “So Shaun, what do you do for a living?”</p>
<p>Hesitantly, I responded: “I work in computer support.”</p>
<p>The transition to silence was immediate. All eyes suddenly turned to me, raised eyebrows all around. If you hadn’t heard my response, judging from everyone’s reaction you might think I said something outrageous like I was a male stripper or a gynecologist — but I knew the awkward silence would soon be broken by an overwhelming outpouring of computer questions.</p>
<p>“Oh wow, a computer guy!” — “So you know how to remove spyware and viruses and stuff, right?” — “Our family computer is really slow, I think it has a virus.” — “Do you have a business card, or can I get your number?”</p>
<p><span id="more-56"></span></p>
<p>I politely and patiently answered their questions, hoping that we’d exhaust the subject in a matter of minutes and then move on to something else. As it would turn out, my hopeful prediction was very wrong — the gentleman sitting next to me scooted his seat closer to me to begin an interrogation.</p>
<p>This man I was meeting for the first time must’ve truly believed that I was going to help him with his problem at that very moment. It didn’t matter how uninterested I looked or sounded, he was convinced that I must know the answer he’s looking for and he was determined he would get it.</p>
<p>Situations like this one were common for me. I’ve had eavesdropping strangers approach me with questions about their computer while I was eating in a restaurant. I’ve had oblivious coworkers step in front of me in a buffet line to tell me about their computer problems while I was serving myself food. I’ve had neighbors who spotted me from their window rush outside to coax me into working on their home computer while I was walking to the corner market. My knack for solving people’s computer problems had become so well-known among my neighborhood that these circumstances were near impossible to avoid.</p>
<p>You might be thinking, “So why complain? If your help is in high demand, why not embrace your talents and charge people for your time?”</p>
<p>I tried to for seven years. I’ve worked in the computer industry in various ways — help desk support, web design, consulting and sales, field technician, freelance computer specialist, and whatever other fancy name you want to give “the computer guy.”</p>
<p>I stopped enjoying it. There were certainly times when I enjoyed myself, but most of those times were when my computer talents were still developing. Once I stopped learning new things on the job, I would become fidgety and want to move on to something else.</p>
<p>From my career-hopping experiences in the computer industry, I’ve become acquainted with the Top Ten Reasons it doesn’t pay to be the computer guy:</p>
<p>Reason #10 &#8211; Most Of Your Accomplishments Are Invisible</p>
<p>The computer guy never hears anyone tell him, “I just want to let you know … everything is working fine!”</p>
<p>The reality is that people call the computer guy when something is wrong.</p>
<p>As a computer guy, if you work really hard to make everything work the way that it should, and things work fine, then people believe you don’t do anything. Everything you manage to get working correctly or do perfectly will forever remain unnoticed by computer users. They’ll only ever notice that you do anything when something isn’t working correctly, and you are called upon to fix it.</p>
<p>Reason #9 &#8211; Every Conversation You Have Is Roughly The Same</p>
<p>When the computer guy dares to mention what he does for a living, the typical response is, “I have a question about my home computer…”</p>
<p>Or when the computer guy first hears about a widespread problem within the computer network he’s responsible for, he can barely begin to assess the problem before a dozen other people call to report the same problem.</p>
<p>Or when the computer guy explains a certain process on a computer to a user who is incapable of retaining the process, he will inevitably need to reinstruct the user of this same process — indefinitely.</p>
<p>Reason #8 &#8211; You’re An Expert Of Bleeding-Edge Technology Products, Aren’t You?</p>
<p>The computer guy often finds himself in situations where someone is asking him for advice on a pending investment of the technological variety.</p>
<p>“I heard about (some hardware or software product) that can do (something desirable) for me. I brought you these (advertisements/reviews/printouts) because I wanted your recommendation. Which would you buy?”</p>
<p>Although the inquiring person sincerely trusts the computer guy’s judgment over their own, in almost every instance the real objective of these meetings is to ensure their own immunity from making a risky purchase.</p>
<p>If it turns out to be a bad investment, and they cannot get (the hardware or software product) to do (anything desirable), then you will be their personal scapegoat — “But honey, the computer guy said I should buy it!”</p>
<p>Reason #7 &#8211; Your Talents Are Forcibly Undervalued</p>
<p>Thanks to the constantly declining price of new computers, the computer guy cannot charge labor sums without a dispute. If he asks to be paid what he is worth, he will likely be met with the “why not buy new?” argument.</p>
<p>That is, desktop computers are always getting smaller, faster, and cheaper. It’s possible to purchase a new desktop computer for under $400. If the computer guy spends five hours fixing a computer and wants $100/hour for his time, his customer will be outraged, exclaiming “I didn’t even spend this much to BUY the computer, why should I pay this much just to FIX it?”</p>
<p>Reason #6 &#8211; You’re Never Allowed A Moment’s Peace</p>
<p>The computer guy is so prone to interruption that he rarely finds an opportunity to work on his own problems. This is because:</p>
<p>1. Computers never sleep.<br />
2. Computer problems aren’t scheduled.<br />
3. Every problem takes time to diagnose.<br />
4. The computer guy can only give one problem his full attention.<br />
5. Each user believes their problem deserves attention now.</p>
<p>Consequently, the computer guy has a 24/7 obligation to keep critical computer systems running, while simultaneously juggling everyone’s problems. He’ll often need to forfeit any opportunities to tend to his own needs for the sake of others — because at any moment, of any day, he can be interrupted by someone who wants to make their problem his problem.</p>
<p>Reason #5 &#8211; People Ask You To Perform Miracles</p>
<p>The computer guy is often mistaken for someone who possesses the combined skills of an old priest and a young priest. I’ll sum this up easily by example:</p>
<p>“No, I really can’t recover any files from your thumb drive, even if you did find it after it passed through your dog.”</p>
<p>Reason #4 &#8211; Your Assumed “All-Knowing” Status Sets You Up To Let People Down</p>
<p>There is no common understanding that there are smaller divisions within the computer industry, and that the computer guy cannot be an expert in all areas. What makes things worse, is when the computer guy attempts to explain this to someone asking for help, the person will often believe that the computer guy is withholding the desired knowledge to avoid having to help.</p>
<p>This is somewhat related to the next reason:</p>
<p>Reason #3 &#8211; You Possess Unlimited Responsibility</p>
<p>The computer guy is expected to solve problems. It is difficult to determine the boundaries of that expectation.</p>
<p>Some of the oddest things that I’ve been asked to do include:</p>
<p>1. Use pirated software to undelete important company files.<br />
2. Create an Intranet, after explaining I didn’t know how to.<br />
3. Teach someone how to hide their pornography collection.</p>
<p>Solving problems can range from replacing batteries in a wireless keyboard to investigating why the entire building loses power at the same time every morning. Resolutions can necessitate weaving a 50-foot cable through a drop ceiling, or wriggling under a house on your belly to add an electrical outlet.</p>
<p>Reasons #4 and #3 boil down to this: no matter how often you want to play the role of a hero, there will always be circumstances that test the limits of your ability to be one. It’s difficult to judge when helping someone means doing something immoral, and it’s even harder to admit you are unable to solve someone’s problem — and chances are, that someone will view you as incompetent because you were unable to help them.</p>
<p>Reason #2 &#8211; A Life Of Alienation</p>
<p>People only talk to the computer guy when they need him to fix something. Also, when the computer guy approaches a user, they’ll hop up out of their chair under the presumption that he’s there to fix something — as if it would never be expected that he only wants to strike up a conversation.</p>
<p>The fact that the computer guy never gets a moment’s peace can also practically force him to withdraw into solitude. His co-workers don’t understand that he doesn’t want to hear about their computer problems during his lunch hour — he does that every other hour of the day. That’s why the computer guy eats lunch alone with his door closed, or goes out to eat every day — not because he’s unfriendly, but because he needs to escape the incessant interruptions.</p>
<p>Reason #1 &#8211; You Have No Identity</p>
<p>It’s an awful experience when the computer guy shows up at a neighbor’s doorstep with a plate of Christmas cookies, only to have the child who answered the door call out, “Mom, the computer guy is here!” He begs for an identity that is not directly associated with computers, but “the computer guy” label walks ahead of him — it simply cannot be avoided. I was given a name and I’d love to be addressed by it.</p>
<p>Having read these reasons, you may believe that I’m complaining. It’s true that I was upset with many aspects of my life as the computer guy, but I’m past the point of complaining.</p>
<p>I took a good hard look at my existence and realized that things were not likely to change in the line of work I had chosen. Instead of just complaining, I took action and began making positive changes in my life.</p>
<p>Working in the computer industry isn’t for everybody. It wasn’t for me. I’ve compiled my reasons for putting it behind me and placed them here, so that anyone who is unsatisfied with their life working in computers might recognize it’s not for them either.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.phrog.org/2007/05/03/10-reasons-why-it-doesn%e2%80%99t-pay-to-be-%e2%80%9cthe-computer-guy%e2%80%9d/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Steamboat Springs Technology Commission Ready To Spend!</title>
		<link>http://blog.phrog.org/2007/03/13/steamboat-springs-technology-commission-ready-to-spend/</link>
		<comments>http://blog.phrog.org/2007/03/13/steamboat-springs-technology-commission-ready-to-spend/#comments</comments>
		<pubDate>Tue, 13 Mar 2007 17:34:00 +0000</pubDate>
		<dc:creator>phrog</dc:creator>
				<category><![CDATA[day to day]]></category>
		<category><![CDATA[geek speak]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[rant]]></category>

		<guid isPermaLink="false">http://blog.phrog.org/2007/03/13/steamboat-springs-technology-commission-ready-to-spend/</guid>
		<description><![CDATA[The tech commission is ready to spend some money. They have lots of it burning holes in pockets, Wait an idea! Let&#8217;s buy some really expensive software that will need constant spending to keep updated. Then we can spend all that tax money and everyone will feel great! This could really happen. Read this article [...]]]></description>
			<content:encoded><![CDATA[<p>The tech commission is ready to spend some money. They have lots of it burning holes in pockets, Wait an idea! Let&#8217;s buy some really expensive software that will need constant spending to keep updated. Then we can spend all that tax money and everyone will feel great! </p>
<p>This could really happen.<br />
Read <a href="http://www2.steamboatpilot.com/news/2007/mar/12/tech_commission_proposes_overhaul/">this article from the pilot</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.phrog.org/2007/03/13/steamboat-springs-technology-commission-ready-to-spend/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>OpenWRT, DynDNS &amp; ez-ipupdate behind a router</title>
		<link>http://blog.phrog.org/2007/03/04/openwrt-dyndns-with-ez-ipupdate-behind-a-router/</link>
		<comments>http://blog.phrog.org/2007/03/04/openwrt-dyndns-with-ez-ipupdate-behind-a-router/#comments</comments>
		<pubDate>Mon, 05 Mar 2007 03:04:15 +0000</pubDate>
		<dc:creator>phrog</dc:creator>
				<category><![CDATA[geek speak]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.phrog.org/2007/03/04/openwrt-dyndns-with-ez-update-behind-a-router/</guid>
		<description><![CDATA[So I have an Openwrt install and wanted to use ez-ipupdate to update my DynDNS account however it would only send the IP of the wlan0 and since I&#8217;m behind a router already the IP on wlan0 is for my LAN. So I made a quick hack to get the internet IP I wanted to [...]]]></description>
			<content:encoded><![CDATA[<p>So I have an <a href="http://openwrt.org">Openwrt</a> install and wanted to use ez-ipupdate to update my <a href="http://dyndns.org">DynDNS</a> account however it would only send the IP of the wlan0 and since I&#8217;m behind a router already the IP on wlan0 is for my LAN. So I made a quick hack to get the internet IP I wanted to DynDNS. Here it is.<span id="more-47"></span></p>
<p>First off I had to figure out the real IP. For this I abuse a web site called <a href="http://whatismyip.com">whatismyip.com</a> by dumping the text into awk, ripping out the IP and exporting the variable $IP. </p>
<p>I did this by adding this to the top of /etc/init.d/S95custom-user-startup:<br />
<code>for myip in `links -dump http://whatismyip.com | awk '/ Your IP Is/{print $NF}'`<br />
do<br />
export IP=$myip<br />
done<br />
</code></p>
<p>Then I had to turn off demon mode of ez-ipupdate in /etc/init.d/S52ez-ipupdate</p>
<p>Find this line:<br />
<code>/usr/sbin/ez-ipupdate -d -F $PID_F -c $ddns_conf -b $ddns_cache -i $wan_interface -e $ddns_exec_ok</code></p>
<p>Change it to:<br />
<code>/usr/sbin/ez-ipupdate -a $IP -F $PID_F -c $ddns_conf -b $ddns_cache -e $ddns_exec_ok</code></p>
<p>Please note the addition of the &#8220;-a $IP&#8221; above. This is where we pass the real IP to ez-ipupdate.</p>
<p>Then I added this line to /etc/init.d/S95custom-user-startup to restart the ez-ipupdate after the $IP variable has been passed.<br />
<code>/etc/init.d/S52ez-ipupdate restart</code></p>
<p>Then I added a cron job that checks and updates the IP every half hour.<br />
<code>crontab -e<br />
*/30 * * * * /etc/init.d/S52ez-ipupdate restart<br />
/etc/init.d/S60cron restart </code></p>
<p>Reboot the router and your DynDNS IP should get updated! w00t!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.phrog.org/2007/03/04/openwrt-dyndns-with-ez-ipupdate-behind-a-router/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Linux Software RAID Upgrade</title>
		<link>http://blog.phrog.org/2007/02/26/linux-software-raid-upgrade/</link>
		<comments>http://blog.phrog.org/2007/02/26/linux-software-raid-upgrade/#comments</comments>
		<pubDate>Mon, 26 Feb 2007 20:20:31 +0000</pubDate>
		<dc:creator>phrog</dc:creator>
				<category><![CDATA[geek speak]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.phrog.org/2007/02/26/linux-software-raid-upgrade/</guid>
		<description><![CDATA[Well last night my right hand nerd, Scotty and I upgraded the dkhosting.net server to use software RAID1 from a SCSI drive. This is what we did. Manually Install new hard drives: This was simple. It&#8217;s a dell with some green rails that make it easy.We set them both as masters and threw them on [...]]]></description>
			<content:encoded><![CDATA[<p>Well last night my right hand nerd, Scotty and I upgraded the dkhosting.net server to use software RAID1 from a SCSI drive. This is what we did.</p>
<p>Manually Install new hard drives: This was simple. It&#8217;s a dell with some green rails that make it easy.We set them both as masters and threw them on different IDE channels so we have /dev/hda &#038; /dev/hdc and then we got busy.<br />
<span id="more-46"></span></p>
<p>fdisk the /dev/hda drive</p>
<p><code>Device Boot      Start         End      Blocks   Id  System<br />
/dev/hda1               1          13      104391   fd  Linux raid autodetect<br />
/dev/hda2              14       12463   100004625   fd  Linux raid autodetect<br />
/dev/hda3           12464       12713     2008125   82  Linux swap / Solaris</code></p>
<p>We don&#8217;t worry about the hdc drive because we are going to set up one drive and then just let the RAID restore the second drive, so we tell mdadm to create the array with a drive missing.</p>
<p><code>mdadm --create /dev/md0 --level=1 --raid-disk=2 missing /dev/hda1<br />
mdadm --create /dev/md1 --level=1 --raid-disk=2 missing /dev/hda2</code></p>
<p>Then we format them</p>
<p><code>mkfs.ext3 /dev/md0<br />
mkfs.ext3 /dev/md1</code></p>
<p>Mount them up</p>
<p><code>mkdir /mnt/md0<br />
mkdir /mnt/md1<br />
mount /dev/md0 /mnt/md0<br />
mount /dev/md1 /mnt/md1<br />
</code></p>
<p>Next we go to single user mode and copy all the files over</p>
<p><code>init 1<br />
cp -dpRxv /boot/* /mnt/md0<br />
cp -dpRxv / /mnt/md1</code></p>
<p>Remount /dev/md0 to /mnt/md1/boot</p>
<p><code>umount /mnt/md0<br />
mount /dev/md0 /mnt/md1/boot</code></p>
<p>Then chroot</p>
<p><code>chroot /mnt/md1 /bin/bash</code></p>
<p>Edit fstab changing sda to md&#8217;s</p>
<p><code>#/dev/sda2      /               ext3    errors=remount-ro       0       1<br />
#/dev/sda3      none            swap    sw                      0       0<br />
/dev/md1        /               ext3    errors=remount-ro       0       1<br />
/dev/md0        /boot           ext3    defaults        0       2</code></p>
<p>Change the swap in fstab</p>
<p><code>#/dev/sda3      none            swap    sw                      0       0<br />
/dev/hda3       none            swap    sw                      0       0<br />
/dev/hdc3       none            swap    sw                      0       0</code></p>
<p>Then we had to deal with grub</p>
<p>/boot/grub/device.map<br />
<code>#(hd0) /dev/sda<br />
(hd0)   /dev/hda<br />
(hd1)   /dev/hdc</code></p>
<p>/boot/grub/menu.lst<br />
<code>title           Debian GNU/Linux, kernel 2.6.17<br />
root            (hd0,0)<br />
kernel          /vmlinuz-2.6.17 root=/dev/md1 ro<br />
#kernel          /vmlinuz-2.6.17 root=/dev/sda2 ro<br />
initrd          /initrd.img-2.6.17<br />
savedefault</code></p>
<p>Install grub on the raid drives</p>
<p><code>grub-install /dev/hda<br />
grub-install /dev/hdc</code></p>
<p>Then re-installed the linux-image so a new initrd would be built &#038; installed<br />
<code>dpkg -i /usr/src/linux-image-2.6.17.dk5.1.deb</code></p>
<p>Now we reboot and when we get to the grub on sda which is still plugged in we hit &#8220;e&#8221; for edit and change root=/dev/sda to root=/dev/md1 and then hit &#8220;b&#8221; to boot it to the raid. and drink a shot of tequila.</p>
<p>So now we have it booted up on the md devices, however we still have to bring the second drive into the array. We start by copying the partition tables over.</p>
<p><code>sfdisk -d /dev/hda | sfdisk /dev/hdc</code></p>
<p>Then add them to the array</p>
<p><code>mdadm /dev/md0 -a /dev/hdc1<br />
mdadm /dev/md1 -a /dev/hdc2</code></p>
<p>Let it rebuild, when finished you end up with this</p>
<p>/proc/mdstat<br />
<code>Personalities : [linear] [multipath] [raid0] [raid1] [raid5] [raid4] [raid6] [raid10]<br />
md1 : active raid1 hdc2[0] hda2[1]<br />
      100004544 blocks [2/2] [UU]<br />
md0 : active raid1 hdc1[0] hda1[1]<br />
      104320 blocks [2/2] [UU]</p>
<p>unused devices: <none></code></p>
<p>Reboot and disconnect scsi drive<br />
Linux Software RAID Upgrade &#8230; done</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.phrog.org/2007/02/26/linux-software-raid-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux USB2 Journey</title>
		<link>http://blog.phrog.org/2006/12/13/unable-to-leave-home/</link>
		<comments>http://blog.phrog.org/2006/12/13/unable-to-leave-home/#comments</comments>
		<pubDate>Wed, 13 Dec 2006 22:36:03 +0000</pubDate>
		<dc:creator>phrog</dc:creator>
				<category><![CDATA[geek speak]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://phrog.org/blog/2006/12/13/unable-to-leave-home/</guid>
		<description><![CDATA[Well another day here and all the things I wanted to do aren&#8217;t getting done.. Debugging a bunch of stuff instead. I was up late with our friend Dave over at ComputerCures.Biz setting him up with a slick OpenWRT router setup and when we finished at 2:00am he gifted me a brand new Western Digital [...]]]></description>
			<content:encoded><![CDATA[<p>Well another day here and all the things I wanted to do aren&#8217;t getting done.. Debugging a bunch of stuff instead. I was up late with our friend Dave over at <a href="http://computercures.biz">ComputerCures.Biz</a> setting him up with a slick <a href="http://openwrt.org">OpenWRT</a> router setup and when we finished at 2:00am he gifted me a brand new Western Digital 400 Gig USB hard drive. Of course this hard drive is quite slow to deal with when you only have USB1 handy, however I do have USB2 on my server in the closet we all know as &#8220;hugh&#8221; that runs <a href="http://gentoo.org">gentoo</a> and honestly has never been updated since put into use.. Well it&#8217;s not going well something is choking on it and dmesg is just spitting out repeated errors.</p>
<blockquote><p>usb 1-5: new high speed USB device using ehci_hcd and address 2<br />
usb 1-5: device descriptor read/64, error -110<br />
usb 1-5: device descriptor read/64, error -110<br />
usb 1-5: new high speed USB device using ehci_hcd and address 3<br />
usb 1-5: device descriptor read/64, error -110<br />
usb 1-5: device descriptor read/64, error -110<br />
usb 1-5: new high speed USB device using ehci_hcd and address 4<br />
usb 1-5: device descriptor read/8, error -110<br />
usb 1-5: device descriptor read/8, error -110<br />
usb 1-5: new high speed USB device using ehci_hcd and address 5<br />
usb 1-5: device descriptor read/8, error -110<br />
usb 1-5: device descriptor read/8, error -110</p></blockquote>
<p>If I Remove the USB2 driver with  &#8220;rmmod ehci_hcd&#8221; the ohci_hcd module works just fine but its USB1 slow. So I&#8217;m updating the kernel in hopes that this is some bug in the ehci module that will be fixed up good in the newer kernel. </p>
<p>I&#8217;m into the world of &#8220;emerge&#8221; and this could take a while to get the stuff I need updated. I kinda wish &#8220;hugh&#8221; was like the rest of my computers here, running <a href="http://debian.org">Debian</a> so I could just install a pre-built kernel quickly to test my theory.<br />
<span id="more-6"></span><br />
Okay, Hours have passed and I finally got the new kernel installed. I must stress two things that got me good.</p>
<p>1)  <strong>grub needed to be config&#8217;ed by hand.</strong> I screwed up and learned this after rebooting.</p>
<p>2)  <strong>Running etc-update is required!</strong> I again screwed up and the init scripts were completely b0rked. </p>
<p>I&#8217;ll wrap this up with some good news, the new kernel 2.6.18 is now running and the USB2 is working great and hauling ass. w00t!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.phrog.org/2006/12/13/unable-to-leave-home/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

