diff options
author | Dan Nichilson <dnicholson@linuxfromscratch.org> | 2006-08-01 14:35:06 +0000 |
---|---|---|
committer | Dan Nichilson <dnicholson@linuxfromscratch.org> | 2006-08-01 14:35:06 +0000 |
commit | 6eeae4cb32b6cea461a804cdf219d16c26750b1e (patch) | |
tree | de170c03b46a833f03434c0ae0d34716651de687 | |
parent | 4bd82f59d4b25c0d6c53531767ab26eb70908702 (diff) |
Fixed an E2fsprogs test failure by recommended use of swap space. Added
an explicit swapon command to enable swap.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.2/BOOK@7741 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter01/changelog.xml | 9 | ||||
-rw-r--r-- | chapter02/mounting.xml | 9 | ||||
-rw-r--r-- | chapter06/e2fsprogs.xml | 7 |
3 files changed, 25 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 1bc8f72a2..91da61b05 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -40,6 +40,15 @@ <para>August 1, 2006</para> <itemizedlist> <listitem> + <para>[dnicholson] - Added text describing a potential failure + in the E2fsprogs testsuite when there is not enough memory + available and suggest enabling swap space to address this. Also + added an explicit <command>swapon</command> to the Chapter 2 + mounting instructions to ensure that the user has enabled their + swap space if desired. Thanks to Nathan Coulson and Alexander + Patrakov.</para> + </listitem> + <listitem> <para>[dnicholson] - Added text warning that the Udev testsuite will produce messages in the host's logs. Fixes #1846. Thanks to Archaic.</para> diff --git a/chapter02/mounting.xml b/chapter02/mounting.xml index 3572e1861..a3c8229ae 100644 --- a/chapter02/mounting.xml +++ b/chapter02/mounting.xml @@ -52,6 +52,15 @@ mount -v -t ext3 /dev/<replaceable><yyy></replaceable> $LFS/usr</userinput <option>noatime</option> are set, the partition will need to be remounted.</para> + <para>If you are using a <systemitem + class="filesystem">swap</systemitem> partition, ensure that it is enabled + using the <command>swapon</command> command:</para> + +<screen role="nodump"><userinput>/sbin/swapon -v /dev/<replaceable><zzz></replaceable></userinput></screen> + + <para>Replace <replaceable><zzz></replaceable> with the name of the + swap partition.</para> + <para>Now that there is an established place to work, it is time to download the packages.</para> diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml index 7d27eefb5..ed8beb67e 100644 --- a/chapter06/e2fsprogs.xml +++ b/chapter06/e2fsprogs.xml @@ -94,6 +94,13 @@ cd build</userinput></screen> <para>To test the results, issue: <userinput>make check</userinput>.</para> + <para>One of the E2fsprogs tests will attempt to allocate 256 MB + of memory. If you do not have significantly more RAM than this, it + is recommended to enable sufficient swap space for the test. See + <xref linkend="space-creatingfilesystem"/> and + <xref linkend="space-mounting"/> for details on creating and enabling + swap space.</para> + <para>Install the binaries and documentation:</para> <screen><userinput>make install</userinput></screen> |