From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 18 20:52:58 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5AAC4CEA; Thu, 18 Jul 2013 20:52:58 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) by mx1.freebsd.org (Postfix) with ESMTP id 2C3D18C7; Thu, 18 Jul 2013 20:52:58 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 00625B964; Thu, 18 Jul 2013 16:52:53 -0400 (EDT) From: John Baldwin To: Yuri Subject: Re: Kernel crashes after sleep: how to debug? Date: Thu, 18 Jul 2013 16:52:48 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p25; KDE/4.5.5; amd64; ; ) References: <51E3A334.8020203@rawbw.com> <201307181442.35401.jhb@freebsd.org> <51E8487E.40800@rawbw.com> In-Reply-To: <51E8487E.40800@rawbw.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201307181652.48757.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 18 Jul 2013 16:52:54 -0400 (EDT) Cc: Alan Cox , freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 20:52:58 -0000 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 isn't freed appropriately? > > Unfortunately, I get this: > (kgdb) p *m > No symbol "m" in current context. > > even though kernel was built with "makeoptions DEBUG=-g", same for > other symbols there. > > Is there a way to identify when and by whom the page has been allocated? Are you in frame 8? -- John Baldwin