<?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>mcBachmann.de TechBlog &#187; linux</title>
	<atom:link href="http://blog.mcbachmann.de/tag/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.mcbachmann.de</link>
	<description>Der Blog zur Website ;-)</description>
	<lastBuildDate>Wed, 11 Jan 2012 21:12:53 +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>Lucid Lynx Suspend Problems with Radeon Driver</title>
		<link>http://blog.mcbachmann.de/linux/lucid-lynx-suspend-problems-with-radeon-driver</link>
		<comments>http://blog.mcbachmann.de/linux/lucid-lynx-suspend-problems-with-radeon-driver#comments</comments>
		<pubDate>Tue, 06 Jul 2010 15:43:50 +0000</pubDate>
		<dc:creator>Sven Bachmann</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[KMS]]></category>
		<category><![CDATA[Radeon]]></category>
		<category><![CDATA[Suspend]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.mcbachmann.de/?p=513</guid>
		<description><![CDATA[Since updating to Lucid, a Dell Inspiron 1501 with an Radeon Xpress 200M video card had become problems after going into suspend mode. After waking up it was not possible to reactivate the screen. It stays black and the only possibility was to power off. But with the help of Google, I stumpled upon to [...]]]></description>
			<content:encoded><![CDATA[<p>Since updating to Lucid, a Dell Inspiron 1501 with an Radeon Xpress 200M video card had become problems after going into suspend mode. After waking up it was not possible to reactivate the screen. It stays black and the only possibility was to power off. <span id="more-513"></span></p>
<p>But with the help of Google, I stumpled upon to sites (<a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/509273">Launchpad</a> and <a href="http://www.archivum.info/ubuntu-bugs@lists.ubuntu.com/2010-04/09059/%28Bug-509273%29-Re-%28Lucid%29-Radeon-Xpress-200M-needs-PCI-quirk-to-fix-or-disable-MSI.html">ubuntu-bugs@lists.ubuntu.com</a>) which gave two kernel options:</p>
<ul>
<li>radeon.modeset=0</li>
<li>pci=nomsi</li>
</ul>
<p>This will disable the kernel mode settings and message signaled interrupts. Since that, the Dell correctly wakes up again.</p>
<p>To add this to your boot parameters, open the file <em>/etc/default/grub</em> and edit the following line as root:</p>
<blockquote><p><code>GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.modeset=0 pci=nomsi"</code></p></blockquote>
<p>Than run the grub update with this command (also as root): <strong>update-grub</strong> &#8211; and your done.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mcbachmann.de/linux/lucid-lynx-suspend-problems-with-radeon-driver/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Semaphoren-Beispiel</title>
		<link>http://blog.mcbachmann.de/linux/semaphoren-beispiel</link>
		<comments>http://blog.mcbachmann.de/linux/semaphoren-beispiel#comments</comments>
		<pubDate>Tue, 24 Mar 2009 15:51:29 +0000</pubDate>
		<dc:creator>Sven Bachmann</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[semaphore]]></category>

		<guid isPermaLink="false">http://blog.mcbachmann.de/?p=259</guid>
		<description><![CDATA[Um 2007 rum habe ich mal ein Beispielprogramm geschrieben das zeigt wie man benamte Semaphoren unter Linux nutzt. Dies habe ich nun wiedergefunden, den Code ein wenig überflogen, die GPLv2 Lizenz hinzugefügt und online gestellt: Benamte Semaphoren unter Linux. Kurze Erklärung zu Semaphoren: Semaphoren sind eine Möglichkeit parallele Zugriffe auf eine Resource (bzw. mehrere, aber [...]]]></description>
			<content:encoded><![CDATA[<p>Um 2007 rum habe ich mal ein Beispielprogramm geschrieben das zeigt wie man benamte Semaphoren unter Linux nutzt. Dies habe ich nun wiedergefunden, den Code ein wenig überflogen, die GPLv2 Lizenz hinzugefügt und online gestellt: <a href="http://mcbachmann.de/semaphore.html">Benamte Semaphoren unter Linux</a>. <span id="more-259"></span></p>
<p>Kurze Erklärung zu Semaphoren: Semaphoren sind eine Möglichkeit parallele Zugriffe auf eine Resource (bzw. mehrere, aber begrenzte Resourcen ähnlichen Typs) zu regeln. Zum Beispiel wenn man sicherstellen will, dass bei 2 parallelen Zuggleisen und 2 wartendenen Zügen nur ein Zug zur gleichen Zeit die Weiche benutzen darf.</p>
<p>Anderes Beispiel: Eine Firma hat 5 Drucker und 10 Leute drucken um 2min versetzt jeweils ein Dokument mit 250 Seiten. Die ersten 5 Leute bekommen jeweils ihren &#8220;eigenen&#8221; Drucker zugewiesen und die anderen 5 müssen eben warten &#8211; ohne eine Semaphoren-Technik würde es dazu führen das die Blätter von Nutzer 1 mit denen von Nutzer 6 gemischt aus dem Drucker kämen &#8211; ein Chaos <img src='http://blog.mcbachmann.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Semaphoren stellen also eine Art der Zugriffsregelung dar, und zwar immer dann wenn Vorgänge parallel auftreten können ohne das man vorher eine Möglichkeit hat sich abzustimmen.</p>
<p>Weitere Informationen hält <a href="http://de.wikipedia.org/wiki/Semaphor_(Informatik)">Wikipedia</a> bereit.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mcbachmann.de/linux/semaphoren-beispiel/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hardkill VIMs Indentation</title>
		<link>http://blog.mcbachmann.de/linux/hardkill-vims-indentation</link>
		<comments>http://blog.mcbachmann.de/linux/hardkill-vims-indentation#comments</comments>
		<pubDate>Tue, 02 Sep 2008 19:45:05 +0000</pubDate>
		<dc:creator>Sven Bachmann</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[indentation]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://blog.mcbachmann.de/?p=38</guid>
		<description><![CDATA[Hi there, I&#8217;m using the ftplugin to switch highlighting, indentation and some other filetype specific settings. Today I just wanted to get rid of the autoindentation feature for HTML files. Simply putting the following lines in the html specific file didn&#8217;t work, because VIM reset the &#8220;indentexpr&#8221; variable back to default: setlocal nocindent setlocal noautoindent [...]]]></description>
			<content:encoded><![CDATA[<p>Hi there,</p>
<p>I&#8217;m using the ftplugin to switch highlighting, indentation and some other filetype specific settings. Today I just wanted to get rid of the autoindentation feature for HTML files.</p>
<p>Simply putting the following lines in the html specific file didn&#8217;t work, because VIM reset the &#8220;indentexpr&#8221; variable back to default:</p>
<blockquote><p>setlocal nocindent<br />
setlocal noautoindent<br />
setlocal nosmartindent<br />
setlocal indentexpr=</p></blockquote>
<p>So I googled around and found some other lines:</p>
<blockquote><p>filetype indent off<br />
filetype plugin indent off </p></blockquote>
<p>After adding these also to the html-file it worked.</p>
<p>Bye<br />
  Sven</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mcbachmann.de/linux/hardkill-vims-indentation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Windows on a Linux Box</title>
		<link>http://blog.mcbachmann.de/linux/install-windows-on-a-linux-box</link>
		<comments>http://blog.mcbachmann.de/linux/install-windows-on-a-linux-box#comments</comments>
		<pubDate>Sun, 24 Aug 2008 12:21:57 +0000</pubDate>
		<dc:creator>Sven Bachmann</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[resize]]></category>

		<guid isPermaLink="false">http://blog.mcbachmann.de/?p=34</guid>
		<description><![CDATA[Hello, I didn&#8217;t thought it was so easy to install Windows on a pure Linux box. Just get something like the SystemRescueCD with gparted on it, resize Linux, leave some place for a boot partition (grub) and create a new partition for Windows. My layout looked like: 1GB grub + kernel 20GB Windows 130GB Linux [...]]]></description>
			<content:encoded><![CDATA[<p>Hello,</p>
<p>I didn&#8217;t thought it was so easy to install Windows on a pure Linux box. Just get something like the SystemRescueCD with gparted on it, resize Linux, leave some place for a boot partition (grub) and create a new partition for Windows.</p>
<p>My layout looked like:</p>
<p>1GB grub + kernel<br />
20GB Windows<br />
130GB Linux</p>
<p>Two problems occured during the flight&#8230; because I used gparted to format the Grub partition and the Windows partition.</p>
<p>The first problem (I think it wasn&#8217;t formatting-related) was that Windows misdetected the partition order. Installation went fine, but after rebooting the following error occured:</p>
<blockquote><p>hal.dll missing</p></blockquote>
<p>After correcting the partition in the boot.ini as suggested in http://www.informationsarchiv.net/forum/topic15028.html Windows booted. Editing was done with ntfs-3g and caused no problems.</p>
<p>The second problem came up after copying the kernel + grub into the new boot partition. Grub setup was successful, but after a reboot, grub stopped with:</p>
<blockquote><p>Error 2</p></blockquote>
<p>First thought was&#8230; 1GB is to big for some strange reason. But that wasn&#8217;t it. Later I found the answer here: http://www.fedoraforum.de/viewtopic.php?f=4&#038;t=15316<br />
Grub with a version 0.97 or smaller isn&#8217;t able to boot from an ext3 partition with an inode size of 256, which is the default from the SystemRescueCDs gparted.<br />
So I formatted it again with inode size 128, installed kernel + grub and it was done.</p>
<p>Bye<br />
  Sven</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mcbachmann.de/linux/install-windows-on-a-linux-box/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keine Perspektive für Vista?</title>
		<link>http://blog.mcbachmann.de/windows/keine-perspektive-fur-vista</link>
		<comments>http://blog.mcbachmann.de/windows/keine-perspektive-fur-vista#comments</comments>
		<pubDate>Fri, 27 Jun 2008 09:13:12 +0000</pubDate>
		<dc:creator>Sven Bachmann</dc:creator>
				<category><![CDATA[windows]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ms]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[xp]]></category>

		<guid isPermaLink="false">http://blog.mcbachmann.de/?p=32</guid>
		<description><![CDATA[Hallo, laut Wikipedia ist Vista spanisch/italienisch für: &#8220;Blick, Sicht, Perspektive&#8221;. Nun, so ganz allein durch den Namen verkauft sich ein neues Produkt eben doch nicht. Schon allein die Newsseite von heise online zeigt, dass Vista sich nicht so recht im geschäftlichen Umfeld durchsetzen kann: 27.06.2008 10:33 Kein Vista und Office 2007 bei Daimler 26.06.2008 11:29 [...]]]></description>
			<content:encoded><![CDATA[<p>Hallo,</p>
<p>laut <a href="http://de.wikipedia.org/wiki/Microsoft_Windows_Vista">Wikipedia</a> ist Vista spanisch/italienisch für: &#8220;Blick, Sicht, Perspektive&#8221;. Nun, so ganz allein durch den Namen verkauft sich ein neues Produkt eben doch nicht.</p>
<p>Schon allein die Newsseite von heise online zeigt, dass Vista sich nicht so recht im geschäftlichen Umfeld durchsetzen kann:</p>
<ul>
<li><a href="http://www.heise.de/newsticker/Kein-Vista-und-Office-2007-bei-Daimler--/meldung/110093">27.06.2008 10:33 Kein Vista und Office 2007 bei Daimler</a></li>
<li><a href="http://www.heise.de/newsticker/Intel-ruestet-nicht-auf-Windows-Vista-um--/meldung/110022/">26.06.2008 11:29 Intel rüstet nicht auf Windows Vista um</a></li>
<li><a href="http://www.heise.de/newsticker/Wortmann-haelt-an-Windows-XP-fest--/meldung/109886/">24.06.2008 11:11 Wortmann hält an Windows XP fest</a></li>
</ul>
<p>Da lässt sich nur erahnen, dass die <em>Dunkelziffer</em> der Firmen die damit nicht an die Presse gehen noch wesentlich höher ist. Aber die oben genannten vermitteln schon einen Eindruck der Verbreitung dieser Entscheidung, Windows XP weiterzuverwenden statt auf Vista zu setzen.</p>
<p>Sicherlich wird auch die ein oder andere Firma die Wartezeit auf <em>Windows 7</em> damit verbringen, verschiedene Linux Distributionen zu evaluieren. Durch das gesparte Geld für den Umstieg auf Vista (Lizenzgebühren, Schulungskosten, Testinstallationen, Anschaffung neuer Geräte) lässt sich sicher auch der ein oder andere lernwillige Mitarbeiter auf Lehrgänge schicken um festzustellen, dass neue Technologien schon jetzt in aktuellen Linuxdistributionen (auch im Enterprise Sektor) vorhanden sind und nur &#8220;Wissen&#8221; statt neuster Hardware und Lizenzen kosten.</p>
<p>Natürlich muss man auch sehen, dass es da kein SAP gratis dazugibt. Aber wenn man davon nicht gerade als Zulieferer abhängt sollte man sich fragen ob es wirklich nötig ist. Die Gebühren lassen sich sicher auch in ein hauseigenes Entwicklungsteam stecken, welches dann direkt auf die Bedürfnisse der Firma eingehen kann &#8211; ohne Aufpreis! (Dies ist nicht bloß eine theoretische Idee, sondern wird von einer Firma in der zwei Freunde arbeiten bereits sehr erfolgreich umgesetzt).</p>
<p>Für mich klingt daher die ganze Vista Geschichte eher nach der Story von Windows ME (Millennium Edition). Wenn es nicht auf einem PC vorinstalliert gewesen wäre, hätte ich es wahrscheinlich garnicht mitbekommen. Laut <a href="http://de.wikipedia.org/wiki/Microsoft_Windows_Millennium_Edition">Wikipedia</a>:</p>
<blockquote><p>Windows ME galt nach der Veröffentlichung als störanfällig und absturzgefährdet, was daran lag, dass während der Entwicklung das Treibermodell verworfen und geändert wurde und deshalb relativ wenige Treiber für ME verfügbar waren. Zudem war es auch extrem unausgereift (u. a. Systemwiederherstellung, USB-Massenspeichertreiber, einige Netzwerktreiber, Ruhezustand) und funktionierte erst mit den ersten Updates tadellos. Die PC-Welt verspottete den Namen als â€žRepair MEâ€œ. Windows ME kann bei sauberer Installation der Treiber und Pflege der Ausgangskonfiguration weniger Stabilitätsprobleme als Windows 95 und Windows 98/SE haben, reicht jedoch in keiner Weise an die Stabilität der NT-Serie heran.</p></blockquote>
<p>In diesem Sinne&#8230; Happy Coding Microsoft <img src='http://blog.mcbachmann.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><em>Nachtrag: Gerade noch via <a href="http://www.heise.de/newsticker/Bill-Gates-der-Programmierer--/meldung/110106">heise.de</a> auf einen <a href="http://blogs.siliconvalley.com/gmsv/2008/06/one-more-for-the-gates-legacy-book-there-are-work-arounds-use-those.html">interessanten Artikel (englisch)</a> über Bill Gates Programmierkünste gestossen &#8211; wenn das wahr ist, wen wundert dann noch was.</em></p>
<p>Tschau<br />
  Sven</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mcbachmann.de/windows/keine-perspektive-fur-vista/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

