Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2013 15:01:42 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Anton Shterenlikht <mexas@bris.ac.uk>
Cc:        freebsd-current@freebsd.org, freebsd-ia64@freebsd.org
Subject:   Re: panic: wrong page state m 0xe00000027a9adb40 + savecore deadlock
Message-ID:  <20131016120142.GS3865@kib.kiev.ua>
In-Reply-To: <20131016115526.GR3865@kib.kiev.ua>
References:  <CACYV=-GE%2BSUR_RrXfhaH9FekQ3QC6DuYuSpcdhAok0kH0uBShQ@mail.gmail.com> <201310160802.r9G82JvJ010219@mech-cluster241.men.bris.ac.uk> <20131016115526.GR3865@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <file> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131016120142.GS3865>