Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory

2013-07-05 Thread Zbyszek Bodek
On 25.06.2013 05:23, Jeff Roberson wrote: > On Sun, 23 Jun 2013, Ruslan Bukin wrote: > >> On Sun, Jun 23, 2013 at 07:50:40PM +0300, Konstantin Belousov wrote: >>> On Sun, Jun 23, 2013 at 08:44:25PM +0400, Ruslan Bukin wrote: On Sun, Jun 23, 2013 at 07:16:17PM +0300, Konstantin Belousov wrote:

Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory

2013-07-01 Thread hiren panchasara
On Mon, Jun 24, 2013 at 8:23 PM, Jeff Roberson wrote: > > Would any of the arm users be interested in testing a larger patch that > changes the way the kernel allocations KVA? It also has some UMA code that > lessens kernel memory utilization. > > http://people.freebsd.org/~jeff/vmem.diff > > An

Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory

2013-06-24 Thread Jeff Roberson
On Sun, 23 Jun 2013, Ruslan Bukin wrote: On Sun, Jun 23, 2013 at 07:50:40PM +0300, Konstantin Belousov wrote: On Sun, Jun 23, 2013 at 08:44:25PM +0400, Ruslan Bukin wrote: On Sun, Jun 23, 2013 at 07:16:17PM +0300, Konstantin Belousov wrote: On Sun, Jun 23, 2013 at 06:43:46PM +0400, Ruslan Buk

Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory

2013-06-23 Thread Tim Kientzle
On Jun 23, 2013, at 9:16 AM, Konstantin Belousov wrote: > On Sun, Jun 23, 2013 at 06:43:46PM +0400, Ruslan Bukin wrote: >> On Sun, Jun 23, 2013 at 05:32:48PM +0300, Konstantin Belousov wrote: >>> >>> This is useless without a backtrace. >> >> Trying to mount root from ufs:/dev/da0 []... >> WARN

Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory

2013-06-23 Thread Ruslan Bukin
On Sun, Jun 23, 2013 at 07:50:40PM +0300, Konstantin Belousov wrote: > On Sun, Jun 23, 2013 at 08:44:25PM +0400, Ruslan Bukin wrote: > > On Sun, Jun 23, 2013 at 07:16:17PM +0300, Konstantin Belousov wrote: > > > On Sun, Jun 23, 2013 at 06:43:46PM +0400, Ruslan Bukin wrote: > > > > > > > > Trying t

Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory

2013-06-23 Thread Ruslan Bukin
On Sun, Jun 23, 2013 at 07:16:17PM +0300, Konstantin Belousov wrote: > On Sun, Jun 23, 2013 at 06:43:46PM +0400, Ruslan Bukin wrote: > > > > Trying to mount root from ufs:/dev/da0 []... > > WARNING: / was not properly dismounted > > warning: no time-of-day clock registered, system time will not be

Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory

2013-06-23 Thread Konstantin Belousov
On Sun, Jun 23, 2013 at 08:44:25PM +0400, Ruslan Bukin wrote: > On Sun, Jun 23, 2013 at 07:16:17PM +0300, Konstantin Belousov wrote: > > On Sun, Jun 23, 2013 at 06:43:46PM +0400, Ruslan Bukin wrote: > > > > > > Trying to mount root from ufs:/dev/da0 []... > > > WARNING: / was not properly dismount

Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory

2013-06-23 Thread Ruslan Bukin
On Sun, Jun 23, 2013 at 05:32:48PM +0300, Konstantin Belousov wrote: > On Sun, Jun 23, 2013 at 12:32:20PM +0400, Ruslan Bukin wrote: > > On Sun, Jun 23, 2013 at 09:57:06AM +0300, Konstantin Belousov wrote: > > > > I don't really see a lot of wasted memory in the zones. There is > > > > certainly

Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory

2013-06-23 Thread Konstantin Belousov
On Sun, Jun 23, 2013 at 06:43:46PM +0400, Ruslan Bukin wrote: > On Sun, Jun 23, 2013 at 05:32:48PM +0300, Konstantin Belousov wrote: > > On Sun, Jun 23, 2013 at 12:32:20PM +0400, Ruslan Bukin wrote: > > > On Sun, Jun 23, 2013 at 09:57:06AM +0300, Konstantin Belousov wrote: > > > > > I don't really

Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory

2013-06-23 Thread Konstantin Belousov
On Sun, Jun 23, 2013 at 12:32:20PM +0400, Ruslan Bukin wrote: > On Sun, Jun 23, 2013 at 09:57:06AM +0300, Konstantin Belousov wrote: > > > I don't really see a lot of wasted memory in the zones. There is > > > certainly some. Can you give me sysctl vm from both a working and > > > non-working k

Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory

2013-06-23 Thread Ruslan Bukin
On Sun, Jun 23, 2013 at 09:57:06AM +0300, Konstantin Belousov wrote: > > I don't really see a lot of wasted memory in the zones. There is > > certainly some. Can you give me sysctl vm from both a working and > > non-working kernel after the build is done or fails? > > Try this: > http://people

Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory

2013-06-22 Thread Konstantin Belousov
On Sat, Jun 22, 2013 at 04:37:24PM -1000, Jeff Roberson wrote: > On Fri, 21 Jun 2013, Zbyszek Bodek wrote: > > > On 21.06.2013 01:56, Jeff Roberson wrote: > >> On Thu, 20 Jun 2013, Jeff Roberson wrote: > >> > >>> On Wed, 19 Jun 2013, Zbyszek Bodek wrote: > >>> > Hello, > > I've been

Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory

2013-06-22 Thread Jeff Roberson
On Fri, 21 Jun 2013, Zbyszek Bodek wrote: On 21.06.2013 01:56, Jeff Roberson wrote: On Thu, 20 Jun 2013, Jeff Roberson wrote: On Wed, 19 Jun 2013, Zbyszek Bodek wrote: Hello, I've been trying to compile the kernel on my ARMv7 platform using the sources from the current FreeBSD HEAD. make

Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory

2013-06-21 Thread Zbyszek Bodek
On 21.06.2013 01:56, Jeff Roberson wrote: > On Thu, 20 Jun 2013, Jeff Roberson wrote: > >> On Wed, 19 Jun 2013, Zbyszek Bodek wrote: >> >>> Hello, >>> >>> I've been trying to compile the kernel on my ARMv7 platform using the >>> sources from the current FreeBSD HEAD. >>> >>> make buildkernel <

Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory

2013-06-20 Thread Adrian Chadd
On 20 June 2013 16:56, Jeff Roberson wrote: > Just to add some more information; On my machine with 16GB of ram the > handful of recent UMA commits save about 20MB of kmem on boot. There are > 30% fewer buckets allocated. And all of the malloc zones have similar > amounts of cached space. Act

Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory

2013-06-20 Thread Jeff Roberson
On Thu, 20 Jun 2013, Jeff Roberson wrote: On Wed, 19 Jun 2013, Zbyszek Bodek wrote: Hello, I've been trying to compile the kernel on my ARMv7 platform using the sources from the current FreeBSD HEAD. make buildkernel <.> -j5 1/2 builds fails in the way described below: -

Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory

2013-06-20 Thread Jeff Roberson
On Wed, 19 Jun 2013, Zbyszek Bodek wrote: Hello, I've been trying to compile the kernel on my ARMv7 platform using the sources from the current FreeBSD HEAD. make buildkernel <.> -j5 1/2 builds fails in the way described below: -

Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory

2013-06-20 Thread Zbyszek Bodek
On 19.06.2013 20:22, Andrey Fesenko wrote: > On Wed, Jun 19, 2013 at 10:15 PM, Zbyszek Bodek wrote: >> Hello, >> >> I've been trying to compile the kernel on my ARMv7 platform using the >> sources from the current FreeBSD HEAD. >> >> make buildkernel <.> -j5 >> >> 1/2 builds fails in the way d

Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory

2013-06-19 Thread Andrey Fesenko
On Wed, Jun 19, 2013 at 10:15 PM, Zbyszek Bodek wrote: > Hello, > > I've been trying to compile the kernel on my ARMv7 platform using the > sources from the current FreeBSD HEAD. > > make buildkernel <.> -j5 > > 1/2 builds fails in the way described below: > ---

Kernel build fails on ARM: Cannot fork: Cannot allocate memory

2013-06-19 Thread Zbyszek Bodek
Hello, I've been trying to compile the kernel on my ARMv7 platform using the sources from the current FreeBSD HEAD. make buildkernel <.> -j5 1/2 builds fails in the way described below: -- ing-include-dirs -fdiagnostics-