r1708 - in trunk/BOOK: introduction/ppc64 temp-system temp-system/ppc64

ken at linuxfromscratch.org ken at linuxfromscratch.org
Wed May 31 06:32:51 PDT 2006


Author: ken
Date: 2006-05-31 07:32:50 -0600 (Wed, 31 May 2006)
New Revision: 1708

Added:
   trunk/BOOK/temp-system/ppc64/choose.xml
Modified:
   trunk/BOOK/introduction/ppc64/changelog.xml
   trunk/BOOK/temp-system/ppc64-chapter.xml
Log:
Reword ppc64 choose.xml - this fixes ticket #37.

Modified: trunk/BOOK/introduction/ppc64/changelog.xml
===================================================================
--- trunk/BOOK/introduction/ppc64/changelog.xml	2006-05-31 12:13:36 UTC (rev 1707)
+++ trunk/BOOK/introduction/ppc64/changelog.xml	2006-05-31 13:32:50 UTC (rev 1708)
@@ -34,6 +34,16 @@
 -->
 
     <listitem>
+      <para>May 31, 2006</para>
+      <itemizedlist>
+        <listitem>
+          <para>[ken] - Replace the tests in choose.xml with a ppc64-specific test
+	  and explain what it tests for.  Fixes ticket 37.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>May 22, 2006</para>
       <itemizedlist>
         <listitem>

Added: trunk/BOOK/temp-system/ppc64/choose.xml
===================================================================
--- trunk/BOOK/temp-system/ppc64/choose.xml	                        (rev 0)
+++ trunk/BOOK/temp-system/ppc64/choose.xml	2006-05-31 13:32:50 UTC (rev 1708)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-temp-system-choose">
+  <?dbhtml filename="choose.html"?>
+
+  <title>To Boot or to Chroot?</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/choose.xml"
+    xpointer="xpointer(//*[@os='a'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/choose.xml"
+    xpointer="xpointer(//*[@os='b'])"/>
+
+  <para>Powerpc64 is slightly different from some of the other
+  architectures, because a 64-bit kernel running 32-bit userspace can
+  successfully chroot and execute 64-bit programs.  However, if the
+  kernel personality has been set to 32-bit by a utility such as
+  linux32, it will eventually fail when glibc thinks it is building
+  on a 32-bit system and tries to include incompatible assembler code
+  in the 64-bit glibc.</para>
+
+  <para>To see if you can successfully chroot to build the final powerpc64
+  system, enter the following command which tests if you are running a
+  64-bit Linux 2.6 kernel (with a 64-bit personality):</para>
+
+<screen><userinput>uname -a | grep '^Linux.*2\.6\..*ppc64' && echo "ok to chroot" || echo "you must boot"</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/choose.xml"
+    xpointer="xpointer(//*[@os='e'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/choose.xml"
+    xpointer="xpointer(//*[@os='f'])"/>
+
+</sect1>

Modified: trunk/BOOK/temp-system/ppc64-chapter.xml
===================================================================
--- trunk/BOOK/temp-system/ppc64-chapter.xml	2006-05-31 12:13:36 UTC (rev 1707)
+++ trunk/BOOK/temp-system/ppc64-chapter.xml	2006-05-31 13:32:50 UTC (rev 1708)
@@ -29,6 +29,6 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/sed.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/tar.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/texinfo.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/choose.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/choose.xml"/>
 
 </chapter>




More information about the cross-lfs mailing list