Re: OFWBUS: How does autoconfiguration work?

2020-02-01 Thread Niteesh
I couldn't find anything useful for me, I need information about how the hardware autoconfiguration works, not autoconf. On Sun, Feb 2, 2020 at 12:24 AM Clay Daniels wrote: > Take a look at the Porter's Handbook: > > > https://docs.freebsd.org/doc/7.4-RELEASE/usr/share/doc/en/books/porters-handb

Re: hwpstate_intel hangs kernel

2020-02-01 Thread Andreas Nilsson
Hello Conrad, thank you Andrey for bisecting! I'll try with that hint and see how it works for me. Best regards Andreas On Sat, Feb 1, 2020, 18:18 Conrad Meyer wrote: > Hi Andrey, > > Please try 'hint.hwpstate_intel.0.disabled="1"' as a workaround for now. > > I think I have identified at leas

Re: easy way to work around a lack of a direct map on i386

2020-02-01 Thread Konstantin Belousov
On Sat, Feb 01, 2020 at 01:56:59PM +0100, Hans Petter Selasky wrote: > On 2020-01-31 13:31, Konstantin Belousov wrote: > > On Fri, Jan 31, 2020 at 10:13:58AM +0100, Hans Petter Selasky wrote: > > > On 2020-01-31 00:37, Konstantin Belousov wrote: > > > > On Thu, Jan 30, 2020 at 11:23:02PM +, Ric

Re: OFWBUS: How does autoconfiguration work?

2020-02-01 Thread Clay Daniels
Take a look at the Porter's Handbook: https://docs.freebsd.org/doc/7.4-RELEASE/usr/share/doc/en/books/porters-handbook/using-autotools.html On Sat, Feb 1, 2020 at 8:56 AM Niteesh wrote: > I am interested in adding autoconfiguration to one of my projects. > The current drivers use lazy initializ

Re: hwpstate_intel hangs kernel

2020-02-01 Thread Conrad Meyer
Hi Andrey, Please try 'hint.hwpstate_intel.0.disabled="1"' as a workaround for now. I think I have identified at least one problematic piece of code, although I don't know if it's the root cause. I will go ahead and fix that, which may not fix the hang, and also add some debug printfs that can b

OFWBUS: How does autoconfiguration work?

2020-02-01 Thread Niteesh
I am interested in adding autoconfiguration to one of my projects. The current drivers use lazy initialization, for example, the UART drivers initialize the hardware only during their first invocation. I would like to add a subsystem, that will read the DTB and call the appropriate drivers. I wan

Re: hwpstate_intel hangs kernel

2020-02-01 Thread Andrey V. Elsukov
31.01.2020 18:11, Andrey V. Elsukov пишет: > On 24.01.2020 19:52, Andreas Nilsson wrote: >> It hangs during kernel boot and the last message printed on console is: >> hwpstate_intel0: on cpu0 > > Hi, > > Did you find the cause of this hang? > I also tried to update today from r350816 to r357330.

Re: After update to r357104 build of poudriere jail fails with 'out of swap space'

2020-02-01 Thread Yasuhiro KIMURA
From: Yasuhiro KIMURA Subject: After update to r357104 build of poudriere jail fails with 'out of swap space' Date: Sat, 25 Jan 2020 23:43:28 +0900 (JST) > I use VirtualBox to run 13-CURRENT. Host is 64bit Windows 10 1909 and > spec of VM is as following. > > * 4 CPU > * 8GB memory > * 100GB di

Re: easy way to work around a lack of a direct map on i386

2020-02-01 Thread Hans Petter Selasky
On 2020-01-31 13:31, Konstantin Belousov wrote: On Fri, Jan 31, 2020 at 10:13:58AM +0100, Hans Petter Selasky wrote: On 2020-01-31 00:37, Konstantin Belousov wrote: On Thu, Jan 30, 2020 at 11:23:02PM +, Rick Macklem wrote: Hi, The current code for KERN_TLS uses PHYS_TO_DMAP() to access un