Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 2014 01:30:00 GMT
From:      venture37 <venture37@geeklan.co.uk>
To:        freebsd-doc@FreeBSD.org
Subject:   Re: docs/188968: [handbook] Error in 11.2 Linux Compatability
Message-ID:  <201405180130.s4I1U04w027808@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/188968; it has been noted by GNATS.

From: venture37 <venture37@geeklan.co.uk>
To: bug-followup@FreeBSD.org, trh411@gmail.com
Cc:  
Subject: Re: docs/188968: [handbook] Error in 11.2 Linux Compatability
Date: Sat, 17 May 2014 21:24:21 -0400

 This is a multi-part message in MIME format.
 --------------070804050907040809020801
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 
 --------------070804050907040809020801
 Content-Type: text/plain; charset=UTF-8;
  name="linuxemu.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="linuxemu.txt"
 
 Index: linuxemu/chapter.xml
 ===================================================================
 --- linuxemu/chapter.xml	(revision 44860)
 +++ linuxemu/chapter.xml	(working copy)
 @@ -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>
 
 --------------070804050907040809020801--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405180130.s4I1U04w027808>