<?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>SysAdmin Adventures &#187; Linux</title>
	<atom:link href="http://blog.tpa.me.uk/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tpa.me.uk</link>
	<description>Tech notes from a Systems Administrator</description>
	<lastBuildDate>Mon, 31 Oct 2011 11:09:09 +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>Slackware 13.37 Released</title>
		<link>http://blog.tpa.me.uk/2011/04/28/slackware-13-37-released/</link>
		<comments>http://blog.tpa.me.uk/2011/04/28/slackware-13-37-released/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 09:49:26 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Slackware]]></category>
		<category><![CDATA[13.37]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[slackware64]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=425</guid>
		<description><![CDATA[Slackware-13.37 (and Slackware64-13.37) has been released today and I must say I&#8217;m extremely happy with it. I previously posted that I thought 13.1 was rushed, and it was, but this release is the polar opposite. Slackware-13.37 has been in beta for nearly two months and has been getting bugfixes, small updates and tweaks that whole [...]]]></description>
			<content:encoded><![CDATA[<p>Slackware-13.37 (and Slackware64-13.37) has been released today and I must say I&#8217;m extremely happy with it. I previously posted that I thought 13.1 was rushed, and it was, but this release is the polar opposite. Slackware-13.37 has been in beta for nearly two months and has been getting bugfixes, small updates and tweaks that whole time. I&#8217;m confident that this is quite simply the best version of Slackware ever to get through the stable door.</p>
<p>I want to personally extend my thanks to the whole Slackware team for their constant efforts to make the core of my infrastructure (and yours too) as good as it can be.</p>
<p>Want a copy now? Right now? Ok. Here&#8217;s the official torrents <img src='http://blog.tpa.me.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Torrents for Slackware 13.37, 32-bit x86</strong></p>
<ul>
<li><a href="http://trackers.transamrit.net:8082/torrents/slackware-13.37-install-d1.torrent?info_hash=393d25696bce606fc0f83b29834e6718aa9cee0a" onclick="pageTracker._trackPageview('/outgoing/trackers.transamrit.net_8082/torrents/slackware-13.37-install-d1.torrent?info_hash=393d25696bce606fc0f83b29834e6718aa9cee0a&amp;referer=');">Install ISO disc 1 (A/AP/D/E/L/N, bootable installer, kernels, testing/, Slackbook)</a></li>
<li><a href="http://trackers.transamrit.net:8082/torrents/slackware-13.37-install-d2.torrent?info_hash=b2056ddb2efe4e7c62cddf23a0879dd713e20dbe" onclick="pageTracker._trackPageview('/outgoing/trackers.transamrit.net_8082/torrents/slackware-13.37-install-d2.torrent?info_hash=b2056ddb2efe4e7c62cddf23a0879dd713e20dbe&amp;referer=');">Install ISO disc 2 (F/K/T/TCL/X/XAP/Y, L source, /testing kernel source)</a></li>
<li><a href="http://trackers.transamrit.net:8082/torrents/slackware-13.37-install-d3.torrent?info_hash=0bad3a7bdca7d0c1f2cce13f36bbd15a81ed5ebe" onclick="pageTracker._trackPageview('/outgoing/trackers.transamrit.net_8082/torrents/slackware-13.37-install-d3.torrent?info_hash=0bad3a7bdca7d0c1f2cce13f36bbd15a81ed5ebe&amp;referer=');">Install ISO disc 3 (KDE, A/AP/E/F/installer source)</a></li>
<li><a href="http://trackers.transamrit.net:8082/torrents/slackware-13.37-install-d4.torrent?info_hash=c9a737a62ba165be4b0e1297e5bff91ea093187e" onclick="pageTracker._trackPageview('/outgoing/trackers.transamrit.net_8082/torrents/slackware-13.37-install-d4.torrent?info_hash=c9a737a62ba165be4b0e1297e5bff91ea093187e&amp;referer=');">Install ISO disc 4 (KDEI, /extra packages, source for D)</a></li>
<li><a href="http://trackers.transamrit.net:8082/torrents/slackware-13.37-source-d5.torrent?info_hash=f2542fd2c5136d378f061ee2063bd0b9989322be" onclick="pageTracker._trackPageview('/outgoing/trackers.transamrit.net_8082/torrents/slackware-13.37-source-d5.torrent?info_hash=f2542fd2c5136d378f061ee2063bd0b9989322be&amp;referer=');">Source ISO disc 5 (KDE/XAP source)</a></li>
<li><a href="http://trackers.transamrit.net:8082/torrents/slackware-13.37-source-d6.torrent?info_hash=c8dacb33528018f6d708b8440357f1a83edf67fc" onclick="pageTracker._trackPageview('/outgoing/trackers.transamrit.net_8082/torrents/slackware-13.37-source-d6.torrent?info_hash=c8dacb33528018f6d708b8440357f1a83edf67fc&amp;referer=');">Source ISO disc 6 (/pasture packages, K/N/T/TCL/X/Y source, USB and PXE installers)</a></li>
</ul>
<ul>
<li><a href="http://trackers.transamrit.net:8082/torrents/slackware-13.37-install-dvd.torrent?info_hash=b9a980044849b4bfe4c270e7eb81b1e28759fb99" onclick="pageTracker._trackPageview('/outgoing/trackers.transamrit.net_8082/torrents/slackware-13.37-install-dvd.torrent?info_hash=b9a980044849b4bfe4c270e7eb81b1e28759fb99&amp;referer=');"><strong>Slackware 13.37 x86 DVD ISO (everything)</strong></a></li>
</ul>
<p><strong>Torrent for Slackware 13.37, 64-bit x86_64</strong></p>
<ul>
<li><a href="http://trackers.transamrit.net:8082/torrents/slackware64-13.37-install-dvd.torrent?info_hash=03b5b4ad2c3c37c1025ffae38d0f8c575bbe8d23" onclick="pageTracker._trackPageview('/outgoing/trackers.transamrit.net_8082/torrents/slackware64-13.37-install-dvd.torrent?info_hash=03b5b4ad2c3c37c1025ffae38d0f8c575bbe8d23&amp;referer=');"><strong>Slackware 13.37 x86_64 DVD ISO (everything)</strong></a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2011/04/28/slackware-13-37-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Slackware 13.37 &#8211; Xorg + Hal</title>
		<link>http://blog.tpa.me.uk/2011/03/29/slackware-13-37-xorg-hal/</link>
		<comments>http://blog.tpa.me.uk/2011/03/29/slackware-13-37-xorg-hal/#comments</comments>
		<pubDate>Tue, 29 Mar 2011 12:17:11 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Slackware]]></category>
		<category><![CDATA[13.37]]></category>
		<category><![CDATA[hal]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[udev]]></category>
		<category><![CDATA[Xorg]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=418</guid>
		<description><![CDATA[The divorce was a long time coming. The papers are finally signed. Xorg has dumped hal and eloped with udev. Keyboard layout modifications are back to (almost) normal &#8211; but instead of using /etc/X11/xorg.conf, we&#8217;re now using /etc/X11/xorg.conf.d/90-keyboard-layout.conf. To change your keyboard layout from US to GB (for example): # cp /{usr/share,etc}/X11/xorg.conf.d/90-keyboard-layout.conf # vi /etc/X11/xorg.conf.d/90-keyboard-layout.conf [...]]]></description>
			<content:encoded><![CDATA[<p>The divorce was a long time coming. The papers are finally signed. Xorg has dumped hal and eloped with udev.</p>
<p>Keyboard layout modifications are back to (almost) normal &#8211; but instead of using /etc/X11/xorg.conf, we&#8217;re now using /etc/X11/xorg.conf.d/90-keyboard-layout.conf.</p>
<p>To change your keyboard layout from US to GB (for example):</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># cp /{usr/share,etc}/X11/xorg.conf.d/90-keyboard-layout.conf</span><br />
<span style="color: #666666; font-style: italic;"># vi /etc/X11/xorg.conf.d/90-keyboard-layout.conf</span></div></div>
<p>Modify the file to replace:</p>
<blockquote><p>
        Option &#8220;XkbLayout&#8221; &#8220;us&#8221;
</p></blockquote>
<p>With:</p>
<blockquote><p>
        Option &#8220;XkbLayout&#8221; &#8220;gb&#8221;
</p></blockquote>
<p>.. just as you would have done a few years ago with xorg.conf.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2011/03/29/slackware-13-37-xorg-hal/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Upgrading Slackware64-current with multilib</title>
		<link>http://blog.tpa.me.uk/2011/03/12/upgrading-slackware64-current-with-multilib/</link>
		<comments>http://blog.tpa.me.uk/2011/03/12/upgrading-slackware64-current-with-multilib/#comments</comments>
		<pubDate>Sat, 12 Mar 2011 15:19:01 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Slackware]]></category>
		<category><![CDATA[-current]]></category>
		<category><![CDATA[13.37]]></category>
		<category><![CDATA[multilib]]></category>
		<category><![CDATA[slackware64]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=412</guid>
		<description><![CDATA[In order to upgrade your multilib Slackware64-current box to a more recent -current (or perhaps 13.37): Make sure you have a copy of the version you want to upgrade to available. Make sure your slackpkg config points to it mkdir -p /mirror/slackware cd !$ lftp -c &#34;open http://connie.slackware.com/~alien/; mirror multilib&#34; slackpkg update slackpkg install-new slackpkg [...]]]></description>
			<content:encoded><![CDATA[<p>In order to upgrade your multilib Slackware64-current box to a more recent -current (or perhaps 13.37):</p>
<ol>
<li>Make sure you have a copy of the version you want to upgrade to available.</li>
<li>Make sure your slackpkg config points to it</li>
</ol>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #000000; font-weight: bold;">/</span>mirror<span style="color: #000000; font-weight: bold;">/</span>slackware<br />
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">!</span>$<br />
lftp <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;open http://connie.slackware.com/~alien/; mirror multilib&quot;</span><br />
slackpkg update<br />
slackpkg install-new<br />
slackpkg upgrade-all<br />
upgradepkg <span style="color: #660033;">--reinstall</span> <span style="color: #660033;">--install-new</span> &nbsp;<span style="color: #000000; font-weight: bold;">/</span>mirror<span style="color: #000000; font-weight: bold;">/</span>slackware<span style="color: #000000; font-weight: bold;">/</span>multilib<span style="color: #000000; font-weight: bold;">/</span>current<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #000000; font-weight: bold;">*</span>.t?z,slackware64-compat32<span style="color: #000000; font-weight: bold;">/*/*</span>.t?z<span style="color: #7a0874; font-weight: bold;">&#125;</span><br />
slackpkg clean-system</div></div>
<p>Bear in mind that you need to know what modifications you&#8217;ve made to your system in the &#8220;clean-system&#8221; stage. slackpkg will offer to remove any package that&#8217;s not part of the version you&#8217;re upgrading to. If you need to keep any extra packages that you&#8217;ve installed you need to make sure you don&#8217;t uninstall them at this stage. For this reason I heavily recommend that you blacklist SlackBuilds.Org packages in the slackpkg blacklist file.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2011/03/12/upgrading-slackware64-current-with-multilib/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sad Day :: Company Bought</title>
		<link>http://blog.tpa.me.uk/2010/07/26/sad-day-company-bought/</link>
		<comments>http://blog.tpa.me.uk/2010/07/26/sad-day-company-bought/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 09:13:51 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[Slackware]]></category>
		<category><![CDATA[bought]]></category>
		<category><![CDATA[company]]></category>
		<category><![CDATA[sad]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=407</guid>
		<description><![CDATA[My company has been bought. While this means a lot of good and bad all over the place, it means one thing that&#8217;s very sad; I am about to commence work on tearing down the network I have so lovingly crafted over the last four years. Within a year I don&#8217;t expect there to be [...]]]></description>
			<content:encoded><![CDATA[<p>My company has been bought. While this means a lot of good and bad all over the place, it means one thing that&#8217;s very sad; I am about to commence work on tearing down the network I have so lovingly crafted over the last four years. Within a year I don&#8217;t expect there to be more than one or two Slackware boxes still running, if any. Black armbands please.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2010/07/26/sad-day-company-bought/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slackware 13.1 &amp; libxfs.h</title>
		<link>http://blog.tpa.me.uk/2010/07/12/slackware-13-1-libxfs-h/</link>
		<comments>http://blog.tpa.me.uk/2010/07/12/slackware-13-1-libxfs-h/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 13:15:54 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[Slackware]]></category>
		<category><![CDATA[libxfs]]></category>
		<category><![CDATA[xfs]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=405</guid>
		<description><![CDATA[I was trying to build partclone to read an image created with clonezilla, and discovered it won&#8217;t build with XFS support on Slackware because Slackware lacks libxfs.h. I think this is somewhat intentional in that the XFS Makefile only installs the header if you explicitly target &#8220;install-qa&#8221;. It seems libxfs.h is only supposed to be [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to build partclone to read an image created with clonezilla, and discovered it won&#8217;t build with XFS support on Slackware because Slackware lacks libxfs.h. I think this is somewhat intentional in that the XFS Makefile only installs the header if you explicitly target &#8220;install-qa&#8221;. It seems libxfs.h is only supposed to be used by XFS devs and 3rd party software should not require it, and I&#8217;m happy with that.</p>
<p>Just in case there is a reason you should need libxfs.h on Slackware:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-a</span> <span style="color: #000000; font-weight: bold;">/</span>mirror<span style="color: #000000; font-weight: bold;">/</span>slackware<span style="color: #000000; font-weight: bold;">/</span>slackware-<span style="color: #000000;">13.1</span><span style="color: #000000; font-weight: bold;">/</span>source<span style="color: #000000; font-weight: bold;">/</span>a<span style="color: #000000; font-weight: bold;">/</span>xfsprogs ~<span style="color: #000000; font-weight: bold;">/</span>.<br />
<span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>xfsprogs<br />
<span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-i</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'93i\make install-qa DIST_ROOT=\$PKG'</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s/\(BUILD:-1\)/\1qa/'</span> xfsprogs.SlackBuild<br />
.<span style="color: #000000; font-weight: bold;">/</span>xfsprogs.SlackBuild<br />
upgradepkg <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>xfsprogs<span style="color: #000000; font-weight: bold;">*</span>1qa.t?z</div></div>
<p>You now have libxfs.h installed at /usr/include/xfs/libxfs.h</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2010/07/12/slackware-13-1-libxfs-h/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SlackBuilds :: Watch Out For umask</title>
		<link>http://blog.tpa.me.uk/2010/07/08/slackbuilds-watch-out-for-umask/</link>
		<comments>http://blog.tpa.me.uk/2010/07/08/slackbuilds-watch-out-for-umask/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 09:38:25 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Slackware]]></category>
		<category><![CDATA[profile]]></category>
		<category><![CDATA[slackbuild]]></category>
		<category><![CDATA[slackbuilds]]></category>
		<category><![CDATA[umask]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=403</guid>
		<description><![CDATA[If you are building your own packages from SlackBuild scripts, then you need to make sure your umask is 022 before you start! Because of the nature of the shared environment in which I work, I changed my default umask to 002 in /etc/profile. I&#8217;ve just discovered a big problem as a result. When directories [...]]]></description>
			<content:encoded><![CDATA[<p>If you are building your own packages from SlackBuild scripts, then you need to make sure your umask is 022 before you start!</p>
<p>Because of the nature of the shared environment in which I work, I changed my default umask to 002 in /etc/profile. I&#8217;ve just discovered a big problem as a result. When directories such as $PKG/etc aknd $PKG/usr are created as part of the SlackBuild, they are created with file permission 775 as per the umask. Then when it comes to installing those directories from the package, the installer overwrites the permissions on the directories in your system with the permissions set in the package.</p>
<p>So, if $PKG/etc was created with 775, your /etc directory will be modified from 755 to 775 and this can do harm. This especially the case with directories such as /etc/mail which are checked by daemons for security before they run. If the permissions are too loose, the daemons don&#8217;t run.</p>
<p>Before you run a SlackBuild script, check that your umask is 022!! </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2010/07/08/slackbuilds-watch-out-for-umask/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slackware trying to mount NFS shares before the network is ready</title>
		<link>http://blog.tpa.me.uk/2010/06/14/slackware-trying-to-mount-nfs-shares-before-the-network-is-ready/</link>
		<comments>http://blog.tpa.me.uk/2010/06/14/slackware-trying-to-mount-nfs-shares-before-the-network-is-ready/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 12:31:15 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Slackware]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[remote]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=382</guid>
		<description><![CDATA[I have a right pain of a problem in this network in that individual machines are slow to get network access at boot. I haven&#8217;t had the opportunity to properly find out why, but my instinct says the blame lies with the Allied Telesyn switches. The big problem this causes is that any machines with [...]]]></description>
			<content:encoded><![CDATA[<p>I have a right pain of a problem in this network in that individual machines are slow to get network access at boot. I haven&#8217;t had the opportunity to properly find out why, but my instinct says the blame lies with the Allied Telesyn switches.</p>
<p>The big problem this causes is that any machines with a remote filesystem, such as an NFS share, in their fstab fail to mount the shares at boot; which means I have to manually ssh in and issue a mount command as root.</p>
<p>The solution is to ask rc.inet2 if it would kindly consider waiting just a little longer for the network to come up and not mount remote filesystems if it doesn&#8217;t.</p>
<p>The following patch attempts to ping an always-on host, preferably the host that serves the filesystem(s) you are going to mount.</p>
<ul>
<li>If a response is received, the boot process continues as normal.</li>
<li>If there&#8217;s no response to the first ping:
<ul>
<li>A further 5 pings are attempted.</li>
<li>A countdown is displayed.</li>
<li>After 6 failed attempts boot continues, but with no attempt to mount remote filesystems.</li>
</ul>
</li>
</ul>
<p>rc.inet2.diff (<a href='http://blog.tpa.me.uk/wp-content/uploads/2010/06/rc.inet2.diff.gz'>download rc.inet2.diff.gz</a>):</p>
<div class="codecolorer-container diff geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="diff codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #888822;">--- ./rc.inet2.orig &nbsp; &nbsp; 2007-09-17 23:07:32.000000000 +0100</span><br />
<span style="color: #888822;">+++ ./rc.inet2 &nbsp;2010-06-14 14:05:24.237107265 +0100</span><br />
<span style="color: #440088;">@@ -15,9 +15,16 @@</span><br />
&nbsp;<br />
&nbsp;# At this point, we are ready to talk to The World...<br />
&nbsp;<br />
<span style="color: #00b000;">+lan_test_host=&quot;&lt;known up host, or remote filesystem server&gt;&quot;;</span><br />
<span style="color: #00b000;">+avail=<span style="">6</span>;</span><br />
<span style="color: #00b000;">+while ! ping -c1 $lan_test_host &amp;&gt;/dev/null &amp;&amp; <span style="">&#40;</span><span style="">&#40;</span> avail-- &gt; <span style="">1</span> <span style="">&#41;</span><span style="">&#41;</span>;</span><br />
<span style="color: #00b000;">+do</span><br />
<span style="color: #00b000;">+ &nbsp; &nbsp; &nbsp; echo &quot;Waiting for network before mounting remote filesystems... $avail&quot;;</span><br />
<span style="color: #00b000;">+ &nbsp; &nbsp; &nbsp; sleep <span style="">1</span>;</span><br />
<span style="color: #00b000;">+done</span><br />
&nbsp;<br />
&nbsp;# Mount remote <span style="">&#40;</span>NFS<span style="">&#41;</span> filesystems:<br />
<span style="color: #991111;">-if cat /etc/fstab | grep -v '^#' | grep -w nfs <span style="">1</span>&gt; /dev/null <span style="">2</span>&gt; /dev/null ; then</span><br />
<span style="color: #00b000;">+if cat /etc/fstab | grep -v '^#' | grep -w nfs <span style="">1</span>&gt; /dev/null <span style="">2</span>&gt; /dev/null &amp;&amp; <span style="">&#40;</span><span style="">&#40;</span>avail<span style="">&#41;</span><span style="">&#41;</span>; then</span><br />
&nbsp; &nbsp;# Start rpc.portmap, /sbin/rpc.lockd, and /sbin/rpc.statd if we find NFS<br />
&nbsp; &nbsp;# volumes defined in /etc/fstab since these will need to be running in order<br />
&nbsp; &nbsp;# to mount them. &nbsp;If they are not running, attempting to mount an NFS<br />
<span style="color: #440088;">@@ -46,7 +53,7 @@</span><br />
&nbsp;<br />
&nbsp;# Mount remote CIFS filesystems. &nbsp;Note that where possible, using CIFS is<br />
&nbsp;# preferred over SMBFS. &nbsp;SMBFS is no longer actively maintained.<br />
<span style="color: #991111;">-if cat /etc/fstab | grep -v '^#' | grep -w cifs <span style="">1</span>&gt; /dev/null <span style="">2</span>&gt; /dev/null ; then</span><br />
<span style="color: #00b000;">+if cat /etc/fstab | grep -v '^#' | grep -w cifs <span style="">1</span>&gt; /dev/null <span style="">2</span>&gt; /dev/null &amp;&amp; <span style="">&#40;</span><span style="">&#40;</span>avail<span style="">&#41;</span><span style="">&#41;</span>; then</span><br />
&nbsp; &nbsp;echo &quot;Mounting remote CIFS file systems: &nbsp;/sbin/mount -a -t cifs&quot;<br />
&nbsp; &nbsp;/sbin/mount -a -t cifs<br />
&nbsp; &nbsp;# Show the mounted volumes:<br />
<span style="color: #440088;">@@ -54,7 +61,7 @@</span><br />
&nbsp;fi<br />
&nbsp;<br />
&nbsp;# Mount remote SMB filesystems:<br />
<span style="color: #991111;">-if cat /etc/fstab | grep -v '^#' | grep -w smbfs <span style="">1</span>&gt; /dev/null <span style="">2</span>&gt; /dev/null ; then</span><br />
<span style="color: #00b000;">+if cat /etc/fstab | grep -v '^#' | grep -w smbfs <span style="">1</span>&gt; /dev/null <span style="">2</span>&gt; /dev/null &amp;&amp; <span style="">&#40;</span><span style="">&#40;</span>avail<span style="">&#41;</span><span style="">&#41;</span>; then</span><br />
&nbsp; &nbsp;echo &quot;Mounting remote SMBFS file systems: &nbsp;/sbin/mount -a -t smbfs&quot;<br />
&nbsp; &nbsp;/sbin/mount -a -t smbfs<br />
&nbsp; &nbsp;# Show the mounted volumes:</div></div>
<p>In order to apply the above patch, do the following as root:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># cd /etc/rc.d</span><br />
<span style="color: #666666; font-style: italic;"># wget http://blog.tpa.me.uk/wp-content/uploads/2010/06/rc.inet2.diff.gz</span><br />
<span style="color: #666666; font-style: italic;"># zcat rc.inet2.diff.gz | patch -p1</span></div></div>
<p>Do not forget to manually edit your newly patched file to replace &#8220;&lt;known up host, or remote filesystem server&gt;&#8221; with a valid hostname or IP address.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2010/06/14/slackware-trying-to-mount-nfs-shares-before-the-network-is-ready/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Slackware 13.1 and VirtualBox USB</title>
		<link>http://blog.tpa.me.uk/2010/06/14/slackware-13-1-and-virtualbox-usb/</link>
		<comments>http://blog.tpa.me.uk/2010/06/14/slackware-13-1-and-virtualbox-usb/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 10:41:27 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Slackware]]></category>
		<category><![CDATA[diff]]></category>
		<category><![CDATA[rc.S]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=380</guid>
		<description><![CDATA[By default, USB support does not work when installing VirtualBox PUEL on a Slackware host. Essentially it is a permissions issue. There are a number of ways around it, but the simplest is this ridiculously small change to rc.S. rc.S (downloadable rc.S.diff.gz): --- ./rc.S.orig 2010-03-20 00:14:51.000000000 +0000 +++ ./rc.S &#160; &#160; &#160;2010-06-14 11:31:16.067169967 +0100 @@ [...]]]></description>
			<content:encoded><![CDATA[<p>By default, USB support does not work when installing VirtualBox PUEL on a Slackware host. Essentially it is a permissions issue. There are a number of ways around it, but the simplest is this ridiculously small change to rc.S.</p>
<p>rc.S (<a href="http://blog.tpa.me.uk/wp-content/uploads/2010/06/rc.S.diff.gz">downloadable rc.S.diff.gz</a>):</p>
<div class="codecolorer-container diff geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="diff codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #888822;">--- ./rc.S.orig 2010-03-20 00:14:51.000000000 +0000</span><br />
<span style="color: #888822;">+++ ./rc.S &nbsp; &nbsp; &nbsp;2010-06-14 11:31:16.067169967 +0100</span><br />
<span style="color: #440088;">@@ -297,7 +297,7 @@</span><br />
&nbsp;if grep -wq usbfs /proc/filesystems; then<br />
&nbsp; &nbsp;if ! grep -wq usbfs /proc/mounts ; then<br />
&nbsp; &nbsp; &nbsp;if ! grep -wq usbfs /etc/fstab; then<br />
<span style="color: #991111;">- &nbsp; &nbsp; &nbsp;/sbin/mount -v usbfs /proc/bus/usb -t usbfs</span><br />
<span style="color: #00b000;">+ &nbsp; &nbsp; &nbsp;/sbin/mount -v usbfs /proc/bus/usb -t usbfs -o devgid=83,devmode=0664</span><br />
&nbsp; &nbsp; &nbsp;else<br />
&nbsp; &nbsp; &nbsp; &nbsp;/sbin/mount -v /proc/bus/usb<br />
&nbsp; &nbsp; &nbsp;fi</div></div>
<p>This patch effectively changes the automatic permissions on USB devices so that the group owner is the plugdev group and so the group owner has write permissions. Make sure any users in the vboxusers group are also in the plugdev group&#8230; but you knew that.</p>
<p>In order to apply the above patch, do the following as root:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># cd /etc/rc.d</span><br />
<span style="color: #666666; font-style: italic;"># wget http://blog.tpa.me.uk/wp-content/uploads/2010/06/rc.S.diff.gz</span><br />
<span style="color: #666666; font-style: italic;"># zcat rc.inet2.diff.gz | patch -p1</span></div></div>
<p>Or just make the change by hand, given how small it is.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2010/06/14/slackware-13-1-and-virtualbox-usb/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Slackware 13.1 Released :: An Unfortunate Choice of Kernel</title>
		<link>http://blog.tpa.me.uk/2010/05/29/slackware-13-1-released-an-unfortunate-choice-of-kernel/</link>
		<comments>http://blog.tpa.me.uk/2010/05/29/slackware-13-1-released-an-unfortunate-choice-of-kernel/#comments</comments>
		<pubDate>Sat, 29 May 2010 17:34:01 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Slackware]]></category>
		<category><![CDATA[13.1]]></category>
		<category><![CDATA[2.6.33.4]]></category>
		<category><![CDATA[unstable]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=378</guid>
		<description><![CDATA[As per the release announcement Slackware 13.1 has been released. Unfortunately I have to report I am less than happy with the 2.6.33.4 kernel with which it comes. I have come across too many bugs over too short a period of time to be able to trust this kernel with production servers; and this is [...]]]></description>
			<content:encoded><![CDATA[<p>As per the <a href="http://www.slackware.com/announce/13.1.php" onclick="pageTracker._trackPageview('/outgoing/www.slackware.com/announce/13.1.php?referer=');">release announcement</a> Slackware 13.1 has been released. Unfortunately I have to report I am less than happy with the 2.6.33.4 kernel with which it comes. I have come across too many bugs over too short a period of time to be able to trust this kernel with production servers; and this is a huge shame. Usually the only OS I&#8217;m truly happy to trust for my production servers is Slackware. It has always been simple, stable and secure. Unfortunately stable is just not the right word for 13.1. It feels rushed. It&#8217;s just not quite ready. If anything it feels like 13.1 is a running snapshot of -current rather than an end result. Pat has been tracking KDE SC and other software pretty closely putting the latest releases into -current as soon as possible and the current selection doesn&#8217;t feel like a well-tested stable collection, but just an arbitrary snapshot in time.</p>
<p>To be fair, most of the software in 13.1 is working pretty well without fault. Certainly I&#8217;m not aware of any specific complaints with the latest KDE SC, but the kernel is another matter. The 2.6.33.4 kernel has some major problems. There&#8217;s a bug between the versions of LVM and DRBD that causes massive data corruption. There&#8217;s a bug in LVM startup scanning that stops some LVM devices from being properly configured. There&#8217;s new ACPI bugs. All of these being major problems for production systems.</p>
<p>In practice this means that all my production stuff is halted at Slackware 13.0 which is pretty rock-solid. I really truly hope that Pat is planning to run a 13.2 in a few months and more than that I hope he doesn&#8217;t bow to any pressure to release anything prematurely. To give an indication of what I mean, it took just two weeks for Slackware 13.1 beta1 to go through rc1 and rc2 all the way to full release and in the melee it appears Pat forgot to update the README files in usb-and-pxe-installers.</p>
<p>Also, to clarify my concerns about the kernel, there are a number of features in 2.6.33 that people have been asking for but it is brand-spanking new and will only be supported for 6 months or so. Pat missed a golden opportunity to release 13.1 with the 2.6.32 kernel which is very stable and well tested and will be supported for between 2 and 3 years because it has been designated for long term support.</p>
<p>Could the people who really wanted a 2.6.33 kernel not have upgraded to it on their own without taking the whole stable Slackware release with them?</p>
<p>I can only hope for my own sake that 2.6.34 (or at least 35 or 36) proves itself rock solid so that I will be able to upgrade the servers that matter but still have a kernel I can trust.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2010/05/29/slackware-13-1-released-an-unfortunate-choice-of-kernel/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Configuring NVidia Cards on Slackware</title>
		<link>http://blog.tpa.me.uk/2010/04/09/configuring-nvidia-cards-on-slackware/</link>
		<comments>http://blog.tpa.me.uk/2010/04/09/configuring-nvidia-cards-on-slackware/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 13:40:48 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Slackware]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[gpu]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[nvidia-settings]]></category>
		<category><![CDATA[vdpau]]></category>
		<category><![CDATA[Xorg]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=353</guid>
		<description><![CDATA[Basic, but not obvious if you haven&#8217;t done it before. Firstly, there are two options, the open source driver and the proprietary driver. Many people use the open source driver, I prefer to not. NVidia made the GPU, why not use their driver as it&#8217;s most likely to be the best performing option (and allows [...]]]></description>
			<content:encoded><![CDATA[<p>Basic, but not obvious if you haven&#8217;t done it before.</p>
<p>Firstly, there are two options, the open source driver and the proprietary driver. Many people use the open source driver, I prefer to not. NVidia made the GPU, why not use their driver as it&#8217;s most likely to be the best performing option (and allows for VDPAU too). So that&#8217;s what these instructions are for.</p>
<p>Now that you&#8217;ve picked the proprietary driver, there are two more options; you can either use the installer provided by NVidia, or use the <a href="http://slackbuilds.org/repository/13.0/system/nvidia-driver/" onclick="pageTracker._trackPageview('/outgoing/slackbuilds.org/repository/13.0/system/nvidia-driver/?referer=');">nvidia-driver</a> and <a href="http://slackbuilds.org/repository/13.0/system/nvidia-kernel/" onclick="pageTracker._trackPageview('/outgoing/slackbuilds.org/repository/13.0/system/nvidia-kernel/?referer=');">nvidia-kernel</a> SlackBuilds provided by Heinz Wiesinger. Personally I use the NVidia-provided installer for a few reasons:</p>
<ol>
<li>The latest driver is always available (if not necessarily stable) whereas the SlackBuild can be behind due to workload or because it&#8217;s been held back intentionally for stability/compatibility.</li>
<li>As with kernels, I never find the need to uninstall NVidia drivers, except with the installer when upgrading to a new one, so the usefulness of having a package is lessened.</li>
<li>I started with the NVidia installer many moons ago and never found enough reason to change my habits.</li>
<li>I&#8217;m too lazy to keep a copy of the xorg.conf handy and the NVidia installer creates one for me.</li>
</ol>
<p>That said I have the utmost respect for Heinz&#8217;s SlackBuild and recommend you consider it as an option depending on your needs, especially if you are playing with different setups rather than just doing a one-time install on a box for which you know exactly what you need.</p>
<p>So, off we go..</p>
<p>Firstly, read my post about the nouveau kernel module: <a href="http://blog.tpa.me.uk/2010/04/01/slackware-current-and-nvidia/">slackware-current and nvidia</a></p>
<p><strong>Option 1: NVidia Installer</strong><br />
Then go to http://www.nvidia.co.uk/Download/index.aspx and get the latest driver for your architecture. Right now, for me, this would be:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666;">$ </span><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>uk.download.nvidia.com<span style="color: #000000; font-weight: bold;">/</span>XFree86<span style="color: #000000; font-weight: bold;">/</span>Linux-x86<span style="color: #000000; font-weight: bold;">/</span>195.36.15<span style="color: #000000; font-weight: bold;">/</span>NVIDIA-Linux-x86-195.36.15-pkg1.run</div></div>
<p>Then head to tty6 (Ctrl-Alt-F6), login as root, drop to runlevel 3, make the installer executable and then run it:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># init 3</span><br />
<span style="color: #666666; font-style: italic;"># chmod a+x NVIDIA*.run</span><br />
<span style="color: #666666; font-style: italic;"># ./!$</span></div></div>
<p>Go through the installer with all defaults. If you are on Slackware64 with multilb (as so many are) say yes when it asks if you want the 32bit compatibility bits.</p>
<p>Once it&#8217;s done, you should find yourself with a new xorg config in /etc/X11/xorg.conf; but don&#8217;t start X back up just yet, you need to strip some lines out of the xorg.conf so as not to confuse X. In Slackware 13.0+, xorg takes its information about your input devices from HAL (see <a href="http://blog.tpa.me.uk/2009/08/30/slackware-13-0-xorg-hal/">Slackware 13.0 – Xorg + Hal</a>). NVidia doesn&#8217;t acknowledge this and adds default entries in the xorg.conf it creates for a mouse and a keyboard.</p>
<p>Here is a default xorg.conf created by the NVidia installer (this is an example, don&#8217;t just copy and paste.. do what I tell you to with YOUR copy):</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Section <span style="color: #ff0000;">&quot;ServerLayout&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Layout0&quot;</span><br />
&nbsp; &nbsp; Screen &nbsp; &nbsp; &nbsp;<span style="color: #000000;">0</span> &nbsp;<span style="color: #ff0000;">&quot;Screen0&quot;</span><br />
&nbsp; &nbsp; InputDevice &nbsp; &nbsp;<span style="color: #ff0000;">&quot;Keyboard0&quot;</span> <span style="color: #ff0000;">&quot;CoreKeyboard&quot;</span><br />
&nbsp; &nbsp; InputDevice &nbsp; &nbsp;<span style="color: #ff0000;">&quot;Mouse0&quot;</span> <span style="color: #ff0000;">&quot;CorePointer&quot;</span><br />
EndSection<br />
<br />
Section <span style="color: #ff0000;">&quot;Files&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/misc/:unscaled&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/100dpi/:unscaled&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/75dpi/:unscaled&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/misc/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/Type1/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/Speedo/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/100dpi/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/75dpi/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/cyrillic/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/TTF/&quot;</span><br />
EndSection<br />
<br />
Section <span style="color: #ff0000;">&quot;InputDevice&quot;</span><br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;"># generated from default</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Mouse0&quot;</span><br />
&nbsp; &nbsp; Driver &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;mouse&quot;</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Protocol&quot;</span> <span style="color: #ff0000;">&quot;auto&quot;</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Device&quot;</span> <span style="color: #ff0000;">&quot;/dev/psaux&quot;</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Emulate3Buttons&quot;</span> <span style="color: #ff0000;">&quot;no&quot;</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;ZAxisMapping&quot;</span> <span style="color: #ff0000;">&quot;4 5&quot;</span><br />
EndSection<br />
<br />
Section <span style="color: #ff0000;">&quot;InputDevice&quot;</span><br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;"># generated from default</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Keyboard0&quot;</span><br />
&nbsp; &nbsp; Driver &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;kbd&quot;</span><br />
EndSection<br />
<br />
Section <span style="color: #ff0000;">&quot;Monitor&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Monitor0&quot;</span><br />
&nbsp; &nbsp; VendorName &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Unknown&quot;</span><br />
&nbsp; &nbsp; ModelName &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;Unknown&quot;</span><br />
&nbsp; &nbsp; HorizSync &nbsp; &nbsp; &nbsp; <span style="color: #000000;">28.0</span> - <span style="color: #000000;">33.0</span><br />
&nbsp; &nbsp; VertRefresh &nbsp; &nbsp; <span style="color: #000000;">43.0</span> - <span style="color: #000000;">72.0</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;DPMS&quot;</span><br />
EndSection<br />
<br />
Section <span style="color: #ff0000;">&quot;Device&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Device0&quot;</span><br />
&nbsp; &nbsp; Driver &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;nvidia&quot;</span><br />
&nbsp; &nbsp; VendorName &nbsp; &nbsp; <span style="color: #ff0000;">&quot;NVIDIA Corporation&quot;</span><br />
EndSection<br />
<br />
Section <span style="color: #ff0000;">&quot;Screen&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Screen0&quot;</span><br />
&nbsp; &nbsp; Device &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Device0&quot;</span><br />
&nbsp; &nbsp; Monitor &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;Monitor0&quot;</span><br />
&nbsp; &nbsp; DefaultDepth &nbsp; &nbsp;<span style="color: #000000;">24</span><br />
&nbsp; &nbsp; SubSection &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Display&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Depth &nbsp; &nbsp; &nbsp; <span style="color: #000000;">24</span><br />
&nbsp; &nbsp; EndSubSection<br />
EndSection</div></div>
<p>And here&#8217;s what you need to make it look like by stripping out the input parts:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Section <span style="color: #ff0000;">&quot;ServerLayout&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Layout0&quot;</span><br />
&nbsp; &nbsp; Screen &nbsp; &nbsp; &nbsp;<span style="color: #000000;">0</span> &nbsp;<span style="color: #ff0000;">&quot;Screen0&quot;</span><br />
EndSection<br />
<br />
Section <span style="color: #ff0000;">&quot;Files&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/misc/:unscaled&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/100dpi/:unscaled&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/75dpi/:unscaled&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/misc/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/Type1/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/Speedo/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/100dpi/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/75dpi/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/cyrillic/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/TTF/&quot;</span><br />
EndSection<br />
<br />
Section <span style="color: #ff0000;">&quot;Monitor&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Monitor0&quot;</span><br />
&nbsp; &nbsp; VendorName &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Unknown&quot;</span><br />
&nbsp; &nbsp; ModelName &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;Unknown&quot;</span><br />
&nbsp; &nbsp; HorizSync &nbsp; &nbsp; &nbsp; <span style="color: #000000;">28.0</span> - <span style="color: #000000;">33.0</span><br />
&nbsp; &nbsp; VertRefresh &nbsp; &nbsp; <span style="color: #000000;">43.0</span> - <span style="color: #000000;">72.0</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;DPMS&quot;</span><br />
EndSection<br />
<br />
Section <span style="color: #ff0000;">&quot;Device&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Device0&quot;</span><br />
&nbsp; &nbsp; Driver &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;nvidia&quot;</span><br />
&nbsp; &nbsp; VendorName &nbsp; &nbsp; <span style="color: #ff0000;">&quot;NVIDIA Corporation&quot;</span><br />
EndSection<br />
<br />
Section <span style="color: #ff0000;">&quot;Screen&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Screen0&quot;</span><br />
&nbsp; &nbsp; Device &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Device0&quot;</span><br />
&nbsp; &nbsp; Monitor &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;Monitor0&quot;</span><br />
&nbsp; &nbsp; DefaultDepth &nbsp; &nbsp;<span style="color: #000000;">24</span><br />
&nbsp; &nbsp; SubSection &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Display&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Depth &nbsp; &nbsp; &nbsp; <span style="color: #000000;">24</span><br />
&nbsp; &nbsp; EndSubSection<br />
EndSection</div></div>
<p>Of all of that the absolute minimum you need is:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;Section <span style="color: #ff0000;">&quot;Device&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Device0&quot;</span><br />
&nbsp; &nbsp; Driver &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;nvidia&quot;</span><br />
&nbsp; &nbsp; VendorName &nbsp; &nbsp; <span style="color: #ff0000;">&quot;NVIDIA Corporation&quot;</span><br />
EndSection</div></div>
<p>But I recommend keeping the other bits that NVidia provide because if you use nvidia-settings later to specifically adjust your config, there may be a number of options it sets and the xorg.conf it will generate will include these anyway. So just take what NVidia give you and strip out the input devices as above.</p>
<p><strong>Option 2: SlackBuilds</strong><br />
Install <a href="http://slackbuilds.org/repository/13.0/system/nvidia-driver/" onclick="pageTracker._trackPageview('/outgoing/slackbuilds.org/repository/13.0/system/nvidia-driver/?referer=');">nvidia-driver</a> and <a href="http://slackbuilds.org/repository/13.0/system/nvidia-kernel/" onclick="pageTracker._trackPageview('/outgoing/slackbuilds.org/repository/13.0/system/nvidia-kernel/?referer=');">nvidia-kernel</a>. I recommend doing so with <a href="http://sbopkg.org/" onclick="pageTracker._trackPageview('/outgoing/sbopkg.org/?referer=');">sbopkg</a>.</p>
<p>Then create yourself a valid xorg.conf. If you&#8217;re not sure how, then you won&#8217;t go far wrong with using the default NVidia-created xorg.conf from above.</p>
<p><strong>Finally&#8230;</strong></p>
<p>Once you&#8217;re done, you can start X back up, either by issuing &#8220;startx&#8221; at the command line, or re-entering runlevel 4 with &#8220;init 4&#8243;.</p>
<p>Now that you are back in X you should have fully functional DRI and compositing.</p>
<p>If you have a non-standard setup such as multiple-monitors or you need to boost the gamma on a bad monitor or something like that, then you need to configure the driver to do what you want. This is done very simply with the NVidia configuration tool:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666;">$ </span>nvidia-settings</div></div>
<p>Play with the settings however you need, but remember that this is not Windows. Clicking &#8220;Apply&#8221; will apply the settings for this session only. If you want the changes to be permanent you must save the settings to a new xorg.conf. Since you&#8217;re not running X as root because you&#8217;re not an idiot, you will likely not have permissions to overwrite the xorg.conf. There are ways around this, but the simple way is to just save the new xorg.conf in your home directory and move it to /etc/X11 manually (remembering to back up your working copy first).</p>
<p>And that&#8217;s it. Go enjoy your new graphics driver and, if your GPU supports VPDAU, go get the VDPAU-enabled MPlayer too.</p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2010/04/09/configuring-nvidia-cards-on-slackware/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>

