Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-07 Thread Doug Ambrisko
On Wed, Aug 08, 2018 at 01:42:07AM +0300, Konstantin Belousov wrote: | On Tue, Aug 07, 2018 at 02:49:10PM -0700, Doug Ambrisko wrote: | > On Tue, Aug 07, 2018 at 08:29:49PM +0300, Konstantin Belousov wrote: | > | On Tue, Aug 07, 2018 at 11:50:44AM -0500, Kyle Evans wrote: | > | > On Tue, Aug 7, 201

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-07 Thread Konstantin Belousov
On Tue, Aug 07, 2018 at 02:49:10PM -0700, Doug Ambrisko wrote: > On Tue, Aug 07, 2018 at 08:29:49PM +0300, Konstantin Belousov wrote: > | On Tue, Aug 07, 2018 at 11:50:44AM -0500, Kyle Evans wrote: > | > On Tue, Aug 7, 2018 at 12:09 AM, Eitan Adler wrote: > | > > On Mon, 6 Aug 2018 at 11:27, Kyle

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-07 Thread Doug Ambrisko
On Tue, Aug 07, 2018 at 08:29:49PM +0300, Konstantin Belousov wrote: | On Tue, Aug 07, 2018 at 11:50:44AM -0500, Kyle Evans wrote: | > On Tue, Aug 7, 2018 at 12:09 AM, Eitan Adler wrote: | > > On Mon, 6 Aug 2018 at 11:27, Kyle Evans wrote: | > >> | > >> On Sun, Aug 5, 2018 at 5:43 AM, Konstantin

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-07 Thread Konstantin Belousov
On Tue, Aug 07, 2018 at 11:50:44AM -0500, Kyle Evans wrote: > On Tue, Aug 7, 2018 at 12:09 AM, Eitan Adler wrote: > > On Mon, 6 Aug 2018 at 11:27, Kyle Evans wrote: > >> > >> On Sun, Aug 5, 2018 at 5:43 AM, Konstantin Belousov > >> wrote: > >> > On Sat, Aug 04, 2018 at 09:46:39PM -0500, Kyle Ev

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-07 Thread Kyle Evans
On Tue, Aug 7, 2018 at 12:09 AM, Eitan Adler wrote: > On Mon, 6 Aug 2018 at 11:27, Kyle Evans wrote: >> >> On Sun, Aug 5, 2018 at 5:43 AM, Konstantin Belousov >> wrote: >> > On Sat, Aug 04, 2018 at 09:46:39PM -0500, Kyle Evans wrote: >> >> >> >> He now gets a little further, but ends up with th

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-06 Thread Eitan Adler
On Mon, 6 Aug 2018 at 11:27, Kyle Evans wrote: > > On Sun, Aug 5, 2018 at 5:43 AM, Konstantin Belousov > wrote: > > On Sat, Aug 04, 2018 at 09:46:39PM -0500, Kyle Evans wrote: > >> > >> He now gets a little further, but ends up with the same panic due to > >> efirtc_probe trying to get time to v

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-06 Thread Kyle Evans
On Sun, Aug 5, 2018 at 5:43 AM, Konstantin Belousov wrote: > On Sat, Aug 04, 2018 at 09:46:39PM -0500, Kyle Evans wrote: >> >> He now gets a little further, but ends up with the same panic due to >> efirtc_probe trying to get time to verify the rtc's actually >> implemented. What kind of approach

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-05 Thread Konstantin Belousov
gt; >> > > >> > After installing the latest current kernel I get the following panic: > >> > > >> > panic: mutex pmap not owned at ... efirt_machdep.c:255 > >> > cpuid =3 > >> > time = 1 > >> > ... > >>

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-04 Thread Kyle Evans
g panic: >> > >> > panic: mutex pmap not owned at ... efirt_machdep.c:255 >> > cpuid =3 >> > time = 1 >> > ... >> > mtx_assert() >> > efi_arch_enter() >> > efirt_modevents() >> > module_register_init() >> >

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-04 Thread Konstantin Belousov
On Sat, Aug 04, 2018 at 08:28:25PM +0100, Warner Losh wrote: > When I looked at it, I'd assumed there would be VA range we'd assign to the > PAs in the EFI table that at the loader and kernel would agree on. The DMAP > does this on x64 and aarch64, but that's not an option for armv7 nor i386. It i

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-04 Thread Warner Losh
On Sat, Aug 4, 2018, 8:21 PM Emmanuel Vadot wrote: > On Sat, 04 Aug 2018 09:47:11 -0600 > Ian Lepore wrote: > > > On Sat, 2018-08-04 at 18:43 +0300, Konstantin Belousov wrote: > > > On Sat, Aug 04, 2018 at 09:25:47AM -0600, Ian Lepore wrote: > > > > > > > > On Sat, 2018-08-04 at 18:22 +0300, Kon

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-04 Thread Emmanuel Vadot
On Sat, 04 Aug 2018 09:47:11 -0600 Ian Lepore wrote: > On Sat, 2018-08-04 at 18:43 +0300, Konstantin Belousov wrote: > > On Sat, Aug 04, 2018 at 09:25:47AM -0600, Ian Lepore wrote: > > > > > > On Sat, 2018-08-04 at 18:22 +0300, Konstantin Belousov wrote: > > > > > > > > On Sat, Aug 04, 2018 at

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-04 Thread Ian Lepore
On Sat, 2018-08-04 at 18:43 +0300, Konstantin Belousov wrote: > On Sat, Aug 04, 2018 at 09:25:47AM -0600, Ian Lepore wrote: > > > > On Sat, 2018-08-04 at 18:22 +0300, Konstantin Belousov wrote: > > > > > > On Sat, Aug 04, 2018 at 09:58:43AM -0500, Kyle Evans wrote: > > > > > > > > > > > > On Sa

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-04 Thread Konstantin Belousov
On Sat, Aug 04, 2018 at 09:25:47AM -0600, Ian Lepore wrote: > On Sat, 2018-08-04 at 18:22 +0300, Konstantin Belousov wrote: > > On Sat, Aug 04, 2018 at 09:58:43AM -0500, Kyle Evans wrote: > > > > > > On Sat, Aug 4, 2018 at 9:51 AM, Ian Lepore wrote: > > > > > > > > On Sat, 2018-08-04 at 08:56 -0

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-04 Thread Ian Lepore
On Sat, 2018-08-04 at 18:22 +0300, Konstantin Belousov wrote: > On Sat, Aug 04, 2018 at 09:58:43AM -0500, Kyle Evans wrote: > > > > On Sat, Aug 4, 2018 at 9:51 AM, Ian Lepore wrote: > > > > > > On Sat, 2018-08-04 at 08:56 -0500, Kyle Evans wrote: > > > > > > > > On Sat, Aug 4, 2018 at 8:13 AM,

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-04 Thread Konstantin Belousov
On Sat, Aug 04, 2018 at 09:58:43AM -0500, Kyle Evans wrote: > On Sat, Aug 4, 2018 at 9:51 AM, Ian Lepore wrote: > > On Sat, 2018-08-04 at 08:56 -0500, Kyle Evans wrote: > >> On Sat, Aug 4, 2018 at 8:13 AM, Konstantin Belousov >> com> wrote: > >> > > >> > On Sat, Aug 04, 2018 at 08:05:24AM -0500,

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-04 Thread Kyle Evans
On Sat, Aug 4, 2018 at 9:51 AM, Ian Lepore wrote: > On Sat, 2018-08-04 at 08:56 -0500, Kyle Evans wrote: >> On Sat, Aug 4, 2018 at 8:13 AM, Konstantin Belousov > com> wrote: >> > >> > On Sat, Aug 04, 2018 at 08:05:24AM -0500, Kyle Evans wrote: >> > > >> > > On Sat, Aug 4, 2018 at 3:37 AM, Konstant

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-04 Thread Ian Lepore
On Sat, 2018-08-04 at 08:56 -0500, Kyle Evans wrote: > On Sat, Aug 4, 2018 at 8:13 AM, Konstantin Belousov com> wrote: > > > > On Sat, Aug 04, 2018 at 08:05:24AM -0500, Kyle Evans wrote: > > > > > > On Sat, Aug 4, 2018 at 3:37 AM, Konstantin Belousov > > ail.com> wrote: > > > > > > > > On Fri,

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-04 Thread Konstantin Belousov
On Sat, Aug 04, 2018 at 08:56:58AM -0500, Kyle Evans wrote: > On Sat, Aug 4, 2018 at 8:13 AM, Konstantin Belousov > wrote: > > On Sat, Aug 04, 2018 at 08:05:24AM -0500, Kyle Evans wrote: > >> On Sat, Aug 4, 2018 at 3:37 AM, Konstantin Belousov > >> wrote: > >> > On Fri, Aug 03, 2018 at 11:27:02

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-04 Thread Kyle Evans
On Sat, Aug 4, 2018 at 8:13 AM, Konstantin Belousov wrote: > On Sat, Aug 04, 2018 at 08:05:24AM -0500, Kyle Evans wrote: >> On Sat, Aug 4, 2018 at 3:37 AM, Konstantin Belousov >> wrote: >> > On Fri, Aug 03, 2018 at 11:27:02PM -0500, Kyle Evans wrote: >> >> >> >> This seems odd- pmap lock is acqu

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-04 Thread Konstantin Belousov
On Sat, Aug 04, 2018 at 08:05:24AM -0500, Kyle Evans wrote: > On Sat, Aug 4, 2018 at 3:37 AM, Konstantin Belousov > wrote: > > On Fri, Aug 03, 2018 at 11:27:02PM -0500, Kyle Evans wrote: > >> > >> This seems odd- pmap lock is acquired at [1], then asserted shortly > >> later at [2]... I avoid som

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-04 Thread Kyle Evans
On Sat, Aug 4, 2018 at 3:37 AM, Konstantin Belousov wrote: > On Fri, Aug 03, 2018 at 11:27:02PM -0500, Kyle Evans wrote: >> >> This seems odd- pmap lock is acquired at [1], then asserted shortly >> later at [2]... I avoid some of this stuff as well as I can, but is it >> actually possible for PCPU

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-04 Thread Konstantin Belousov
On Fri, Aug 03, 2018 at 11:27:02PM -0500, Kyle Evans wrote: > On Fri, Aug 3, 2018 at 10:10 PM, Eitan Adler wrote: > > Hi all, > > > > After installing the latest current kernel I get the following panic: > > > > panic: mutex pmap not owned at ... efirt_machde

Re: panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-03 Thread Kyle Evans
On Fri, Aug 3, 2018 at 10:10 PM, Eitan Adler wrote: > Hi all, > > After installing the latest current kernel I get the following panic: > > panic: mutex pmap not owned at ... efirt_machdep.c:255 > cpuid =3 > time = 1 > ... > mtx_assert() > efi_

panic: mutex pmap not owned at ... efirt_machdep.c:255

2018-08-03 Thread Eitan Adler
Hi all, After installing the latest current kernel I get the following panic: panic: mutex pmap not owned at ... efirt_machdep.c:255 cpuid =3 time = 1 ... mtx_assert() efi_arch_enter() efirt_modevents() module_register_init() mi_startup() btext() Unfortunately this appears to be early enough