nightmorph    07/04/02 01:32:59

  Modified:             hb-install-sparc-kernel.xml
  Log:
  conditionals, no more 2.4 stuff (per -doc ML) and other changes

Revision  Changes    Path
1.2                  
xml/htdocs/doc/en/handbook/2007.0/hb-install-sparc-kernel.xml

file : 
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-sparc-kernel.xml?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-sparc-kernel.xml?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-sparc-kernel.xml?r1=1.1&r2=1.2

Index: hb-install-sparc-kernel.xml
===================================================================
RCS file: 
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-sparc-kernel.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- hb-install-sparc-kernel.xml 19 Mar 2007 20:37:28 -0000      1.1
+++ hb-install-sparc-kernel.xml 2 Apr 2007 01:32:59 -0000       1.2
@@ -4,11 +4,11 @@
 <!-- The content of this document is licensed under the CC-BY-SA license -->
 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
 
-<!-- $Header: 
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-sparc-kernel.xml,v
 1.1 2007/03/19 20:37:28 nightmorph Exp $ -->
+<!-- $Header: 
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-sparc-kernel.xml,v
 1.2 2007/04/02 01:32:59 nightmorph Exp $ -->
 
 <sections>
 
-<version>7.2</version>
+<version>8.0</version>
 <date>2007-03-06</date>
 
 <section>
@@ -17,8 +17,8 @@
 
 <p>
 You first need to select your timezone so that your system knows where it is
-located. Look for your timezone in <path>/usr/share/zoneinfo</path>, then copy
-it to <path>/etc/localtime</path>. Please avoid the
+located. Look for your timezone in <path>/usr/share/zoneinfo</path>. You then
+set your timezone in <path>/etc/conf.d/clock</path>. Please avoid the
 <path>/usr/share/zoneinfo/Etc/GMT*</path> timezones as their names do not
 indicate the expected zones. For instance, <path>GMT-8</path> is in fact GMT+8.
 </p>
@@ -26,7 +26,8 @@
 <pre caption="Setting the timezone information">
 # <i>ls /usr/share/zoneinfo</i>
 <comment>(Suppose you want to use GMT)</comment>
-# <i>cp /usr/share/zoneinfo/GMT /etc/localtime</i>
+# <i>nano -w /etc/conf.d/clock</i>
+TIMEZONE="GMT"
 </pre>
 
 </body>
@@ -46,14 +47,12 @@
 </p>
 
 <p>
-For sparc-based systems we have <c>sparc-sources</c> (2.4 kernel sources
-optimized for SPARC users) and <c>gentoo-sources</c> (recommended 2.6 kernel
+For sparc-based systems we have <c>gentoo-sources</c> (recommended 2.6 kernel
 sources).
 </p>
 
 <p>
-In the next example we install the <c>gentoo-sources</c>. Of course substitute
-with your choice of sources, this is merely an example.
+In the next example we install <c>gentoo-sources</c>.
 </p>
 
 <pre caption="Installing a kernel source">
@@ -63,13 +62,13 @@
 <p>
 When you take a look in <path>/usr/src</path> you should see a symlink called
 <path>linux</path> pointing to your kernel source. In this case, the installed
-kernel source points to <c>linux-2.6.17-gentoo-r5</c>. Your version may be
-different, so keep this in mind.
+kernel source points to <c>linux-<keyval id="kernel-version"/></c>. Your 
version
+may be different, so keep this in mind.
 </p>
 
 <pre caption="Viewing the kernel source symlink">
 # <i>ls -l /usr/src/linux</i>
-lrwxrwxrwx    1 root     root       12 Oct 13 11:04 /usr/src/linux -&gt; 
linux-2.6.17-gentoo-r5
+lrwxrwxrwx    1 root     root       12 Oct 13 11:04 /usr/src/linux -&gt; 
linux-<keyval id="kernel-version"/>
 </pre>
 
 <p>
@@ -139,15 +138,14 @@
 Now go to <c>File Systems</c> and select support for the filesystems you use.
 <e>Don't</e> compile them as modules, otherwise your Gentoo system will not be
 able to mount your partitions. Also select <c>Virtual memory</c> and <c>/proc
-file system</c>. If you are running a 2.4 kernel, you should also select
-<c>/dev file system</c> + <c>Automatically mount at boot</c>:
+file system</c>:
 </p>
 
 <pre caption="Selecting necessary file systems">
 File systems ---&gt;
-  [*] Virtual memory file system support (former shm fs)
-  [*] /proc file system support
-  [ ] /dev/pts file system for Unix98 PTYs
+  Pseudo Filesystems ---&gt;
+    [*] /proc file system support
+    [*] Virtual memory file system support (former shm fs)
 
 <comment>(Select one or more of the following options as needed by your 
system)</comment>
   &lt;*&gt; Ext3 journalling file system support
@@ -160,10 +158,11 @@
 </p>
 
 <pre caption="Selecting PPPoE necessary drivers">
-Network device support ---&gt;
-  &lt;*&gt; PPP (point-to-point protocol) support
-  &lt;*&gt;   PPP support for async serial ports
-  &lt;*&gt;   PPP support for sync tty ports
+Device Drivers ---&gt;
+  Networking support ---&gt;
+    &lt;*&gt; PPP (point-to-point protocol) support
+    &lt;*&gt;   PPP support for async serial ports
+    &lt;*&gt;   PPP support for sync tty ports
 </pre>
 
 <p>
@@ -243,6 +242,10 @@
 Ignoring this can lead to a non-booting kernel.
 </p>
 
+<note>
+If you use a 2.6.3 or higher kernel, sparc64 kernels can be up to 7.5 MB.
+</note>
+
 <p>
 Also, if your kernel is just a tad too big, you can try stripping it using the
 <c>strip</c> command:
@@ -265,10 +268,10 @@
 
 <pre caption="Compiling the kernel">
 <comment>(sparc32)</comment>
-# <i>make dep &amp;&amp; make clean vmlinux modules modules_install</i>
+# <i>make &amp;&amp; make modules_install</i>
 
 <comment>(sparc64)</comment>
-# <i>make dep &amp;&amp; make clean vmlinux image modules modules_install</i>
+# <i>make &amp;&amp; make image modules_install</i>
 </pre>
 
 <p>
@@ -279,7 +282,7 @@
 
 <pre caption="Installing the kernel">
 <comment>(sparc32)</comment>
-# <i>cp vmlinux /boot/&lt;kernel-version&gt;</i>
+# <i>cp arch/sparc/boot/image /boot/&lt;kernel-version&gt;</i>
 
 <comment>(sparc64)</comment>
 # <i>cp arch/sparc64/boot/image /boot/&lt;kernel-version&gt;</i>
@@ -300,9 +303,9 @@
 <body>
 
 <p>
-You should list the modules you want automatically loaded in 
-<path>/etc/modules.autoload.d/kernel-2.6</path>. 
-You can add extra options to the modules too if you want.
+You should list the modules you want automatically loaded in
+<path>/etc/modules.autoload.d/kernel-2.6</path>. You can add extra options to
+the modules too if you want.
 </p>
 
 <p>



-- 
[email protected] mailing list

Reply via email to