<?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 sparc)</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:25 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>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>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>

</channel>
</rss>
