Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Oct 2005 16:16:27 -0500 (CDT)
From:      Alejandro Acosta <acosta@freebsd.fisica.unam.mx>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/87464: [patch] Incorrect statement for loading linux binary compatibility module in the handbook	
Message-ID:  <200510142116.j9ELGR0c000619@freebsd.fisica.unam.mx>
Resent-Message-ID: <200510142120.j9ELKKdx083620@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         87464
>Category:       docs
>Synopsis:       [patch] Incorrect statement for loading linux binary compatibility module in the handbook
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 14 21:20:20 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Alejandro Acosta <acosta@tre-systems.com>
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD freebsd.fisica.unam.mx 4.10-STABLE FreeBSD 4.10-STABLE #0: Fri Oct 1 17:02:02 CDT 2004 acosta@freebsd.fisica.unam.mx:/usr/src/sys/compile/INFIERNOS i386


	
>Description:

In file linuxemu/chapter.sgml from handbook you can read:


"Linux binary compatibility is not turned on by default. The easiest way to
 enable this functionality is to load the linux KLD object (.Kernel LoaDable object.).
 You can load this module by simply typing linux at the command prompt."

In 5.x will not work .

	
>How-To-Repeat:

Type linux at the command prompt in a 5.x system
	
>Fix:

	

--- chapter.diff begins here ---
--- chapter.sgml.old	Wed Oct 12 16:46:48 2005
+++ chapter.sgml	Wed Oct 12 16:21:10 2005
@@ -109,8 +109,10 @@
     <para>Linux binary compatibility is not turned on by default.  The
       easiest way to enable this functionality is to load the
       <literal>linux</literal> KLD object (<quote>Kernel LoaDable
-      object</quote>).  You can load this module by simply typing
-      <command>linux</command> at the command prompt.</para>
+      object</quote>).  You can load this module by typing the
+      following as <username>root</username>:</para>
+
+    <programlisting># kldload linux</programlisting>
 
     <para>If you would like Linux compatibility to always be enabled,
       then you should add the following line to
--- chapter.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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