From owner-svn-doc-head@FreeBSD.ORG Wed May 21 02:59:51 2014 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D18D4626; Wed, 21 May 2014 02:59:51 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (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 A53CE2ECB; Wed, 21 May 2014 02:59:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4L2xpHi040283; Wed, 21 May 2014 02:59:51 GMT (envelope-from allanjude@svn.freebsd.org) Received: (from allanjude@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4L2xpVv040282; Wed, 21 May 2014 02:59:51 GMT (envelope-from allanjude@svn.freebsd.org) Message-Id: <201405210259.s4L2xpVv040282@svn.freebsd.org> From: Allan Jude Date: Wed, 21 May 2014 02:59:51 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r44893 - head/en_US.ISO8859-1/books/handbook/linuxemu X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2014 02:59:51 -0000 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 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. + 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: