From owner-freebsd-current@freebsd.org Thu Oct 22 19:08:21 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04CBDA1C0D3 for ; Thu, 22 Oct 2015 19:08:21 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E21231866 for ; Thu, 22 Oct 2015 19:08:20 +0000 (UTC) (envelope-from ian@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E19B8A1C0D2; Thu, 22 Oct 2015 19:08:20 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E13C2A1C0D1 for ; Thu, 22 Oct 2015 19:08:20 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from erouter6.ore.mailhop.org (erouter6.ore.mailhop.org [54.187.213.119]) (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 C2BA41865 for ; Thu, 22 Oct 2015 19:08:20 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from ilsoft.org (unknown [73.34.117.227]) by outbound3.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Thu, 22 Oct 2015 19:07:50 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t9MJ8C5v019292; Thu, 22 Oct 2015 13:08:13 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1445540892.14963.22.camel@freebsd.org> Subject: Re: env functionality of config(5) has no effect? From: Ian Lepore To: "Eggert, Lars" , "current@freebsd.org" Date: Thu, 22 Oct 2015 13:08:12 -0600 In-Reply-To: <0F998D21-682B-4B41-8248-B072F468184B@netapp.com> References: <0F998D21-682B-4B41-8248-B072F468184B@netapp.com> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 22 Oct 2015 19:08:21 -0000 On Wed, 2015-10-21 at 08:09 +0000, Eggert, Lars wrote: > Hi, > > I'm trying to include some loader tunables in the kernel, via the > "env" functionality described in config(5). > > When I look at the compiled kernel binary with strings(1), I see that > the tunables are compiled in. > > However, they don't seem to take any effect when booting the kernel, > and they also don't show up when running kenv(1) after boot. > > Any ideas? > > Thanks, > Lars I finally found a few minutes to look into this today. You didn't say what platform you're working with. It appears that this has only ever worked on i386 and a handful of old arm and mips platforms. -- Ian