<?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>Jeremy&#039;s Weblog &#187; gentoo</title>
	<atom:link href="http://blog.jolexa.net/category/linux/gentoo/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jolexa.net</link>
	<description>Random thoughts and rants...mostly Linux</description>
	<lastBuildDate>Fri, 03 Feb 2012 16:49:45 +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>Gentoo Prefix: A look at the number of packages</title>
		<link>http://blog.jolexa.net/2012/02/03/gentoo-prefix-a-look-at-the-number-of-packages/</link>
		<comments>http://blog.jolexa.net/2012/02/03/gentoo-prefix-a-look-at-the-number-of-packages/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 16:48:36 +0000</pubDate>
		<dc:creator>Jeremy Olexa</dc:creator>
				<category><![CDATA[gentoo prefix]]></category>

		<guid isPermaLink="false">http://blog.jolexa.net/?p=919</guid>
		<description><![CDATA[Gentoo Prefix is still alive and going strong. In my opinion, Gentoo Prefix remains a strong point of Gentoo Linux and really establishes that Gentoo Linux is a metadistribution. In this post I want to focus on the numbers. The number of packages in the Gentoo Prefix tree, specifically. But first, a history lesson. It [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.gentoo.org/proj/en/gentoo-alt/prefix/">Gentoo Prefix</a> is still alive and going strong. In my opinion, Gentoo Prefix remains a strong point of Gentoo Linux and really establishes that Gentoo Linux <strong>is</strong> a <a href="http://goo.gl/px3KW">metadistribution</a>. In this post I want to focus on the numbers. The number of packages in the Gentoo Prefix tree, specifically. But first, a history lesson. It wasn&#8217;t until EAPI3 in Gentoo that &#8220;allowed&#8221; Gentoo Prefix variables into the main Gentoo Linux tree. That was in late 2011, but Gentoo Prefix existed much before then, all the way back to <a href="http://stats.prefix.freens.org/keywords-packages.png">2006</a> (at least). Before EAPI3, the prefix team made slight modifications to ebuilds and placed them in a <a href="http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay">repo</a> and called it the tree of packages for Gentoo Prefix. This worked fine, but we had growing pains. The major issue was that we were getting too successful to manage the increased contributions from users. In other words, as the number of &#8220;forked&#8221; packages grew, the amount of maintenance time increased greatly &#8211; this is due to the fact that it is a chore to keep our forks synced. At least, a large chore for a small team. This is why we looked for help and adoption from the other pool of 200 Gentoo Developers, hence EAPI3 and beyond. Since supporting Gentoo Prefix is not a big use of overall developer time, this has gone over quite well in my opinion &#8211; yes, there are some pain points at times I do realize. Enough history, here are the numbers:</p>
<ul>
<li>Number of packages in Gentoo Linux: <strong>15554</strong> packages in 154 categories.</li>
<li>Number of total* packages in Gentoo Prefix: 9483 packages in 154 categories.</li>
<li>Number of KEYWORDED packages in Gentoo Prefix: About <strong>3000</strong> for the most popular arch</li>
<li>Number of packages still NOT in the main Gentoo Linux tree: 369 packages</li>
</ul>
<p>* The total packages in the tree also contains non-keyworded packages because that just makes life simple. Once packages started migrating to the main tree, I helped think of this &#8220;<a href="http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/whitelist.txt">whitelist</a>&#8221; concept. The short version of the whitelist is that if a package is listed in that text file, it gets included in the Gentoo Prefix tree as a direct copy of the version in the Gentoo Linux tree. The presense of the package in the old repo means that it is used instead. <em>Eventually</em>, this concept will go away and we will overlay the Gentoo Linux tree directly.</p>
<p>So why is it taking so long to migrate ALL packages to the Gentoo Linux tree? Well, that is where the rubber meets the road and we get into roadblocks. A roadblock for us could be a number of things, such as a disagreement with the Gentoo Linux maintainer, some patches existing that we don&#8217;t feel are a good fit for Gentoo Linux, or even us being lazy and not submitting stuff to upstream. We also don&#8217;t want to push invasive changes to Gentoo Linux for critical packages, like the toolchain for example.</p>
<p>It has long since been our agenda to not add anymore packages to the old repo and going forward only adding new stuff to Gentoo Linux directly. I hope we can make a dent in those remaining 369 in 2012!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jolexa.net/2012/02/03/gentoo-prefix-a-look-at-the-number-of-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gentoo: Colemak keymap support</title>
		<link>http://blog.jolexa.net/2011/11/11/gentoo-colemak-keymap-support/</link>
		<comments>http://blog.jolexa.net/2011/11/11/gentoo-colemak-keymap-support/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 18:25:16 +0000</pubDate>
		<dc:creator>Jeremy Olexa</dc:creator>
				<category><![CDATA[gentoo]]></category>

		<guid isPermaLink="false">http://blog.jolexa.net/?p=869</guid>
		<description><![CDATA[Colemak is my new keymap of choice. Luckily, Gentoo Linux supports it well. Unlike some of the crazy instructions people have posted out there, you only need to edit 2 files to convert your console and Xorg server. Note, I&#8217;m taking the time to write this because I couldn&#8217;t find easy instructions out there&#8230; % [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://colemak.com/">Colemak</a> is my new keymap of choice. Luckily, Gentoo Linux supports it well. Unlike some of the crazy instructions people have <a href="http://siavashs.org/blog:dvorak_and_colemak_keyboard_layouts_on_gentoo">posted</a> out <a href="http://forums.gentoo.org/viewtopic-t-639368-start-0.html">there</a>, you only need to edit <em>2 files</em> to convert your console and Xorg server. Note, I&#8217;m taking the time to write this because I <strong>couldn&#8217;t</strong> find easy instructions out there&#8230;</p>
<p><code><br />
% cat /etc/conf.d/keymaps<br />
# Use keymap to specify the default console keymap.  There is a complete tree<br />
# of keymaps in /usr/share/keymaps to choose from.<br />
keymap="en-latin9"<br />
<...><br />
</code></p>
<pre><code>
% cat /etc/X11/xorg.conf.d/30-keyboard.conf
Section "InputClass"
        Identifier "keyboard-all"
        Option "XkbVariant" "colemak"
EndSection
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.jolexa.net/2011/11/11/gentoo-colemak-keymap-support/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Tip: &#8220;Intelligent&#8221; bugzilla mail threading in GMail using procmail</title>
		<link>http://blog.jolexa.net/2011/10/24/tip-intelligent-bugzilla-mail-threading-in-gmail-using-procmail/</link>
		<comments>http://blog.jolexa.net/2011/10/24/tip-intelligent-bugzilla-mail-threading-in-gmail-using-procmail/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 15:29:50 +0000</pubDate>
		<dc:creator>Jeremy Olexa</dc:creator>
				<category><![CDATA[gentoo]]></category>

		<guid isPermaLink="false">http://blog.jolexa.net/?p=849</guid>
		<description><![CDATA[(Preface: Target audience for this post is Gentoo Devs + GMail WebUI users, however, anyone that forwards bugmail to GMail and has procmail between them could also use this.) I find it annoying that the GMail web interface chooses to thread messages based on subject name alone, this creates two threads for every new bug [...]]]></description>
			<content:encoded><![CDATA[<p><em>(Preface: Target audience for this post is Gentoo Devs + GMail WebUI users, however, anyone that forwards bugmail to GMail and has procmail between them could also use this.)</em></p>
<p>I find it annoying that the GMail web interface chooses to thread messages based on subject name alone, this creates <strong>two</strong> threads for every new bug report sent to you from bugzilla. Sadly, we can&#8217;t control the threading that Google tells us is &#8220;the only way&#8221; (subject based threading or email header based threading, which bugzilla does correctly). If you want to <a href="http://blog.mozilla.com/nnethercote/2011/06/09/gmail-and-bugzilla/" target="_blank">follow</a> the <a href="http://blog.mozilla.com/nnethercote/2011/06/10/gmail-and-bugzilla-an-update/" target="_blank">rabbit</a> <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=650575" target="_blank">trail</a> <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=528889" target="_blank">that</a> I <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=650575#c23" target="_blank">went</a> <a href="https://bugs.gentoo.org/370977" target="_blank">on</a> <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=663747" target="_blank">regarding</a> this subject, I won&#8217;t <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=589128" target="_blank">stop</a> you&#8230;</p>
<p>Or you can use procmail to rewrite the subject, that is, remove &#8220;New: &#8221; from the first email:</p>
<pre><code># Remove "New: " from the subject so threading in gmail works
SUBJ_=`formail -xSubject: | expand | tr -d '\n' | sed -e 's/^[ ]*//g' -e 's/New: //'`
:0
* ^From: bugzilla-daemon@gentoo.org
{
    :0 fwh
    | formail -i"Subject: ${SUBJ_}"
}</code></pre>
<p>Tangentially related that may be useful, is this rule that kills duplicate messages when you report a bug and are assigned the same bug (or in CC). The bugzilla software has no way of knowing what email aliases you may be in.</p>
<pre><code># Kill duplicate messages. If I am the reporter *and* the bug is assigned to a
# team I am in, delete the mail to me directly
:0
* ^To: username@gentoo.org
* ^From: bugzilla-daemon@gentoo.org
* ^X-Bugzilla-Reporter: username@gentoo.org
* ^X-Bugzilla-(Assigned-To|CC):.*(team1|team2)@gentoo.org
/dev/null</pre>
<p></code></p>
<p><em>I like the GMail WebUI. I use it. Please don't suggest that I should use other clients, I already know that other clients can handle the threading fine.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jolexa.net/2011/10/24/tip-intelligent-bugzilla-mail-threading-in-gmail-using-procmail/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Gentoo: Removing USE=&#8221;python perl&#8221; from the default profile</title>
		<link>http://blog.jolexa.net/2011/10/05/gentoo-removing-usepython-perl-from-the-default-profile/</link>
		<comments>http://blog.jolexa.net/2011/10/05/gentoo-removing-usepython-perl-from-the-default-profile/#comments</comments>
		<pubDate>Wed, 05 Oct 2011 19:11:30 +0000</pubDate>
		<dc:creator>Jeremy Olexa</dc:creator>
				<category><![CDATA[gentoo]]></category>

		<guid isPermaLink="false">http://blog.jolexa.net/?p=841</guid>
		<description><![CDATA[Well, I got sick of setting -python -perl on my Gentoo hosts, I even consider them &#8220;questionable defaults&#8221; for a majority of Gentoo users.. So, let this be an advanced notice that you may see some rebuilds for useflag changes. There has been sufficient testing such that there should be few to nil problems, but [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I got sick of setting <code>-python -perl</code> on my Gentoo hosts, I even consider them &#8220;questionable defaults&#8221; for a majority of Gentoo users..</p>
<p>So, let this be an advanced notice that you may see some rebuilds for useflag changes. There has been sufficient testing such that there should be few to nil problems, but we can&#8217;t test everything. Please file bug reports, if needed.</p>
<p>See also:</p>
<ul>
<li><a href="http://archives.gentoo.org/gentoo-announce/msg_f869d4b5ec1d06beb681b5c268699058.xml">Gentoo Announce Message</a></li>
<li><a href="http://archives.gentoo.org/gentoo-dev-announce/msg_ae405bb743eeda9dc66773998ee50759.xml">Gentoo Developer Announce Message</a></li>
<li><a href="https://bugs.gentoo.org/250179">Bug 250179</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.jolexa.net/2011/10/05/gentoo-removing-usepython-perl-from-the-default-profile/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Gentoo: per-package PORTAGE_TMPDIR settings</title>
		<link>http://blog.jolexa.net/2011/09/16/gentoo-per-package-portage_tmpdir-settings/</link>
		<comments>http://blog.jolexa.net/2011/09/16/gentoo-per-package-portage_tmpdir-settings/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 15:42:05 +0000</pubDate>
		<dc:creator>Jeremy Olexa</dc:creator>
				<category><![CDATA[gentoo]]></category>

		<guid isPermaLink="false">http://blog.jolexa.net/?p=831</guid>
		<description><![CDATA[I don&#8217;t know how many people know about per-package environment variables in portage since 2.1.9 or so. (ref: bug 44796) It is a worthwhile enhancement to know about, regardless. Like most people, I have my PORTAGE_TMPDIR on tmpfs to speed up compilation times and reduce I/O usage. My 2G tmpfs mounted on /var/tmp/portage is large [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know how many people know about per-package environment variables in portage since 2.1.9 or so. (ref: <a href="https://bugs.gentoo.org/show_bug.cgi?id=44796" target="_blank">bug 44796</a>) It is a worthwhile enhancement to know about, regardless. Like most people, I have my PORTAGE_TMPDIR on tmpfs to speed up compilation times and reduce I/O usage. My 2G tmpfs mounted on /var/tmp/portage is large enough for almost all packages, even multiple jobs at once, however, not all. Solution:</p>
<p>% cat /etc/portage/package.env<br />
app-office/libreoffice notmpfs.conf<br />
% cat /etc/portage/env/notmpfs.conf<br />
PORTAGE_TMPDIR=&#8221;/var/tmp/notmpfs&#8221;</p>
<p>(More info available in the portage man page)</p>
<p>Now, when I find my next package that needs notmpfs, it is as easy as: <code>echo "cat-egory/pkg notmpfs.conf" >> /etc/portage/package.env</code> which is much easier than bashrc hacks or something else insane that I have seen. Of course you can extend that to most <code>make.conf</code> settings, hope that helps someone.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jolexa.net/2011/09/16/gentoo-per-package-portage_tmpdir-settings/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Gentoo: Infra team update</title>
		<link>http://blog.jolexa.net/2011/04/10/gentoo-infra-team-update/</link>
		<comments>http://blog.jolexa.net/2011/04/10/gentoo-infra-team-update/#comments</comments>
		<pubDate>Sun, 10 Apr 2011 13:14:48 +0000</pubDate>
		<dc:creator>Jeremy Olexa</dc:creator>
				<category><![CDATA[gentoo]]></category>

		<guid isPermaLink="false">http://blog.jolexa.net/?p=813</guid>
		<description><![CDATA[It has been awhile since I&#8217;ve posted about what I&#8217;ve been doing with Gentoo Linux. So, here is a general update for the team that I have been spending most of my time with. You may have seen the Bugzilla upgrade that Christian was working on. Gentoo moved from the bottom of the list provided [...]]]></description>
			<content:encoded><![CDATA[<p>It has been awhile since I&#8217;ve posted about what I&#8217;ve been doing with Gentoo Linux. So, here is a general update for the team that I have been spending most of my time with.</p>
<ul>
<li>You may have seen the <a href="http://bugs.gentoo.org">Bugzilla</a> upgrade that Christian was working on. Gentoo moved from the bottom of the <a href="http://lpsolit.wordpress.com/bugzilla-usage-worldwide/">list</a> provided from one of the upstream devs to the top of the list. (As of April 2011)</li>
<li>I finally put an idea of mine into reality of graphing the number of &#8220;emerge &#8211;sync&#8217;s&#8221; against the rsync.gentoo.org rotation. <a href="http://mirrorstats.gentoo.org/rsync/rsync-usage.png">Full graph</a> and <a href="http://mirrorstats.gentoo.org/rsync/rsync-usage-last4weeks.png">last 4 weeks</a></li>
<li>A new reporting website was born: <a href="http://qa-reports.gentoo.org/">http://qa-reports.gentoo.org/</a> &#8211; The vision was: &#8220;Many Gentoo devs have useful scripts and many people complain that there is not a central place to see all the output.&#8221; This site is a solution, and open for all. repo: <a href="http://git.overlays.gentoo.org/gitweb/?p=proj/qa-scripts.git;a=summary">qa-scripts.git</a></li>
<li>A new &#8220;Get Gentoo at a glance&#8221; website was born: <a href="http://get.gentoo.org/">http://get.gentoo.org/</a> that Matthew is still working on, so maybe expect some layout changes &#8211; The motivation for this was inspired from <a href="https://bugs.gentoo.org/show_bug.cgi?id=350271">bug 350271</a>, repo: <a href="http://git.overlays.gentoo.org/gitweb/?p=proj/get-gentoo.git;a=summary">get-gentoo.git</a>
<li>Some behind the scenes work involving our mastermirror service. The current hardware running this important service is one of the oldest hosts we have.</li>
</ul>
<p>Of course, there is always the untold hours to keep Gentoo Linux infrastructure running happily for all customers. As a final note, if you have a good idea, feel free to propose it via bugs or IRC. We will listen and definately avoid <a href="http://en.wikipedia.org/wiki/NIH_syndrome">NIH</a> syndrome if we can. Cheers.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jolexa.net/2011/04/10/gentoo-infra-team-update/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Tip: Single Purpose Password-less SSH Key</title>
		<link>http://blog.jolexa.net/2011/02/11/tip-single-purpose-password-less-ssh-key/</link>
		<comments>http://blog.jolexa.net/2011/02/11/tip-single-purpose-password-less-ssh-key/#comments</comments>
		<pubDate>Fri, 11 Feb 2011 16:11:59 +0000</pubDate>
		<dc:creator>Jeremy Olexa</dc:creator>
				<category><![CDATA[gentoo]]></category>

		<guid isPermaLink="false">http://blog.jolexa.net/?p=798</guid>
		<description><![CDATA[Scenario: You need to setup a service that requires ssh access to a remote host, possibly/probably by the root user. This service needs to run at regular intervals and it is critical that it works without a human entering a passphrase (even once). Solution: The obvious solution that comes to mind is a ssh key. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Scenario</strong>: You need to setup a service that requires ssh access to a remote host, possibly/probably by the root user. This service needs to run at regular intervals and it is critical that it works without a human entering a passphrase (even <em>once</em>).</p>
<p><strong>Solution</strong>: The obvious solution that comes to mind is a ssh key. But a password-less key that allows root login? <strong>RED FLAG</strong>. However, there is a way to accomplish this without allowing a root login completely. That is to create, what I call, a single purpose key. I feel like this <u>not</u> a widely known trick, so I am archiving it so I don&#8217;t forget myself.</p>
<p><strong>Details:</strong><br />
(Where local host is the host that needs ssh access and remote host is the host that you are &#8220;opening&#8221; up or allowing ssh access to)</p>
<ol>
<li>On the local host, create a ssh key without a passphrase for the root user, this is widely documented via other sources</li>
<li>On the remote host, add the key to the <code>/root/.ssh/authorized_keys</code> file. However, start the line in that file with <code>command="/root/bin/validate-ssh.sh"</code></li>
<li>On the remote host, the <code>/root/bin/validate-ssh.sh</code> script is a simple script that allows access to your service and exits for anything else. An example of allowing rsync access [only]:
<pre><code>
% cat /root/bin/validate-ssh.sh
#!/bin/bash
case "$SSH_ORIGINAL_COMMAND" in
	rsync\ --server*)
		# uncomment for debug
		# echo "$(date +%Y%m%d): $SSH_ORIGINAL_COMMAND" >> /var/log/ssh-cmd.log
		$SSH_ORIGINAL_COMMAND
		;;
	# debug
	testconnect)
		echo "You successfully connected to $(hostname)"
		;;
	*)
		echo "Sorry, command '$SSH_ORIGINAL_COMMAND' is not allowed"
		exit 1
		;;
esac
</code></pre>
</li>
<li>Optional, if you only want to allow this access from a small set of hosts add <code>from="192.168.1.11,10.80.80.1"</code> to the same line in <code>/root/.ssh/authorized_keys</code></li>
</ol>
<p>So, now, you can use that password-less ssh key as root (assuming the remote host <em>allows</em> root logins via ssh) and you should see something. <code>ssh root@remote testconnect</code> will return that string. <code>rsync root@remote:/file</code> will work. Everything else will get the message that indicates it wasn&#8217;t allowed. This is expandable to just about everything provided that you know the &#8220;$SSH_ORIGINAL_COMMAND&#8221; &#8211; on another host I use it to allow password-less sshfs access, so <code>SSH_ORIGINAL_COMMAND=/usr/lib/misc/sftp-server</code> and so-forth.</p>
<p>Naturally, this will work for other users/uses as well. I&#8217;ve seen references that some admins are using this to allow access if and only if they enter a sekrit token, etc. I&#8217;ll also say that you should be smart with this, opening up root access is a hole &#8211; if anyone compromises the local host, I suppose they could get access to the remote host if they knew how.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jolexa.net/2011/02/11/tip-single-purpose-password-less-ssh-key/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Updating Intel Atom processor microcode</title>
		<link>http://blog.jolexa.net/2011/01/25/updating-intel-atom-processor-microcode/</link>
		<comments>http://blog.jolexa.net/2011/01/25/updating-intel-atom-processor-microcode/#comments</comments>
		<pubDate>Tue, 25 Jan 2011 20:26:11 +0000</pubDate>
		<dc:creator>Jeremy Olexa</dc:creator>
				<category><![CDATA[gentoo]]></category>
		<category><![CDATA[aspire1]]></category>

		<guid isPermaLink="false">http://blog.jolexa.net/?p=784</guid>
		<description><![CDATA[The problem: % dmesg &#124; grep -i micro Atom PSE erratum detected, BIOS microcode update recommended Atom PSE erratum detected, BIOS microcode update recommended microcode: CPU0 sig=0x106c2, pf=0x4, revision=0x208 microcode: CPU1 sig=0x106c2, pf=0x4, revision=0x208 microcode: Microcode Update Driver: v2.00 , Peter Oruba I found out that some recent kernel that I loaded at an unknown [...]]]></description>
			<content:encoded><![CDATA[<p>The problem:</p>
<pre>% dmesg | grep -i micro
Atom PSE erratum detected, BIOS microcode update recommended
Atom PSE erratum detected, BIOS microcode update recommended
microcode: CPU0 sig=0x106c2, pf=0x4, revision=0x208
microcode: CPU1 sig=0x106c2, pf=0x4, revision=0x208
microcode: Microcode Update Driver: v2.00 , Peter Oruba</pre>
<p>I found out that some recent kernel that I loaded at an unknown time, was able to point out that I had &#8216;old&#8217; microcode for my processor on my <a href="http://blog.jolexa.net/tag/aspire1/">Aspire1 ZG5</a>. I searched around for a BIOS upgrade, but since this is an older generation netbook, I quickly gave up when my searching yielded nothing useful. There is a userspace tool that you can use to &#8216;upgrade&#8217; the microcode provided by Intel on every boot. In Gentoo Linux, that is called <code>sys-apps/microcode-ctl</code>. Simply install that and enable the init script on boot.</p>
<p>The output after:</p>
<pre>% dmesg | grep -i micro
Atom PSE erratum detected, BIOS microcode update recommended
Atom PSE erratum detected, BIOS microcode update recommended
microcode: CPU0 sig=0x106c2, pf=0x4, revision=0x208
microcode: CPU1 sig=0x106c2, pf=0x4, revision=0x208
microcode: Microcode Update Driver: v2.00 , Peter Oruba
microcode: CPU0 updated to revision 0x218, date = 2009-04-10
microcode: CPU1 updated to revision 0x218, date = 2009-04-10</pre>
<p>References:</p>
<ul>
<li><a href="https://wiki.archlinux.org/index.php/Microcode">https://wiki.archlinux.org/index.php/Microcode</a></li>
<li><a href="http://blog.flameeyes.eu/2011/01/17/microupdates-for-microcodes">Flameeyes&#8217;s Weblog : Microupdates for microcodes</a></li>
</ul>
<p><em>Edit: Added a reference</em> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jolexa.net/2011/01/25/updating-intel-atom-processor-microcode/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Gentoo: A critical look at the QA process</title>
		<link>http://blog.jolexa.net/2010/12/29/gentoo-a-critical-look-at-the-qa-process/</link>
		<comments>http://blog.jolexa.net/2010/12/29/gentoo-a-critical-look-at-the-qa-process/#comments</comments>
		<pubDate>Wed, 29 Dec 2010 21:19:47 +0000</pubDate>
		<dc:creator>Jeremy Olexa</dc:creator>
				<category><![CDATA[gentoo]]></category>

		<guid isPermaLink="false">http://blog.jolexa.net/?p=760</guid>
		<description><![CDATA[This post will probably annoy some people, or bring bad &#8220;spotlight&#8221; to Gentoo Linux. I call it a case study, but it is just my opinions&#8230; The QA team has said that there is some sort of &#8220;policy&#8221; on masking packages that break reverse dependencies. I&#8217;ll subscribe that that policy for the sake of not [...]]]></description>
			<content:encoded><![CDATA[<p><em>This post will probably annoy some people, or bring bad &#8220;spotlight&#8221; to Gentoo Linux. I call it a case study, but it is just my opinions&#8230;</em></p>
<p>The QA team has said that there is some sort of &#8220;policy&#8221; on masking packages that break reverse dependencies. I&#8217;ll subscribe that that policy for the sake of not breaking users machines on purpose, however, let&#8217;s take a look at the current case study: <strong>poppler-0.16</strong></p>
<p>package.mask (in context, name removed because it isn&#8217;t needed):<br />
+# Masked because of ABI change, breaks<br />
+# depending packages. Keep masked until depended packages<br />
+# got fixed (adjusted dependency or fixing version bump).<br />
+# tracer bug 349918<br />
+=app-text/poppler-0.16.0</p>
<p>&#8230;and there was some discussion on IRC. The QA team (at least a few members) says that the <em>&#8220;tree is broken&#8221;</em> with poppler-0.16. At time of this writing, 7 packages were reported on the tracker bug and 2 were fixed already. So, it is my opinion that progress for Gentoo is hampered because of this masking. I&#8217;ll explain why but first the different theories to package testing that I have observed.</p>
<p><u>Theory 1:</u><br />
Run full arch for stability. The problem with this theory is that some group of people/machines need to test ~arch packages first and report issues, otherwise they will hit the stable users and the concept of the arch/~arch tree will break down. The advantage being less compilation in general, and the goal being stability or less breakage. I consider this theory for people that are new to Gentoo.</p>
<p><u>Theory 2:</u><br />
Run full ~arch to find interaction issues. This is a fine theory, but not for me. Even though I am a Gentoo dev, I don&#8217;t have copious amounts of free time to contribute how I want if I am running ~arch. It is my personal opinion that users should <strong>not</strong> run full ~arch if they do not want to be bothered contributing back to gentoo/upstream, via bug reports, patches, etc. The advantage here, is that full ~arch users/machines will be able to find issues with the package before it is deemed &#8220;stable&#8221; &#8211; in theory, finding issues fast and being fixed fast. The downside being more compilation, occasional breakage, and/or random mistakes (devs are human, after-all). The Gentoo Handbook <a href="http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&#038;chap=1#doc_chap5">says</a> that ~arch needs more testing and isn&#8217;t enabled by default. I&#8217;d consider this theory for power users. &#8220;I only want the latest packages&#8221; is no excuse for using this theory if you are going to complain about the above mentioned downsides.</p>
<p><u>Theory 3:</u><br />
Run mostly arch and a few ~arch packages. This is what most of my machines run. That is, arch (stable) system and ~arch for packages that I maintain (or help maintain). The advantage here is what I consider <em>real</em> integration testing. The theory is that everything in ~arch will become arch, at one point. These ~arch packages are coming in one-by-one, so it makes no sense to <em>only</em> test a full ~arch tree if the package will be entering the arch tree. This is what the arch team does when they mark packages stable. The downside being, more management, maybe some dependency issues if they aren&#8217;t stated properly, etc. I&#8217;d consider this theory for people that prefer stability but enjoy the latest packages for some apps.</p>
<p><em>I think it is valuable to have a user base that is doing all of those theories. &#8230;back to poppler.</em></p>
<p>As we have seen in the past, once a package is &#8220;masked for testing&#8221; &#8211; it may take years to lift that mask because no one actually tests it. And why should you? It is masked and therefore not even in the <em>testing</em> category (~arch)!! Bingo, the crux of this case study. Technically speaking, there is nothing wrong with poppler-0.16.0, it is perfectly fine to be in ~arch by its own criteria. On the other hand, it&#8217;s ABI change breaks packages that haven&#8217;t been fixed to work with the new ABI yet. By masking a package that changes ABI with a soname change, it could (and should, in my opinion) be considered slowing progress for Gentoo. It should <strong>not</strong> be considered that the &#8220;[whole] tree is broken&#8221; &#8211; these 7 packages may just be the tip of the iceberg in the breakage category, but we won&#8217;t know if it is masked and users are not contributing. Let&#8217;s remind ourselves that the arch tree is still functioning properly at this point and &#8220;stable&#8221; users won&#8217;t see any issues&#8230;now. For them, thankfully, the ~arch users (including devs) are contributing to Gentoo via bug reports &#038; patches. It should also be noted that nothing is being broke &#8220;on purpose&#8221; here, bugs are being filed and bugs are being fixed &#8211; this is the goal of a software project, right?</p>
<p>So, the way I see it, is a chain reaction.</p>
<ol>
<li>Package enters the tree that causes a slight nuisance. 7/14205 known packages affected or 0.04 % of the tree.</li>
<li>The QA team deems this problem package as too severe to allow in ~arch and masks it. (Personal opinion is the 0.04% of the tree is not a servere problem)</li>
<li>The maintainer of the problem package is trying to identify breakages by leaving it in ~arch (and relying on the power users)</li>
<li>Since the package is masked, the effects of this problem package will be prolonged because &#8220;no one&#8221; will be testing it in ~arch.</li>
<li>The 7 affected packages are fixed, the problem package is unmasked</li>
<li>A new set of affected packages are found</li>
<li>repeat above</li>
</ol>
<p>And now for some hard questions:</p>
<ul>
<li>How should Gentoo make it easier to add packages that break reverse dependencies if ~arch isn&#8217;t appropriate and nothing really happens when package.mask&#8217;d?</li>
<li>Is ~arch becoming a second stable tree and thus losing value in general?</li>
<li>Related, are overlays hurting Gentoo? The Xfce team subscribes to the theory that ~arch is <em>the</em> place to get useful testing feedback. The Xfce pre releases are in ~arch so the final release is ready for arch asap. This means that we have less work in the long run because we are maintaining less versions sooner and in better quality. The GNOME team subscribes to the theory that their overlay is for new releases and it takes longer to get packages in ~arch and thus longer to arch (my observation only, not official)</li>
<li>portage-2.2 has this cool &#8220;preserved-libs&#8221; feature that wouldn&#8217;t help compilation issues in this case but might help runtime issues by keeping the old lib(s) around. I like this feature but it is still masked for majority of the users, even though many devs are using it &#8211; is it time to release it to the world with all the <a href="http://bugs.gentoo.org/240323">bugs</a> it has?</li>
<li>Related, does masking a feature block contributors? I want to say yes simply due to exposure.</li>
</ul>
<p><em>Disclaimer: This was in NO WAY meant to be a personal attack against anyone. I can live with agreeing to disagree with people. But I can&#8217;t agree with not bringing something up because it is a controversial topic.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jolexa.net/2010/12/29/gentoo-a-critical-look-at-the-qa-process/feed/</wfw:commentRss>
		<slash:comments>40</slash:comments>
		</item>
		<item>
		<title>Gentoo: Xfce 4.8pre2 Released</title>
		<link>http://blog.jolexa.net/2010/12/06/gentoo-xfce-4-8pre2-released/</link>
		<comments>http://blog.jolexa.net/2010/12/06/gentoo-xfce-4-8pre2-released/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 15:51:22 +0000</pubDate>
		<dc:creator>Jeremy Olexa</dc:creator>
				<category><![CDATA[gentoo]]></category>
		<category><![CDATA[xfce]]></category>

		<guid isPermaLink="false">http://blog.jolexa.net/?p=752</guid>
		<description><![CDATA[Xfce-4.8pre2 was announced yesterday. Gentoo has it available already thanks to the work of Samuli (ssuominen). The pre1 version was available with 0day bumps too, that proved to have the normal beta release &#8220;issues&#8221;, there are many bugs fixed in pre2 (ChangeLog). I saw several Gentoo users participating on the Xfce bugtracker, thanks. If you [...]]]></description>
			<content:encoded><![CDATA[<p>Xfce-4.8pre2 was <a href="http://www.xfce.org/about/news?id=25">announced</a> yesterday. Gentoo has it available already thanks to the work of Samuli (ssuominen). The pre1 version was available with 0day bumps too, that proved to have the normal beta release &#8220;issues&#8221;, there are many bugs fixed in pre2 (<a href="http://www.xfce.org/documentation/changelogs/4.8pre2">ChangeLog</a>). I saw several Gentoo users participating on the Xfce bugtracker, thanks. If you are of the type to test and report bugs, feel free to upgrade to 4.8pre2 and help make 4.8 final a solid release by participating upstream (<a href="http://bugzilla.xfce.org/">bug tracker</a>).</p>
<p>The final 4.8 release is scheduled for January 16th, 2011. The Gentoo Xfce team will continue to bring you 0day bumps if possible. The 4.8 series will not hit the Gentoo stable tree until after the final release.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jolexa.net/2010/12/06/gentoo-xfce-4-8pre2-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

