VM panics

Eric Anholt eta at lclark.edu
Sun Feb 20 13:43:28 PST 2005


On Sun, 2005-02-20 at 14:55 +0100, Dag-Erling Smørgrav wrote:
> With recent -CURRENT, I get recurrent VM panics on amd64:
> 
> panic: mutex vm object not owned at /usr/src/sys/vm/vm_page.c:608
> 
> which corresponds to the following code at the beginning of in
> vm_page_remove():
> 
> 605:        mtx_assert(&vm_page_queue_mtx, MA_OWNED);
> 606:        if ((object = m->object) == NULL)
> 607:                return;
> 608:        VM_OBJECT_LOCK_ASSERT(object, MA_OWNED);
> 609:        if (m->flags & PG_BUSY) {
> 610:                vm_page_flag_clear(m, PG_BUSY);
> 611:                vm_page_flash(m);
> 
> This only happens under load (e.g. buildworld).
> 
> Serial console does not work properly ("sio0: configured irq 3 not in
> bitmap of probed irqs 0"), and I don't currently have a firewire
> cable.

Same for me, and it takes very little to trigger -- savecore of my first
dump reproduced it twice.

Backtrace (copied from digicam due to broken kgdb):
panic()
_mtx_assert()
vm_page_remove()
vm_page_free_toq()
vm_page_free()
uma_small_free()
zone_drain()
zone_foreach()
uma_reclaim()
vm_pageout()
fork_exit()
fork_trampoline)


-- 
Eric Anholt                                eta at lclark.edu          
http://people.freebsd.org/~anholt/         anholt at FreeBSD.org


More information about the freebsd-amd64 mailing list