Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jun 2013 21:05:07 +0400
From:      Ruslan Bukin <br@bsdpad.com>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        freebsd-current@freebsd.org, Jeff Roberson <jroberson@jroberson.net>, freebsd-arm@FreeBSD.org
Subject:   Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory
Message-ID:  <20130623170507.GA79364@mail.bsdpad.com>
In-Reply-To: <20130623165040.GD91021@kib.kiev.ua>
References:  <alpine.BSF.2.00.1306201350330.2005@desktop> <51C4A067.7010203@semihalf.com> <alpine.BSF.2.00.1306221636360.43796@desktop> <20130623065706.GV91021@kib.kiev.ua> <20130623083220.GA41511@mail.bsdpad.com> <20130623143248.GA91021@kib.kiev.ua> <20130623144346.GA69378@mail.bsdpad.com> <20130623161617.GC91021@kib.kiev.ua> <20130623164425.GA77339@mail.bsdpad.com> <20130623165040.GD91021@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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 to mount root from ufs:/dev/da0 []...
> > > > WARNING: / was not properly dismounted
> > > > warning: no time-of-day clock registered, system time will not be set accurately
> > > > panic: __rw_wlock_hard: recursing but non-recursive rw pmap pv global @ /usr/home/br/dev/head/sys/arm/arm/pmap-v6.c:1289
> > > > 
> > > > KDB: enter: panic
> > > > [ thread pid 1 tid 100001 ]
> > > > Stopped at      kdb_enter+0x48: ldrb    r15, [r15, r15, ror r15]!
> > > > db> bt
> > > > Tracing pid 1 tid 100001 td 0xc547f620
> > > > _end() at 0xde9d0530
> > > > scp=0xde9d0530 rlv=0xc1211458 (db_trace_thread+0x34)
> > > >         rsp=0xde9d0514 rfp=0xc12d1b60
> > > > Bad frame pointer: 0xc12d1b60
> > > > db> 
> > > This is completely broken.  It seems that witness triggered the panic,
> > > and ddb is unable to obtain a backtrace from the normal panic(9) call.
> > > 
> > > Show the output of the 'show alllocks'.
> > 
> > No such command
> Do you have witness in the kernel config ? If not, add it to the config
> and retry.

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 set accurately
panic: __rw_wlock_hard: recursing but non-recursive rw pmap pv global @ /usr/home/br/dev/head/sys/arm/arm/pmap-v6.c:1289

KDB: enter: panic
[ thread pid 1 tid 100001 ]
Stopped at      kdb_enter+0x48: ldrb    r15, [r15, r15, ror r15]!
db> show alllocks
Process 1 (kernel) thread 0xc55fc620 (100001)
exclusive sleep mutex pmap (pmap) r = 0 (0xc5600590) locked @ /usr/home/br/dev/head/sys/arm/arm/pmap-v6.c:729
exclusive rw pmap pv global (pmap pv global) r = 0 (0xc1479dd0) locked @ /usr/home/br/dev/head/sys/arm/arm/pmap-v6.c:728
shared rw vm object (vm object) r = 0 (0xc1551d4c) locked @ /usr/home/br/dev/head/sys/vm/vm_map.c:1809
exclusive sx vm map (user) (vm map (user)) r = 0 (0xc5600528) locked @ /usr/home/br/dev/head/sys/kern/imgact_elf.c:445
exclusive lockmgr ufs (ufs) r = 0 (0xc56f7914) locked @ /usr/home/br/dev/head/sys/kern/imgact_elf.c:821
exclusive sleep mutex Giant (Giant) r = 0 (0xc147c778) locked @ /usr/home/br/dev/head/sys/kern/vfs_mount.c:1093
db> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130623170507.GA79364>