<?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>DaDaDom und die Welt &#187; kernel</title>
	<atom:link href="http://dadadom.de/category/kernel/feed/" rel="self" type="application/rss+xml" />
	<link>http://dadadom.de</link>
	<description>Dominiks Gedanken, digitalisiert</description>
	<lastBuildDate>Thu, 02 Jun 2011 08:17:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Safe &#8216;n&#8217; Simple</title>
		<link>http://dadadom.de/2008/11/11/safe-n-simple/</link>
		<comments>http://dadadom.de/2008/11/11/safe-n-simple/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 07:00:24 +0000</pubDate>
		<dc:creator>dadadom</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.dadadom.de/?p=113</guid>
		<description><![CDATA[Security is hard Sicherheit ist nicht einfach. Dies gilt allgemein, aber auch und insbesondere für Linux-Systeme. Denn wenn man &#8211; wie man es machen sollte &#8211; die /tmp-Partition mit noexec einbindet, so kommt es des öfteren vor, dass aptitude bzw. apt-get Probleme haben, da auf /tmp Skripte ausgeführt werden sollen. Das hat mich bei der [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Security is hard</p></blockquote>
<p>Sicherheit ist nicht einfach. Dies gilt allgemein, aber auch und insbesondere für Linux-Systeme. Denn wenn man &#8211; wie man es machen sollte &#8211; die /tmp-Partition mit noexec einbindet, so kommt es des öfteren vor, dass aptitude bzw. apt-get Probleme haben, da auf /tmp Skripte ausgeführt werden sollen.</p>
<p>Das hat mich bei der Aktualisierung eben wieder angenervt, weswegen ich endlich mal nach einer Lösung gesucht habe. Gefunden habe ich http://www.debian-administration.org/articles/57 , hier ganz kurz die Punchline des Artikels:</p>
<blockquote><p>Add the following to the file <tt>/etc/apt/apt.conf</tt>:</p>
<pre>DPkg::Pre-Install-Pkgs {"mount -o remount,exec /tmp";};
DPkg::Post-Invoke {"mount -o remount /tmp";};</pre>
</blockquote>
<p>Ich hoffe, das funktioniert auch wirklich. Beim nächsten Update werde ich es erfahren.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://dadadom.de/2008/11/11/safe-n-simple/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://dadadom.de/2008/11/11/safe-n-simple/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora 7 and problems with the laptop fan</title>
		<link>http://dadadom.de/2007/05/29/fedora-7-and-problems-with-the-laptop-fan/</link>
		<comments>http://dadadom.de/2007/05/29/fedora-7-and-problems-with-the-laptop-fan/#comments</comments>
		<pubDate>Tue, 29 May 2007 17:45:00 +0000</pubDate>
		<dc:creator>dadadom</dc:creator>
				<category><![CDATA[acer]]></category>
		<category><![CDATA[acpi]]></category>
		<category><![CDATA[fan]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.dadadom.de/?p=53</guid>
		<description><![CDATA[Maybe this also concerns others, despite me.I have Fedora running on my Acer Laptop, which is a Travelmate 661 LCi (now running flawlessly for almost four years!). Since I upgraded to Fedora 7 with its Kernel 2.6.21 I had problems with the fan of the laptop: When it started spinning, the laptop froze. Under X, [...]]]></description>
			<content:encoded><![CDATA[<p>Maybe this also concerns others, despite me.<br />I have Fedora running on my Acer Laptop, which is a Travelmate 661 LCi (now running flawlessly for almost four years!). Since I upgraded to Fedora 7 with its Kernel 2.6.21 I had problems with the fan of the laptop: When it started spinning, the laptop froze. Under X, it froze the whole computer, the num lock led was blinking. When using the console solely, the computer just froze and sometimes threw some acpi error messages on the console.</p>
<p>Well, after a while I found out, that it is a regression in the Linux kernel, <a href="http://bugzilla.kernel.org/show_bug.cgi?id=8385">bug #8385 in kernel&#8217;s bugzilla</a>, to be more precise.</p>
<p>So, what to do about that? I want to use Fedora 7 and its kernels. Just patch them with the patch supplied in Comment #50 of the above mentioned bugzilla report. And for those new to building kernels, here is a short howto on how to do so (hence the name &#8220;howto&#8221;&#8230;)</p>
<ol>
<li>Install the fedora-devtools package: <span style="font-family:courier new;">yum install fedora-rpmdevtools unifdef</span></li>
<li><span style="font-family:courier new;"><span style="font-family:georgia;">Create your rpmbuild-directory: <span style="font-family:courier new;">fedora-buildrpmtree</span></span></span></li>
<li><span style="font-family:courier new;"><span style="font-family:georgia;"><span style="font-family:courier new;"><span style="font-family:georgia;"><span style="font-family:courier new;">cd ~/rpmbuild/SRPMS</span></span></span></span></span></li>
<li><span style="font-family:courier new;"><span style="font-family:georgia;"><span style="font-family:courier new;"><span style="font-family:georgia;"><span style="font-family:courier new;">wget http://download.fedora.redhat.com/pub/fedora/linux/updates/7/SRPMS/kernel-2.6.21-1.3228.fc7.src.rpm <span style="font-family:georgia;">(or whatever kernel you would like to install)</span></span></span></span></span></span></li>
<li><span style="font-family:courier new;">rpm -ivh ~/rpmbuild/SRPMS/</span><span style="font-family:courier new;"><span style="font-family:georgia;"><span style="font-family:courier new;"><span style="font-family:georgia;"><span style="font-family:courier new;">kernel-2.6.21-1.3228.fc7.src.rpm</span></span></span></span></span></li>
<li  style="font-family:georgia;"><span style="font-family:courier new;">cd ~/rpmbuild/SPECS; rpmbuild -bp kernel-2.6.spec</span></li>
<li  style="font-family:georgia;"><span style="font-family:courier new;">cd ~/rpmbuild/BUILD/kernel-2.6.21/linux-2.6.21.i386 ; vi Makefile</span> (your actual directory may differ)</li>
<li  style="font-family:georgia;">Change the string behing EXTRAVERSION to something sensible, let&#8217;s say <span style="font-family:courier new;">-own.kernel</span></li>
<li  style="font-family:georgia;">Download the patch:<br /><span style="font-family:courier new;">wget -O p1.patch &#8220;http://bugzilla.kernel.org/attachment.cgi?id=11684&#8243;<br /></span></li>
<li  style="font-family:georgia;"><span style="font-family:courier new;"><span style="font-family:georgia;">Apply the patch:<br /><span style="font-family:courier new;">patch -p1 < p1.patch<br /></span></span></span></li>
<li  style="font-family:georgia;"><span style="font-family:courier new;"><span style="font-family:georgia;"><span style="font-family:courier new;">make oldconfig <span style="font-family:georgia;">(we will not customize the kernel in any way, so no make menuconfig or similar done now)</span></span></span></span></li>
<li  style="font-family:georgia;"><span style="font-family:courier new;">make; su -c &#8220;make modules_install &&amp; make install&#8221;</span></li>
<li  style="font-family:georgia;"><span style="font-family:courier new;"><span style="font-family:georgia;"><span style="font-family:courier new;"><span style="font-family:georgia;"><span style="font-family:courier new;">reboot</span></span></span></span></span></li>
<li  style="font-family:georgia;"><span style="font-family:courier new;"><span style="font-family:georgia;"><span style="font-family:courier new;"><span style="font-family:georgia;"><span style="font-family:courier new;"><span style="font-family:georgia;">When rebooting make sure to chose the new kernel in grub. The default choice can be selected by editing /etc/grub.conf</span></span></span></span></span></span></li>
</ol>
<p>I hope, this mini-howto helps anyone out there to get Fedora 7 turned back into a usable system again.</p>
<p><span style="font-weight: bold;">Update: </span>edited to include the recent development / updates / better patches</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://dadadom.de/2007/05/29/fedora-7-and-problems-with-the-laptop-fan/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://dadadom.de/2007/05/29/fedora-7-and-problems-with-the-laptop-fan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

