josejx      05/04/11 00:35:51

  Modified:    xml/htdocs/doc/en gentoo-ppc-faq.xml
  Log:
  Added kernel preempt warning.

Revision  Changes    Path
1.31      +33 -6     xml/htdocs/doc/en/gentoo-ppc-faq.xml

file : 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/gentoo-ppc-faq.xml?rev=1.31&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain: 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/gentoo-ppc-faq.xml?rev=1.31&content-type=text/plain&cvsroot=gentoo
diff : 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/gentoo-ppc-faq.xml.diff?r1=1.30&r2=1.31&cvsroot=gentoo

Index: gentoo-ppc-faq.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-ppc-faq.xml,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- gentoo-ppc-faq.xml  6 Apr 2005 09:39:59 -0000       1.30
+++ gentoo-ppc-faq.xml  11 Apr 2005 00:35:51 -0000      1.31
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding="UTF-8"?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-ppc-faq.xml,v 1.30 
2005/04/06 09:39:59 neysx Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-ppc-faq.xml,v 1.31 
2005/04/11 00:35:51 josejx Exp $ -->
 
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
@@ -26,8 +26,8 @@
 
 <license/>
 
-<version>1.15</version>
-<date>2005-03-06</date>
+<version>1.16</version>
+<date>2005-04-10</date>
 
 
 <chapter>
@@ -493,7 +493,8 @@
 Sleep (suspend to ram) works very well on all G3 iBooks and TiBooks.  Recently,
 a kernel patch has been released that adds sleep support for G4 iBooks and 
 Radeon based AlBooks.  If you have one of these laptops, please see this forum
-thread for more details: 
<uri>http://forums.gentoo.org/viewtopic.php?t=254232</uri>.
+thread for more details: 
<uri>http://forums.gentoo.org/viewtopic.php?t=254232</uri>.  Additionally, this 
patch is included with gentoo-sources-2.6.11 and will
+be included with vanilla-sources-2.6.12.
 </p>
 <note>
 Note that the 12" PowerBook is not yet supported due to its nVidia chipset.
@@ -623,7 +624,7 @@
 </section>
 <section>
 <title>
-  I recently emerged XFree, but when using it, my international
+  I recently emerged Xorg, but when using it, my international
   keyboard layout does not work correctly. The main keys work fine but I am
   unable to compose special characters like the "at" sign. The startx output
   says something like "could not load keymap, falling back to default
@@ -634,7 +635,7 @@
 <p>
 Check that the permissions on <path>/var/tmp</path> are set to
 <path>drwxrwxrwx</path>. If not, change them by typing <c>chmod a+rwx
-/var/tmp</c>. This will allow XFree to load keymaps properly again.
+/var/tmp</c>. This will allow Xorg to load keymaps properly again.
 </p>
 
 </body>
@@ -905,6 +906,32 @@
 </p>
 </body>
 </section>
+<section>
+<title>Why does gcc keep segfaulting during ebuilds?</title>
+<body>
+<p>
+If gcc segfaults during ebuilds, this probably isn't a bug with gcc and isn't
+even a problem with your hardware.  Most of the time this problem is due to
+kernel preemption being enabled.  Although this option is safe on x86, it can
+cause cache corruption on PPC which is why it is noticed most frequently during
+compiles.  To prevent this from happening, simply recompile the kernel with
+preempt turned off.  To check if preempt is enabled:
+</p>
+
+<pre caption="Check if preempt is enabled">
+$ <i>grep PREEMPT /usr/src/linux/.config</i>
+</pre>
+<p>
+If returns: "# CONFIG_PREEMPT is not set", then you should report the 
+segfault as a bug.
+</p>
+<p>
+If it returns: "CONFIG_PREEMPT=y", then you'll need to disable it and rebuild
+your kernel.
+</p>
+
+</body>
+</section>
 </chapter>
 
 <chapter>



--
[email protected] mailing list

Reply via email to