From owner-freebsd-ia64@FreeBSD.ORG Wed Oct 16 12:01:49 2013 Return-Path: Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2AF3F1CA; Wed, 16 Oct 2013 12:01:49 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BC6DE280E; Wed, 16 Oct 2013 12:01:48 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.7/8.14.7) with ESMTP id r9GC1gMR086226; Wed, 16 Oct 2013 15:01:42 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua r9GC1gMR086226 Received: (from kostik@localhost) by tom.home (8.14.7/8.14.7/Submit) id r9GC1gqq086225; Wed, 16 Oct 2013 15:01:42 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 16 Oct 2013 15:01:42 +0300 From: Konstantin Belousov To: Anton Shterenlikht Subject: Re: panic: wrong page state m 0xe00000027a9adb40 + savecore deadlock Message-ID: <20131016120142.GS3865@kib.kiev.ua> References: <201310160802.r9G82JvJ010219@mech-cluster241.men.bris.ac.uk> <20131016115526.GR3865@kib.kiev.ua> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="s9pXJW6w71JX4l3T" Content-Disposition: inline In-Reply-To: <20131016115526.GR3865@kib.kiev.ua> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: freebsd-current@freebsd.org, freebsd-ia64@freebsd.org X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Oct 2013 12:01:49 -0000 --s9pXJW6w71JX4l3T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 16, 2013 at 02:55:26PM +0300, Konstantin Belousov wrote: > On Wed, Oct 16, 2013 at 09:02:19AM +0100, Anton Shterenlikht wrote: > > panic: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/182999 >=20 > db> show pginfo 0xe00000027d352600 > page 0xe00000027d352600 obj 0xe0000000128fda00 pidx 0x0 phys 0x275dc6000 = q 255 hold 0 wire 1 > af 0x0 of 0x0 f 0x0 act 0 busy 1 valid 0xff dirty 0x0 >=20 > AFAIR ia64 uses 8K pages. >=20 > Please do the following: > 1. apply the patch at the end of this message, reproduce the problem > and show me both exact panic message from the patched kernel and 'show > pginfo addr' again. > 2. show me the ls -la output for the file which was accessed > through nginx, also what is the filesystem where the file resides on ? Sure, I forgot the patch. diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c index 322550b..9d46dc7 100644 --- a/sys/kern/uipc_syscalls.c +++ b/sys/kern/uipc_syscalls.c @@ -2070,7 +2070,7 @@ free_page: } KASSERT(error !=3D 0 || (m->wire_count > 0 && vm_page_is_valid(m, off & PAGE_MASK, xfsize)), - ("wrong page state m %p", m)); + ("wrong page state m %p off %#jx xfsize %d", m, off, xfsize)); VM_OBJECT_WUNLOCK(obj); return (error); } --s9pXJW6w71JX4l3T Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBAgAGBQJSXoAlAAoJEJDCuSvBvK1BPAEP/AzDZwOD7zXNuAdVzhG7bIi4 gRSOTCF+CIAu6ADTHnvgCHKOSyBX6IFnG4/bHVVnbv+pHalzWpdFqO2Ji+5150OK gjCP5rKIlgpzJpV8eklsw3pmcW06hEhyvujfkJnFX8uoJ90M3PMyQNt0GYq1Hm4y vh9elf7QeJmN4GuGDdHxdfzcW3z2FaqnB8S5IijebcwhIrcvMUluO5SnvRMlB99q 9o+q1wxEZRFx4/pGugT+PnGC3iZqBVN8rhbdbnMaOr1dRvQN+3zQJZU41Nfl3Csy CHf8C9HuP6VnDxed2nMRa1lVVvystuYxLQqdpFrLyEuyN3hP0X1M0htrxevXDn+q B7Ua9Jf/taueI+w0TuBkqMqc9p0x+SQa076NAVCpazQ/6xLJJma8xLYgQxPasW53 ej0p9CpD2B5rqO3I2hEXtu7qMbea/w4YVDp4eZVLKHZX7uea4QH/mV136wUc+JA+ lLWOOKa6xwgXQyWPI0mVlbQcfJUxrKiwFiPRAMvZpRAUEcdnuwVfvbVEcPqwynjk I1+gc19abrvHMKQLTzIjJ3o4rChKqkBAinUQkfgQCRX21jgt34sYKi/4mFJGwgp7 PRcHkbzqw5WSglunvjw1gThrPsORTrFuoHb9cVEIu+Z53W2j926BA7xleGuN7uUF 2QVi0BdpW8ATScMTfWPZ =AZIr -----END PGP SIGNATURE----- --s9pXJW6w71JX4l3T--