<?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>(Phaysis) &#187; hacking</title>
	<atom:link href="http://www.phaysis.com/tag/hacking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phaysis.com</link>
	<description>One bulb shy...</description>
	<lastBuildDate>Wed, 25 Jan 2012 03:45:08 +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>Swap-o-Rama (¡UUID Es Me Llamo!)</title>
		<link>http://www.phaysis.com/2010/02/01/swap-o-rama-uuid-es-me-llamo/</link>
		<comments>http://www.phaysis.com/2010/02/01/swap-o-rama-uuid-es-me-llamo/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 05:55:59 +0000</pubDate>
		<dc:creator>Shawn</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[nerd]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[UUID]]></category>

		<guid isPermaLink="false">http://www.phaysis.com/?p=467</guid>
		<description><![CDATA[(Just for the sake of remembering my own damn self &#8212; and maybe helping someone else.) Earlier, I attempted to hibernate my desktop. Never done it in the 15 months I&#8217;ve had Ubuntu 8.04 LTS on here, so I figured &#8220;Hell, why not?&#8221; I hit the dropdown, and the system commenced its hibernating shutdown action. [...]]]></description>
			<content:encoded><![CDATA[<p><em>(Just for the sake of remembering my own damn self &#8212; and maybe helping someone else.)</em></p>
<p>Earlier, I attempted to hibernate my desktop. Never done it in the 15 months I&#8217;ve had Ubuntu 8.04 LTS on here, so I figured &#8220;Hell, why not?&#8221; I hit the dropdown, and the system commenced its hibernating shutdown action. But it neither shut off nor came back to life. I ssh&#8217;d into it to discover via the system logfile that the hibernate was halfway through its operations when the power daemon discovered &#8220;Oh Hell! There&#8217;s no resume device on this machine!&#8221; at which point it ceased and attempted to raise the machine from the dead.</p>
<p>After manually power-cycling the system, I did some digging. Turns out the UUID of the swap/resume partition had been <em>changed</em> somewhere along the way, so both <em>/etc/fstab</em> and <em>/etc/initramfs-tools/conf.d/resume</em> were stuck with the old UUID from way back when the system was installed. That UUID no longer exists.</p>
<p>I&#8217;m not sure what caused it to change; such an idea is disturbing, considering this is supposed to be the super-stable, LTS build of Ubuntu. The UUID of the swap partition is usually set with the <em>mkswap -U</em> command, and can be set on an ext2/ext3 partition with the <em>tune2fs</em> command. But anything can go wrong.</p>
<p>So. How to make fix? A quick check with <em>sudo blkid</em> will list the block devices on the system:</p>
<pre>oldman@Deskie:~$ sudo blkid
/dev/sda1: UUID="c97b2e80-a5b2-4371-a60e-126a8d1402a5" TYPE="ext3"
/dev/sda5: TYPE="swap" UUID="f3a3cd16-f0c8-40a1-8a7d-578c57296c6b"
/dev/sda6: UUID="775a56e3-0244-453f-8d8a-fd1eb42a82f6" /
SEC_TYPE="ext2" TYPE="ext3"
</pre>
<p>The swap partition has the UUID <em>f3a3cd16-f0c8-40a1-8a7d-578c57296c6b</em> and is the device <em>/dev/sda5</em>. Copy and paste the UUID into the <em>fstab</em> and <em>resume</em> config files to replace the UUID that was there. Execute <em>sudo swapon -a</em> to mount your swap partition, and you should be golden. Verify with <em>free -m</em> to check for a nonzero swap size.</p>
<pre>oldman@Deskie:~$ free -m
             total       used       free     shared    buffers     cached
Mem:          3962       1784       2178          0        154        660
-/+ buffers/cache:        969       2993
Swap:        11601          0      11601
</pre>
<p>The value <em>11601</em> tells me I&#8217;m gettin&#8217; my swap on. Aw yeah.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phaysis.com/2010/02/01/swap-o-rama-uuid-es-me-llamo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2,600 Hertz</title>
		<link>http://www.phaysis.com/2007/03/17/2600-hertz/</link>
		<comments>http://www.phaysis.com/2007/03/17/2600-hertz/#comments</comments>
		<pubDate>Sun, 18 Mar 2007 03:39:00 +0000</pubDate>
		<dc:creator>Shawn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[2600]]></category>
		<category><![CDATA[Emmanuel Goldstein]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[podcast]]></category>
		<category><![CDATA[serendipity]]></category>

		<guid isPermaLink="false">http://skolnosk/wordpress/?p=167</guid>
		<description><![CDATA[Last week I took the opportunity to hang out for an evening with a guy named Emmanuel Goldstein (nee Eric Corley), the founder of the venerable 2600: The Hacker Quartely, a magazine written by and for hackers. He was in town for the technology portion of the local South By Southwest conference where a founder [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I took the opportunity to hang out for an evening with a guy named Emmanuel Goldstein (<em>nee</em> Eric Corley), the founder of the venerable <a href="http://www.2600.com/" target="_blank">2600: The Hacker Quartely</a>, a magazine written by and for hackers. He was in town for the technology portion of the local <a href="http://www.sxsw.com/" target="_blank">South By Southwest</a> conference where a founder of <a href="http://www.makezine.com/" target="_blank">Make Magazine</a>, a friend of his, made a keynote address. Emmanuel was also slated to make a few presentations.</p>
<p>Two weeks ago in his radio show <a href="http://www.2600.com/offthewall/" target="_blank"><em>Off the Wall</em></a> (broadcast in NYC) he mentioned that he was coming to Austin and that he would be interested in hanging out with any of his listeners here who would care to do so. My buddy <a href="http://www.john-boy.net/" target="_blank">John</a> jumped on the chance and invited Emmanuel to join us at our usual friday night meeting. He accepted.</p>
<p>I was the first of our group to arrive; the big table where we usually meet was occupied by three guys I&#8217;d never seen before, so I set my stuff down at another table and made my way to the counter for coffee. As I passed the table, I overheard the three discussing when Austin 2600 meetings were held; one was under the impression that it was the 2nd friday of the month. This was the clue that told me these were the guys we were waiting for. I interjected and corrected them, saying they meet on the first friday. I turned to the older guy and asked if he was Emmanuel, he acknowledged, and I smiled and introduced myself by saying, &#8220;Ah, we&#8217;ve been expecting you.&#8221;</p>
<p>I got my coffee and settled in at their table; traded introductions with the other two guys. Within minutes, other people from my group were showing up and joining in. Emmanuel was asking us things, getting a feel for how life is in Austin, and he pulled out a digital audio recorder, asked us if it was ok to record us for his show, and we agreed. The <a href="http://www.2600.com/offthewall/mp3files/2007/off_the_wall__20070313.mp3" target="_blank">final results</a> can be found at the <em>Off the Wall</em> site.</p>
<p>He started by asking us where we were from, how long we&#8217;ve been living here in Austin; he wanted our opinion on how our hometowns and Austin represented life in Texas. Being a New Yorker, he likely has some notions of what Texans are like and he wanted some better depth to the image, hence the questions. I&#8217;m not sure how well we fleshed it out, but apparently he did leave Austin with an understanding of how laid-back it is here.</p>
<p>Emmanuel wrapped up his recorded segment by asking us about the local pirate radio scene. One of the things he does when he hits a new town is scan the dial and what he found was <a href="http://kpwr.org/" target="_blank">KPWR</a> at 91.1MHz (they don&#8217;t do their own broadcasting; they&#8217;re of the new breed of pirates that essentially set up an internet-only music stream, and it&#8217;s up to volunteers to independently set up a transmitter and simulcast the stream). He dug into what we knew of them and the other &#8220;stations&#8221;, and he was blown away by how strong the scene is here. Later that weekend he got to take a tour of the KPWR studio and meet some of the volunteer staff there and was impressed.</p>
<p>It was nice to meet and hang out with Emmanuel. As unassuming as he is, you would never know by looking at or listening to him that this is a man who helped in the formation of an entire hacking subculture. He gave hackers one more voice, a touchstone, and a community in a dark time one decade before the public embrace of the embryonic Internet and the  chat rooms, message boards, and document archives it enables. Well met.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phaysis.com/2007/03/17/2600-hertz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

