From owner-freebsd-stable@FreeBSD.ORG Fri Apr 20 14:34:41 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF052106566B; Fri, 20 Apr 2012 14:34:41 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 849848FC15; Fri, 20 Apr 2012 14:34:41 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id E3F39B915; Fri, 20 Apr 2012 10:34:40 -0400 (EDT) From: John Baldwin To: Eugene Grosbein Date: Fri, 20 Apr 2012 10:34:39 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p13; KDE/4.5.5; amd64; ; ) References: <20120416042645.GA53074@regency.nsu.ru> <20120416070646.GA78414@regency.nsu.ru> <4F8BD14D.8050206@rdtc.ru> In-Reply-To: <4F8BD14D.8050206@rdtc.ru> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201204201034.40197.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 20 Apr 2012 10:34:41 -0400 (EDT) Cc: Alexey Dokuchaev , stable@freebsd.org, jkim@freebsd.org Subject: Re: RELENG_8 kernel as of Apr 14 does not boot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2012 14:34:41 -0000 On Monday, April 16, 2012 3:59:09 am Eugene Grosbein wrote: > >>> Just update my 8.x kernel sources last weekend, and newly built kernel did > >>> not boot for me: > >>> > >>> link_elf: symbol mem_range_softc undefined > >>> KLD file acpi.ko - could not finalize loading > >>> kernel trap 12 with interrupts disabled > >> > >> Try to add 'device mem' to your kernel configuration. > > > > :-) > > > > I explicitly have "nodevice mem" and "nodevice io" in my config. They are > > being loaded from /boot/loader.conf. This worked fine for quite a while. > > > > I will try to have it compiled-in, but would still prefer it fixed, or in > > case it cannot be fixed and mem.ko cannot be loaded separately from now on, > > appropriate entry in UPDATING. > > It seems John Baldwin brought dependency of acpi.ko on device mem > 4 days ago to RELENG_8 with MFC: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/acpica/acpi_wakeup.c#rev1.50.2.3 I believe the patch at www.freebsd.org/~jhb/patches/device_mem.patch should fix this. It reverts part of 217515 and 217539 to move the mem_range_softc back into the base kernel so it is always present. -- John Baldwin