From owner-freebsd-doc@FreeBSD.ORG Sun May 18 01:30:01 2014 Return-Path: Delivered-To: freebsd-doc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3FE63C3 for ; Sun, 18 May 2014 01:30:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 143762B0A for ; Sun, 18 May 2014 01:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4I1U0Mj027809 for ; Sun, 18 May 2014 01:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4I1U04w027808; Sun, 18 May 2014 01:30:00 GMT (envelope-from gnats) Date: Sun, 18 May 2014 01:30:00 GMT Message-Id: <201405180130.s4I1U04w027808@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org Cc: From: venture37 Subject: Re: docs/188968: [handbook] Error in 11.2 Linux Compatability Reply-To: venture37 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2014 01:30:01 -0000 The following reply was made to PR docs/188968; it has been noted by GNATS. From: venture37 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. + Before attempting to build the port, load the &linux; kernel + module otherwise the build will fail + + &prompt.root; kldload linux + + To verify that the module is loaded: + + &prompt.user; kldstat + Id Refs Address Size Name + 1 2 0xc0100000 16bdb8 kernel + 7 1 0xc24db000 d000 linux.ko + The emulators/linux-base-f10 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 @@ &prompt.root; cd /usr/ports/emulators/linux_base-f10 &prompt.root; make install distclean - Once installed, enable &linux; binary compatibility by - loading the linux module: - - &prompt.root; kldload linux - - To verify that the module is loaded: - - &prompt.user; kldstat -Id Refs Address Size Name - 1 2 0xc0100000 16bdb8 kernel - 7 1 0xc24db000 d000 linux.ko - In order for &linux; compatibility to be enabled at boot time, add the following line to /etc/rc.conf: --------------070804050907040809020801--