From owner-freebsd-current@FreeBSD.ORG Sun Feb 10 03:01:33 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C7B15E5B; Sun, 10 Feb 2013 03:01:33 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx1.freebsd.org (Postfix) with ESMTP id 7C2036BA; Sun, 10 Feb 2013 03:01:32 +0000 (UTC) Received: by mail-ve0-f170.google.com with SMTP id 14so4365263vea.15 for ; Sat, 09 Feb 2013 19:01:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=5cU3AswiIW8plb9y0DH6LLgoFmG00KXSMGNTX+COgAw=; b=teovPTPrxggFaD+zFJsjdwx9+xfbuppqOoCEdp3uenFzqybXGK8WeyW6RAnlFS8zsN RB1U8FLoGS0Hs0CRiweXWGhPycFG2ShdrSkOHJ3RhjqDHYTt+DOwWy/nqK6eck7We4Mq 7RxhainBqiobUWYtcw8hBYnP84mc6IPy4Vn/0AtP9+KURRI+E1T+dG0MdrMsr6J6NFJB llUN9nF2NgDTYwWH7ULo+v4OnhzUb1JCjpoRzORaie/dudXmm89gYeTr2q3NHNftwubz WLe2XOEzpOESgtJVOHqKhCtc9TWwkM66pHJmIP7fd6an7y+T/AeYaE8vOq2r3VhpNsS1 PFOA== MIME-Version: 1.0 X-Received: by 10.220.228.74 with SMTP id jd10mr13122713vcb.65.1360465286364; Sat, 09 Feb 2013 19:01:26 -0800 (PST) Received: by 10.58.156.70 with HTTP; Sat, 9 Feb 2013 19:01:25 -0800 (PST) In-Reply-To: <201302100126.r1A1QTT2047019@mech-cluster241.men.bris.ac.uk> References: <20130210013631.4681c6fd.freebsd@edvax.de> <201302100126.r1A1QTT2047019@mech-cluster241.men.bris.ac.uk> Date: Sat, 9 Feb 2013 22:01:25 -0500 Message-ID: Subject: Re: building custom kernel on -current: unknown option "COMPAT_LINUX" From: "illoai@gmail.com" To: mexas@bristol.ac.uk Content-Type: text/plain; charset=ISO-8859-1 X-Mailman-Approved-At: Sun, 10 Feb 2013 03:41:55 +0000 Cc: freebsd-current@freebsd.org, freebsd@edvax.de, freebsd-questions@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2013 03:01:33 -0000 On 9 February 2013 20:26, Anton Shterenlikht wrote: > > I removed COMPAT_LINUX, and only left > > options COMPAT_43 > options COMPAT_LINUX32 > >From /usr/src/sys/amd64/conf/NOTES (9.1-RELEASE): # Enable Linux ABI emulation #XXX#options COMPAT_LINUX # Enable 32-bit Linux ABI emulation (requires COMPAT_43 and COMPAT_FREEBSD32) options COMPAT_LINUX32 I think I first ran up against this when I moved to 9.0 some time ago, but yes, amd64 uses a different kernel config option than i386 for linux compat. I tend to leave it as a module & load it if I perchance need it. This also allows rebuilding & reloading the modules without a reboot, should it need it. The modules seems to build fine without having to fiddle about with kernel config jiggerypokey. -- --