Re: Kernel crashes after sleep: how to debug?

2013-07-18 Thread Yuri
On 07/16/2013 08:07, John Baldwin wrote: Can you go to frame 8 and do 'l' in kgdb? (kgdb) up 8 #8 0x80baea78 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, &nex

Re: Kernel crashes after sleep: how to debug?

2013-07-18 Thread John Baldwin
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 0x80baea78 in vm_pageout () at /usr/src/sys/vm/vm_pageout.c:829 > 829 if (!VM_OBJECT_TRYLOCK(object) && > (kg

Re: Kernel crashes after sleep: how to debug?

2013-07-18 Thread Yuri
On 07/18/2013 11:42, John Baldwin wrote: 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? Unfortunately, I get this: (kgdb) p

Re: Kernel crashes after sleep: how to debug?

2013-07-18 Thread John Baldwin
On Thursday, July 18, 2013 3:56:46 pm Yuri wrote: > On 07/18/2013 11:42, John Baldwin wrote: > > 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 is

Re: Kernel crashes after sleep: how to debug?

2013-07-18 Thread Yuri
On 07/18/2013 13:52, John Baldwin wrote: Are you in frame 8? Yes. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: Kernel crashes after sleep: how to debug?

2013-07-18 Thread Yuri
On 07/18/2013 13:52, John Baldwin wrote: Are you in frame 8? For some reason the debug info is missing in frame 8, but is present in surrounding frames 7 and 9. The might be a bug in makefiles that debug flag isn't passed into sys/vm/ directory. Yuri