<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>blog.crox.net (Entries tagged as gentoo)</title>
    <link>https://blog.crox.net/</link>
    <description></description>
    <dc:language>en</dc:language>
    <generator>Serendipity 2.5.0 - http://www.s9y.org/</generator>
    <pubDate>Sun, 12 Nov 2017 20:06:09 GMT</pubDate>

    <image>
    <url>https://blog.crox.net/templates/2k11/img/s9y_banner_small.png</url>
    <title>RSS: blog.crox.net - </title>
    <link>https://blog.crox.net/</link>
    <width>100</width>
    <height>21</height>
</image>

<item>
    <title>Gentoo Linux: &quot;Package NOT merged due to file collisions&quot; problem and solution</title>
    <link>https://blog.crox.net/archives/49-Gentoo-Linux-Package-NOT-merged-due-to-file-collisions-problem-and-solution.html</link>
    
    <comments>https://blog.crox.net/archives/49-Gentoo-Linux-Package-NOT-merged-due-to-file-collisions-problem-and-solution.html#comments</comments>
    <wfw:comment>https://blog.crox.net/wfwcomment.php?cid=49</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>https://blog.crox.net/rss.php?version=2.0&amp;type=comments&amp;cid=49</wfw:commentRss>
    

    <author>nospam@example.com (crox)</author>
    <content:encoded>
    When trying to get the latest sys-libs/timezone-data on a somewhat old system, I got the following error:&lt;br /&gt;
&lt;pre&gt;[list of nearly all files the package was about to install]&lt;br /&gt; - Package &#039;sys-libs/timezone-data-2008i&#039; NOT merged due to file&lt;br /&gt; - collisions. If necessary, refer to your elog messages for the whole&lt;br /&gt; - content of the above message.&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
According to equery, it looks like those files were installed by glibc:&lt;br /&gt;
&lt;pre&gt;# equery b /usr/share/zoneinfo/CET&lt;br /&gt;sys-libs/glibc-2.3.4.20041102-r1 (/usr/share/zoneinfo/CET)&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
So I tried &lt;pre&gt;# COLLISION_IGNORE=&quot;/usr/share/zoneinfo&quot; emerge -av timezone-data&lt;/pre&gt;which showed less errors but still gave me:&lt;br /&gt;
&lt;pre&gt; - sys-libs/glibc-2.3.4.20041102-r1&lt;br /&gt; -      /usr/bin/tzselect&lt;br /&gt; -      /usr/sbin/zdump&lt;br /&gt; -      /usr/sbin/zic&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
I ended up with &lt;pre&gt;# COLLISION_IGNORE=&quot;/usr&quot; emerge -av timezone-data&lt;/pre&gt; which worked well.&lt;br /&gt;
&lt;br /&gt;
I looked at the ebuilds and saw that newer glibc packages depend on sys-libs/timezone-data, so upgrading glibc should solve the problem too. I&#039;ve submitted &lt;a href=&quot;http://bugs.gentoo.org/show_bug.cgi?id=258802&quot; &gt;bug 258802&lt;/a&gt; since I didn&#039;t find the info anywhere else. 
    </content:encoded>

    <pubDate>Thu, 12 Feb 2009 22:33:00 +0000</pubDate>
    <guid isPermaLink="false">https://blog.crox.net/archives/49-guid.html</guid>
    <category>gentoo</category>
<category>linux</category>

</item>
<item>
    <title>VaudTax 2007 sous Gentoo 64 bit (VaudTax linux amd64)</title>
    <link>https://blog.crox.net/archives/38-VaudTax-2007-sous-Gentoo-64-bit-VaudTax-linux-amd64.html</link>
    
    <comments>https://blog.crox.net/archives/38-VaudTax-2007-sous-Gentoo-64-bit-VaudTax-linux-amd64.html#comments</comments>
    <wfw:comment>https://blog.crox.net/wfwcomment.php?cid=38</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.crox.net/rss.php?version=2.0&amp;type=comments&amp;cid=38</wfw:commentRss>
    

    <author>nospam@example.com (crox)</author>
    <content:encoded>
    - Lu à plusieurs reprises (mais pas vérifié moi-même) : il est difficile, mais pas impossible, de faire fonctionner VaudTax avec une VM Java 64 bits. (Il faut remplacer le swt.jar fourni par une série de liens symboliques.) Par contre, le format des fichiers sauvegardés n&#039;est semble-t-il pas compatible d&#039;une version 32 bits à une version 64 bits et vice-versa... J&#039;ai donc opté pour la version téléchargeable qui inclut une JVM (32 bits).&lt;br /&gt;
&lt;br /&gt;
- L&#039;installation s&#039;est déroulée sans peine, mais ensuite en exécutant VaudTax j&#039;ai obtenu le message suivant :&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;Vous devez installer le navigateur Internet Mozilla Firefox afin de pouvoir visualiser l&#039;aide de VaudTax 2007, se référer ici : http://www.eclipse.org/swt/faq.php#browserlinuxrcp&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Ne souhaitant pas renoncer à l&#039;aide en ligne, j&#039;ai fini par trouver après de nombreux essais infructueux une procédure qui devrait fonctionner dans la plupart des cas :&lt;br /&gt;
&lt;br /&gt;
- Télécharger xulrunner depuis &lt;a href=&quot;http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.8.0.1/linux-i686/en-US/&quot;&gt;http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.8.0.1/linux-i686/en-US/&lt;/a&gt; (avec la version 1.9 ça ne fonctionne pas chez moi)&lt;br /&gt;
&lt;br /&gt;
- Décompacter xulrunner-1.8.0.1.en-US.linux-i686.tar.gz dans le répertoire dans lequel VaudTax est installé (chez moi et par défaut : $HOME/VaudTax2007)&lt;br /&gt;
&lt;br /&gt;
- Modifier le script qui démarre VaudTax (chez moi et par défaut : $HOME/VaudTax2007/VaudTax2007) en ajoutant les lignes suivantes juste après #!/bin/sh :&lt;pre&gt;&lt;b&gt;export MOZILLA_FIVE_HOME=$HOME/VaudTax2007/xulrunner&lt;br /&gt;export LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH&lt;/b&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Liens utiles :&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://ymartin59.free.fr/wordpress/index.php/2008/02/17/suisse-vaudtax-2007-sur-linux-64-bits/&quot;&gt;http://ymartin59.free.fr/wordpress/index.php/2008/02/17/suisse-vaudtax-2007-sur-linux-64-bits/&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.eclipse.org/swt/faq.php#browserlinux&quot;&gt;http://www.eclipse.org/swt/faq.php#browserlinux&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 02 Sep 2008 22:22:00 +0000</pubDate>
    <guid isPermaLink="false">https://blog.crox.net/archives/38-guid.html</guid>
    <category>gentoo</category>
<category>linux</category>
<category>vaudtax</category>

</item>
<item>
    <title>Linux Kernel 2.6.25 on Gentoo sparc (error: -m64 is not supported by this configuration)</title>
    <link>https://blog.crox.net/archives/32-Linux-Kernel-2.6.25-on-Gentoo-sparc-error-m64-is-not-supported-by-this-configuration.html</link>
    
    <comments>https://blog.crox.net/archives/32-Linux-Kernel-2.6.25-on-Gentoo-sparc-error-m64-is-not-supported-by-this-configuration.html#comments</comments>
    <wfw:comment>https://blog.crox.net/wfwcomment.php?cid=32</wfw:comment>

    <slash:comments>5</slash:comments>
    <wfw:commentRss>https://blog.crox.net/rss.php?version=2.0&amp;type=comments&amp;cid=32</wfw:commentRss>
    

    <author>nospam@example.com (crox)</author>
    <content:encoded>
    I wanted to try the new 2.6.25 kernel on a Sunblade 100 I&#039;m reinstalling. But immediately after entering &quot;make&quot; I got the following error:&lt;pre&gt;arch/sparc64/kernel/asm-offsets.c:1: error: -m64 is not supported by this configuration&lt;br /&gt;arch/sparc64/kernel/asm-offsets.c:1: error: -mlong-double-64 not allowed with -m64&lt;br /&gt;arch/sparc64/kernel/asm-offsets.c:1: error: -mcmodel= is not supported on 32 bit systems&lt;br /&gt;make[1]: *** [arch/sparc64/kernel/asm-offsets.s] Error 1&lt;br /&gt;make: *** [prepare0] Error 2&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
I found the solution &lt;a href=&quot;http://bugs.gentoo.org/show_bug.cgi?id=214765&quot;  title=&quot;Gentoo Bug 214765&quot;&gt;here&lt;/a&gt;, along with the explanation. To make it short, to get it to work, for now you&#039;ll have to type:&lt;pre&gt; # CROSS_COMPILE=sparc64-unknown-linux-gnu- make&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Thu, 24 Apr 2008 22:58:00 +0000</pubDate>
    <guid isPermaLink="false">https://blog.crox.net/archives/32-guid.html</guid>
    <category>gcc</category>
<category>gentoo</category>
<category>linux</category>
<category>sparc</category>

</item>
<item>
    <title>Lightning for x86_64 Linux (amd64)</title>
    <link>https://blog.crox.net/archives/28-Lightning-for-x86_64-Linux-amd64.html</link>
    
    <comments>https://blog.crox.net/archives/28-Lightning-for-x86_64-Linux-amd64.html#comments</comments>
    <wfw:comment>https://blog.crox.net/wfwcomment.php?cid=28</wfw:comment>

    <slash:comments>35</slash:comments>
    <wfw:commentRss>https://blog.crox.net/rss.php?version=2.0&amp;type=comments&amp;cid=28</wfw:commentRss>
    

    <author>nospam@example.com (crox)</author>
    <content:encoded>
    Lightning is a Thunderbird plug-in that adds calendar functions. More on &lt;a href=&quot;http://www.mozilla.org/projects/calendar/lightning/&quot;  title=&quot;Lightning on mozilla.org&quot;&gt;the mozilla.org page&lt;/a&gt;. I tried to install the .xpi from there, but it failed with the following error message:&lt;br /&gt;
&lt;blockquote&gt;&quot;Lightning&quot; could not be installed because it is not compatible with your Thunderbird build type (Linux_x86_64-gcc3). Please contact the author of this item about the problem.&lt;/blockquote&gt;&lt;br /&gt;
So I downloaded the source from &lt;a href=&quot;http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/0.3.1/&quot; &gt;this page&lt;/a&gt;, and followed the instructions from &lt;a href=&quot;http://www.mozilla.org/projects/calendar/lightning/build.html&quot;  title=&quot;Building Lightning&quot;&gt;here&lt;/a&gt;. &lt;a href=&quot;http://dgoodwin.dangerouslyinc.com/compiling-gnome-2-18-debian-etch-amd64&quot;&gt;This page&lt;/a&gt; and the link to &lt;a href=&quot;http://benjamin.smedbergs.us/blog/2005-10-27/gcc-40-workaround/&quot;&gt;that one&lt;/a&gt; were also helpful.&lt;br /&gt;
&lt;br /&gt;
In case you don&#039;t want to open all those links, I&#039;ve put the resulting .xpi file here for you to download: &lt;a href=&quot;https://blog.crox.net/uploads/lightning-0.3.1-x86_64.xpi&quot; title=&quot;lightning-0.3.1-x86_64.xpi&quot; target=&quot;_blank&quot;&gt;lightning-0.3.1-x86_64.xpi&lt;/a&gt;. Or if you prefer to build it yourself, here is how I did it:&lt;br /&gt;
&lt;pre&gt;[untar/bz, cd mozilla]&lt;br/&gt;make distclean&lt;br/&gt;export CFLAGS=&quot;-O2 -pipe -fPIC&quot;&lt;br/&gt;export CHOST=&quot;x86_64-pc-linux-gnu&quot;&lt;br/&gt;export CXXFLAGS=&quot;${CFLAGS}&quot;&lt;br/&gt;export MAKEOPTS=&quot;-j3&quot;&lt;br/&gt;ac_cv_visibility_pragma=no ./configure --enable-application=mail --enable-extensions=default,lightning&lt;br/&gt;make&lt;/pre&gt;&lt;br /&gt;
(of course you may want to change some stuff to better suit your system, I&#039;ve got a &lt;a href=&quot;http://blog.crox.net/archives/25-Gentoo-Linux-on-HPCompaq-nx7400-Core-2-Duo-Laptop-Update.html&quot; &gt;Core 2 Duo laptop running Gentoo Linux&lt;/a&gt;)&lt;br /&gt;
&lt;br /&gt;
Then just select Tools &amp;gt; Extensions in Thunderbird and install the lightning.xpi you&#039;ve just built (located in dist/xpi-stage/lightning.xpi).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;UPDATE&lt;/b&gt; - 2007-06-28 - Lightning 0.5&lt;br /&gt;
&lt;br /&gt;
After reading &lt;a href=&quot;http://blog.crox.net/archives/28-Lightning-for-x86_64-Linux-amd64.html#c387&quot; &gt;Matthew&#039;s comment&lt;/a&gt; I downloaded the newly released Lightning 0.5 from &lt;a href=&quot;http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/0.5/source/lightning-sunbird-0.5-source.tar.bz2&quot;  title=&quot;lightning 0.5 source&quot;&gt;here&lt;/a&gt;, and built &lt;a href=&quot;https://blog.crox.net/uploads/lightning-0.5-x86_64.xpi&quot; title=&quot;lightning-0.5-x86_64.xpi&quot; target=&quot;_blank&quot;&gt;lightning-0.5-x86_64.xpi&lt;/a&gt; following the exact same procedure that I used for 0.3.1. Then I installed it from Tools &amp;gt; Extensions, restarted Thunderbird and immediately noticed the different appearance. (I did not uninstall 0.3.1 first, which apparently is ok.)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;UPDATE&lt;/b&gt; - 2008-09-28 - Lightning 0.9&lt;br /&gt;
&lt;br /&gt;
Download from &lt;a href=&quot;http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/0.9/contrib/linux-x86_64/&quot; &gt;http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/0.9/contrib/linux-x86_64/&lt;/a&gt;&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Fri, 15 Jun 2007 14:50:00 +0000</pubDate>
    <guid isPermaLink="false">https://blog.crox.net/archives/28-guid.html</guid>
    <category>calendar</category>
<category>gentoo</category>
<category>linux</category>
<category>mail</category>
<category>thunderbird</category>

</item>
<item>
    <title>Getting Google Earth for linux to work properly on amd64 (x86_64) Gentoo - i915 module (do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly. - Try running with LIBGL_THROTTLE_R</title>
    <link>https://blog.crox.net/archives/27-Getting-Google-Earth-for-linux-to-work-properly-on-amd64-x86_64-Gentoo-i915-module-do_wait-drmWaitVBlank-returned-1,-IRQs-dont-seem-to-be-working-correctly.-Try-running-with-LIBGL_THROTTLE_R.html</link>
    
    <comments>https://blog.crox.net/archives/27-Getting-Google-Earth-for-linux-to-work-properly-on-amd64-x86_64-Gentoo-i915-module-do_wait-drmWaitVBlank-returned-1,-IRQs-dont-seem-to-be-working-correctly.-Try-running-with-LIBGL_THROTTLE_R.html#comments</comments>
    <wfw:comment>https://blog.crox.net/wfwcomment.php?cid=27</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.crox.net/rss.php?version=2.0&amp;type=comments&amp;cid=27</wfw:commentRss>
    

    <author>nospam@example.com (crox)</author>
    <content:encoded>
    There is no 64 bit version of Google Earth for linux, so you&#039;ll need to make sure you have the latest version of the following packages first:&lt;br /&gt;
&lt;br /&gt;
app-emulation/emul-linux-x86-baselibs&lt;br /&gt;
app-emulation/emul-linux-x86-compat&lt;br /&gt;
app-emulation/emul-linux-x86-gtklibs&lt;br /&gt;
app-emulation/emul-linux-x86-qtlibs&lt;br /&gt;
app-emulation/emul-linux-x86-soundlibs&lt;br /&gt;
app-emulation/emul-linux-x86-xlibs&lt;br /&gt;
&lt;br /&gt;
This allowed me to start GE in the first place. But then it was horribly slow, although glxinfo reported &quot;direct rendering: Yes&quot; etc.&lt;br /&gt;
&lt;br /&gt;
When started from the console, GE would output the following:&lt;br /&gt;
&lt;br /&gt;
do_wait: drmWaitVBlank returned -1, IRQs don&#039;t seem to be working correctly.&lt;br /&gt;
Try running with LIBGL_THROTTLE_REFRESH and LIBL_SYNC_REFRESH unset.&lt;br /&gt;
&lt;br /&gt;
Doing a search led me to try setting LIBGL_ALWAYS_INDIRECT=1 before running Google Earth. Indeed the warning disappeared, and GE was really faster. However, as soon as I would zoom too close, the whole screen was getting more and more sky-blue, until no image was being displayed anymore...&lt;br /&gt;
&lt;br /&gt;
Finally, I found &lt;a href=&quot;http://www.larsen-b.com/Article/231.html&quot;  title=&quot;http://www.larsen-b.com/Article/231.html&quot;&gt;this article&lt;/a&gt;, and especially the comments from Eduardo Habkost and &quot;Researcher&quot;.&lt;br /&gt;
&lt;br /&gt;
I followed Researcher&#039;s instructions, and Google Earth is now working perfectly. For your convenience, I&#039;ve put &lt;a href=&quot;https://blog.crox.net/uploads/drm_nowaitVblank.c&quot; title=&quot;drm_nowaitVblank.c&quot; target=&quot;_blank&quot;&gt;drm_nowaitVblank.c&lt;/a&gt; here to download (you cannot copy-paste from the original page because the parser there treats the includes as html code). Also to compile the code on amd64 you&#039;ll want to use gcc32 and not gcc...&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Sat, 02 Jun 2007 18:20:45 +0000</pubDate>
    <guid isPermaLink="false">https://blog.crox.net/archives/27-guid.html</guid>
    <category>gentoo</category>
<category>google earth</category>
<category>linux</category>

</item>
<item>
    <title>Diskless Linux on a Sunblade 100</title>
    <link>https://blog.crox.net/archives/2-Diskless-Linux-on-a-Sunblade-100.html</link>
    
    <comments>https://blog.crox.net/archives/2-Diskless-Linux-on-a-Sunblade-100.html#comments</comments>
    <wfw:comment>https://blog.crox.net/wfwcomment.php?cid=2</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.crox.net/rss.php?version=2.0&amp;type=comments&amp;cid=2</wfw:commentRss>
    

    <author>nospam@example.com (crox)</author>
    <content:encoded>
    &lt;i&gt;Initially written on 2006-05-17&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
On my other (x86/amd64) diskless machines, I use PXE with pxegrub. My setup is quite similar to (and inspired by) &lt;a href=&quot;http://gentoo-wiki.com/HOWTO_Gentoo_Diskless_Install&quot;  title=&quot;HOWTO Gentoo Diskless Install&quot;&gt;this one&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Now, on sparc machines, there is no BIOS nor PXE. But you don&#039;t need all that, since you have the &lt;a href=&quot;http://en.wikipedia.org/wiki/Open_Boot&quot;  title=&quot;Open Boot&quot;&gt;Open Boot&lt;/a&gt;... This is how I managed to make my Sunblade 100 totally diskless (using a &quot;vanilla&quot; kernel, the latest version being currently 2.6.16.16).&lt;br /&gt;
&lt;br /&gt;
Note: In this example, 10.0.0.10 will be my dhcp/nfs/tftp server which I will refer to as &#039;fileserver&#039;. 10.0.0.30 is the sunblade.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;- when configuring the kernel:&lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;[*] Default bootloader kernel arguments (ip=dhcp root=/dev/nfs nfsroot=10.0.0.10:/diskless/sunblade)&lt;/pre&gt;&lt;br /&gt;
(in &quot;Networking&quot; -&gt; &quot;Networking support&quot; -&gt; &quot;Networking options&quot;)&lt;br /&gt;
&lt;pre&gt;[*]   IP: kernel level autoconfiguration&lt;br /&gt; [*]     IP: DHCP support&lt;br /&gt; [*]     IP: BOOTP support&lt;br /&gt; [*]     IP: RARP support&lt;/pre&gt;&lt;br /&gt;
(in &quot;File systems&quot; -&gt; &quot;Network File Systems&quot;)&lt;br /&gt;
&lt;pre&gt;&lt;*&gt; NFS file system support&lt;br /&gt;[*]   Provide NFSv3 client support&lt;br /&gt;[*] Root file system on NFS&lt;/pre&gt;&lt;br /&gt;
Configure all other settings as you would do for a disk install, but make sure you compile your NIC driver in the kernel (not as module)&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;pre&gt;make&lt;br /&gt;make modules_install&lt;br /&gt;make tftpboot.img ROOT_IMG=/dev/null&lt;/pre&gt;(the resulting tftpboot.img will be in arch/sparc64/boot/tftpboot.img)&lt;br /&gt;
&lt;br /&gt;
I copied tftpboot.img to &lt;i&gt;fileserver&lt;/i&gt; as tftpimage-2.6.16.16, and added the following entry in my dhcpd.conf:&lt;br /&gt;
&lt;pre&gt;host sunblade {&lt;br /&gt;    hardware ethernet 00:03:BA:08:12:34;&lt;br /&gt;    fixed-address 10.0.0.30;&lt;br /&gt;    always-reply-rfc1048 on;&lt;br /&gt;    filename &quot;sunblade/boot/tftpimage-2.6.16.16&quot;;&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Finally, to net-boot your diskless Sunblade you&#039;ll need to enter&lt;pre&gt;boot net:dhcp&lt;/pre&gt;in the Open Boot prompt. When you are happy with it, you can set it as default:&lt;pre&gt;setenv boot-device net:dhcp cdrom disk net&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Notes&lt;/u&gt;:&lt;br /&gt;
&lt;br /&gt;
- apparently, instead of using make tftpboot.img you can just &quot;elftoaout&quot; vmlinux&lt;br /&gt;
&lt;br /&gt;
- another alternative would be to use tilo, which comes with silo, to build the image&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Sat, 31 Mar 2007 22:14:00 +0000</pubDate>
    <guid isPermaLink="false">https://blog.crox.net/archives/2-guid.html</guid>
    <category>diskless</category>
<category>gentoo</category>
<category>linux</category>
<category>netboot</category>
<category>nfs</category>
<category>sparc</category>

</item>
<item>
    <title>Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other)</title>
    <link>https://blog.crox.net/archives/19-Gentoo-sparc-sys-develkgcc64-vs.-sys-develgcc-sparc64-blocking-each-other.html</link>
    
    <comments>https://blog.crox.net/archives/19-Gentoo-sparc-sys-develkgcc64-vs.-sys-develgcc-sparc64-blocking-each-other.html#comments</comments>
    <wfw:comment>https://blog.crox.net/wfwcomment.php?cid=19</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.crox.net/rss.php?version=2.0&amp;type=comments&amp;cid=19</wfw:commentRss>
    

    <author>nospam@example.com (crox)</author>
    <content:encoded>
    If you get this:&lt;br /&gt;
&lt;pre&gt;[blocks B ] sys-devel/gcc-sparc64 (is blocking sys-devel/kgcc64-3.4.6)&lt;/pre&gt;&lt;br /&gt;
Check &lt;a href=&quot;http://forums.gentoo.org/viewtopic-t-533076.html&quot;&gt;this thread&lt;/a&gt; on the gentoo forums:&lt;br /&gt;
&lt;blockquote&gt;There are a couple of architectures on Gentoo that have a 32-bit userland, but need a 64-bit kernel compiler. kgcc64 is an attempt to provide one package for all of those architectures rather than the gcc-&lt;arch&gt; packages that exist now. The way we migrated over to this caused the issue you are seeing.&lt;/blockquote&gt;&lt;br /&gt;
Basically, you&#039;ll need to&lt;br /&gt;
&lt;pre&gt;emerge --unmerge gcc-sparc64 &amp;&amp;amp; emerge sys-devel/kgcc64&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Sat, 31 Mar 2007 22:09:00 +0000</pubDate>
    <guid isPermaLink="false">https://blog.crox.net/archives/19-guid.html</guid>
    <category>gcc</category>
<category>gentoo</category>
<category>linux</category>
<category>sparc</category>

</item>
<item>
    <title>TestDisk / PhotoRec: tool to recover lost files and partitions (Gentoo Linux)</title>
    <link>https://blog.crox.net/archives/20-TestDisk-PhotoRec-tool-to-recover-lost-files-and-partitions-Gentoo-Linux.html</link>
    
    <comments>https://blog.crox.net/archives/20-TestDisk-PhotoRec-tool-to-recover-lost-files-and-partitions-Gentoo-Linux.html#comments</comments>
    <wfw:comment>https://blog.crox.net/wfwcomment.php?cid=20</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.crox.net/rss.php?version=2.0&amp;type=comments&amp;cid=20</wfw:commentRss>
    

    <author>nospam@example.com (crox)</author>
    <content:encoded>
    Homepage: &lt;a href=&quot;http://www.cgsecurity.org/&quot;&gt;http://www.cgsecurity.org/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Description in portage: Multi-platform tool to check and undelete partition, supports reiserfs, ntfs, fat32, ext2/3 and many others. Also includes PhotoRec to recover pictures from digital camera memory.&lt;br /&gt;
&lt;br /&gt;
Installation (Gentoo Linux amd64):&lt;br /&gt;
&lt;br /&gt;
echo &#039;app-admin/testdisk      ~amd64&#039; &gt;&gt; /etc/portage/package.keywords&lt;br /&gt;
echo &#039;app-admin/testdisk      jpeg ntfs&#039; &gt;&gt; /etc/portage/package.use&lt;br /&gt;
emerge -av app-admin/testdisk&lt;br /&gt;
&lt;br /&gt;
To use it, just run &#039;photorec&#039; as root in a shell window. Despite the name, photorec will find and recover many files, not only pictures. You&#039;ll find the &lt;a href=&quot;http://www.cgsecurity.org/wiki/PhotoRec#Known_file_format&quot;  title=&quot;file formats supported by PhotoRec&quot;&gt;full list&lt;/a&gt; on the PhotoRec homepage.&lt;br /&gt;
&lt;br /&gt;
I haven&#039;t tried TestDisk yet, but PhotoRec has been useful several times already.&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Sun, 18 Mar 2007 21:55:00 +0000</pubDate>
    <guid isPermaLink="false">https://blog.crox.net/archives/20-guid.html</guid>
    <category>gentoo</category>
<category>linux</category>
<category>photo</category>

</item>
<item>
    <title>Flash, RealPlayer &amp; Firefox on x86_64 Gentoo</title>
    <link>https://blog.crox.net/archives/18-Flash,-RealPlayer-Firefox-on-x86_64-Gentoo.html</link>
    
    <comments>https://blog.crox.net/archives/18-Flash,-RealPlayer-Firefox-on-x86_64-Gentoo.html#comments</comments>
    <wfw:comment>https://blog.crox.net/wfwcomment.php?cid=18</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.crox.net/rss.php?version=2.0&amp;type=comments&amp;cid=18</wfw:commentRss>
    

    <author>nospam@example.com (crox)</author>
    <content:encoded>
    It&#039;s as simple as:&lt;br /&gt;
&lt;pre&gt;# required as of now to get Flash 9&lt;br /&gt;echo &#039;net-www/netscape-flash  ~amd64&#039; &gt;&gt; /etc/portage/package.keywords&lt;br /&gt;emerge -av netscape-flash&lt;br /&gt;
echo &#039;media-video/realplayer  nsplugin&#039; &gt;&gt; /etc/portage/package.use&lt;br /&gt;emerge -av realplayer&lt;br /&gt;
echo &#039;net-www/nspluginwrapper ~amd64&#039; &gt;&gt; /etc/portage/package.keywords&lt;br /&gt;emerge -av nspluginwrapper&lt;/pre&gt;&lt;br /&gt;
Now I just need to figure out how to get sound when realplay is launched from Firefox (it works with the Flash plugin or when realplay is launched from a regular shell). 
    </content:encoded>

    <pubDate>Mon, 05 Feb 2007 23:19:00 +0000</pubDate>
    <guid isPermaLink="false">https://blog.crox.net/archives/18-guid.html</guid>
    <category>firefox</category>
<category>gentoo</category>
<category>linux</category>

</item>
<item>
    <title>Swiss Keyboard Layout in recent xorg (&quot;AltGr doesn't work&quot;)</title>
    <link>https://blog.crox.net/archives/17-Swiss-Keyboard-Layout-in-recent-xorg-AltGr-doesnt-work.html</link>
    
    <comments>https://blog.crox.net/archives/17-Swiss-Keyboard-Layout-in-recent-xorg-AltGr-doesnt-work.html#comments</comments>
    <wfw:comment>https://blog.crox.net/wfwcomment.php?cid=17</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>https://blog.crox.net/rss.php?version=2.0&amp;type=comments&amp;cid=17</wfw:commentRss>
    

    <author>nospam@example.com (crox)</author>
    <content:encoded>
    It took me a while to figure out what was going on, so I hope this can be useful to someone else...&lt;br /&gt;
&lt;br /&gt;
In gentoo, you need to unmerge x11-misc/xkeyboard-config and emerge x11-misc/xkbdata instead. (I have xorg-x11 7.1)&lt;br /&gt;
&lt;br /&gt;
Then your keyboard section in xorg.conf needs to look like this:&lt;br /&gt;
&lt;pre&gt;Section &quot;InputDevice&quot;&lt;br /&gt;        Identifier      &quot;Generic Keyboard&quot;&lt;br /&gt;        Driver          &quot;kbd&quot;&lt;br /&gt;        Option          &quot;XkbRules&quot;      &quot;xorg&quot;&lt;br /&gt;        Option          &quot;XkbModel&quot;      &quot;pc105&quot;&lt;br /&gt;        Option          &quot;XkbLayout&quot;     &quot;ch(fr)&quot;&lt;br /&gt;EndSection&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;fr_CH&lt;/b&gt; will not work. well, it sort of worked, but none of the AltGr combinations would work, regardless of what I tried with xmodmap, despite the keycode returned by xev being correct etc.&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Mon, 05 Feb 2007 09:17:47 +0000</pubDate>
    <guid isPermaLink="false">https://blog.crox.net/archives/17-guid.html</guid>
    <category>gentoo</category>
<category>linux</category>
<category>xorg</category>

</item>
<item>
    <title>Gentoo Linux on HP/Compaq nx7400 Core 2 Duo Laptop</title>
    <link>https://blog.crox.net/archives/16-Gentoo-Linux-on-HPCompaq-nx7400-Core-2-Duo-Laptop.html</link>
    
    <comments>https://blog.crox.net/archives/16-Gentoo-Linux-on-HPCompaq-nx7400-Core-2-Duo-Laptop.html#comments</comments>
    <wfw:comment>https://blog.crox.net/wfwcomment.php?cid=16</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>https://blog.crox.net/rss.php?version=2.0&amp;type=comments&amp;cid=16</wfw:commentRss>
    

    <author>nospam@example.com (crox)</author>
    <content:encoded>
    [this article has been updated several times with new info after it was initially written. last update: 2007-05-08]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
New job, new laptop :o)&lt;br /&gt;
&lt;br /&gt;
I picked up my new nx7400 at the post office this morning. In case you&#039;d like to look it up, the exact reference is RH403ET: it&#039;s the version with a Core 2 Duo T5600 (2x 1.83GHz) CPU, 1024MB RAM, a 100 GB HD and a WSXGA+ (16801050) 15.4&quot; screen.&lt;br /&gt;
&lt;br /&gt;
When you open the box, the first step you have to go through is to setup the pre-installed XP Pro copy. I did not really want it, but it seems very difficult, if at all possible, to order a laptop without a Windows license. Once XP has been setup, you are &quot;strongly encouraged&quot; to create a set of backup disks. In this case, you&#039;ll need either 12 blank CDs or 2 blank DVDs. The setup process also leaves a 9GB-big &quot;recovery partition&quot; on your disk.&lt;br /&gt;
&lt;br /&gt;
It seems that Bios version 08 fixes some bugs with SpeedStep and linux [see link #1], and anyway it&#039;s probably a good idea to use the latest stable version, so I went to hp.com, downloaded the latest Bios + flash utility from there and updated.&lt;br /&gt;
&lt;br /&gt;
After having completed this, here is what I&#039;ve done:&lt;br /&gt;
&lt;br /&gt;
- restarted the computer with sysrescuecd&lt;br /&gt;
- used gparted to shrink the XP ntfs partition to 25 GB and move it to the end of the disk&lt;br /&gt;
- still with gparted created a new 80 MB primary partition at the beginning of the disk (future /boot)&lt;br /&gt;
- created a new extended partition with the remaining space between /boot and XP&lt;br /&gt;
- created two logical partitions for swap and / within the extended partition&lt;br /&gt;
&lt;br /&gt;
After that I rebooted on a gentoo 2006.1 amd64 install CD (minimal), and went through a regular gentoo install:&lt;br /&gt;
&lt;br /&gt;
- mount / and /boot in /mnt/gentoo&lt;br /&gt;
- download and untar stage3 + portage snapshot&lt;br /&gt;
- at this point I left the default CFLAGS=&quot;-O2 -pipe&quot; in make.conf, I just added MAKEOPTS=&quot;-j3&quot; and filled GENTOO_MIRRORS (march=native or march=core2 seem promising but are not available before gcc 4.2 resp. 4.3)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
CPU FREQ&lt;br /&gt;
&lt;br /&gt;
emerge -av cpufrequtils&lt;br /&gt;
echo &#039;echo 1833000 &gt; /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq&#039; &gt;&gt; /etc/conf.d/local.start&lt;br /&gt;
echo &#039;echo 1833000 &gt; /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq&#039; &gt;&gt; /etc/conf.d/local.start&lt;br /&gt;
echo 1833000 &gt; /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq&lt;br /&gt;
echo 1833000 &gt; /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq&lt;br /&gt;
vi /etc/conf.d/cpufrequtils&lt;br /&gt;
/etc/init.d/cpufrequtils start&lt;br /&gt;
rc-update add cpufrequtils boot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PSMOUSE BUG&lt;br /&gt;
&lt;br /&gt;
- compile psmouse as module&lt;br /&gt;
- echo &#039;/sbin/rmmod psmouse&#039; &gt;&gt; /etc/conf.d/local.stop&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
WLAN&lt;br /&gt;
&lt;br /&gt;
After having installed everything, I restarted my new system, and wanted to add support for the Intel PRO/Wireless 3945ABG card:&lt;br /&gt;
&lt;br /&gt;
echo &#039;net-wireless/ipw3945&#039; &gt;&gt; /etc/portage/package.unmask&lt;br /&gt;
echo &#039;net-wireless/ipw3945    ~amd64&#039; &gt;&gt; /etc/portage/package.keywords&lt;br /&gt;
echo &#039;net-wireless/ipw3945d   ~amd64&#039; &gt;&gt; /etc/portage/package.keywords&lt;br /&gt;
echo &#039;net-wireless/ipw3945-ucode      ~amd64&#039; &gt;&gt; /etc/portage/package.keywords&lt;br /&gt;
&lt;br /&gt;
Everything went fine until emerge complained that ipw3945-1.1.3 needed a kernel &gt;= 2.6.19...&lt;br /&gt;
&lt;br /&gt;
So I downloaded the latest stable kernel (2.6.19.2 as of today) from the nearest mirror, reconfigured it based on my 2.6.18 .config (some new options appeared, and some things like SATA have moved between 2.6.18 and 2.6.19, overall the H/W support for my laptop seems to be better)&lt;br /&gt;
&lt;br /&gt;
- reboot on 2.6.19.2&lt;br /&gt;
- emerge ipw3945&lt;br /&gt;
- echo &#039;ipw3945&#039; &gt;&gt; /etc/modules.autoload.d/kernel-2.6&lt;br /&gt;
- modules-update&lt;br /&gt;
- reboot&lt;br /&gt;
=&gt; iwconfig eth1 now displays what you&#039;d expect it to&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
XORG&lt;br /&gt;
&lt;br /&gt;
echo &#039;VIDEO_CARDS=&quot;i810&quot;&#039; &gt;&gt; /etc/make.conf&lt;br /&gt;
echo &#039;INPUT_DEVICES=&quot;evdev keyboard mouse synaptics&quot;&#039; &gt;&gt; /etc/make.conf&lt;br /&gt;
emerge xorg-x11&lt;br /&gt;
&lt;br /&gt;
there is a problem with the vga bios which does not &quot;advertise&quot; the 1680x1050 mode. here is the workaround:&lt;br /&gt;
&lt;br /&gt;
- echo &#039;sys-apps/915resolution  ~amd64&#039; &gt;&gt; /etc/portage/package.keywords&lt;br /&gt;
- emerge -av sys-apps/915resolution&lt;br /&gt;
- pick up a mode you don&#039;t need from the output of 915resolution -l&lt;br /&gt;
- here is what I put in /etc/conf.d/915resolution: replace=( &quot;41 1680 1050 24&quot; )&lt;br /&gt;
- /etc/init.d/915resolution start&lt;br /&gt;
- rc-update add 915resolution default&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ALSA&lt;br /&gt;
&lt;br /&gt;
it looks like there is a problem with the hda-intel driver included in kernel 2.6.19, so I recompiled the kernel without alsa support and emerged alsa-driver:&lt;br /&gt;
&lt;br /&gt;
- echo &#039;ALSA_CARDS=&quot;hda-intel&quot;&#039; &gt;&gt; /etc/make.conf&lt;br /&gt;
- echo &#039;media-sound/alsa-headers ~amd64&#039; &gt;&gt; /etc/portage/package.keywords&lt;br /&gt;
- echo &#039;media-sound/alsa-driver ~amd64&#039; &gt;&gt; /etc/portage/package.keywords&lt;br /&gt;
- emerge -av alsa-driver&lt;br /&gt;
&lt;br /&gt;
- emerge alsa-utils&lt;br /&gt;
- vi /etc/modules.d/alsa&lt;br /&gt;
alias snd-card-0 snd-hda-intel&lt;br /&gt;
alias sound-slot-0 snd-card-0&lt;br /&gt;
- modules-update&lt;br /&gt;
- rc-update add alsasound boot&lt;br /&gt;
- /etc/init.d/alsasound restart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PCMCIA&lt;br /&gt;
&lt;br /&gt;
emerge -av sys-apps/pcmciautils&lt;br /&gt;
echo &#039;pcmcia&#039; &gt;&gt; /etc/modules.autoload.d/kernel-2.6&lt;br /&gt;
echo &#039;yenta-socket&#039; &gt;&gt; /etc/modules.autoload.d/kernel-2.6&lt;br /&gt;
modules-update&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TEMPERATURE SENSORS&lt;br /&gt;
&lt;br /&gt;
echo &#039;gnome-extra/sensors-applet      hddtemp&#039; &gt;&gt; /etc/portage/package.use&lt;br /&gt;
emerge -av gnome-extra/sensors-applet&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Links:&lt;br /&gt;
&lt;br /&gt;
[1] &lt;a href=&quot;http://people.solsys.ro/silviu/2006/11/17/hp-nx7400-linux-problems-solved/&quot; &gt;http://people.solsys.ro/silviu/2006/11/17/hp-nx7400-linux-problems-solved/&lt;/a&gt;&lt;br /&gt;
[2] &lt;a href=&quot;http://psykil.livejournal.com/300856.html&quot; &gt;http://psykil.livejournal.com/300856.html&lt;/a&gt;&lt;br /&gt;
[3] &lt;a href=&quot;http://psykil.livejournal.com/2006/12/03/&quot; &gt;http://psykil.livejournal.com/2006/12/03/&lt;/a&gt;&lt;br /&gt;
[4] &lt;a href=&quot;http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html&quot; &gt;http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html&lt;/a&gt;&lt;br /&gt;
[5] &lt;a href=&quot;http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html&quot; &gt;http://tuxmobil.org/gentoo_mobile.html&lt;/a&gt;&lt;br /&gt;
[6] &lt;a href=&quot;http://gentoo-wiki.com/Safe_Cflags#Intel_Core_2_Solo.2FDuo.2FQuad_.28Allendale.2C_Conroe.2C_Merom.2C_Kentsfield.29_and_Xeon_51xx.2F53xx_.28Woodcrest.2C_Clovertown.29&quot; &gt;http://gentoo-wiki.com/Safe_Cflags&lt;/a&gt;&lt;br /&gt;
[7] &lt;a href=&quot;http://devel.reinikainen.net/docs/how-to/nx7400/&quot; &gt;http://devel.reinikainen.net/docs/how-to/nx7400/&lt;/a&gt;&lt;br /&gt;
[8] &lt;a href=&quot;http://forums.gentoo.org/viewtopic-t-517019.html&quot; &gt;http://forums.gentoo.org/viewtopic-t-517019.html&lt;/a&gt;&lt;br /&gt;
[9] &lt;a href=&quot;http://emisca.altervista.org/nx7400/&quot; &gt;http://emisca.altervista.org/nx7400/&lt;/a&gt;&lt;br /&gt;
[10] &lt;a href=&quot;http://ubuntuforums.org/showthread.php?t=345569&quot; &gt;http://ubuntuforums.org/showthread.php?t=345569&lt;/a&gt;&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Thu, 01 Feb 2007 16:06:13 +0000</pubDate>
    <guid isPermaLink="false">https://blog.crox.net/archives/16-guid.html</guid>
    <category>gentoo</category>
<category>linux</category>

</item>

</channel>
</rss>
