Gentoo Archives: gentoo-doc-cvs

From: Josh Saddler <nightmorph@××××××××××××.org>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] cvs commit: hb-install-sparc-kernel.xml
Date: Mon, 02 Apr 2007 01:33:12
Message-Id: E1HYBPn-0004lN-BT@stork.gentoo.org
1 nightmorph 07/04/02 01:32:59
2
3 Modified: hb-install-sparc-kernel.xml
4 Log:
5 conditionals, no more 2.4 stuff (per -doc ML) and other changes
6
7 Revision Changes Path
8 1.2 xml/htdocs/doc/en/handbook/2007.0/hb-install-sparc-kernel.xml
9
10 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
11 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
12 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
13
14 Index: hb-install-sparc-kernel.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-sparc-kernel.xml,v
17 retrieving revision 1.1
18 retrieving revision 1.2
19 diff -u -r1.1 -r1.2
20 --- hb-install-sparc-kernel.xml 19 Mar 2007 20:37:28 -0000 1.1
21 +++ hb-install-sparc-kernel.xml 2 Apr 2007 01:32:59 -0000 1.2
22 @@ -4,11 +4,11 @@
23 <!-- The content of this document is licensed under the CC-BY-SA license -->
24 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
25
26 -<!-- $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 $ -->
27 +<!-- $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 $ -->
28
29 <sections>
30
31 -<version>7.2</version>
32 +<version>8.0</version>
33 <date>2007-03-06</date>
34
35 <section>
36 @@ -17,8 +17,8 @@
37
38 <p>
39 You first need to select your timezone so that your system knows where it is
40 -located. Look for your timezone in <path>/usr/share/zoneinfo</path>, then copy
41 -it to <path>/etc/localtime</path>. Please avoid the
42 +located. Look for your timezone in <path>/usr/share/zoneinfo</path>. You then
43 +set your timezone in <path>/etc/conf.d/clock</path>. Please avoid the
44 <path>/usr/share/zoneinfo/Etc/GMT*</path> timezones as their names do not
45 indicate the expected zones. For instance, <path>GMT-8</path> is in fact GMT+8.
46 </p>
47 @@ -26,7 +26,8 @@
48 <pre caption="Setting the timezone information">
49 # <i>ls /usr/share/zoneinfo</i>
50 <comment>(Suppose you want to use GMT)</comment>
51 -# <i>cp /usr/share/zoneinfo/GMT /etc/localtime</i>
52 +# <i>nano -w /etc/conf.d/clock</i>
53 +TIMEZONE="GMT"
54 </pre>
55
56 </body>
57 @@ -46,14 +47,12 @@
58 </p>
59
60 <p>
61 -For sparc-based systems we have <c>sparc-sources</c> (2.4 kernel sources
62 -optimized for SPARC users) and <c>gentoo-sources</c> (recommended 2.6 kernel
63 +For sparc-based systems we have <c>gentoo-sources</c> (recommended 2.6 kernel
64 sources).
65 </p>
66
67 <p>
68 -In the next example we install the <c>gentoo-sources</c>. Of course substitute
69 -with your choice of sources, this is merely an example.
70 +In the next example we install <c>gentoo-sources</c>.
71 </p>
72
73 <pre caption="Installing a kernel source">
74 @@ -63,13 +62,13 @@
75 <p>
76 When you take a look in <path>/usr/src</path> you should see a symlink called
77 <path>linux</path> pointing to your kernel source. In this case, the installed
78 -kernel source points to <c>linux-2.6.17-gentoo-r5</c>. Your version may be
79 -different, so keep this in mind.
80 +kernel source points to <c>linux-<keyval id="kernel-version"/></c>. Your version
81 +may be different, so keep this in mind.
82 </p>
83
84 <pre caption="Viewing the kernel source symlink">
85 # <i>ls -l /usr/src/linux</i>
86 -lrwxrwxrwx 1 root root 12 Oct 13 11:04 /usr/src/linux -&gt; linux-2.6.17-gentoo-r5
87 +lrwxrwxrwx 1 root root 12 Oct 13 11:04 /usr/src/linux -&gt; linux-<keyval id="kernel-version"/>
88 </pre>
89
90 <p>
91 @@ -139,15 +138,14 @@
92 Now go to <c>File Systems</c> and select support for the filesystems you use.
93 <e>Don't</e> compile them as modules, otherwise your Gentoo system will not be
94 able to mount your partitions. Also select <c>Virtual memory</c> and <c>/proc
95 -file system</c>. If you are running a 2.4 kernel, you should also select
96 -<c>/dev file system</c> + <c>Automatically mount at boot</c>:
97 +file system</c>:
98 </p>
99
100 <pre caption="Selecting necessary file systems">
101 File systems ---&gt;
102 - [*] Virtual memory file system support (former shm fs)
103 - [*] /proc file system support
104 - [ ] /dev/pts file system for Unix98 PTYs
105 + Pseudo Filesystems ---&gt;
106 + [*] /proc file system support
107 + [*] Virtual memory file system support (former shm fs)
108
109 <comment>(Select one or more of the following options as needed by your system)</comment>
110 &lt;*&gt; Ext3 journalling file system support
111 @@ -160,10 +158,11 @@
112 </p>
113
114 <pre caption="Selecting PPPoE necessary drivers">
115 -Network device support ---&gt;
116 - &lt;*&gt; PPP (point-to-point protocol) support
117 - &lt;*&gt; PPP support for async serial ports
118 - &lt;*&gt; PPP support for sync tty ports
119 +Device Drivers ---&gt;
120 + Networking support ---&gt;
121 + &lt;*&gt; PPP (point-to-point protocol) support
122 + &lt;*&gt; PPP support for async serial ports
123 + &lt;*&gt; PPP support for sync tty ports
124 </pre>
125
126 <p>
127 @@ -243,6 +242,10 @@
128 Ignoring this can lead to a non-booting kernel.
129 </p>
130
131 +<note>
132 +If you use a 2.6.3 or higher kernel, sparc64 kernels can be up to 7.5 MB.
133 +</note>
134 +
135 <p>
136 Also, if your kernel is just a tad too big, you can try stripping it using the
137 <c>strip</c> command:
138 @@ -265,10 +268,10 @@
139
140 <pre caption="Compiling the kernel">
141 <comment>(sparc32)</comment>
142 -# <i>make dep &amp;&amp; make clean vmlinux modules modules_install</i>
143 +# <i>make &amp;&amp; make modules_install</i>
144
145 <comment>(sparc64)</comment>
146 -# <i>make dep &amp;&amp; make clean vmlinux image modules modules_install</i>
147 +# <i>make &amp;&amp; make image modules_install</i>
148 </pre>
149
150 <p>
151 @@ -279,7 +282,7 @@
152
153 <pre caption="Installing the kernel">
154 <comment>(sparc32)</comment>
155 -# <i>cp vmlinux /boot/&lt;kernel-version&gt;</i>
156 +# <i>cp arch/sparc/boot/image /boot/&lt;kernel-version&gt;</i>
157
158 <comment>(sparc64)</comment>
159 # <i>cp arch/sparc64/boot/image /boot/&lt;kernel-version&gt;</i>
160 @@ -300,9 +303,9 @@
161 <body>
162
163 <p>
164 -You should list the modules you want automatically loaded in
165 -<path>/etc/modules.autoload.d/kernel-2.6</path>.
166 -You can add extra options to the modules too if you want.
167 +You should list the modules you want automatically loaded in
168 +<path>/etc/modules.autoload.d/kernel-2.6</path>. You can add extra options to
169 +the modules too if you want.
170 </p>
171
172 <p>
173
174
175
176 --
177 gentoo-doc-cvs@g.o mailing list