<?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>BenV&#039;s notes &#187; ubuntu</title>
	<atom:link href="http://notes.benv.junerules.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://notes.benv.junerules.com</link>
	<description>Rants and notes</description>
	<lastBuildDate>Wed, 28 Jul 2010 13:36:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Linux and a Xerox Phaser 6125N</title>
		<link>http://notes.benv.junerules.com/all/software/linux-and-a-xerox-phaser-6125n/</link>
		<comments>http://notes.benv.junerules.com/all/software/linux-and-a-xerox-phaser-6125n/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 00:35:07 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[cups]]></category>
		<category><![CDATA[pokemon os]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xerox]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=579</guid>
		<description><![CDATA[A while ago a friend hinted me of this printer. We were both looking for a somewhat affordable network laser printer, color preferred. However, I was wondering if this thing would work properly under linux. Openprinter claims the device is excellent as a paperweight, so that made me doubtful. So today I took my pokemon [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago a friend hinted me of <a href="http://www.office.xerox.com/product-resources/6125/N/enus.html">this printer</a>. We were both looking for a somewhat affordable network laser printer, color preferred. However, I was wondering if this thing would work properly under linux. <span id="more-579"></span>Openprinter claims the device is excellent as a <a href="http://www.openprinting.org/show_printer.cgi?recnum=Xerox-Phaser_6125">paperweight</a>, so that made me doubtful.<br />
So today I took my pokemon laptop over to his place, and while enjoying a nice glass of excellent 18 year old Glenlivet, we shook cups up and down. And glasses.</p>
<p>The <a href="http://www.linuxquestions.org/questions/linux-hardware-18/xerox-phaser-6125-n-688361/">instructions for ubuntu</a> were a good starting point. I&#8217;ll summarize:</p>
<ol>
<li>Download <a href="http://www.fujixerox.com.au/support/downloaddriver?productId=307&#038;operatingSystemCode=Linux">these drivers for the FX DocuPrint C525A</a>.</li>
<li>Unzip and use <span style="color:#FF00FF">alien</a> to convert the package to a .deb, and install it.
<div class="codecolorer-container bash vibrant" 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">benv<span style="color: #000000; font-weight: bold;">@</span>error:<span style="color: #000000; font-weight: bold;">/</span>tmp$ <span style="color: #c20cb9; font-weight: bold;">unzip</span> dpc525a_linux_.0.0.tar.zip; alien Fuji_Xerox-DocuPrint_C525_A_AP-<span style="color: #000000;">1.0</span>-<span style="color: #000000;">1</span>.i386.rpm; <span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> fuji-xerox-docuprint-c525-a-ap_1.0-<span style="color: #000000;">2</span>_i386.deb</div></div>
</li>
<li>Go to http://localhost:631/admin and add a new network printer.</li>
<li>Select a protocol (either Jetdirect or LPD) and enter the IP address of the printer</li>
<li>Select the PPD file you installed from the .deb archive (<span style="color:#FFFF00">/usr/share/cups/model/FujiXerox/en/FX_DocuPrint_C525_A_AP.ppd</span>) or select the driver through the menu system</li>
<li>In cups go set the default printer options and make sure to set the optional tray module to <span style="color:#00FFFF">250 Sheet Feeder</span>.</li>
</ol>
<h3>Issues I ran into</h3>
<p>That&#8217;s all pretty default as the linked installation guide says. However, in my first attempt I used the JetDirect protocol on port 9100 (using an IP address, not a hostname). While this worked, everything was dirt slow. Going to the options page of a print dialog took almost a minute!<br />
After some messing around I decided to try other protocols. The other protocol that worked was LPD/LPR. But not only did it work, but it&#8217;s fast! Click *BAF* Bluescreen1!!&#8230; uhh, I mean, print dialog <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
Anyway, instead of using an URI like <em>socket://192.168.1.123:9100</em> simply use <code class="codecolorer bash vibrant"><span class="bash">lpd:<span style="color: #000000; font-weight: bold;">//</span>192.168.1.123:<span style="color: #000000;">515</span></span></code>. Let me repeat this so that people who skip over this post also read it: <span style="color:#FF0000">Use lpd://192.168.1.123:515 instead of socket://blabla, this works a lot faster!</span>.</p>
<p>Once I got the printer in CUPS I also ran into the issue that the printer would respond but give an error on the printer itself. This was because I forgot to properly select the Tray Module, make sure it&#8217;s set to the 250 Feeder like in this picture:<br />
<div id="attachment_586" class="wp-caption alignnone" style="width: 310px"><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/11/xerox-6125-tray-module.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/11/xerox-6125-tray-module-300x181.png" alt="Xerox 6125N tray module selection" title="Xerox 6125N tray module selection" width="300" height="181" class="size-medium wp-image-586" /></a><p class="wp-caption-text">Xerox 6125N tray module selection</p></div></p>
<p>Another issue, cups doesn&#8217;t seem to give all options for this printer in their default options dialog. This is bad, because you need to change the default paper source. Default it&#8217;s set to the bypass tray, which means you have to manually insert the paper when printing. Very annoying. However, using other tools give you more options. Using <span style="color:#FFFF00">system-config-printer</span> for instance gives the chance to change it. Make sure you put it to auto or tray 1 like this:<br />
<div id="attachment_591" class="wp-caption alignnone" style="width: 310px"><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/11/xerox-6125n-paper-source.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/11/xerox-6125n-paper-source-300x155.png" alt="Xerox 6125N Paper source selection" title="Xerox 6125N Paper source selection" width="300" height="155" class="size-medium wp-image-591" /></a><p class="wp-caption-text">Xerox 6125N Paper source selection</p></div></p>
<p>When you finally manage to get those options set, the printer works perfectly under linux.<br />
Have fun printing!</p>
<p>Oh yeah, here&#8217;s a slackware package in case you don&#8217;t want to mess with aliens and pokemon os <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
<a href="http://notes.benv.junerules.com/wp-content/plugins/download-monitor/download.php?id=Fuji_Xerox-DocuPrint_C525_A_AP-1.0-1.i386.tgz" title="Downloaded 24 times">Slackware package for Xerox Phaser 6125N cups driver</a> - Version 1.0 - SHA: 5f8b6478f93a6484d4834990448b152fb10d9cdd</p>
<p>And now, back to my Glenlivet&#8230; mmmmmmm<br />
<div id="attachment_597" class="wp-caption alignnone" style="width: 102px"><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/11/glenlivet-18yo.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/11/glenlivet-18yo.png" alt="Glenlivet 18 year old" title="Glenlivet 18 year old" width="92" height="347" class="size-full wp-image-597" /></a><p class="wp-caption-text">Glenlivet 18 year old</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/software/linux-and-a-xerox-phaser-6125n/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Pokemon OS, rsync/ssh and MAC</title>
		<link>http://notes.benv.junerules.com/all/software/pokemon-os-rsyncssh-and-mac/</link>
		<comments>http://notes.benv.junerules.com/all/software/pokemon-os-rsyncssh-and-mac/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 10:26:14 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[pokemon os]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=360</guid>
		<description><![CDATA[So yesterday at work I ran into the famous ssh MAC failure like this: wouter@wouter-laptop:~:0&#62; rsync -varP ./vmware/ wouter@192.168.1.2:/archive/archive2/programs/vmware/ Password: sending incremental file list ./ Keys &#160; &#160; &#160; &#160; &#160;116 100% &#160; &#160;0.00kB/s &#160; &#160;0:00:00 &#40;xfer#1, to-check=8/10) linux/ linux/VMware-server-2.0.1-156745.i386.tar.gz &#160; &#160; &#160; &#160;32768 &#160; 0% &#160;800.00kB/s &#160; &#160;0:10:11 &#160;Received disconnect from 192.168.1.2: 2: Corrupted [...]]]></description>
			<content:encoded><![CDATA[<p>So yesterday at work I ran into the famous ssh <span style="color:#FF00FF">MAC</span> failure like this:</p>
<div class="codecolorer-container bash vibrant" 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">wouter<span style="color: #000000; font-weight: bold;">@</span>wouter-laptop:~:<span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">&gt;</span> rsync <span style="color: #660033;">-varP</span> .<span style="color: #000000; font-weight: bold;">/</span>vmware<span style="color: #000000; font-weight: bold;">/</span> wouter<span style="color: #000000; font-weight: bold;">@</span>192.168.1.2:<span style="color: #000000; font-weight: bold;">/</span>archive<span style="color: #000000; font-weight: bold;">/</span>archive2<span style="color: #000000; font-weight: bold;">/</span>programs<span style="color: #000000; font-weight: bold;">/</span>vmware<span style="color: #000000; font-weight: bold;">/</span><br />
Password: <br />
sending incremental <span style="color: #c20cb9; font-weight: bold;">file</span> list<br />
.<span style="color: #000000; font-weight: bold;">/</span><br />
Keys<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">116</span> <span style="color: #000000;">100</span><span style="color: #000000; font-weight: bold;">%</span> &nbsp; &nbsp;0.00kB<span style="color: #000000; font-weight: bold;">/</span>s &nbsp; &nbsp;<span style="color: #000000;">0</span>:00:00 <span style="color: #7a0874; font-weight: bold;">&#40;</span>xfer<span style="color: #666666; font-style: italic;">#1, to-check=8/10)</span><br />
linux<span style="color: #000000; font-weight: bold;">/</span><br />
linux<span style="color: #000000; font-weight: bold;">/</span>VMware-server-2.0.1-<span style="color: #000000;">156745</span>.i386.tar.gz<br />
&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">32768</span> &nbsp; <span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">%</span> &nbsp;800.00kB<span style="color: #000000; font-weight: bold;">/</span>s &nbsp; &nbsp;<span style="color: #000000;">0</span>:<span style="color: #000000;">10</span>:<span style="color: #000000;">11</span> &nbsp;Received disconnect from 192.168.1.2: <span style="color: #000000;">2</span>: Corrupted MAC on input.<br />
<br />
rsync: writefd_unbuffered failed to <span style="color: #c20cb9; font-weight: bold;">write</span> <span style="color: #000000;">4</span> bytes to socket <span style="color: #7a0874; font-weight: bold;">&#91;</span>sender<span style="color: #7a0874; font-weight: bold;">&#93;</span>: Broken pipe <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">32</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
rsync: connection unexpectedly closed <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">53</span> bytes received so far<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>sender<span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
rsync error: error <span style="color: #000000; font-weight: bold;">in</span> rsync protocol data stream <span style="color: #7a0874; font-weight: bold;">&#40;</span>code <span style="color: #000000;">12</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> at io.c<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">600</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #007800;">sender</span>=3.0.6<span style="color: #7a0874; font-weight: bold;">&#93;</span></div></div>
<p>No, that has nothing to do with <a href="http://www.apple.com/">Apple/Mac computers</a> or <a href="http://en.wikipedia.org/wiki/MAC_address">Media Access Control</a>, it&#8217;s<br />
part of the SSH protocol (and others) called <a href="http://en.wikipedia.org/wiki/Message_authentication_code">Messenge Authentication Code</a>. This blog has a nice explanation: <a href="http://blogs.sun.com/janp/entry/ssh_messages_code_bad_packet">Jan Pechanec on SSH messages</a>.</p>
<p>Funny thing, my brother also had this exact issue with the same kind of laptop. Well&#8230;. in his case it was putty failing his connection from a windows machine to this laptop.<br />
The reason? Same as ever,  <span style="color:#FFFF00">checksum offloading</span>.<br />
You can check if your card does this with the  <span style="color:#00FFFF">ethtool</span> program:</p>
<div class="codecolorer-container bash vibrant" 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">wouter<span style="color: #000000; font-weight: bold;">@</span>wouter-laptop:~:<span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> ethtool <span style="color: #660033;">-k</span> eth0<br />
Offload parameters <span style="color: #000000; font-weight: bold;">for</span> eth0:<br />
Cannot get device flags: Operation not supported<br />
rx-checksumming: on<br />
tx-checksumming: on<br />
scatter-gather: on<br />
tcp-segmentation-offload: off<br />
udp-fragmentation-offload: off<br />
generic-segmentation-offload: on<br />
generic-receive-offload: off<br />
large-receive-offload: off</div></div>
<p>And the fix for this:</p>
<div class="codecolorer-container bash vibrant" 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">wouter<span style="color: #000000; font-weight: bold;">@</span>wouter-laptop:~:<span style="color: #000000;">85</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> &nbsp;ethtool <span style="color: #660033;">-K</span> eth0 tx off</div></div>
<p>Fixed.</p>
<p>&#8221; <span style="color:#000FFF">Wait, what does Pokemon OS have to do with this?</span>&#8221;<br />
Well, isn&#8217;t that obvious? It&#8217;s supposed to magically work, and it doesn&#8217;t! <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
Probably more a kernel thing though&#8230; oh well.</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/software/pokemon-os-rsyncssh-and-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pokemon OS, it just works! &#8482;</title>
		<link>http://notes.benv.junerules.com/all/software/pokemon-os-it-just-works-tm/</link>
		<comments>http://notes.benv.junerules.com/all/software/pokemon-os-it-just-works-tm/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 13:42:48 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[ati]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[openoffice.org]]></category>
		<category><![CDATA[pokemon os]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=141</guid>
		<description><![CDATA[Or&#8230; not. Oh, the pokemon reference comes from the brilliant webcomic XKCD. Usually I have little problems getting stuff to work on it, but as hardware gets older and support gets worse thing get more interesting. First things first: I have no issues with ubuntu, they&#8217;re doing great work. In fact, the machine worked fine [...]]]></description>
			<content:encoded><![CDATA[<p>Or&#8230; not. Oh, the pokemon reference comes from <a title="xkcd 178 - not really into pokemon" href="http://xkcd.com/178/">the brilliant webcomic XKCD</a>.</p>
<p>Usually I have little problems getting stuff to work on it, but as hardware gets older and support gets worse thing get more interesting.<br />
First things first: I have no issues with ubuntu, they&#8217;re doing great work. In fact, the machine worked fine after installation, except for I can&#8217;t live with 800&#215;600, so I wanted a better video driver.<br />
Needless to say that means NON OPEN SOURCE GARBAGE FROM <span style="color: #ff6600;">NVIDIA</span> (<span style="color: #ff9900;">ATI</span> is just as bad btw). Although their binary driver usually &#8216;works&#8217;, you&#8217;re royally screwed if your system doesn&#8217;t meet their requirements.<span id="more-141"></span></p>
<p>So after installing ubuntu karmic, and more specific: kunbuntu karmic, everything kinda worked. In the system tray was a &#8220;hardware&#8221; icon indicating that there might be better but proprietory drivers for my hardware. *clickety*. &#8220;Yes sure, you can have my children and life and eternal soul and whatever the hell you believe making me check this checkbox will accomplish&#8221; (idiots).<br />
Maybe I should start using wget with something like</p>
<div class="codecolorer-container bash vibrant" 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;">wget</span> <span style="color: #660033;">--referer</span> <span style="color: #ff0000;">&quot;By allowing this download you grant me all possible rights including the rigth to blasphemy your company into the ground and also the right to take your software and rape it as I see fit. All clauses included in the software downloaded are automatically null and void and are superseded by this contract&quot;</span> <span style="color: #007800;">$file</span></div></div>
<p>&#8230;. probably has about the same value as those checkboxes.<br />
Anyway, after the checkboxes the karmic koala downloaded some stuff and then barfed up some errors, none of them were helpful.</p>
<p>Digging a bit deeper it appeared that the dkms system wasn&#8217;t able to compile a kernel module. Oooh, why didn&#8217;t you say so&#8230; nvidia cruft scores again!<br />
More specific:</p>
<div class="codecolorer-container make vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="make codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">In file included from <span style="color: #004400;">/</span>var<span style="color: #004400;">/</span>lib<span style="color: #004400;">/</span>dkms<span style="color: #004400;">/</span>nvidia<span style="color: #004400;">/</span>96<span style="color: #004400;">.</span>43<span style="color: #004400;">.</span>10<span style="color: #004400;">/</span>build<span style="color: #004400;">/</span>nv<span style="color: #004400;">-</span>linux<span style="color: #004400;">.</span>h<span style="color: #004400;">:</span><span style="color: #CC2200;">112</span><span style="color: #004400;">,</span><br />
from <span style="color: #004400;">/</span>var<span style="color: #004400;">/</span>lib<span style="color: #004400;">/</span>dkms<span style="color: #004400;">/</span>nvidia<span style="color: #004400;">/</span>96<span style="color: #004400;">.</span>43<span style="color: #004400;">.</span>10<span style="color: #004400;">/</span>build<span style="color: #004400;">/</span>nv<span style="color: #004400;">.</span>c<span style="color: #004400;">:</span><span style="color: #CC2200;">14</span><span style="color: #004400;">:</span><br />
<span style="color: #666622; font-weight: bold;">include</span><span style="color: #004400;">/</span>linux<span style="color: #004400;">/</span>highmem<span style="color: #004400;">.</span>h<span style="color: #004400;">:</span> In function âzero_user_segmentsâ<span style="color: #004400;">:</span><br />
<span style="color: #666622; font-weight: bold;">include</span><span style="color: #004400;">/</span>linux<span style="color: #004400;">/</span>highmem<span style="color: #004400;">.</span>h<span style="color: #004400;">:</span><span style="color: #CC2200;">149</span><span style="color: #004400;">:</span> <span style="color: #666622; font-weight: bold;">warning</span><span style="color: #004400;">:</span> pointer of type âvoid <span style="color: #004400;">*</span>â used in arithmetic<br />
<span style="color: #666622; font-weight: bold;">include</span><span style="color: #004400;">/</span>linux<span style="color: #004400;">/</span>highmem<span style="color: #004400;">.</span>h<span style="color: #004400;">:</span><span style="color: #CC2200;">149</span><span style="color: #004400;">:</span> <span style="color: #666622; font-weight: bold;">warning</span><span style="color: #004400;">:</span> pointer of type âvoid <span style="color: #004400;">*</span>â used in arithmetic<br />
<span style="color: #666622; font-weight: bold;">include</span><span style="color: #004400;">/</span>linux<span style="color: #004400;">/</span>highmem<span style="color: #004400;">.</span>h<span style="color: #004400;">:</span><span style="color: #CC2200;">149</span><span style="color: #004400;">:</span> <span style="color: #666622; font-weight: bold;">warning</span><span style="color: #004400;">:</span> pointer of type âvoid <span style="color: #004400;">*</span>â used in arithmetic<br />
<span style="color: #666622; font-weight: bold;">include</span><span style="color: #004400;">/</span>linux<span style="color: #004400;">/</span>highmem<span style="color: #004400;">.</span>h<span style="color: #004400;">:</span><span style="color: #CC2200;">149</span><span style="color: #004400;">:</span> <span style="color: #666622; font-weight: bold;">warning</span><span style="color: #004400;">:</span> pointer of type âvoid <span style="color: #004400;">*</span>â used in arithmetic<br />
<span style="color: #666622; font-weight: bold;">include</span><span style="color: #004400;">/</span>linux<span style="color: #004400;">/</span>highmem<span style="color: #004400;">.</span>h<span style="color: #004400;">:</span><span style="color: #CC2200;">152</span><span style="color: #004400;">:</span> <span style="color: #666622; font-weight: bold;">warning</span><span style="color: #004400;">:</span> pointer of type âvoid <span style="color: #004400;">*</span>â used in arithmetic<br />
<span style="color: #666622; font-weight: bold;">include</span><span style="color: #004400;">/</span>linux<span style="color: #004400;">/</span>highmem<span style="color: #004400;">.</span>h<span style="color: #004400;">:</span><span style="color: #CC2200;">152</span><span style="color: #004400;">:</span> <span style="color: #666622; font-weight: bold;">warning</span><span style="color: #004400;">:</span> pointer of type âvoid <span style="color: #004400;">*</span>â used in arithmetic<br />
<span style="color: #666622; font-weight: bold;">include</span><span style="color: #004400;">/</span>linux<span style="color: #004400;">/</span>highmem<span style="color: #004400;">.</span>h<span style="color: #004400;">:</span><span style="color: #CC2200;">152</span><span style="color: #004400;">:</span> <span style="color: #666622; font-weight: bold;">warning</span><span style="color: #004400;">:</span> pointer of type âvoid <span style="color: #004400;">*</span>â used in arithmetic<br />
<span style="color: #666622; font-weight: bold;">include</span><span style="color: #004400;">/</span>linux<span style="color: #004400;">/</span>highmem<span style="color: #004400;">.</span>h<span style="color: #004400;">:</span><span style="color: #CC2200;">152</span><span style="color: #004400;">:</span> <span style="color: #666622; font-weight: bold;">warning</span><span style="color: #004400;">:</span> pointer of type âvoid <span style="color: #004400;">*</span>â used in arithmetic<br />
<span style="color: #004400;">/</span>var<span style="color: #004400;">/</span>lib<span style="color: #004400;">/</span>dkms<span style="color: #004400;">/</span>nvidia<span style="color: #004400;">/</span>96<span style="color: #004400;">.</span>43<span style="color: #004400;">.</span>10<span style="color: #004400;">/</span>build<span style="color: #004400;">/</span>nv<span style="color: #004400;">.</span>c<span style="color: #004400;">:</span> In function ânvos_proc_createâ<span style="color: #004400;">:</span><br />
<span style="color: #004400;">/</span>var<span style="color: #004400;">/</span>lib<span style="color: #004400;">/</span>dkms<span style="color: #004400;">/</span>nvidia<span style="color: #004400;">/</span>96<span style="color: #004400;">.</span>43<span style="color: #004400;">.</span>10<span style="color: #004400;">/</span>build<span style="color: #004400;">/</span>nv<span style="color: #004400;">.</span>c<span style="color: #004400;">:</span><span style="color: #CC2200;">502</span><span style="color: #004400;">:</span> <span style="color: #666622; font-weight: bold;">error</span><span style="color: #004400;">:</span> âstruct proc_dir_entryâ has no member named âownerâ<br />
<span style="color: #004400;">/</span>var<span style="color: #004400;">/</span>lib<span style="color: #004400;">/</span>dkms<span style="color: #004400;">/</span>nvidia<span style="color: #004400;">/</span>96<span style="color: #004400;">.</span>43<span style="color: #004400;">.</span>10<span style="color: #004400;">/</span>build<span style="color: #004400;">/</span>nv<span style="color: #004400;">.</span>c<span style="color: #004400;">:</span><span style="color: #CC2200;">503</span><span style="color: #004400;">:</span> <span style="color: #666622; font-weight: bold;">error</span><span style="color: #004400;">:</span> âstruct proc_dir_entryâ has no member named âownerâ<br />
<span style="color: #004400;">/</span>var<span style="color: #004400;">/</span>lib<span style="color: #004400;">/</span>dkms<span style="color: #004400;">/</span>nvidia<span style="color: #004400;">/</span>96<span style="color: #004400;">.</span>43<span style="color: #004400;">.</span>10<span style="color: #004400;">/</span>build<span style="color: #004400;">/</span>nv<span style="color: #004400;">.</span>c<span style="color: #004400;">:</span><span style="color: #CC2200;">504</span><span style="color: #004400;">:</span> <span style="color: #666622; font-weight: bold;">error</span><span style="color: #004400;">:</span> âstruct proc_dir_entryâ has no member named âownerâ<br />
<span style="color: #004400;">/</span>var<span style="color: #004400;">/</span>lib<span style="color: #004400;">/</span>dkms<span style="color: #004400;">/</span>nvidia<span style="color: #004400;">/</span>96<span style="color: #004400;">.</span>43<span style="color: #004400;">.</span>10<span style="color: #004400;">/</span>build<span style="color: #004400;">/</span>nv<span style="color: #004400;">.</span>c<span style="color: #004400;">:</span><span style="color: #CC2200;">524</span><span style="color: #004400;">:</span> <span style="color: #666622; font-weight: bold;">error</span><span style="color: #004400;">:</span> âstruct proc_dir_entryâ has no member named âownerâ<br />
<span style="color: #004400;">/</span>var<span style="color: #004400;">/</span>lib<span style="color: #004400;">/</span>dkms<span style="color: #004400;">/</span>nvidia<span style="color: #004400;">/</span>96<span style="color: #004400;">.</span>43<span style="color: #004400;">.</span>10<span style="color: #004400;">/</span>build<span style="color: #004400;">/</span>nv<span style="color: #004400;">.</span>c<span style="color: #004400;">:</span><span style="color: #CC2200;">537</span><span style="color: #004400;">:</span> <span style="color: #666622; font-weight: bold;">error</span><span style="color: #004400;">:</span> âstruct proc_dir_entryâ has no member named âownerâ<br />
<span style="color: #004400;">/</span>var<span style="color: #004400;">/</span>lib<span style="color: #004400;">/</span>dkms<span style="color: #004400;">/</span>nvidia<span style="color: #004400;">/</span>96<span style="color: #004400;">.</span>43<span style="color: #004400;">.</span>10<span style="color: #004400;">/</span>build<span style="color: #004400;">/</span>nv<span style="color: #004400;">.</span>c<span style="color: #004400;">:</span><span style="color: #CC2200;">548</span><span style="color: #004400;">:</span> <span style="color: #666622; font-weight: bold;">error</span><span style="color: #004400;">:</span> âstruct proc_dir_entryâ has no member named âownerâ<br />
<span style="color: #004400;">/</span>var<span style="color: #004400;">/</span>lib<span style="color: #004400;">/</span>dkms<span style="color: #004400;">/</span>nvidia<span style="color: #004400;">/</span>96<span style="color: #004400;">.</span>43<span style="color: #004400;">.</span>10<span style="color: #004400;">/</span>build<span style="color: #004400;">/</span>nv<span style="color: #004400;">.</span>c<span style="color: #004400;">:</span><span style="color: #CC2200;">558</span><span style="color: #004400;">:</span> <span style="color: #666622; font-weight: bold;">error</span><span style="color: #004400;">:</span> âstruct proc_dir_entryâ has no member named âownerâ<br />
<span style="color: #004400;">/</span>var<span style="color: #004400;">/</span>lib<span style="color: #004400;">/</span>dkms<span style="color: #004400;">/</span>nvidia<span style="color: #004400;">/</span>96<span style="color: #004400;">.</span>43<span style="color: #004400;">.</span>10<span style="color: #004400;">/</span>build<span style="color: #004400;">/</span>nv<span style="color: #004400;">.</span>c<span style="color: #004400;">:</span><span style="color: #CC2200;">568</span><span style="color: #004400;">:</span> <span style="color: #666622; font-weight: bold;">error</span><span style="color: #004400;">:</span> âstruct proc_dir_entryâ has no member named âownerâ<br />
<span style="color: #004400;">/</span>var<span style="color: #004400;">/</span>lib<span style="color: #004400;">/</span>dkms<span style="color: #004400;">/</span>nvidia<span style="color: #004400;">/</span>96<span style="color: #004400;">.</span>43<span style="color: #004400;">.</span>10<span style="color: #004400;">/</span>build<span style="color: #004400;">/</span>nv<span style="color: #004400;">.</span>c<span style="color: #004400;">:</span><span style="color: #CC2200;">579</span><span style="color: #004400;">:</span> <span style="color: #666622; font-weight: bold;">error</span><span style="color: #004400;">:</span> âstruct proc_dir_entryâ has no member named âownerâ<br />
<span style="color: #004400;">/</span>var<span style="color: #004400;">/</span>lib<span style="color: #004400;">/</span>dkms<span style="color: #004400;">/</span>nvidia<span style="color: #004400;">/</span>96<span style="color: #004400;">.</span>43<span style="color: #004400;">.</span>10<span style="color: #004400;">/</span>build<span style="color: #004400;">/</span>nv<span style="color: #004400;">.</span>c<span style="color: #004400;">:</span><span style="color: #CC2200;">586</span><span style="color: #004400;">:</span> <span style="color: #666622; font-weight: bold;">error</span><span style="color: #004400;">:</span> âstruct proc_dir_entryâ has no member named âownerâ<br />
<span style="color: #004400;">/</span>var<span style="color: #004400;">/</span>lib<span style="color: #004400;">/</span>dkms<span style="color: #004400;">/</span>nvidia<span style="color: #004400;">/</span>96<span style="color: #004400;">.</span>43<span style="color: #004400;">.</span>10<span style="color: #004400;">/</span>build<span style="color: #004400;">/</span>nv<span style="color: #004400;">.</span>c<span style="color: #004400;">:</span> In function ânvos_proc_add_warning_fileâ<span style="color: #004400;">:</span><br />
<span style="color: #004400;">/</span>var<span style="color: #004400;">/</span>lib<span style="color: #004400;">/</span>dkms<span style="color: #004400;">/</span>nvidia<span style="color: #004400;">/</span>96<span style="color: #004400;">.</span>43<span style="color: #004400;">.</span>10<span style="color: #004400;">/</span>build<span style="color: #004400;">/</span>nv<span style="color: #004400;">.</span>c<span style="color: #004400;">:</span><span style="color: #CC2200;">613</span><span style="color: #004400;">:</span> <span style="color: #666622; font-weight: bold;">error</span><span style="color: #004400;">:</span> âstruct proc_dir_entryâ has no member named âownerâ<br />
make<span style="color: #004400;">&#91;</span><span style="color: #CC2200;">3</span><span style="color: #004400;">&#93;</span><span style="color: #004400;">:</span> <span style="color: #004400;">***</span> <span style="color: #004400;">&#91;</span><span style="color: #004400;">/</span>var<span style="color: #004400;">/</span>lib<span style="color: #004400;">/</span>dkms<span style="color: #004400;">/</span>nvidia<span style="color: #004400;">/</span>96<span style="color: #004400;">.</span>43<span style="color: #004400;">.</span>10<span style="color: #004400;">/</span>build<span style="color: #004400;">/</span>nv<span style="color: #004400;">.</span>o<span style="color: #004400;">&#93;</span> <span style="color: #666622; font-weight: bold;">Error</span> <span style="color: #CC2200;">1</span><br />
make<span style="color: #004400;">&#91;</span><span style="color: #CC2200;">2</span><span style="color: #004400;">&#93;</span><span style="color: #004400;">:</span> <span style="color: #004400;">***</span> <span style="color: #004400;">&#91;</span>_module_<span style="color: #004400;">/</span>var<span style="color: #004400;">/</span>lib<span style="color: #004400;">/</span>dkms<span style="color: #004400;">/</span>nvidia<span style="color: #004400;">/</span>96<span style="color: #004400;">.</span>43<span style="color: #004400;">.</span>10<span style="color: #004400;">/</span>build<span style="color: #004400;">&#93;</span> <span style="color: #666622; font-weight: bold;">Error</span> <span style="color: #CC2200;">2</span><br />
NVIDIA<span style="color: #004400;">:</span> left KBUILD<span style="color: #004400;">.</span><br />
nvidia<span style="color: #004400;">.</span>ko failed to build<span style="color: #004400;">!</span><br />
make<span style="color: #004400;">&#91;</span><span style="color: #CC2200;">1</span><span style="color: #004400;">&#93;</span><span style="color: #004400;">:</span> <span style="color: #004400;">***</span> <span style="color: #004400;">&#91;</span>module<span style="color: #004400;">&#93;</span> <span style="color: #666622; font-weight: bold;">Error</span> <span style="color: #CC2200;">1</span><br />
make<span style="color: #004400;">:</span> <span style="color: #004400;">***</span> <span style="color: #004400;">&#91;</span>install<span style="color: #004400;">&#93;</span> <span style="color: #666622; font-weight: bold;">Error</span> <span style="color: #CC2200;">2</span></div></div>
<p>Well, that&#8217;s a very cute error. Better buy intel next time&#8230; or maybe <span style="color: #ff9900;">ATI</span> when they finally get their act together with their open source drivers&#8230;</p>
<p>The failing piece of cardboard in this case was an Nvidia Geforce 2 MX, or as lspci said it:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)</div></div>
<p>&#8220;<span style="color: #ff0000;">Yeah that&#8217;s lovely, but how did you get it running?</span>&#8221;<br />
Simple, attach legs to it and kick it!</p>
<p>But seriously, there are some options, like <a href="http://www.nvnews.net/vbulletin/showthread.php?t=133990">this patch</a> I ran into.<br />
Don&#8217;t bother trying out the newer nvidia drivers, like the 185 series, they won&#8217;t work with a message like this:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">[ 2111.806576] NVRM: The NVIDIA GeForce2 MX/MX 400 GPU installed in this system is<br />
[ 2111.806583] NVRM: &nbsp;supported through the NVIDIA 96.43.xx Legacy drivers. Please<br />
[ 2111.806585] NVRM: &nbsp;visit http://www.nvidia.com/object/unix.html for more<br />
[ 2111.806587] NVRM: &nbsp;information. &nbsp;The 185.18.14 NVIDIA driver will ignore<br />
[ 2111.806589] NVRM: &nbsp;this GPU. &nbsp;Continuing probe...<br />
[ 2111.806601] NVRM: No NVIDIA graphics adapter found!</div></div>
<p>So the simple solution now is to use the latest driver from the nvidia site:</p>
<p>http://www.nvidia.com/object/linux_display_ia32_96.43.13.html</p>
<p>&#8220;<span style="color: #ff0000;">So what&#8217;s the big deal?</span>&#8221;<br />
First of all, were these drivers open they would have been included by default. You can blame ubuntu for being slow or not testing all possible driver combinations, but it&#8217;s a problem on both sides.<br />
Second, now that I have to manually install this driver, there will be guaranteed issues whenever ubuntu has a new kernel, which means more support jobs for me. (which is something I don&#8217;t like for computers that are from relatives or customers)<br />
Third, with the drivers not being open it&#8217;s impossible to debug the bugs that are in them. Check the nvidia forums (nvnews) if you want to amuse yourself on some rants of tired customers from this department.</p>
<p>Oh well, at least it works for now&#8230;. more than I can say for my ancient <span style="color: #ff9900;">ATI</span> mobile M9700 chip in my old laptop&#8230; (well, it works but don&#8217;t ask how).</p>
<p><strong>Update &#8211; the story continues</strong><br />
Obviously this was not the last pokemon OS issue I had today. After the whole nvidia cardboard disaster, lotjuh wanted to configure some garbage on the PC, including openoffice.org.<br />
Shortly after she touched the machine she informed me about the broken state of openoffice.org:</p>
<blockquote><p>Lotjuh: Whenever I go to options it crashes!<br />
BenV: Did you start it from a console?<br />
Lotjuh: *retry* &#8230; *some error pops up*</p></blockquote>
<p>The error looked a bit like this:</p>
<div class="codecolorer-container bash vibrant" 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">X-Error: BadAlloc <span style="color: #7a0874; font-weight: bold;">&#40;</span>insufficient resources <span style="color: #000000; font-weight: bold;">for</span> operation<span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Major opcode: <span style="color: #000000;">53</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>X_CreatePixmap<span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Resource ID: 0xjemoeder<br />
&nbsp; &nbsp; &nbsp; &nbsp; Serial No: <span style="color: #000000;">1234</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">567</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></div></div>
<p>Since it was a new installation it couldn&#8217;t be the profile&#8230;. some googlefo gave me almost nothing, so another good reason to add this to this post.<br />
The most useful post I could find hinted that removing &#8216;<span style="color: #ff0000;">openoffice.org-gtk</span>&#8216; might help but leave an &#8220;ugly&#8221; openoffice. Well, indeed, after removing it not only the options page worked, it was also even more ugly. Who would have imagined that was even possible! <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
However, lotjuh wasn&#8217;t too thrilled about the new look. Obviously my &#8220;why use openoffice anyway&#8221; argument doesn&#8217;t fly with morons that can barely handle MSWord (&#8220;What does Save do?&#8221;), so time to look into that.</p>
<p>Checking apt-cache against openoffice (why doesn&#8217;t apt-cache sort by default?) gave some insight&#8230;. somehow the state of the system was that openoffice.org-base was not installed.<br />
Mighty interesting&#8230; I&#8217;m quite sure I didn&#8217;t remove that when removing openoffice.org-gtk&#8230; besides, how would it start otherwise?<br />
Ignoring this mystery for now I installed openoffice.org-base and some junk that tagged along with it.<br />
While I was at it I also installed the <span style="color: #ff00ff;">openclipart-openoffice.org</span> and <span style="color: #00ffff;">openoffice.org-style-galaxy</span>, my guess is that one of those fixed the problem.<br />
Yes, after that round of apt-get install it worked. Magic.</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/software/pokemon-os-it-just-works-tm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
