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
[-- Attachment #1 --] On 2/19/18 5:48 PM, Kyle Evans wrote: > > > On Feb 19, 2018 5:44 PM, "Peter Lei" <peter.lei@ieee.org > <mailto:peter.lei@ieee.org>> wrote: > > > > On 2/19/18 2:21 PM, Kyle Evans wrote: > > Hello! > > > > On Mon, Feb 19, 2018 at 8:21 AM, Juan Ramón Molina Menor > <listjm@club.fr <mailto:listjm@club.fr>> 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 previous > >> message: > >> > https://lists.freebsd.org/pipermail/freebsd-current/2018-February/068497.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? > > > 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=1 > 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="0" to > loader.conf (or patching the amd64 efi loader code to explicitly clear > that hint). > > > [Apologies for broken quoting, currently mobile] > > What happens if you patch this line out? > https://svnweb.freebsd.org/base/head/stand/lua/core.lua?view=markup#l233 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. =) [-- Attachment #2 --] 0 *H 010 `He 0 *H 000 [ON:lH0 *H 010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1=0;U4COMODO RSA Client Authentication and Secure Email CA0 171109000000Z 181109235959Z0#1!0 *H peter.lei@ieee.org0"0 *H 0 |¤oVm }uVN%V\uukuh j2I^?~L(}ozݨ5.0m&K 8v,óvL XE#ȣH*EJ?raf*N3$ִ}Q~Hvz7~QsqVY`)OktQ/YZe{\ka5MT^)}\)-ذ@8~rT}NcL 00U#0la|=+qH^ċ0U-{([n*hi=C0U0U0 0 U%0++10 `HB 0FU ?0=0;+10+0)+https://secure.comodo.net/CPS0ZUS0Q0OMKIhttp://crl.comodoca.com/COMODORSAClientAuthenticationandSecureEmailCA.crl0+0}0U+0Ihttp://crt.comodoca.com/COMODORSAClientAuthenticationandSecureEmailCA.crt0$+0http://ocsp.comodoca.com0U0peter.lei@ieee.org0 *H pT_첪KFo/lh7N0:!=C!e͡l0ԾΨI{][ںfhVcS&",Nt_EIrS;Mf36:ksh:$U¡J()y< vz_)_DWN`X&hUаZN oS9|y2&UD=\b41FTKݼ#xuU+6I:Oޝt+00Πj8;+kٸRV0 *H 010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1+0)U"COMODO RSA Certification Authority0 130110000000Z 280109235959Z010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1=0;U4COMODO RSA Client Authentication and Secure Email CA0"0 *H 0 W(vu@8v!P%yL}:X>1.4vلj=4HK hyt4z|e`'"2@rF5P3*UT+%4D5+ ZSu+=7F_Zte >) 94Fro8pNhFF#Ne6/M{UWֱmAYT"o)CI m84$.zW4 r^M9,R$ <080U#0~=<8220Ula|=+qH^ċ0U0U0 0U 00U 0LUE0C0A?=;http://crl.comodoca.com/COMODORSACertificationAuthority.crl0q+e0c0;+0/http://crt.comodoca.com/COMODORSAAddTrustCA.crt0$+0http://ocsp.comodoca.com0 *H x\(4O<_VΟV쏢kI/5@qB!fk&kn{hJd| q[Lǿᓬ?"@fCOݐrXurJH5;#68jle) )Y4Nezyq{: kx%iچ:w#f6HLP~jo9KXnM#:!!69i\}^M;TSX7 ̯3]Tc6O$voX*5!4.aKE8HIĹ7?Ar}r# R/h<סnuy<1 3mɔv#~&pvg' skMH#/ƨ$/uXqTu(|^-vM҆NKX7fA\X5sh2qP\YǟENRarpGtZp_"k7DdJVGz18040010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1=0;U4COMODO RSA Client Authentication and Secure Email CA [ON:lH0 `He [0 *H 1 *H 0 *H 1 180220001121Z0/ *H 1" *d2]xK[Ja%oA/MM_"Xi0l *H 1_0]0 `He*0 `He0 *H 0*H 0 *H @0+0 *H (0 +710010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1=0;U4COMODO RSA Client Authentication and Secure Email CA [ON:lH0*H 1010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1=0;U4COMODO RSA Client Authentication and Secure Email CA [ON:lH0 *H m,5n`ljߠЀ0weɵSicȉg,鑡+a2UOR^N4+ ڗ쏰1¦>FqB00Chƀ|jl,U#ޡ=Eh)ZezN.e )_oU$8I@~5^UG#&-}##u&[S}D21 }X|kVvR^4sCTK
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5bea1c92-0ae9-7acb-d806-b7d7623658e1>
