<?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>yken.org &#187; Linux</title>
	<atom:link href="http://yken.org/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://yken.org</link>
	<description>...it depends</description>
	<lastBuildDate>Sun, 07 Mar 2010 17:47:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Unslinging a NSLU2 &#8211; a few comments for beginners</title>
		<link>http://yken.org/2007/11/20/unslinging-a-nslu2-a-few-comments-for-the-beginners/</link>
		<comments>http://yken.org/2007/11/20/unslinging-a-nslu2-a-few-comments-for-the-beginners/#comments</comments>
		<pubDate>Mon, 19 Nov 2007 23:57:34 +0000</pubDate>
		<dc:creator>ikendra</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[NSLU2]]></category>
		<category><![CDATA[unslug]]></category>

		<guid isPermaLink="false">http://yken.org/2007/11/20/unslinging-a-nslu2-a-few-comments-for-the-beginners/</guid>
		<description><![CDATA[It doesn&#8217;t need to be emphasized more that to read http://www.nslu2-linux.org/ is a complete must for everyone who would like to experiment with updating the original Linksys firmware of a NSLU2 device. Especially, the community rules and and the (extensive) set of warnings should be read and understood before descending into countless Howto&#8217;s. I&#8217;m grateful [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://yken.org/wp-content/dscn4567-1-500.jpg" title="NSLU2 and WD My Book Premium Edition 500 GB"><img src="http://yken.org/wp-content/dscn4567-1-240.jpg" alt="NSLU2 and WD My Book Premium Edition 500 GB" / class="alignleft"></a>It doesn&#8217;t need to be emphasized more that to read <a href="http://www.nslu2-linux.org/">http://www.nslu2-linux.org/</a> is a complete must for everyone who would like to experiment with updating the original Linksys firmware of a NSLU2 device. Especially, the community rules and and the (extensive) set of warnings should be read and understood before descending into countless Howto&#8217;s. I&#8217;m grateful to all folks who contributed with all the information &#8211; following the steps and Howto&#8217;s I unslung my NSLU2 with <a href="http://www.slug-firmware.net/u-dls.php">Unslung-6.8-beta-firmware</a> without problems. I have only experienced two minor issues and would like to mention them here just in case some NSLU2 beginner (like myself) comes across the same.</p>
<p><span id="more-60"></span><br />
Both of the two issues demonstrate how important is to really pay attention to all details when flashing the NSLU2 firmware, even by experienced heavy-weights. It really doesn&#8217;t pay off to skip ahead! Firstly, after a successful flash, I didn&#8217;t know how to proceed with unslinging the firmware to external USB disk drive, rather than keeping it in the internal flash storage (all this in order to be able to start installing additional packages, such as openssh etc). I could not find the instructions on any of the two above websites. After a little moment I found the detailed and very well written instructions packaged inside the zip file with the firmware (Unslung-6.8-beta-README.txt).</p>
<p>The second problem occurred, how surprising, again after I skipped ahead a tiny bit of the README file. I connected the external USB disk to the port 1 and executed</p>
<p><span id="codeblock">/sbin/unsling disk1</span></p>
<p>This, however, did not work, the disk was not found (and it wasn&#8217;t displayed in the Linksys web interface either). I assumed the problem was the fact that I&#8217;ve formatted the disk already before, with the original NSLU2 firmware. Because I didn&#8217;t have any important data on the disk yet, I decided to use the web interface to format the disk again. Despite the &#8220;Formatting&#8230;&#8221; message in the interface, there was no disk activity and the disk again wasn&#8217;t recognized after the subsequent reboot. After consulting the README file and actually following what was written there (i.e. using the port 2) the disk was recognized and I could continue. The disk, formatted using the NSLU2 in question with the original Linksys firmware, did not have to be re-formatted to work with Unslung-6.8-beta, the data are accessible without problems. The only this that changed was the Samba share name assigned by the device by default (DISK 2 instead of DISK 1).</p>
<p><!--more--><br />
I guess the moral of the story is that README files are here to be read and in case of anything related to NSLU2 firmware upgrade read at least twice. <img src='http://yken.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://yken.org/2007/11/20/unslinging-a-nslu2-a-few-comments-for-the-beginners/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fedora 8: select the repositories carefully</title>
		<link>http://yken.org/2007/11/15/fedora-8-select-the-repositories-carefully/</link>
		<comments>http://yken.org/2007/11/15/fedora-8-select-the-repositories-carefully/#comments</comments>
		<pubDate>Thu, 15 Nov 2007 22:55:15 +0000</pubDate>
		<dc:creator>ikendra</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://yken.org/2007/11/15/fedora-8-select-the-repositories-carefully/</guid>
		<description><![CDATA[A week ago, I installed Fedora 8, from scratch. The installation went fine, I customized the system to my liking, using the default GUI. After a week, however,  I could not initialize an X session anymore. And the problem occurred straight after I downloaded the package updates as the system prompted me to do.

The [...]]]></description>
			<content:encoded><![CDATA[<p>A week ago, I installed Fedora 8, from scratch. The installation went fine, I customized the system to my liking, using the default GUI. After a week, however,  I could not initialize an X session anymore. And the problem occurred straight after I downloaded the package updates as the system prompted me to do.</p>
<p><span id="more-58"></span></p>
<p>The X session would not initialize because of the following error:</p>
<p><span id="codeblock"> X.Org X Server 1.4.0.1<br />
Release Date: 5 September 2007<br />
X Protocol Version 11, Revision 0<br />
Build Operating System: Linux 2.6.20-1.3002.fc6xen i686<br />
Current Operating System: Linux tank.matrix.local 2.6.23.1-49.fc8 #1 SMP Thu Nov 8 21:41:26 EST 2007 i686<br />
Build Date: 13 November 2007  05:47:17PM<br />
Build ID: xorg-x11-server 1.4.99.1-0.10.fc9<br />
Before reporting problems, check http://wiki.x.org<br />
to make sure that you have the latest version.<br />
Module Loader present<br />
Markers: (&#8211;) probed, (**) from config file, (==) default setting,<br />
(++) from command line, (!!) notice, (II) informational,<br />
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.<br />
(==) Log file: &#8220;/var/log/Xorg.0.log&#8221;, Time: Thu Nov 15 22:31:35 2007<br />
(==) Using config file: &#8220;/etc/X11/xorg.conf&#8221;<br />
dlopen: /usr/lib/xorg/modules/drivers//nvidia_drv.so: undefined symbol: xf86GetPciVideoInfo<br />
(EE) Failed to load /usr/lib/xorg/modules/drivers//nvidia_drv.so<br />
(EE) Failed to load module &#8220;nvidia&#8221; (loader failed, 7)<br />
(EE) No drivers available.Fatal server error:<br />
no screens found<br />
giving up.<br />
xinit:  Connection refused (errno 111):  unable to connect to X server<br />
xinit:  No such process (errno 3):  Server error</span></p>
<p><!--more--></p>
<p>I immediately thought that the update broke something related to Nvidia driver, see the undefined symbol above. So I re-installed the driver:</p>
<p><span id="codeblock"> [ikendra@tank][~] sudo yum remove kmod-nvidia<br />
[ikendra@tank][~] sudo yum install kmod-nvidia<br />
</span></p>
<p><!--more--></p>
<p>This didn&#8217;t help and I started to suspect Fedora from releasing a broken update. However, because I have never seen such a major problem after Fedora update, I decided to log on IRC to discuss this with competent people. On the #fedora-qa channel I chatted with a friendly and helpful tester from Fedora, Will Woods. After a few questions, he found the root cause of the problem: I had the fedora-development repository enabled which means that the packages from current development head repository were downloaded. This was easy to be confirmed by issuing</p>
<p><span id="codeblock"> [ikendra@tank][~] cat /var/log/yum.log | grep &#8220;fc9&#8243;<br />
</span></p>
<p><!--more--><br />
So it was entirely my mistake. Will asked me, what made me enable the repository at the first place. Good question! I confused fedora-development with fedora-updates-testing &#8211; I was interested in the test updates not realizing that I enabled the Rawhide repository. Although I was entirely aware of the fact that the Rawhide cannot be considered stable, I wasn&#8217;t aware of the fact I was actually enabling it and the UI did not warn me:</p>
<p><!--more--></p>
<p><img src="http://yken.org/wp-content/repositories.jpg" alt="Fedora 8 Repository Manager" align="bottom" /></p>
<p><!--more--></p>
<p>I tried to save the day by disabling the fedora-development repository and issuing&#8230;</p>
<p><span id="codeblock"> [ikendra@tank][~] sudo yum install yum-utils<br />
[ikendra@tank][~] package-cleanup &#8211;orphans<br />
</span></p>
<p><!--more--><br />
&#8230;to get the list of all fc9 package installed in order to remove them and re-install the fc8 packages &#8211; the list was however too long, I will have to reinstall the system. I was glad that Will acknowledged the fact that the repository name &#8220;fedora-development&#8221; was confusing. It was a good school for me, too, but I could have imagined to spend the evening in a different way! <img src='http://yken.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://yken.org/2007/11/15/fedora-8-select-the-repositories-carefully/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Upgrading to Fedora 7: have your partitions labeled</title>
		<link>http://yken.org/2007/06/03/upgrading-to-fedora-7-have-your-partitions-labeled/</link>
		<comments>http://yken.org/2007/06/03/upgrading-to-fedora-7-have-your-partitions-labeled/#comments</comments>
		<pubDate>Sun, 03 Jun 2007 12:06:08 +0000</pubDate>
		<dc:creator>ikendra</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://yken.org/2007/06/03/upgrading-to-fedora-7-have-your-partitions-labeled/</guid>
		<description><![CDATA[Although &#8220;doing a clean installation and then restoring user data from backups is known to work better&#8221;, Fedora recommends to use CD/DVD installer to upgrade your Fedora Core installation to a higher version. I usually perform a clean install when updating Linux at home, this time however, I decided to let Anaconda (the Fedora installer) [...]]]></description>
			<content:encoded><![CDATA[<p>Although &#8220;doing a clean installation and then restoring user data from backups is known to work better&#8221;, Fedora <a href="http://fedoraproject.org/wiki/DistributionUpgrades">recommends</a> to use CD/DVD installer to upgrade your Fedora Core installation to a higher version. I usually perform a clean install when updating Linux at home, this time however, I decided to let Anaconda (the Fedora installer) to do the job. I was very pleased with the overall result with one exception: the installer forced me to manually modify my /etc/fstab, refusing to continue otherwise.</p>
<p><span id="more-49"></span></p>
<p>Due to a change in the way that the Linux kernel handles storage devices, the device names like /dev/hdX or /dev/sdX may differ from the values used in earlier releases. In Fedora 7, for instance the first partition on my first disk (ATA) is now</p>
<p><span class="contentpre">/dev/sda1</span></p>
<p>instead of</p>
<p><span class="contentpre">/dev/hda1</span></p>
<p>and for instance the first partition on my second disk (SATA) is now named</p>
<p><span class="contentpre">/dev/sdb1</span></p>
<p>instead of</p>
<p><span class="contentpre">/dev/sda1</span></p>
<p>I wasn&#8217;t aware of this change before upgrading to Fedora 7. And because I had previously modified my /etc/fstab manually using the device names linked to the mount points instead of using labels, Fedora 7 installer now refused to upgrade.</p>
<p><!--more--></p>
<p>The solution was to boot back to the original installation and to run &#8220;e2label&#8221; to create a label for each partition on your disk. It is pretty simple:</p>
<p><span class="contentpre">[ikendra@tank][~] sudo /sbin/e2label /dev/hda6 HOME</span></p>
<p><!--more--></p>
<p>After that, modify your /etc/fstab to use the labels instead of device names. Example: modify the fstab line which used to be for instance</p>
<p><span class="contentpre">/dev/hda6              /home                   ext3    defaults        1 2</span></p>
<p>to</p>
<p><span class="contentpre">LABEL=HOME              /home                   ext3    defaults        1 2</span></p>
<p><!--more--></p>
<p>I recommend a single reboot to the original Fedora installation to check if all partitions were mounted as expected. After that, run the installer again, it will work.</p>
]]></content:encoded>
			<wfw:commentRss>http://yken.org/2007/06/03/upgrading-to-fedora-7-have-your-partitions-labeled/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
