Date: Thu, 18 Jul 2013 14:42:35 -0400 From: John Baldwin <jhb@freebsd.org> To: Yuri <yuri@rawbw.com> Cc: Alan Cox <alc@freebsd.org>, freebsd-hackers@freebsd.org Subject: Re: Kernel crashes after sleep: how to debug? Message-ID: <201307181442.35401.jhb@freebsd.org> In-Reply-To: <51E830D4.7060302@rawbw.com> References: <51E3A334.8020203@rawbw.com> <201307161107.37460.jhb@freebsd.org> <51E830D4.7060302@rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, July 18, 2013 2:15:48 pm Yuri wrote:
> On 07/16/2013 08:07, John Baldwin wrote:
> > Can you go to frame 8 and do 'l' in kgdb?
>
> (kgdb) up 8
> #8 0xffffffff80baea78 in vm_pageout () at /usr/src/sys/vm/vm_pageout.c:829
> 829 if (!VM_OBJECT_TRYLOCK(object) &&
> (kgdb) l
> 824 if (!vm_pageout_page_lock(m, &next)) {
> 825 vm_page_unlock(m);
> 826 continue;
> 827 }
> 828 object = m->object;
> 829 if (!VM_OBJECT_TRYLOCK(object) &&
> 830 !vm_pageout_fallback_object_lock(m, &next)) {
> 831 vm_page_unlock(m);
> 832 VM_OBJECT_UNLOCK(object);
> 833 continue;
Hmm, so this seems to indicate you have a page on the active queue that
doesn't have an associated VM object. Can you maybe 'p *m'? Maybe some
temporary page is allocated during suspend but isn't freed appropriately?
--
John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307181442.35401.jhb>
