From owner-svn-src-all@freebsd.org Fri May 22 18:44:16 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 480B22D92B0; Fri, 22 May 2020 18:44:16 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [IPv6:2a01:4f8:13b:240c::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.bsd4all.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49TFl36R30z3Shg; Fri, 22 May 2020 18:44:15 +0000 (UTC) (envelope-from herbert@gojira.at) Date: Fri, 22 May 2020 20:44:06 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1590173046; bh=eRzc54+X3bCcmTow94PzA8N5hRCXhdC6Vr8Q/y9096M=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=rkWBOjEzJiqHK+b0l0GVXWG24eb4lJeU+KQWhoKEv8edpfNWt5YvGxbx+zeUb7w/y zzOcCgnj0KmgXhdd+e2hoGb2NXP2xI3dE5NUDc9UJnNnagbqeyt1pkWqP+e2y56W6o FEXWWKPntKTcCkkBDMMHjP7curOQQ47RnWwBtGFSGIIWRcM6m+c0uMHut7qtLaSpEb ljwjlKvavai7jENjcDjXNW8+VeNkTiS2wJN9VwPXsADNq21JuZzLIUDKCaGoD4uh9t +o9YPd3kOdbo3xp1sclq7OA6hWoVh67YUYNIPEpqo9zz26FwY6Wr95XEWLlziNm2vW XYJ6n/VHPKksQ== From: "Herbert J. Skuhra" To: John Baldwin Cc: Mark Johnston , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: Re: svn commit: r361334 - in stable/12/sys: amd64/amd64 arm64/arm64 dev/acpica i386/i386 x86/acpica Message-ID: <20200522184406.GA99475@mail.bsd4all.net> References: <202005211528.04LFSZFF068443@repo.freebsd.org> <87a720aowg.wl-herbert@gojira.at> <6c46560e-cc5b-ec15-d352-a3bf8eeede6a@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6c46560e-cc5b-ec15-d352-a3bf8eeede6a@FreeBSD.org> X-Rspamd-Queue-Id: 49TFl36R30z3Shg X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2020 18:44:16 -0000 On Fri, May 22, 2020 at 08:57:44AM -0700, John Baldwin wrote: > On 5/21/20 3:45 PM, Herbert J. Skuhra wrote: > > > > Until now it was possible to build a kernel (amd64) without 'device > > acpi'. After this commit it fails with this error: > > > > --- kernel.full --- > > linking kernel.full > > ld: error: undefined symbol: acpi_pxm_set_cpu_locality > >>>> referenced by mp_machdep.c:269 (/usr/src/sys/amd64/amd64/mp_machdep.c:269) > >>>> mp_machdep.o:(cpu_mp_start) > > *** [kernel.full] Error code 1 > > > > Was that intended? > > I know Mark has already fixed this, but can you elaborate on your use case for > not compiling ACPI support into the kernel? Yes, thanks! I still use a Soekris Net6501-70 board. It shows the following errors when ACPI is enabled: Firmware Error (ACPI): A valid RSDP was not found (20200430/tbxfroot-369) [...] ACPI: Table initialisation failed: AE_NOT_FOUND ACPI: Try disabling either ACPI or apic support. It works fine without ACPI so I removed it. I need a custom kernel anyway (the kernel panics without 'device atpic'). -- Herbert