1 |
nightmorph 09/12/14 21:33:15 |
2 |
|
3 |
Modified: gentoo-sparc-faq.xml |
4 |
Log: |
5 |
Update sparc FAQ for sparc32 removal, kernel compilation, etc. per bug 296744 |
6 |
|
7 |
Revision Changes Path |
8 |
1.17 xml/htdocs/doc/en/gentoo-sparc-faq.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gentoo-sparc-faq.xml?rev=1.17&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gentoo-sparc-faq.xml?rev=1.17&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gentoo-sparc-faq.xml?r1=1.16&r2=1.17 |
13 |
|
14 |
Index: gentoo-sparc-faq.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-sparc-faq.xml,v |
17 |
retrieving revision 1.16 |
18 |
retrieving revision 1.17 |
19 |
diff -u -r1.16 -r1.17 |
20 |
--- gentoo-sparc-faq.xml 21 May 2008 19:41:05 -0000 1.16 |
21 |
+++ gentoo-sparc-faq.xml 14 Dec 2009 21:33:15 -0000 1.17 |
22 |
@@ -1,26 +1,26 @@ |
23 |
<?xml version='1.0' encoding="UTF-8"?> |
24 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-sparc-faq.xml,v 1.16 2008/05/21 19:41:05 swift Exp $ --> |
25 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-sparc-faq.xml,v 1.17 2009/12/14 21:33:15 nightmorph Exp $ --> |
26 |
|
27 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
28 |
-<guide link="/doc/en/gentoo-sparc-faq.xml"> |
29 |
+<guide> |
30 |
<title>Gentoo Linux/SPARC Frequently Asked Questions</title> |
31 |
|
32 |
<author title="SPARC Developer"> |
33 |
- <mail link="weeve@g.o">Jason Wever</mail> |
34 |
+ <mail link="weeve"/> |
35 |
</author> |
36 |
|
37 |
<abstract> |
38 |
This FAQ is designed to help answer the most commonly asked questions about |
39 |
-Gentoo Linux/SPARC and Linux on SPARC architecture. Feel free to send |
40 |
-revisions and corrections to the sparc team or the doc team. |
41 |
+Gentoo/SPARC and Linux on SPARC architecture. Feel free to send revisions and |
42 |
+corrections to the Gentoo/SPARC team or the doc team. |
43 |
</abstract> |
44 |
|
45 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
46 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
47 |
<license/> |
48 |
|
49 |
-<version>1.9</version> |
50 |
-<date>2007-06-30</date> |
51 |
+<version>1.10</version> |
52 |
+<date>2009-12-14</date> |
53 |
|
54 |
<faqindex> |
55 |
<title>Questions</title> |
56 |
@@ -103,21 +103,7 @@ |
57 |
|
58 |
</body> |
59 |
</section> |
60 |
-<!-- sparc32 is no longer supported |
61 |
-<section> |
62 |
-<title>How do I network boot my SPARC system for installation?</title> |
63 |
-<body> |
64 |
- |
65 |
-<p> |
66 |
-Currently, Gentoo has experimental network boot/tftpboot images available on a |
67 |
-local Gentoo mirror in experimental/sparc/tftpboot. Get the appropriate image |
68 |
-for your SPARC computer and then proceed to the Netboot HOWTO for further |
69 |
-instructions. |
70 |
-</p> |
71 |
|
72 |
-</body> |
73 |
-</section> |
74 |
---> |
75 |
<section> |
76 |
<title>I have a CRT/LCD monitor attached to my SPARC that selects a resolution |
77 |
my monitor can't handle when the kernel boots. How do I get a visible and/or |
78 |
@@ -207,10 +193,10 @@ |
79 |
<body> |
80 |
|
81 |
<p> |
82 |
-Dual booting Gentoo Linux/SPARC and Solaris can be done one of two ways. The |
83 |
-two ways are: having both Gentoo Linux/SPARC and Solaris on the same drive, or |
84 |
-having them on separate drives. Below are example SILO configurations for each |
85 |
-scenario. In the example configs, the following things are assumed: |
86 |
+Dual booting Gentoo/SPARC and Solaris can be done one of two ways. The two ways |
87 |
+are: having both Gentoo/SPARC and Solaris on the same drive, or having them on |
88 |
+separate drives. Below are example SILO configurations for each scenario. In the |
89 |
+example configs, the following things are assumed: |
90 |
</p> |
91 |
|
92 |
<p> |
93 |
@@ -240,7 +226,7 @@ |
94 |
partition = 1 |
95 |
timeout = 50 |
96 |
|
97 |
-<comment># Gentoo Linux/SPARC options</comment> |
98 |
+<comment># Gentoo/SPARC options</comment> |
99 |
image = /boot/vmlinux |
100 |
label = linux |
101 |
root=/dev/sda4 |
102 |
@@ -255,7 +241,7 @@ |
103 |
parition = 1 |
104 |
timeout = 50 |
105 |
|
106 |
-<comment># Gentoo Linux/SPARC options</comment> |
107 |
+<comment># Gentoo/SPARC options</comment> |
108 |
image = /boot/vmlinux |
109 |
label = linux |
110 |
root=/dev/sda4 |
111 |
@@ -267,51 +253,6 @@ |
112 |
|
113 |
</body> |
114 |
</section> |
115 |
-<!-- sparc32 is no longer supported |
116 |
-<section> |
117 |
-<title>I just booted my SPARCstation after installing Gentoo but it won't boot. |
118 |
-Why isn't it booting?</title> |
119 |
-<body> |
120 |
- |
121 |
-<p> |
122 |
-One possibility has to do with the way the that the SCSI IDs are assigned. |
123 |
-Gentoo/SPARC developer Keith Wesolowski provides us with the following: |
124 |
-</p> |
125 |
- |
126 |
-<p> |
127 |
-Linux, normally, orders devices by SCSI ID. The lowest-numbered disk is |
128 |
-<c>sda</c>, the next-lowest is <c>sdb</c>, and so on. Note that <c>devfs</c> |
129 |
-allows you to specify devices by SCSI ID, so that adding a new device doesn't |
130 |
-cause your existing devices to be renamed, unless of course you use the |
131 |
-compatibility names. There are additional ways to solve this. |
132 |
-</p> |
133 |
- |
134 |
-<p> |
135 |
-The OBP in most or all sun4c and sun4m systems aliases "disk" to the device with |
136 |
-SCSI ID 3, and "disk0" through "disk3" to the device with the corresponding SCSI |
137 |
-ID, if it happens to be a disk rather than a tape, CDROM, etc. |
138 |
-</p> |
139 |
- |
140 |
-<p> |
141 |
-In the desktop systems of this era that support two SCA disks (the Aurora |
142 |
-chassis systems), the lower slot is assigned SCSI ID 3, and the upper slot is |
143 |
-assigned SCSI ID 1. |
144 |
-</p> |
145 |
- |
146 |
-<p> |
147 |
-If you like, you can change the PROM alias "disk" to match that of "disk1" so |
148 |
-that the <c>boot disk</c> command causes the system to boot from the same |
149 |
-device Linux calls <c>sda</c>. This feels more consistent and normal, |
150 |
-especially for users with a PC background. Alternatively, you can simply place |
151 |
-the filesystem containing <path>/boot</path> (which could be the root |
152 |
-filesystem or a separate boot filesystem) on device ID 3 (Linux <c>sdb</c>) and |
153 |
-boot from it, using a root filesystem on either <c>sda</c> or <c>sdb</c>, or in |
154 |
-fact any other disk attached to the system. |
155 |
-</p> |
156 |
- |
157 |
-</body> |
158 |
-</section> |
159 |
---> |
160 |
</chapter> |
161 |
|
162 |
<chapter> |
163 |
@@ -334,30 +275,6 @@ |
164 |
allow some users to run it successfully in production environments. |
165 |
</p> |
166 |
|
167 |
-<p> |
168 |
-32-bit SPARC systems are no longer supported by the Gentoo/SPARC team. |
169 |
-</p> |
170 |
- |
171 |
-<!-- 32bit is no longer supported |
172 |
-<p> |
173 |
-32-bit SPARC systems vary. Systems with the sun4m architecture have been |
174 |
-reported to work fine (SS4-SS20) including SMP configurations with the later |
175 |
-2.4 series kernels. sun4m systems using HyperSPARC or Ross processors in a SMP |
176 |
-configuration will have a lot of kernel related trouble. Additionally the |
177 |
-author hasn't heard of any user reports in regards to the JavaStations so its |
178 |
-status is unknown. sun4d based systems currently do not work in the 2.4 kernel |
179 |
-series, and sun4c has been unstable as well. |
180 |
-</p> |
181 |
- |
182 |
-<p> |
183 |
-Often, the problems encountered in trying to run Gentoo on a 32-bit SPARC |
184 |
-system stem from the kernel. Rob Radez (not related to Gentoo) maintains a |
185 |
-webpage <uri>http://osinvestor.com/sparc/</uri> with the status of SPARC system |
186 |
-support for various versions of the Linux kernel. This can help indicate how |
187 |
-usable your SPARC system would be under SPARC/Linux. |
188 |
-</p> |
189 |
---> |
190 |
- |
191 |
</body> |
192 |
</section> |
193 |
<section> |
194 |
@@ -366,8 +283,8 @@ |
195 |
|
196 |
<p> |
197 |
For a list of additionally supported Sun hardware, consult the following list |
198 |
-from the UltraLinux homepage - |
199 |
-<uri>http://www.ultralinux.org/faq.html#q_2_2.</uri> |
200 |
+from the <uri link="http://www.ultralinux.org/faq.html#q_2_2.">UltraLinux |
201 |
+homepage</uri>. |
202 |
</p> |
203 |
|
204 |
<p> |
205 |
@@ -393,7 +310,7 @@ |
206 |
</body> |
207 |
</section> |
208 |
<section> |
209 |
-<title>How do I know which Sparc I have?</title> |
210 |
+<title>How do I know which SPARC I have?</title> |
211 |
<body> |
212 |
|
213 |
<p> |
214 |
@@ -455,6 +372,18 @@ |
215 |
|
216 |
</body> |
217 |
</section> |
218 |
+<section> |
219 |
+<title>Is SPARC big-endian or little-endian?</title> |
220 |
+<body> |
221 |
+ |
222 |
+<p> |
223 |
+The version supported by Gentoo/SPARC (v9) is bi-endian. It uses big-endian |
224 |
+intructions, but can access data in little-endian byte-order, such as PCI |
225 |
+devices, which are little-endian by nature. |
226 |
+</p> |
227 |
+ |
228 |
+</body> |
229 |
+</section> |
230 |
</chapter> |
231 |
|
232 |
<chapter> |
233 |
@@ -489,7 +418,7 @@ |
234 |
</body> |
235 |
</section> |
236 |
<section> |
237 |
-<title>How come package foo is masked on Sparc?</title> |
238 |
+<title>How come package foo is masked on SPARC?</title> |
239 |
<body> |
240 |
|
241 |
<p> |
242 |
@@ -514,8 +443,9 @@ |
243 |
If you want to help ensure a package gets marked stable in a timely fashion, |
244 |
particularly if it's an application with a small userbase (i.e. |
245 |
net-im/bitlbee), install the package and test to make sure it works. If it |
246 |
-appears to be working well, feel free to file a bug at |
247 |
-<uri>http://bugs.gentoo.org</uri> and assign it to the Gentoo/SPARC team. |
248 |
+appears to be working well, feel free to file a bug via the |
249 |
+<uri link="http://bugs.gentoo.org">Gentoo Bugzilla</uri> and assign it to the |
250 |
+Gentoo/SPARC team. |
251 |
</p> |
252 |
|
253 |
</body> |
254 |
@@ -526,107 +456,124 @@ |
255 |
<body> |
256 |
|
257 |
<p> |
258 |
-This is a bug. Please file a bug report at <uri>http://bugs.gentoo.org</uri> |
259 |
-for the Gentoo/SPARC team indicating what package you tried to emerge, the |
260 |
-error message emerge gave you, and the output of <c>emerge --info</c>. |
261 |
+This is a bug. Please file a bug report via the <uri |
262 |
+link="http://bugs.gentoo.org">Gentoo Bugzilla</uri> for the Gentoo/SPARC team |
263 |
+indicating what package you tried to emerge, the error message emerge gave you, |
264 |
+and the output of <c>emerge --info</c>. |
265 |
</p> |
266 |
|
267 |
</body> |
268 |
</section> |
269 |
-</chapter> |
270 |
- |
271 |
-<chapter> |
272 |
-<title>Miscellaneous</title> |
273 |
<section> |
274 |
-<title>I'm interested in becoming more involved with Gentoo/SPARC. How do I go about |
275 |
-doing that?</title> |
276 |
+<title>Why am I getting an error related to 32/64-bit when compiling a |
277 |
+kernel?</title> |
278 |
<body> |
279 |
|
280 |
<p> |
281 |
-The best way is to join the <c>#gentoo-sparc</c> IRC channel on Freenode IRC |
282 |
-network <c>irc.freenode.net</c>. This is where all of the developers hang out |
283 |
-and talk SPARC (amongst other things). Short of email, this is the best way to |
284 |
-get our attention. |
285 |
+The way SPARC/Linux handles the cross-compiler has changed with 2.6.25 (<uri |
286 |
+link="http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=54cd6ddec77b75e6926d73d263aec72255b24030">commit</uri>), |
287 |
+thus when building a recent kernel you'd get the following error message: |
288 |
</p> |
289 |
|
290 |
-<p> |
291 |
-Also, many users and developers make use of the <uri |
292 |
-link="http://forums.gentoo.org/viewforum.php?f=27">Gentoo/SPARC forum</uri>. |
293 |
-This is a good place to ask questions and see what problems have come up |
294 |
-before, as well as talk shop about Gentoo/SPARC. |
295 |
-</p> |
296 |
+<pre caption="SPARC/Linux compile error message"> |
297 |
+CHK include/linux/version.h |
298 |
+CHK include/linux/utsrelease.h |
299 |
+CC arch/sparc64/kernel/asm-offsets.s |
300 |
+arch/sparc64/kernel/asm-offsets.c:1: error: -m64 is not supported by this configuration |
301 |
+arch/sparc64/kernel/asm-offsets.c:1: error: -mlong-double-64 not allowed with -m64 |
302 |
+arch/sparc64/kernel/asm-offsets.c:1: error: -mcmodel= is not supported on 32 bit systems |
303 |
+make[1]: *** [arch/sparc64/kernel/asm-offsets.s] Error 1 |
304 |
+make: *** [prepare0] Error 2 |
305 |
+</pre> |
306 |
|
307 |
<p> |
308 |
-Additionally, you can view the bugs for Gentoo/SPARC via the <uri |
309 |
-link="http://bugs.gentoo.org">Gentoo Bugzilla</uri>. The bugs will be assigned |
310 |
-or CCed to sparc@g.o. |
311 |
+Because, for the moment (there's an <b>experimental</b> <uri |
312 |
+link="/proj/en/base/sparc/multilib.xml">multilib</uri> profile), |
313 |
+Gentoo/SPARC native compiler can't generate 64-bit code (that's what |
314 |
+sys-devel/kgcc64 is for). |
315 |
</p> |
316 |
|
317 |
-</body> |
318 |
-</section> |
319 |
-<section> |
320 |
-<title>Are there any currently known bugs/issues with software packages on |
321 |
-Gentoo/SPARC?</title> |
322 |
-<body> |
323 |
- |
324 |
<p> |
325 |
-A list of problematic packages can be found at |
326 |
-<uri>http://dev.gentoo.org/~weeve/problems.html</uri>. |
327 |
+What you need to do is to tell the SPARC/Linux Makefile what is your |
328 |
+cross-compiler's binary, by issuing the following commands: |
329 |
</p> |
330 |
|
331 |
+<pre caption="Gentoo/SPARC kernel >=2.6.25 kernel compilation"> |
332 |
+make CROSS_COMPILE=sparc64-unknown-linux-gnu- |
333 |
+make CROSS_COMPILE=sparc64-unknown-linux-gnu- image modules_install |
334 |
+</pre> |
335 |
+ |
336 |
</body> |
337 |
</section> |
338 |
</chapter> |
339 |
|
340 |
<chapter> |
341 |
-<title>Additional Resources</title> |
342 |
+<title>Miscellaneous</title> |
343 |
<section> |
344 |
+<title>I'm interested in becoming more involved with Gentoo/SPARC. How do I go |
345 |
+about doing that?</title> |
346 |
<body> |
347 |
|
348 |
<p> |
349 |
-Here is some info on the Gentoo/SPARC project itself: |
350 |
+There are various ways to improve the project: |
351 |
</p> |
352 |
|
353 |
<ul> |
354 |
- <li><uri link="http://sparc.gentoo.org">Gentoo/SPARC Project Page</uri></li> |
355 |
- <li>#gentoo-sparc - Official IRC channel on irc.freenode.net</li> |
356 |
- <li> |
357 |
- <uri link="http://forums.gentoo.org/viewforum.php?f=27">Gentoo/SPARC |
358 |
- Forum</uri> |
359 |
+ <li>The best way is to become an <uri |
360 |
+ link="/proj/en/base/sparc/at/index.xml">Arch Tester</uri>, and aid the |
361 |
+ developers with package testing. |
362 |
+ </li> |
363 |
+ <li>File bug reports such as <uri |
364 |
+ link="http://dev.gentoo.org/~tcunha/reports/imlate-sparc.txt">stable, and |
365 |
+ keyword</uri> requests. |
366 |
+ </li> |
367 |
+ <li>Join the <uri |
368 |
+ link="irc://irc.gentoo.org/gentoo-sparc">#gentoo-sparc</uri> IRC channel |
369 |
+ on the FreeNode IRC network. |
370 |
+ </li> |
371 |
+ <li>Make use of the <uri |
372 |
+ link="http://forums.gentoo.org/viewforum.php?f=27">Gentoo/SPARC forum</uri>. |
373 |
+ </li> |
374 |
+ <li>Propose solutions for Gentoo/SPARC related bugs via the <uri |
375 |
+ link="http://bugs.gentoo.org">Gentoo Bugzilla</uri>. The bugs will be |
376 |
+ assigned, or CCed to sparc@g.o. |
377 |
</li> |
378 |
- <li><mail>sparc@g.o</mail> - Gentoo/SPARC team email address</li> |
379 |
</ul> |
380 |
|
381 |
-<p> |
382 |
-Here are links to additional information about SPARC/Linux or SPARCs in general: |
383 |
-</p> |
384 |
+</body> |
385 |
+</section> |
386 |
+</chapter> |
387 |
+ |
388 |
+<chapter> |
389 |
+<title>Additional Resources</title> |
390 |
+<section> |
391 |
+<title>Where can I get more help or information about SPARC/Linux?</title> |
392 |
+<body> |
393 |
|
394 |
<ul> |
395 |
<li> |
396 |
- <uri link="http://www.ultralinux.org">UltraLinux Homepage</uri> - Homepage |
397 |
- of the SPARC/Linux port |
398 |
+ <uri link="http://docs.sun.com/app/docs/coll/216.2">OBP Reference |
399 |
+ Guide</uri> - Sun's guide to the OpenBoot PROM |
400 |
</li> |
401 |
<li> |
402 |
- <uri link="http://sunsolve.sun.com">Sunsolve</uri> - Great resource for Sun |
403 |
- hardware documentation |
404 |
+ <uri link="http://www.obsolyte.com">Obsolyte</uri> - Information on older |
405 |
+ SPARC systems and links to a lot of other great SPARC related sites |
406 |
</li> |
407 |
<li> |
408 |
- <uri>http://docs.sun.com</uri> - Additional hardware and software |
409 |
- information for SPARC systems, including instructions for flashing OBP |
410 |
+ <uri link="http://docs.sun.com">Sun Microsystems Documentation</uri> - |
411 |
+ Additional hardware and software information for SPARC systems, including |
412 |
+ instructions for flashing OBP |
413 |
</li> |
414 |
<li> |
415 |
- <uri link="http://www.obsolyte.com">Obsolyte</uri> - Information on older |
416 |
- SPARC systems and links to a lot of other great SPARC related sites |
417 |
+ <uri link="http://sunsolve.sun.com">Sunsolve</uri> - Great resource for Sun |
418 |
+ hardware documentation |
419 |
</li> |
420 |
<li> |
421 |
- <uri |
422 |
- link="http://040.digital-bless.com/texts/Unofficial_Sun_Blade_100_FAQ.htm">Unofficial |
423 |
- Sun Blade 100 FAQ</uri> - Answers a lot of hardware related questions on |
424 |
- the Blade 100 |
425 |
+ <uri link="http://www.sunstuff.org">Online Sun Information Archive</uri> |
426 |
</li> |
427 |
<li> |
428 |
- <uri link="http://docs.sun.com/app/docs/coll/216.2">OBP Reference |
429 |
- Guide</uri> - Sun's guide to the OpenBoot PROM |
430 |
+ <uri link="http://www.ultralinux.org">UltraLinux Homepage</uri> - Homepage |
431 |
+ of the SPARC/Linux port |
432 |
</li> |
433 |
</ul> |