From acosta@freebsd.fisica.unam.mx  Fri Oct 14 21:19:02 2005
Return-Path: <acosta@freebsd.fisica.unam.mx>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6E42E16A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 14 Oct 2005 21:19:02 +0000 (GMT)
	(envelope-from acosta@freebsd.fisica.unam.mx)
Received: from freebsd.fisica.unam.mx (freebsd.fisica.unam.mx [132.248.209.182])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DB96843D45
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 14 Oct 2005 21:19:01 +0000 (GMT)
	(envelope-from acosta@freebsd.fisica.unam.mx)
Received: from freebsd.fisica.unam.mx (localhost.fisica.unam.mx [127.0.0.1])
	by freebsd.fisica.unam.mx (8.13.1/8.13.1) with ESMTP id j9ELGRL1000620
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 14 Oct 2005 16:16:27 -0500 (CDT)
	(envelope-from acosta@freebsd.fisica.unam.mx)
Received: (from acosta@localhost)
	by freebsd.fisica.unam.mx (8.13.1/8.13.1/Submit) id j9ELGR0c000619;
	Fri, 14 Oct 2005 16:16:27 -0500 (CDT)
	(envelope-from acosta)
Message-Id: <200510142116.j9ELGR0c000619@freebsd.fisica.unam.mx>
Date: Fri, 14 Oct 2005 16:16:27 -0500 (CDT)
From: Alejandro Acosta <acosta@freebsd.fisica.unam.mx>
Reply-To: Alejandro Acosta <acosta@tre-systems.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] Incorrect statement for loading linux binary compatibility module in the handbook	
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:    jcamou
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 14 21:20:20 GMT 2005
>Closed-Date:    Fri Oct 28 05:03:40 GMT 2005
>Last-Modified:  Fri Oct 28 05:03:40 GMT 2005
>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:
Responsible-Changed-From-To: freebsd-doc->jcamou  
Responsible-Changed-By: jcamou 
Responsible-Changed-When: Fri Oct 14 21:27:19 GMT 2005 
Responsible-Changed-Why:  
I'll take a look at this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=87464 
State-Changed-From-To: open->closed  
State-Changed-By: jcamou 
State-Changed-When: Fri Oct 28 05:00:58 GMT 2005 
State-Changed-Why:  
Patch committed with some changes.  Thanks 
for the submittion. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=87464 
>Unformatted:
