From owner-freebsd-arm@FreeBSD.ORG Wed Jun 10 16:30:49 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1894052F for ; Wed, 10 Jun 2015 16:30:49 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound3.ore.mailhop.org (erouter6.ore.mailhop.org [54.187.213.119]) by mx1.freebsd.org (Postfix) with SMTP id EAC5816FB for ; Wed, 10 Jun 2015 16:30:48 +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; Wed, 10 Jun 2015 16:30:47 +0000 (UTC) Received: from revolution.hippie.lan (revolution.hippie.lan [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t5AGUkg0004467; Wed, 10 Jun 2015 10:30:46 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1433953846.1200.338.camel@freebsd.org> Subject: Re: /boot/loader.conf not being read on 11.x RPI2 From: Ian Lepore To: Warner Losh Cc: Dan Langille , freebsd-arm@freebsd.org Date: Wed, 10 Jun 2015 10:30:46 -0600 In-Reply-To: References: <79F87CAC-9BC8-4C60-8FB8-2E3A41D3AEA6@langille.org> <1433952342.1200.336.camel@freebsd.org> Content-Type: text/plain; charset="iso-8859-13" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2015 16:30:49 -0000 On Wed, 2015-06-10 at 09:27 -0700, Warner Losh wrote: > > On Jun 10, 2015, at 9:05 AM, Ian Lepore wrote: > > > > On Wed, 2015-06-10 at 11:47 -0400, Dan Langille wrote: > >> re: FreeBSD dvl.int.unixathome.org 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r283896: Tue Jun 2 03:52:48 UTC 2015 root@releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI2 arm > >> > >> I'm finding that /boot/loader.conf is not read. > >> > >> [root@dvl ~]# cat /boot/loader.conf > >> legal.realtek.license_ack=1 > >> [root@dvl ~]# > >> > >> I must do this at the boot prompt instead: > >> > >> set legal.realtek.license_ack=1 > >> load urtwn-rtl8188eufw.ko > >> boot > >> > >> Know issue? Anything I can help with? > >> > >> I have the RPI2 with me at the BSDCan Dev Summit if someone wants access. > >> > > > > It looks like we still don't enable the forth processing by default > > (although it is compiled in by default). That's probably a holdover > > from the days when it would take 90-120 seconds to process all the > > defaults stuff in forth mode on low-end arm boards. > > > > You can enable it yourself using "cp loader.rc.sample loader.rc" in > > the /boot directory. Once you've done that it'll start reading your > > loader.conf file. > > Shouldn˙t we fix that? Is there something real in the way of fixing it? > > Warner I think it may just be an oversight on my part, I should have followed up the cleanup of defaults processing by enabling it. -- Ian