From owner-freebsd-current@freebsd.org Mon Feb 19 23:44:36 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E554F09F8F for ; Mon, 19 Feb 2018 23:44:36 +0000 (UTC) (envelope-from peter.lei@ieee.org) Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C9F6C72E40 for ; Mon, 19 Feb 2018 23:44:35 +0000 (UTC) (envelope-from peter.lei@ieee.org) Received: by mail-it0-x236.google.com with SMTP id n7so1722901ita.5 for ; Mon, 19 Feb 2018 15:44:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee-org.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to; bh=Jia0CeirDteHflsYBNQ+bsmeubAPSScXIFg1RUGqz1w=; b=yzGqJJxFNDf3RUZSdvHg+1GLWXX8j9/YPEd/rCulZnxN7OSuDy7eJwr6TEEFieCXKF 4zFxgsUigPfFJgG0p/T6DMOW7Qo3iLVbd7lYZWWIeelEIlPPSYWYlk1ut8dSAEiPaazw bgRQuqgpeLzOgn6x0C1F7gu1OsyXqmDQennvRDspv1xfQtivjVk2KPN37Oa/6Br4K9Kk gr60VVBJRPFM+gjJ9w1/xd48NHQfRdIM7k7P7yr47+AYb6+sjR8s2ZbEVxVaHbEtsqVH kRIOGtL48MPbW9WinPs+su5oQDkwUBpp6JD0zhjgl42otU5n8GQAvE7PQwJhShF/6nR0 R5qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=Jia0CeirDteHflsYBNQ+bsmeubAPSScXIFg1RUGqz1w=; b=peYjRtEFj9ETO6Wji38WRrLpZMAjHm+kMaiFcSk9rgIApljywzJdPRayVJZg0ysKtc QB8HuycW803Vw8owh8k4RvwAlsHn3L4UncQenLF1VZcIKq2t57NvrBQ8Z9BrAPoDHt0C WLKuuaLItg+PyvZcj2/Nii1hIiknkXvvPq4nif9x8XCP0sUd5KtTCywvlUrRtqsPyyAJ kKObURFy4mSRIz2/VLr9SaWltbe05QhJ+0X8+q3/cNl1BRQCnAy/h7SbUL1pdnVYP/ok V/wUx+LZ3c11UMNWGdtQy6vFFqt+YXWXclvWRx1+uSKGYNd4PlcIv0ytowQ2O17+/k6A gqoA== X-Gm-Message-State: APf1xPDknxU34sfgK0wjORe840I52cU89Bj3u3qygp+JBkknCdtDdhL5 1AuFh5UU0KaCGGxZmcT0CLIJvg== X-Google-Smtp-Source: AH8x226x/dqb7bAo/VUB5ix8WBh+6V3Pzyxa/PskY3anqFr26/ByRN9cww1E+jJGuUNveqQ0puI/Mg== X-Received: by 10.36.151.197 with SMTP id k188mr18045067ite.45.1519083875020; Mon, 19 Feb 2018 15:44:35 -0800 (PST) Received: from mbpro15.local ([2607:fb10:7061:7fd::7d2]) by smtp.gmail.com with ESMTPSA id g127sm3438991iof.2.2018.02.19.15.44.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Feb 2018 15:44:34 -0800 (PST) Subject: Re: ACPI panic on boot with new Lua loader and other minor issues To: Kyle Evans , =?UTF-8?Q?Juan_Ram=c3=b3n_Molina_Menor?= Cc: freebsd-current@freebsd.org, dteske@freebsd.org References: <2AFF3AE4-8740-4776-9D8D-7D709EE051C6@gmail.com> <1b9e58fe-2616-b04b-13c2-fee78a33ad6e@club.fr> From: Peter Lei Message-ID: Date: Mon, 19 Feb 2018 17:44:32 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms080306050409050201050303" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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: Mon, 19 Feb 2018 23:44:36 -0000 This is a cryptographically signed message in MIME format. --------------ms080306050409050201050303 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2/19/18 2:21 PM, Kyle Evans wrote: > Hello! >=20 > On Mon, Feb 19, 2018 at 8:21 AM, Juan Ram=C3=B3n Molina Menor wrote: >> I have done a full build of r329555 to test the new Lua boot loader. >> >> Both the new and the old kernels panic after being loaded with: >> >> panic: running without device atpic requires a local APIC >> >> For reasons unknown, ACPI is off, as shown by David Wolfskill in a pre= vious >> message: >> https://lists.freebsd.org/pipermail/freebsd-current/2018-February/0684= 97.html >> >> OK show hint.acpi.0.disabled >> 1 >> >> Setting ACPI to On resolves the issue. >=20 > As David noted, this should actually Just Work (TM) now. Can you break > into a loader prompt with just the forth loader and tell me what "show > hint.acpi.0.rsdp" looks like? This doesn't appear to "just work out-of-the-box" yet when EFI booting amd64, as I still get the 'no local APIC' panic (I just tried @r329609). Under EFI and lua loader, the following is set when breaking to prompt: hint.acpi.0.disabled=3D1 Under forth loader, this is not present/set. In neither case is hint.acpi.0.rsdp present/set as that appears to get set during the exec of the loaded kernel... I've worked around the issue by adding hint.acpi.0.disabled=3D"0" to loader.conf (or patching the amd64 efi loader code to explicitly clear that hint). --------------ms080306050409050201050303 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACA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