svn commit: r44893 - head/en_US.ISO8859-1/books/handbook/linuxemu

Allan Jude allanjude at FreeBSD.org
Wed May 21 02:59:51 UTC 2014


Author: allanjude
Date: Wed May 21 02:59:51 2014
New Revision: 44893
URL: http://svnweb.freebsd.org/changeset/doc/44893

Log:
  Move the instructions to load the linux.ko module to before the instruction to
  install the port, as the port depends on the module being loaded.
  
  PR:		docs/188968
  Submitted by:	venture37 <venture37 at geeklan.co.uk>
  Approved by:	eadler (mentor)

Modified:
  head/en_US.ISO8859-1/books/handbook/linuxemu/chapter.xml

Modified: head/en_US.ISO8859-1/books/handbook/linuxemu/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/linuxemu/chapter.xml	Tue May 20 22:13:23 2014	(r44892)
+++ head/en_US.ISO8859-1/books/handbook/linuxemu/chapter.xml	Wed May 21 02:59:51 2014	(r44893)
@@ -108,6 +108,18 @@
       either be installed manually or from the &os; Ports
       Collection.</para>
 
+    <para>Before attempting to build the port, load the &linux; kernel
+      module otherwise the build will fail</para>
+
+    <screen>&prompt.root; <userinput>kldload linux</userinput></screen>
+
+    <para>To verify that the module is loaded:</para>
+
+    <screen>&prompt.user; <userinput>kldstat</userinput>
+      Id Refs Address    Size     Name
+      1    2 0xc0100000 16bdb8   kernel
+      7    1 0xc24db000 d000     linux.ko</screen>
+
     <para>The <package>emulators/linux-base-f10</package> package or
       port is the easiest way to install a base set of &linux;
       libraries and binaries on a &os; system.  To install the
@@ -116,18 +128,6 @@
     <screen>&prompt.root; <userinput>cd /usr/ports/emulators/linux_base-f10</userinput>
 &prompt.root; <userinput>make install distclean</userinput></screen>
 
-    <para>Once installed, enable &linux; binary compatibility by
-      loading the <literal>linux</literal> module:</para>
-
-    <screen>&prompt.root; <userinput>kldload linux</userinput></screen>
-
-    <para>To verify that the module is loaded:</para>
-
-    <screen>&prompt.user; <userinput>kldstat</userinput>
-Id Refs Address    Size     Name
- 1    2 0xc0100000 16bdb8   kernel
- 7    1 0xc24db000 d000     linux.ko</screen>
-
     <para>In order for &linux; compatibility to be enabled at boot
       time, add the following line to
       <filename>/etc/rc.conf</filename>:</para>


More information about the svn-doc-all mailing list