Date: Mon, 19 Feb 2018 18:11:21 -0600 From: Peter Lei <peter.lei@ieee.org> To: Kyle Evans <kevans@freebsd.org> Cc: freebsd-current@freebsd.org, dteske@freebsd.org, listjm@club.fr Subject: Re: ACPI panic on boot with new Lua loader and other minor issues Message-ID: <5bea1c92-0ae9-7acb-d806-b7d7623658e1@ieee.org> In-Reply-To: <CACNAnaHzv3FXLncKN-_qMx7rpdxNWg_fhFjKML31SWyVGTp9yA@mail.gmail.com> References: <2AFF3AE4-8740-4776-9D8D-7D709EE051C6@gmail.com> <1b9e58fe-2616-b04b-13c2-fee78a33ad6e@club.fr> <CACNAnaFNv5LwDv3Z2dgPe%2Bb%2B3La%2B%2B-4CPNECug5XCdaTT_uo3A@mail.gmail.com> <b9460216-fbb8-1aee-690b-ec5b17618027@ieee.org> <CACNAnaHzv3FXLncKN-_qMx7rpdxNWg_fhFjKML31SWyVGTp9yA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format. --------------ms030509060902050606050201 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2/19/18 5:48 PM, Kyle Evans wrote: >=20 >=20 > On Feb 19, 2018 5:44 PM, "Peter Lei" <peter.lei@ieee.org > <mailto:peter.lei@ieee.org>> wrote: >=20 >=20 >=20 > On 2/19/18 2:21 PM, Kyle Evans wrote: > > Hello! > > > > On Mon, Feb 19, 2018 at 8:21 AM, Juan Ram=C3=B3n Molina Menor > <listjm@club.fr <mailto:listjm@club.fr>> wrote: > >> I have done a full build of r329555 to test the new Lua boot loa= der. > >> > >> 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 previous > >> message: > >> > https://lists.freebsd.org/pipermail/freebsd-current/2018-February/0= 68497.html > <https://lists.freebsd.org/pipermail/freebsd-current/2018-February/= 068497.html> > >> > >> OK show hint.acpi.0.disabled > >> 1 > >> > >> Setting ACPI to On resolves the issue. > > > > 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? >=20 >=20 > This doesn't appear to "just work out-of-the-box" yet when EFI boot= ing > amd64, as I still get the 'no local APIC' panic (I just tried @r329= 609). >=20 > Under EFI and lua loader, the following is set when breaking to pro= mpt: > =C2=A0 =C2=A0 hint.acpi.0.disabled=3D1 > Under forth loader, this is not present/set. >=20 > In neither case is hint.acpi.0.rsdp present/set as that appears to = get > set during the exec of the loaded kernel... >=20 > I've worked around the issue by adding hint.acpi.0.disabled=3D"0" t= o > loader.conf (or patching the amd64 efi loader code to explicitly cl= ear > that hint). >=20 >=20 > [Apologies for broken quoting, currently mobile] >=20 > What happens if you patch this line out? > https://svnweb.freebsd.org/base/head/stand/lua/core.lua?view=3Dmarkup#l= 233 Ah, right - yep, commenting out that line works. > I'll have to go back and figure out what I was thinking here again. It > made sense when I wrote it, maybe explicitly disabling ACPI if it's not= > immediately detected was the wrong move. =3D) --------------ms030509060902050606050201 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC Cx4wggUwMIIEGKADAgECAhEA5uRbT5dO2Nji0P2d3zpsSDANBgkqhkiG9w0BAQsFADCBlzEL MAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2Fs Zm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxPTA7BgNVBAMTNENPTU9ETyBSU0Eg Q2xpZW50IEF1dGhlbnRpY2F0aW9uIGFuZCBTZWN1cmUgRW1haWwgQ0EwHhcNMTcxMTA5MDAw MDAwWhcNMTgxMTA5MjM1OTU5WjAjMSEwHwYJKoZIhvcNA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wgQ0ECEQDm5FtPl07Y2OLQ /Z3fOmxIMIHABgsqhkiG9w0BCRACCzGBsKCBrTCBlzELMAkGA1UEBhMCR0IxGzAZBgNVBAgT EkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RP IENBIExpbWl0ZWQxPTA7BgNVBAMTNENPTU9ETyBSU0EgQ2xpZW50IEF1dGhlbnRpY2F0aW9u IGFuZCBTZWN1cmUgRW1haWwgQ0ECEQDm5FtPl07Y2OLQ/Z3fOmxIMA0GCSqGSIb3DQEBAQUA BIIBAG29u94sovc1bru2YGyGrmoBF7ynrt+ggZ3QgDAU53dlybVTigy7BmnlY5vjDsiJomeI LB/pkaHED84rYaH/GTJVwxYf5U9SXk409ysK2pcdpfKRn/bsj7B/iIjArsExDsKmnQM+3/EG HhQGRhLucekfBttC0u3DB4PXMDBDaMaAfMBqbCzlHVW5h7cjwY3eoQg9RWj2KdRaFGUWerbN 1fJOLqjyZQ0p5V9vnY2PVZoap/Od/ST6uTgESbRAfr/3/ZQ1iNFew+1VR4IeIyajLX381iMj son/dSZbU32Zu0SkAzLQxjGCIBV98Fh8a/bQVrsE5XYBUl6qrzRzQ1S8SxQAAAAAAAA= --------------ms030509060902050606050201--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5bea1c92-0ae9-7acb-d806-b7d7623658e1>