/[gentoo]/xml/htdocs/doc/en/gentoo-sparc-faq.xml
Gentoo

Diff of /xml/htdocs/doc/en/gentoo-sparc-faq.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.16 Revision 1.19
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-sparc-faq.xml,v 1.16 2008/05/21 19:41:05 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-sparc-faq.xml,v 1.19 2010/03/03 03:16:37 nightmorph Exp $ -->
3 3
4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
5<guide link="/doc/en/gentoo-sparc-faq.xml"> 5<guide>
6<title>Gentoo Linux/SPARC Frequently Asked Questions</title> 6<title>Gentoo Linux/SPARC Frequently Asked Questions</title>
7 7
8<author title="SPARC Developer"> 8<author title="SPARC Developer">
9 <mail link="weeve@gentoo.org">Jason Wever</mail> 9 <mail link="weeve"/>
10</author>
11<author title="Editor">
12 <mail link="nightmorph"/>
10</author> 13</author>
11 14
12<abstract> 15<abstract>
13This FAQ is designed to help answer the most commonly asked questions about 16This FAQ is designed to help answer the most commonly asked questions about
14Gentoo Linux/SPARC and Linux on SPARC architecture. Feel free to send 17Gentoo/SPARC and Linux on SPARC architecture. Feel free to send revisions and
15revisions and corrections to the sparc team or the doc team. 18corrections to the Gentoo/SPARC team or the doc team.
16</abstract> 19</abstract>
17 20
18<!-- The content of this document is licensed under the CC-BY-SA license --> 21<!-- The content of this document is licensed under the CC-BY-SA license -->
19<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 22<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
20<license/> 23<license/>
21 24
22<version>1.9</version> 25<version>1.12</version>
23<date>2007-06-30</date> 26<date>2010-03-02</date>
24 27
25<faqindex> 28<faqindex>
26<title>Questions</title> 29<title>Questions</title>
27<section> 30<section>
28<title>Documentation Notes</title> 31<title>Documentation Notes</title>
101</tr> 104</tr>
102</table> 105</table>
103 106
104</body> 107</body>
105</section> 108</section>
106<!-- sparc32 is no longer supported
107<section>
108<title>How do I network boot my SPARC system for installation?</title>
109<body>
110 109
111<p>
112Currently, Gentoo has experimental network boot/tftpboot images available on a
113local Gentoo mirror in experimental/sparc/tftpboot. Get the appropriate image
114for your SPARC computer and then proceed to the Netboot HOWTO for further
115instructions.
116</p>
117
118</body>
119</section>
120-->
121<section> 110<section>
122<title>I have a CRT/LCD monitor attached to my SPARC that selects a resolution 111<title>I have a CRT/LCD monitor attached to my SPARC that selects a resolution
123my monitor can't handle when the kernel boots. How do I get a visible and/or 112my monitor can't handle when the kernel boots. How do I get a visible and/or
124non-distorted display on my monitor?</title> 113non-distorted display on my monitor?</title>
125<body> 114<body>
205<section> 194<section>
206<title>How do I dual boot Gentoo Linux/SPARC with Solaris?</title> 195<title>How do I dual boot Gentoo Linux/SPARC with Solaris?</title>
207<body> 196<body>
208 197
209<p> 198<p>
210Dual booting Gentoo Linux/SPARC and Solaris can be done one of two ways. The 199Dual booting Gentoo/SPARC and Solaris can be done one of two ways. The two ways
211two ways are: having both Gentoo Linux/SPARC and Solaris on the same drive, or 200are: having both Gentoo/SPARC and Solaris on the same drive, or having them on
212having them on separate drives. Below are example SILO configurations for each 201separate drives. Below are example SILO configurations for each scenario. In the
213scenario. In the example configs, the following things are assumed: 202example configs, the following things are assumed:
214</p> 203</p>
215 204
216<p> 205<p>
217Single Drive Setup: 206Single Drive Setup:
218</p> 207</p>
238<pre caption="Sample silo.conf for a single drive installation"> 227<pre caption="Sample silo.conf for a single drive installation">
239<comment># Generic config options</comment> 228<comment># Generic config options</comment>
240partition = 1 229partition = 1
241timeout = 50 230timeout = 50
242 231
243<comment># Gentoo Linux/SPARC options</comment> 232<comment># Gentoo/SPARC options</comment>
244image = /boot/vmlinux 233image = /boot/vmlinux
245 label = linux 234 label = linux
246 root=/dev/sda4 235 root=/dev/sda4
247 236
248<comment># Solaris options</comment> 237<comment># Solaris options</comment>
253<pre caption="Sample silo.conf for separate disk installation"> 242<pre caption="Sample silo.conf for separate disk installation">
254<comment># Generic config options</comment> 243<comment># Generic config options</comment>
255parition = 1 244parition = 1
256timeout = 50 245timeout = 50
257 246
258<comment># Gentoo Linux/SPARC options</comment> 247<comment># Gentoo/SPARC options</comment>
259image = /boot/vmlinux 248image = /boot/vmlinux
260 label = linux 249 label = linux
261 root=/dev/sda4 250 root=/dev/sda4
262 251
263<comment># Solaris options</comment> 252<comment># Solaris options</comment>
265 label = solaris 254 label = solaris
266</pre> 255</pre>
267 256
268</body> 257</body>
269</section> 258</section>
270<!-- sparc32 is no longer supported
271<section>
272<title>I just booted my SPARCstation after installing Gentoo but it won't boot.
273Why isn't it booting?</title>
274<body>
275
276<p>
277One possibility has to do with the way the that the SCSI IDs are assigned.
278Gentoo/SPARC developer Keith Wesolowski provides us with the following:
279</p>
280
281<p>
282Linux, normally, orders devices by SCSI ID. The lowest-numbered disk is
283<c>sda</c>, the next-lowest is <c>sdb</c>, and so on. Note that <c>devfs</c>
284allows you to specify devices by SCSI ID, so that adding a new device doesn't
285cause your existing devices to be renamed, unless of course you use the
286compatibility names. There are additional ways to solve this.
287</p>
288
289<p>
290The OBP in most or all sun4c and sun4m systems aliases "disk" to the device with
291SCSI ID 3, and "disk0" through "disk3" to the device with the corresponding SCSI
292ID, if it happens to be a disk rather than a tape, CDROM, etc.
293</p>
294
295<p>
296In the desktop systems of this era that support two SCA disks (the Aurora
297chassis systems), the lower slot is assigned SCSI ID 3, and the upper slot is
298assigned SCSI ID 1.
299</p>
300
301<p>
302If you like, you can change the PROM alias "disk" to match that of "disk1" so
303that the <c>boot disk</c> command causes the system to boot from the same
304device Linux calls <c>sda</c>. This feels more consistent and normal,
305especially for users with a PC background. Alternatively, you can simply place
306the filesystem containing <path>/boot</path> (which could be the root
307filesystem or a separate boot filesystem) on device ID 3 (Linux <c>sdb</c>) and
308boot from it, using a root filesystem on either <c>sda</c> or <c>sdb</c>, or in
309fact any other disk attached to the system.
310</p>
311
312</body>
313</section>
314-->
315</chapter> 259</chapter>
316 260
317<chapter> 261<chapter>
318<title>Hardware</title> 262<title>Hardware</title>
319<section> 263<section>
332link="/proj/en/base/sparc/sunhw.xml">hardware compatibility list</uri> for 276link="/proj/en/base/sparc/sunhw.xml">hardware compatibility list</uri> for
333SPARC64 systems. In general, support for SPARC64 systems is good enough to 277SPARC64 systems. In general, support for SPARC64 systems is good enough to
334allow some users to run it successfully in production environments. 278allow some users to run it successfully in production environments.
335</p> 279</p>
336 280
337<p>
33832-bit SPARC systems are no longer supported by the Gentoo/SPARC team.
339</p>
340
341<!-- 32bit is no longer supported
342<p>
34332-bit SPARC systems vary. Systems with the sun4m architecture have been
344reported to work fine (SS4-SS20) including SMP configurations with the later
3452.4 series kernels. sun4m systems using HyperSPARC or Ross processors in a SMP
346configuration will have a lot of kernel related trouble. Additionally the
347author hasn't heard of any user reports in regards to the JavaStations so its
348status is unknown. sun4d based systems currently do not work in the 2.4 kernel
349series, and sun4c has been unstable as well.
350</p>
351
352<p>
353Often, the problems encountered in trying to run Gentoo on a 32-bit SPARC
354system stem from the kernel. Rob Radez (not related to Gentoo) maintains a
355webpage <uri>http://osinvestor.com/sparc/</uri> with the status of SPARC system
356support for various versions of the Linux kernel. This can help indicate how
357usable your SPARC system would be under SPARC/Linux.
358</p>
359-->
360
361</body> 281</body>
362</section> 282</section>
363<section> 283<section>
364<title>What additional hardware is supported under Gentoo/SPARC?</title> 284<title>What additional hardware is supported under Gentoo/SPARC?</title>
365<body> 285<body>
366 286
367<p> 287<p>
368For a list of additionally supported Sun hardware, consult the following list 288For a list of additionally supported Sun hardware, consult the following list
369from the UltraLinux homepage - 289from the <uri link="http://www.ultralinux.org/faq.html#q_2_2.">UltraLinux
370<uri>http://www.ultralinux.org/faq.html#q_2_2.</uri> 290homepage</uri>.
371</p> 291</p>
372 292
373<p> 293<p>
374A partial list of Sun devices which do NOT currently have support under 294A partial list of Sun devices which do NOT currently have support under
375Gentoo/SPARC or SPARC/Linux in general are: 295Gentoo/SPARC or SPARC/Linux in general are:
391</p> 311</p>
392 312
393</body> 313</body>
394</section> 314</section>
395<section> 315<section>
396<title>How do I know which Sparc I have?</title> 316<title>How do I know which SPARC I have?</title>
397<body> 317<body>
398 318
399<p> 319<p>
400The <uri link="http://www.ultralinux.org/faq.html#q_2_1">UltraLinux FAQ</uri> 320The <uri link="http://www.ultralinux.org/faq.html#q_2_1">UltraLinux FAQ</uri>
401has the answer. 321has the answer.
453Note that you may need to reboot to see the changes take affect. 373Note that you may need to reboot to see the changes take affect.
454</p> 374</p>
455 375
456</body> 376</body>
457</section> 377</section>
378<section>
379<title>Is SPARC big-endian or little-endian?</title>
380<body>
381
382<p>
383The version supported by Gentoo/SPARC (v9) is bi-endian. It uses big-endian
384instructions, but can access data in little-endian byte-order, such as PCI
385devices, which are little-endian by nature.
386</p>
387
388</body>
389</section>
458</chapter> 390</chapter>
459 391
460<chapter> 392<chapter>
461<title>Applications</title> 393<title>Applications</title>
462<section> 394<section>
487</p> 419</p>
488 420
489</body> 421</body>
490</section> 422</section>
491<section> 423<section>
492<title>How come package foo is masked on Sparc?</title> 424<title>How come package foo is masked on SPARC?</title>
493<body> 425<body>
494 426
495<p> 427<p>
496Chances are this is due to the fact that none of the Gentoo/SPARC developers 428Chances are this is due to the fact that none of the Gentoo/SPARC developers
497have gotten around to testing this yet, and/or the package is currently marked 429have gotten around to testing this yet, and/or the package is currently marked
512 444
513<p> 445<p>
514If you want to help ensure a package gets marked stable in a timely fashion, 446If you want to help ensure a package gets marked stable in a timely fashion,
515particularly if it's an application with a small userbase (i.e. 447particularly if it's an application with a small userbase (i.e.
516net-im/bitlbee), install the package and test to make sure it works. If it 448net-im/bitlbee), install the package and test to make sure it works. If it
517appears to be working well, feel free to file a bug at 449appears to be working well, feel free to file a bug via the
518<uri>http://bugs.gentoo.org</uri> and assign it to the Gentoo/SPARC team. 450<uri link="http://bugs.gentoo.org">Gentoo Bugzilla</uri> and assign it to the
451Gentoo/SPARC team.
519</p> 452</p>
520 453
521</body> 454</body>
522</section> 455</section>
523<section> 456<section>
524<title>I tried to emerge a package, but emerge failed complaining that a 457<title>I tried to emerge a package, but emerge failed complaining that a
525dependency is masked. How can I fix this?</title> 458dependency is masked. How can I fix this?</title>
526<body> 459<body>
527 460
528<p> 461<p>
529This is a bug. Please file a bug report at <uri>http://bugs.gentoo.org</uri> 462This is a bug. Please file a bug report via the <uri
530for the Gentoo/SPARC team indicating what package you tried to emerge, the 463link="http://bugs.gentoo.org">Gentoo Bugzilla</uri> for the Gentoo/SPARC team
531error message emerge gave you, and the output of <c>emerge --info</c>. 464indicating what package you tried to emerge, the error message emerge gave you,
465and the output of <c>emerge --info</c>.
466</p>
467
468</body>
469</section>
470<section>
471<title>Why am I getting an error related to 32/64-bit when compiling a
472kernel?</title>
473<body>
474
532</p> 475<p>
476The way SPARC/Linux handles the cross-compiler has changed with 2.6.25 (<uri
477link="http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=54cd6ddec77b75e6926d73d263aec72255b24030">commit</uri>),
478thus when building a recent kernel you'd get the following error message:
479</p>
480
481<pre caption="SPARC/Linux compile error message">
482CHK include/linux/version.h
483CHK include/linux/utsrelease.h
484CC arch/sparc64/kernel/asm-offsets.s
485arch/sparc64/kernel/asm-offsets.c:1: error: -m64 is not supported by this configuration
486arch/sparc64/kernel/asm-offsets.c:1: error: -mlong-double-64 not allowed with -m64
487arch/sparc64/kernel/asm-offsets.c:1: error: -mcmodel= is not supported on 32 bit systems
488make[1]: *** [arch/sparc64/kernel/asm-offsets.s] Error 1
489make: *** [prepare0] Error 2
490</pre>
491
492<p>
493Because, for the moment (there's an <b>experimental</b> <uri
494link="/proj/en/base/sparc/multilib.xml">multilib</uri> profile),
495Gentoo/SPARC native compiler can't generate 64-bit code (that's what
496sys-devel/kgcc64 is for).
497</p>
498
499<p>
500What you need to do is to tell the SPARC/Linux Makefile what is your
501cross-compiler's binary, by issuing the following commands:
502</p>
503
504<pre caption="Gentoo/SPARC kernel >=2.6.25 kernel compilation">
505# <i>cd /usr/src/linux</i>
506# <i>make CROSS_COMPILE=sparc64-unknown-linux-gnu-</i>
507# <i>make CROSS_COMPILE=sparc64-unknown-linux-gnu- image modules_install</i>
508</pre>
533 509
534</body> 510</body>
535</section> 511</section>
536</chapter> 512</chapter>
537 513
538<chapter> 514<chapter>
539<title>Miscellaneous</title> 515<title>Miscellaneous</title>
540<section> 516<section>
541<title>I'm interested in becoming more involved with Gentoo/SPARC. How do I go about 517<title>I'm interested in becoming more involved with Gentoo/SPARC. How do I go
542doing that?</title> 518about doing that?</title>
543<body> 519<body>
544 520
545<p>
546The best way is to join the <c>#gentoo-sparc</c> IRC channel on Freenode IRC
547network <c>irc.freenode.net</c>. This is where all of the developers hang out
548and talk SPARC (amongst other things). Short of email, this is the best way to
549get our attention.
550</p> 521<p>
551 522There are various ways to improve the project:
552<p> 523</p>
553Also, many users and developers make use of the <uri 524
525<ul>
526 <li>The best way is to become an <uri
527 link="/proj/en/base/sparc/at/index.xml">Arch Tester</uri>, and aid the
528 developers with package testing.
529 </li>
530 <li>File bug reports such as <uri
531 link="http://dev.gentoo.org/~tcunha/reports/imlate-sparc.txt">stable, and
532 keyword</uri> requests.
533 </li>
534 <li>Join the <uri
535 link="irc://irc.gentoo.org/gentoo-sparc">#gentoo-sparc</uri> IRC channel
536 on the FreeNode IRC network.
537 </li>
538 <li>Make use of the <uri
554link="http://forums.gentoo.org/viewforum.php?f=27">Gentoo/SPARC forum</uri>. 539 link="http://forums.gentoo.org/viewforum.php?f=27">Gentoo/SPARC forum</uri>.
555This is a good place to ask questions and see what problems have come up 540 </li>
556before, as well as talk shop about Gentoo/SPARC. 541 <li>Propose solutions for Gentoo/SPARC related bugs via the <uri
557</p>
558
559<p>
560Additionally, you can view the bugs for Gentoo/SPARC via the <uri
561link="http://bugs.gentoo.org">Gentoo Bugzilla</uri>. The bugs will be assigned 542 link="http://bugs.gentoo.org">Gentoo Bugzilla</uri>. The bugs will be
562or CCed to sparc@gentoo.org. 543 assigned, or CCed to sparc@gentoo.org.
563</p> 544 </li>
564 545</ul>
565</body>
566</section>
567<section>
568<title>Are there any currently known bugs/issues with software packages on
569Gentoo/SPARC?</title>
570<body>
571
572<p>
573A list of problematic packages can be found at
574<uri>http://dev.gentoo.org/~weeve/problems.html</uri>.
575</p>
576 546
577</body> 547</body>
578</section> 548</section>
579</chapter> 549</chapter>
580 550
581<chapter> 551<chapter>
582<title>Additional Resources</title> 552<title>Additional Resources</title>
583<section> 553<section>
554<title>Where can I get more help or information about SPARC/Linux?</title>
584<body> 555<body>
585
586<p>
587Here is some info on the Gentoo/SPARC project itself:
588</p>
589 556
590<ul> 557<ul>
591 <li><uri link="http://sparc.gentoo.org">Gentoo/SPARC Project Page</uri></li>
592 <li>#gentoo-sparc - Official IRC channel on irc.freenode.net</li>
593 <li> 558 <li>
594 <uri link="http://forums.gentoo.org/viewforum.php?f=27">Gentoo/SPARC 559 <uri link="http://docs.sun.com/app/docs/coll/216.2">OBP Reference
595 Forum</uri> 560 Guide</uri> - Sun's guide to the OpenBoot PROM
561 </li>
596 </li> 562 <li>
597 <li><mail>sparc@gentoo.org</mail> - Gentoo/SPARC team email address</li> 563 <uri link="http://www.sunstuff.org">OSIAH</uri> - Online Sun Information
598</ul> 564 Archive
599 565 </li>
600<p> 566 <li>
601Here are links to additional information about SPARC/Linux or SPARCs in general: 567 <uri link="http://www.obsolyte.com">Obsolyte</uri> - Information on older
602</p> 568 SPARC systems and links to a lot of other great SPARC related sites
603 569 </li>
604<ul> 570 <li>
571 <uri link="http://docs.sun.com">Sun Microsystems Documentation</uri> -
572 Additional hardware and software information for SPARC systems, including
573 instructions for flashing OBP
574 </li>
575 <li>
576 <uri link="http://sunsolve.sun.com">Sunsolve</uri> - Great resource for Sun
577 hardware documentation
578 </li>
605 <li> 579 <li>
606 <uri link="http://www.ultralinux.org">UltraLinux Homepage</uri> - Homepage 580 <uri link="http://www.ultralinux.org">UltraLinux Homepage</uri> - Homepage
607 of the SPARC/Linux port 581 of the SPARC/Linux port
608 </li> 582 </li>
609 <li>
610 <uri link="http://sunsolve.sun.com">Sunsolve</uri> - Great resource for Sun
611 hardware documentation
612 </li>
613 <li>
614 <uri>http://docs.sun.com</uri> - Additional hardware and software
615 information for SPARC systems, including instructions for flashing OBP
616 </li>
617 <li>
618 <uri link="http://www.obsolyte.com">Obsolyte</uri> - Information on older
619 SPARC systems and links to a lot of other great SPARC related sites
620 </li>
621 <li>
622 <uri
623 link="http://040.digital-bless.com/texts/Unofficial_Sun_Blade_100_FAQ.htm">Unofficial
624 Sun Blade 100 FAQ</uri> - Answers a lot of hardware related questions on
625 the Blade 100
626 </li>
627 <li>
628 <uri link="http://docs.sun.com/app/docs/coll/216.2">OBP Reference
629 Guide</uri> - Sun's guide to the OpenBoot PROM
630 </li>
631</ul> 583</ul>
632 584
633</body> 585</body>
634</section> 586</section>
635</chapter> 587</chapter>

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.20