<?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>ToraCat&#039;s Eye</title>
	<atom:link href="http://blog.toracat.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.toracat.org</link>
	<description>A view from a sleepy cat</description>
	<lastBuildDate>Sat, 28 Apr 2012 17:50:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Removing Suspend and Hibernate from the gnome menu on RHEL-6</title>
		<link>http://blog.toracat.org/2011/09/removing-suspend-and-hubernate-from-the-gnome-menu/</link>
		<comments>http://blog.toracat.org/2011/09/removing-suspend-and-hubernate-from-the-gnome-menu/#comments</comments>
		<pubDate>Sun, 18 Sep 2011 18:12:05 +0000</pubDate>
		<dc:creator>toracat</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[Scientific Linux]]></category>

		<guid isPermaLink="false">http://blog.toracat.org/?p=435</guid>
		<description><![CDATA[I wrote about how to get rid of the &#8220;Suspend&#8221; option from gnome&#8217;s system menu on RHEL/SL/CentOS-5 in my earlier blog. On RHEL-6, &#8220;Suspend&#8221; and &#8220;Hibernate&#8221; are now found under &#8220;Shutdown&#8221; in the &#8220;System&#8221; menu in gnome. To remove these options from the list of available actions, create a PolicyKit file named 10-disable-suspend-hibernate.pkla (for example) [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote about how to get rid of the &#8220;Suspend&#8221; option from gnome&#8217;s system menu on RHEL/SL/CentOS-5 in <a href="http://blog.toracat.org/2009/04/getting-rid-of-suspend-on-a-desktop-machine/" title="getting rid of Suspend">my earlier blog</a>.  On RHEL-6, &#8220;Suspend&#8221; and &#8220;Hibernate&#8221; are now found under &#8220;Shutdown&#8221; in the &#8220;System&#8221; menu in gnome.</p>
<p>To remove these options from the list of available actions, create a PolicyKit file named <strong>10-disable-suspend-hibernate.pkla</strong> (for example) with the following contents:</p>
<pre>[Disable suspend]
Identity=unix-group:*
Action=org.freedesktop.devicekit.power.suspend;org.freedesktop.devicekit.power.hibernate
ResultAny=no
ResultInactive=no
ResultActive=no
</pre>
<p>and save it in the <strong>/var/lib/polkit-1/localauthority/50-local.d</strong>  directory.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.toracat.org/2011/09/removing-suspend-and-hubernate-from-the-gnome-menu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>VMware Workstation and RHEL 6.1 and vmmon and trouble</title>
		<link>http://blog.toracat.org/2011/05/vmware-workstation-and-rhel6-1/</link>
		<comments>http://blog.toracat.org/2011/05/vmware-workstation-and-rhel6-1/#comments</comments>
		<pubDate>Sat, 28 May 2011 23:48:01 +0000</pubDate>
		<dc:creator>toracat</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[Scientific Linux]]></category>

		<guid isPermaLink="false">http://blog.toracat.org/?p=390</guid>
		<description><![CDATA[If you have VMware Workstation and are thinking of upgrading your OS to RHEL (or its clone) 6.1, be prepare to go through some extra steps. VMware WS and EL6.1 won&#8217;t work together. See, for example, this VMware community forum post: the vmmon.ko module won&#8217;t load. Technical details of this issue can be found in [...]]]></description>
			<content:encoded><![CDATA[<p>If you have VMware Workstation and are thinking of upgrading your OS to RHEL (or its clone) 6.1, be prepare to go through some extra steps. VMware WS and EL6.1 won&#8217;t work together. <img src='http://blog.toracat.org/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  See, for example, this <a href="http://communities.vmware.com/message/1758730">VMware community forum post</a>: the vmmon.ko module won&#8217;t load. Technical details of this issue can be found in this <a href="https://bugzilla.redhat.com/show_bug.cgi?id=706216">Red Hat bugzilla</a> entry. Apparently, a patch introduced in the EL 6.1 kernel (2.6.32-131.0.15.el6) changed the smp_ops symbol and that prevents the <strong>vmmon</strong> kernel module from loading.</p>
<p>In VMWare Workstation 7.1.4 build-385536, I see this info with the modinfo command:</p>
<pre>vermagic:       2.6.32-71.el6.x86_64 SMP mod_unload modversions</pre>
<p>A workaround is to compile the <strong>vmmon</strong> module on EL 6.1.<br />
Make sure you have kernel-devel installed that matches the running kernel.<br />
Start as a user (not root):</p>
<pre>
(1) mkdir ~/vmsrc ; cd ~/vmsrc
(2) tar xvf /usr/lib/vmware/modules/source/vmmon.tar
(3) cd vmmon-only
(4) make [<em>Note: this builds vmmon.ko</em>]
(5) strip --strip-debug vmmon.ko [<em>This is optional. Note the two dashes</em>]
(6) su -
(7) cd /lib/modules/`uname -r`/misc
(8) mv vmmon.o vmmon.o.dist [<em>Note: save the original just in case</em>]
(9) cp /(path to user's home)/vmsrc/vmmon-only/vmmon.ko vmmon.o
</pre>
<p>That should do it!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.toracat.org/2011/05/vmware-workstation-and-rhel6-1/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
		<item>
		<title>A Kernel Too Far</title>
		<link>http://blog.toracat.org/2011/03/a-kernel-too-far/</link>
		<comments>http://blog.toracat.org/2011/03/a-kernel-too-far/#comments</comments>
		<pubDate>Sat, 12 Mar 2011 22:32:05 +0000</pubDate>
		<dc:creator>toracat</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[Scientific Linux]]></category>

		<guid isPermaLink="false">http://blog.toracat.org/?p=363</guid>
		<description><![CDATA[The ELRepo Project offers the stable mainline kernel built for RHEL/SL/CentOS 5. It is named kernel-ml. I must emphasize that these kernels are not meant for production use but rather for hardware testing. There are two versions currently being maintained: the long-term kernel 2.6.35 and the latest stable line (2.6.37 as of this writing). Is [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://elrepo.org/">ELRepo Project</a> offers the stable mainline kernel built for RHEL/SL/CentOS 5. It is named <a href="http://elrepo.org/tiki/tiki-index.php?page=kernel-ml"><strong>kernel-ml</strong></a>. I must emphasize that these kernels are not meant for production use but rather for hardware testing.</p>
<p>There are two versions currently being maintained: the long-term kernel 2.6.35 and the latest stable line (2.6.37 as of this writing). Is the newer version better? Not really so. The first alarming sign came from <a href="http://dag.wieers.com/blog/"><strong>Dag</strong></a> and the maintainer of kernel-ml, <a href="http://www.centos.org/userinfo.php?uid=25484/"><strong>Alan</strong></a>. The Gnome power management did not operate correctly for their laptops with kernel-ml-2.6.36.</p>
<p><strong>Alan</strong> recently noted that, the further away the LKA (Linux kernel archive) kernel becomes from the 2.6.18 kernel (which is the basis of EL5), the less likely a stable LKA kernel will be usable. In fact, on certain hardware, kernel-ml 2.6.35 runs fine whereas 2.6.37 does not [1,2].</p>
<p>Quoting <a href="https://www.centos.org/userinfo.php?uid=6212"><strong>Phil</strong></a>, &#8220;I see more &#8220;value&#8221; in the kernel-ml-2.6.35 offering. I agree that sooner or later you are likely to hit a point of diminishing returns, and perhaps you&#8217;ve already reached that point with the current kernel-ml-2.6.37.&#8221;</p>
<p>So, is this <em>kernel too far</em> ?</p>
<p>[1] <a href="http://lists.elrepo.org/pipermail/elrepo/2011-February/000473.html">http://lists.elrepo.org/pipermail/elrepo/2011-February/000473.html</a><br />
[2] <a href="http://lists.elrepo.org/pipermail/elrepo/2011-March/000542.html">http://lists.elrepo.org/pipermail/elrepo/2011-March/000542.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.toracat.org/2011/03/a-kernel-too-far/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>gnome login shows all valid user accounts &#8212; disable it</title>
		<link>http://blog.toracat.org/2011/01/gnome-login-shows-all-valid-user-accounts-disable-it/</link>
		<comments>http://blog.toracat.org/2011/01/gnome-login-shows-all-valid-user-accounts-disable-it/#comments</comments>
		<pubDate>Sun, 02 Jan 2011 08:45:38 +0000</pubDate>
		<dc:creator>toracat</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[Scientific Linux]]></category>

		<guid isPermaLink="false">http://blog.toracat.org/?p=340</guid>
		<description><![CDATA[In RHEL-6, the gnome login screen displays all user accounts. Apparently this behavior of the gdm greeter was inherited from Fedora. This may not be a problem with personal desktops/laptops but, in an enterprise class Linux like RHEL, it could constitute a security vulnerability. I saw complaints from users as early as in Fedora 9. [...]]]></description>
			<content:encoded><![CDATA[<p>In RHEL-6, the gnome login screen displays all user accounts. Apparently this behavior of the gdm greeter was inherited from Fedora.  This may not be a problem with personal desktops/laptops but, in an enterprise class Linux like RHEL, it could constitute a security vulnerability. I saw complaints from users as early as in Fedora 9.  <strong>Alan</strong> has filed a <a href="https://bugzilla.redhat.com/show_bug.cgi?id=666220">bugzila against RHEL-6</a>.</p>
<p>It is <em>possible</em> to disable it. Problem is &#8230; it is <em>not easy</em> to do it. The following command (one-liner) will disable the gdm greeter&#8217;s listing of users:</p>
<pre>
sudo -u gdm gconftool-2 --type bool --set /apps/gdm/simple-greeter \\
/disable_user_list true
</pre>
<p>By the way, you can see the set value by:</p>
<pre>sudo -u gdm gconftool-2 --get /apps/gdm/simple-greeter/disable_user_list
</pre>
<p>Note that the command was run as <strong>gdm</strong>. Running the same gconftool-2 command as root would not work.  Alternatively, you can modify the systemwide configuration. It will be just easy if you manually edit the file <code>/etc/gconf/gconf.xml.defaults/%gconf-tree.xml</code> and change the boolean for <strong>disable_user_list</strong> from false to <strong>true</strong>. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.toracat.org/2011/01/gnome-login-shows-all-valid-user-accounts-disable-it/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Hardware virtualization supported but no vmx or svm flag?</title>
		<link>http://blog.toracat.org/2010/12/hardware-virtualization-supported-but-no-vmx-or-svm-flag/</link>
		<comments>http://blog.toracat.org/2010/12/hardware-virtualization-supported-but-no-vmx-or-svm-flag/#comments</comments>
		<pubDate>Thu, 23 Dec 2010 18:12:31 +0000</pubDate>
		<dc:creator>toracat</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[RHEL]]></category>

		<guid isPermaLink="false">http://blog.toracat.org/?p=325</guid>
		<description><![CDATA[One common method to verify that the system has the hardware virtualization extentions (Intel VT or AMD-V) required for full virtualization is to look into /proc/cpuinfo like: egrep '(vmx&#124;svm)' --color=always /proc/cpuinfo There was an intriguing post by pjwelsh in the CentOS forums . Apparently he has a VT-capable CPU but it did not show up [...]]]></description>
			<content:encoded><![CDATA[<p>One common method to verify that the system has the hardware virtualization extentions (Intel VT or AMD-V) required for full virtualization is to look into /proc/cpuinfo like:</p>
<p><code>egrep '(vmx|svm)' --color=always /proc/cpuinfo<br />
</code><br />
There was an <a href="https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&#038;topic_id=28270&#038;forum=39">intriguing post</a> by <strong>pjwelsh</strong> in the CentOS forums . Apparently he has a VT-capable CPU but it did not show up in /proc/cpuinfo. When he tried Fedora, it was there.</p>
<p>When someone as knowledgeable as <strong>pjwelsh</strong> reports an issue, it really needs attention but the thread did not yield any answer.</p>
<p>Then more recently, a <a href="https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&#038;topic_id=29422&#038;forum=39">post</a> that seemingly reports the same problem appeared in the Forums. It was time to do more investigation.</p>
<p>Turns out it was a known issue and there was an entry in the Red Hat <a href="https://bugzilla.redhat.com/show_bug.cgi?id=624365">bugzilla</a> explaining how that happened. </p>
<blockquote><p>As work for 5.5 we masked out a bunch more cpuid flags, one of which was vmxe. This has caused some confusion since many people are used to looking in /proc/cpuinfo for vmx in order to detect if the hardware is capable of virtualization. To avoid the confusion, we&#8217;ll bring it back. It does, however, open a door for a guest admin to shoot themselves in the foot (i.e. attempt to load the KVM module on a Xen guest, which will crash the guest). The svm flag for AMD machines is also brought back.</p></blockquote>
<p>Hmmm, seems <em>over-cleaning</em> to me. The fix was applied as of kernel-2.6.18-194.17.1.el5.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.toracat.org/2010/12/hardware-virtualization-supported-but-no-vmx-or-svm-flag/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SELinux and FreeNX</title>
		<link>http://blog.toracat.org/2010/12/selinux-and-freenx/</link>
		<comments>http://blog.toracat.org/2010/12/selinux-and-freenx/#comments</comments>
		<pubDate>Sat, 11 Dec 2010 21:15:07 +0000</pubDate>
		<dc:creator>toracat</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[Scientific Linux]]></category>

		<guid isPermaLink="false">http://blog.toracat.org/?p=301</guid>
		<description><![CDATA[[Note added in August 2011: Be sure to read the comment by Dan Walsh. There is a simpler solution] When you attempt to connect to a remote machine using freenx, you might encounter this message: The NX service is not available or the NX access was disabled on host XXX. This is likely due to [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #993300;">[Note added in August 2011: Be sure to read the comment by Dan Walsh. There is a simpler solution]</span></p>
<p>When you attempt to connect to a remote machine using freenx, you might encounter this message:<br />
<code><br />
The NX service is not available or the NX access was disabled on host XXX.<br />
</code><br />
This is likely due to SELinux blocking the connection. If you are using QtNX, it just hangs without any message.  Here is how to solve the issue.</p>
<p>(1) Disable auditd.</p>
<p><code>service auditd stop</code></p>
<p>(2) Rename /var/log/audit/audit.log or move it somewhere else.</p>
<p>(3) Enable auditd</p>
<p><code>service auditd start</code></p>
<p>(4) Try connection from the client. It will fail. This writes the audit.log file.</p>
<p>(5) Generate SELinux policy rules from the log file and install it.</p>
<p><code>cat /var/log/audit/audit.log | audit2allow -M freenx</code><br />
<code>semodule -i freenx.pp</code></p>
<p>(6) You can see the policy by reading the .te file.</p>
<p><code>cat freenx.te</code></p>
<pre>module freenx 1.0;

require {
type nx_server_var_lib_t;
type sshd_t;
class file read;
}

#============= sshd_t ==============
allow sshd_t nx_server_var_lib_t:file read;</pre>
<p>(7) Now, try connecting from the client again. It will fail again. Repeat the steps (1) to (5) using &#8216;freenx2&#8242; instead of &#8216;freenx&#8217;.</p>
<p>(8) You will most likely need to repeat the process yet one more time until the connection finally succeeds. So, once again repeat the steps (1) to (5) but this time using &#8216;freenx3&#8242; instead of &#8216;freenx&#8217;.</p>
<p>If you look at the policy files generated, you will find what was added by each action.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.toracat.org/2010/12/selinux-and-freenx/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Search is ON &#8212; An update</title>
		<link>http://blog.toracat.org/2010/05/search-is-on-an-update/</link>
		<comments>http://blog.toracat.org/2010/05/search-is-on-an-update/#comments</comments>
		<pubDate>Mon, 31 May 2010 00:07:55 +0000</pubDate>
		<dc:creator>toracat</dc:creator>
				<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://blog.toracat.org/?p=271</guid>
		<description><![CDATA[I talked about getting help for CentOS in February 2009 and presented some Google search results comparing the number of hits between the mailing lists and the forums. That was 15 months ago and I thought I should update the results.  Exactly the same search was performed yesterday (May 29, 2010). Search term  M/L Forums [...]]]></description>
			<content:encoded><![CDATA[<p>I talked about <a title="Search is ON" href="http://blog.toracat.org/2009/02/search-is-on-getting-help-for-centos/" target="_blank">getting help for CentOS</a> in February 2009 and presented some Google search results comparing the number of hits between the mailing lists and the forums.  That was 15 months ago and I thought I should update the results.  Exactly the same search was performed yesterday (May 29, 2010).</p>
<p><code><br />
Search term  M/L   Forums<br />
============  === ======<br />
install                               0            25<br />
installation         0             7<br />
kernel                      0          23<br />
driver(s)                0           22<br />
DNS                           3          37<br />
postfix                 19           24<br />
sendmail               5          30<br />
selinux                   0          23<br />
apache                   0          23<br />
httpd                         0          40<br />
xen                            3         33<br />
kickstart               5         25<br />
crash                       2          21<br />
panic                       2          27<br />
</code></p>
<p>Google&#8217;s tendency to pick up forum posts rather than mailing list posts is much more obvious now than it was last year.  It looks as if Google is fond of the forums better than the mailing lists <img src='http://blog.toracat.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' />  Or is it simply because there are more posts in the forums?</p>
<p>Regardless of the reason, what this means is that it is important to keep the quality of the forum contents high.  I would say that the current status is quite good; there are a number of forum regulars providing help.  Inappropriate replies, if they appear, get corrected by senior members.  Still, the forums can use more helping hands.  Why don&#8217;t you join in and make this CentOS help venue even better?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.toracat.org/2010/05/search-is-on-an-update/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Want a custom kernel on CentOS? NOooooo! (really?)</title>
		<link>http://blog.toracat.org/2010/03/want-a-custom-kernel-on-centos-noooooo-really/</link>
		<comments>http://blog.toracat.org/2010/03/want-a-custom-kernel-on-centos-noooooo-really/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 21:40:33 +0000</pubDate>
		<dc:creator>toracat</dc:creator>
				<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://blog.toracat.org/?p=252</guid>
		<description><![CDATA[If you visit the Custom kernel article on the CentOS wiki, you will see lots of warnings including the fact custom kernels are not supported by CentOS. If in doubt, just mention &#8220;custom&#8230;&#8221; in the centos IRC channel, you would be told to go away (if you are lucky enough to not get banned ). [...]]]></description>
			<content:encoded><![CDATA[<p>If you visit the <a href="http://wiki.centos.org/HowTos/Custom_Kernel">Custom kernel article</a> on the CentOS wiki, you will see lots of warnings including the fact custom kernels are not supported by CentOS. If in doubt, just mention &#8220;custom&#8230;&#8221; in the centos IRC channel, you would be told to go away (if you are lucky enough to not get banned <img src='http://blog.toracat.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> ).</p>
<p>In the CentOS forums, things are a little more relaxed. After usual warnings, you will receive some (or even extensive) help. As someone put it in a recent post, &#8220;&#8230; but there are *some* situations, where it [custom kernel] is desirable (usage on notebooks with HW that&#8217;s not supported by native kernels &#8211; which is e.g. my case or curious minds of young and restless geeks etc. )&#8221;.</p>
<p>I am far from &#8216;young and restless&#8217; and I am not a geek. However, I did compile the latest mainline kernel &#8212; in an attempt to help those encountering trouble with installing newer kernels. The error was &#8220;mount: could not find filesystem&#8221;. I could reproduce it on my CentOS system.</p>
<p>As always, Alan and Ned engaged their brains and we tried several things to find a solution.  We were getting nowhere when <strong>vanecka</strong> posted a fix in <a href="http://www.centos.org/modules/newbb/viewtopic.php?topic_id=23627&amp;forum=37">this forum thread</a>.</p>
<blockquote><p>Fix:<br />
Enable CONFIG_SYSFS_DEPRECATED_V2 in the kernel source configuration.<br />
If you run &#8220;make menuconfig&#8221;, browse to:<br />
General Setup &#8212;&gt; enable deprecated sysfs features which may confuse old usersp, and enable this option.<br />
&#8212;OR&#8212;<br />
Edit your .config file with a text editor and add/modify entry:<br />
CONFIG_SYSFS_DEPRECATED_V2=y</p></blockquote>
<p>Genius!  If you are interested in learning more details about this option, head for <a href="http://cateee.net/lkddb/web-lkddb/SYSFS_DEPRECATED_V2.html">this web page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.toracat.org/2010/03/want-a-custom-kernel-on-centos-noooooo-really/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>CentOSPlus kernel and VMware Workstation6.5/Server 2.0.x</title>
		<link>http://blog.toracat.org/2010/01/centosplus-kernel-and-vmware-workstation6-5server-2-0-x/</link>
		<comments>http://blog.toracat.org/2010/01/centosplus-kernel-and-vmware-workstation6-5server-2-0-x/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 21:43:15 +0000</pubDate>
		<dc:creator>toracat</dc:creator>
				<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://blog.toracat.org/?p=239</guid>
		<description><![CDATA[CentOS aims at being 100% binary compatible with the upstream vendor (including bugs). To accommodate users needs, the CentOS team offers the centosplus kernel which includes features that are not in the distro kernel. It has a number of options (mostly device drivers) enabled and also has patches that correct known issues. Recently, it was [...]]]></description>
			<content:encoded><![CDATA[<p>CentOS aims at being 100% binary compatible with the upstream vendor (including bugs).  To accommodate users needs, the CentOS team offers the <strong>centosplus</strong> kernel which includes features that are not in the distro kernel. It has a number of options (mostly device drivers) enabled and also has patches that correct known issues.</p>
<p>Recently, it was reported that the centosplus kernel had a problem with certain versions of VMware products as seen in <a href="http://www.centos.org/modules/newbb/viewtopic.php?topic_id=23040&#038;forum=37">this CentOS forum thread.</a></p>
<p>Specifically, building the <strong>vmnet</strong> module on a host fails with the error:<br />
<code><br />
/tmp/vmware-config2/vmnet-only/compat_netdevice.h:273: error: redefinition of ‘struct napi_struct’<br />
</code><br />
Apparently, somewhere in the kernel source that was added in the centosplus kernel, there is that definition and it is conflicting with the VMware code.</p>
<p>It turned out that the problem exists in the VM guest as well: building of the <strong>vmxnet</strong> modules fails with the same error.  The fix, in both cases, is to untar:</p>
<p>/usr/lib/vmware/modules/source/vmnet.tar (<em>host</em>)<br />
/usr/lib/vmware-tools/modules/source/vmxnet.tar (<em>guest</em>)</p>
<p>and comment out the following block in compat_netdevice.h:</p>
<pre>
struct napi_struct {
    int dummy;
 };
</pre>
<p>More details can be found in <a href="http://bugs.centos.org/view.php?id=3977">the CentOS bug tracker</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.toracat.org/2010/01/centosplus-kernel-and-vmware-workstation6-5server-2-0-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Go green with newer AMD processors</title>
		<link>http://blog.toracat.org/2009/08/go-green-with-newer-amd-processors/</link>
		<comments>http://blog.toracat.org/2009/08/go-green-with-newer-amd-processors/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 21:31:46 +0000</pubDate>
		<dc:creator>toracat</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[RHEL]]></category>

		<guid isPermaLink="false">http://blog.toracat.org/?p=214</guid>
		<description><![CDATA[Not long ago, Steve, one of the founders of the ELRepo project, built new systems with the AMD II X4 Phenom processor. After hearing his positive comments, I replaced my old desktop with a new one equipped with a Phenom cpu. Steve soon noticed that the machine consumed more power when it was running CentOS [...]]]></description>
			<content:encoded><![CDATA[<p>Not long ago, Steve, one of the founders of the <a href="http://elrepo.org">ELRepo</a> project, built new systems with the AMD II X4 Phenom processor.  After hearing his positive comments, I replaced my old desktop with a new one equipped with a Phenom cpu. </p>
<p>Steve soon noticed that the machine consumed more power when it was running CentOS compared to when running Fedora.  Turns out that, in CentOS, there is no per-core control &#8212; meaning when the system needs a higher processor power, <strong>all</strong> cores will shoot up to the maximum frequency.  In Fedora, each core gets attenuated independently.</p>
<p>This issue was noted by a CentOS forum user, AlexAT, <a href="https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&#038;topic_id=20126&#038;forum=39">here</a>.  He not only reported it in the <a href="https://bugzilla.redhat.com/show_bug.cgi?id=502397">upstream bugzilla</a> but came up with a <a href="https://bugzilla.redhat.com/attachment.cgi?id=345559">fix</a> later.</p>
<p>Using the patch provided by AlexAT, we built a kernel module <a href="http://elrepo.org/tiki/kmod-powernow-k8">kmod-powernow-k8</a> and released it through ELRepo.  After installing kmod-powernow-k8, Steve saw that the system was now measured drawing ~110W at idle from the wall outlet, similar to the power consumption observed under Fedora 10 and under CentOS 4.7.   So without kmod-powernow-k8 installed, the system was consuming <strong>~40W (36%) more power</strong> at idle and the core temperature was running <strong>8-10°C hotter</strong> than with kmod-powernow-k8 installed, making this a very <strong>environmentally friendly kmod</strong>.</p>
<p>So, if you have newer Opterons, the Phenoms or Phenoms II (or Kuma core Athlons X2), you should give this driver a try.  Also, you would want a backported AMD K10 core temperature monitor driver module (<a href="http://elrepo.org/tiki/kmod-k10temp">kmod-k10temp</a>) from ELRepo.</p>
<p>Let&#8217;s go green!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.toracat.org/2009/08/go-green-with-newer-amd-processors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

