Re: panic: wrong page state m 0xe00000027a9adb40 + savecore deadlock

Konstantin Belousov <[email protected]>
Newsgroups gmane.os.freebsd.current,gmane.os.freebsd.devel.ia64
Message-ID <[email protected]>
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=kern/182999
> 
> 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
> 
> AFAIR ia64 uses 8K pages.
> 
> 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 != 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);
 }
signature.asc (application/pgp-signature, 834 B)
-----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-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.