From owner-freebsd-current@FreeBSD.ORG Thu Sep 29 13:03:41 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E820106567B; Thu, 29 Sep 2011 13:03:41 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from core.impulsive.hu (core.impulsive.hu [79.172.194.2]) by mx1.freebsd.org (Postfix) with ESMTP id 96AE68FC18; Thu, 29 Sep 2011 13:03:40 +0000 (UTC) Received: by core.impulsive.hu (Postfix, from userid 143) id 6BBF5DC0B6; Thu, 29 Sep 2011 13:04:34 +0000 (UTC) Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by core.impulsive.hu (Postfix) with ESMTP id C66D7DC0AE for ; Thu, 29 Sep 2011 13:04:33 +0000 (UTC) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id F1E0120356E; Thu, 29 Sep 2011 13:01:25 +0000 (UTC) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 60C7610657D9; Thu, 29 Sep 2011 13:01:22 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABD3A1065670; Thu, 29 Sep 2011 13:01:07 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 0145C8FC0A; Thu, 29 Sep 2011 13:01:06 +0000 (UTC) Received: from alf.home (alf.kiev.zoral.com.ua [10.1.1.177]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p8TD0xkE054201 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Sep 2011 16:00:59 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from alf.home (kostik@localhost [127.0.0.1]) by alf.home (8.14.5/8.14.5) with ESMTP id p8TD0wvD052948; Thu, 29 Sep 2011 16:00:58 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by alf.home (8.14.5/8.14.5/Submit) id p8TD0wf9052947; Thu, 29 Sep 2011 16:00:58 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: alf.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 29 Sep 2011 16:00:58 +0300 From: Kostik Belousov To: Alexandr Kovalenko Message-ID: <20110929130058.GN1511@deviant.kiev.zoral.com.ua> References: <20110929123011.GK1511@deviant.kiev.zoral.com.ua> <20110929124837.GM1511@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="b4TJccIV73PFtYC8" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-stable@freebsd.org Errors-To: owner-freebsd-stable@freebsd.org Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: stable/9 r225827 i386 panic: vm_page_unwire: page 0xc2a38dc8's wire count is zero X-BeenThere: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2011 13:03:41 -0000 --b4TJccIV73PFtYC8 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 29, 2011 at 03:51:53PM +0300, Alexandr Kovalenko wrote: > 2011/9/29 Kostik Belousov : > > On Thu, Sep 29, 2011 at 03:47:19PM +0300, Alexandr Kovalenko wrote: > >> On Thu, Sep 29, 2011 at 3:30 PM, Kostik Belousov = wrote: > >> > On Thu, Sep 29, 2011 at 02:52:31PM +0300, Alexandr Kovalenko wrote: > >> >> Hello! > >> >> > >> >> I'm running 9.0-BETA3 (r225827) and now rebuilding all my 1215 ports > >> >> (I've upgraded from 8.2). I'm getting panic. Is it known > >> >> problem/already fixed somewhere? Do you use custom kernel config ? Is there a chance you have ZERO_COPY_SOCK= ETS option enabled ? > >> >> > >> >> FreeBSD mile.xxx.ua 9.0-BETA3 FreeBSD 9.0-BETA3 #0 r225827: Wed Sep= 28 > >> >> 17:11:17 EEST 2011 =9A =9A root@mile.xxx.ua:/usr/obj/usr/src/sys/mi= le-9 > >> >> i386 > >> >> > >> >> Unread portion of the kernel message buffer: > >> >> panic: vm_page_unwire: page 0xc2a38dc8's wire count is zero > >> >> cpuid =3D 1 > >> >> Uptime: 16h6m53s > >> >> Physical memory: 1904 MB > >> >> Dumping 367 MB: 352 336 320 304 288 272 256 240 224 208 192 176 160 > >> >> 144 128 112 96 80 64 48 32 16 > >> >> > >> >> #0 =9Adoadump (textdump=3D1) at pcpu.h:244 > >> >> #1 =9A0xc071e5cb in kern_reboot (howto=3D260) > >> >> =9A =9A at /usr/src/sys/kern/kern_shutdown.c:442 > >> >> #2 =9A0xc071e82b in panic (fmt=3DVariable "fmt" is not available. > >> >> ) at /usr/src/sys/kern/kern_shutdown.c:607 > >> >> #3 =9A0xc0966903 in vm_page_unwire (m=3D0xc2a38dc8, activate=3D0) > >> >> =9A =9A at /usr/src/sys/vm/vm_page.c:1905 > >> > Please do "frame 2", then "p/x *m" and show the result. > >> > >> (kgdb) frame 2 > > frame 3, sorry. "p/x *(struct vm_page *)0xc2a38dc8" will do it as well. >=20 > (kgdb) frame 3 > #3 0xc0966903 in vm_page_unwire (m=3D0xc2a38dc8, activate=3D0) at > /usr/src/sys/vm/vm_page.c:1905 > 1905 panic("vm_page_unwire: page %p's wire count is > zero", m); > (kgdb) p/x *(struct vm_page *)0xc2a38dc8 > $1 =3D {pageq =3D {tqe_next =3D 0xc2a38e10, tqe_prev =3D 0xc282a2b0}, lis= tq =3D > {tqe_next =3D 0xc2a38e10, tqe_prev =3D 0xc282a2b8}, left =3D 0x0, right = =3D > 0x0, object =3D 0xc5725770, pindex =3D 0xbd3, phys_addr =3D 0x56a32000, m= d =3D > {pv_list =3D {tqh_first =3D 0xc3cc6418, tqh_last =3D 0xc3cc641c}, > pat_mode =3D 0x6}, queue =3D 0x1, segind =3D 0x2, hold_count =3D 0x0, > order =3D 0xb, pool =3D 0x0, cow =3D 0x0, wire_count =3D 0x0, aflags =3D = 0x3, > flags =3D 0x0, oflags =3D 0x0, act_count =3D 0x5, busy =3D 0x0, valid =3D= 0xff, > dirty =3D 0xff} Please show the output of "p *(struct vm_object *)0xc5725770" from kgdb. >=20 >=20 > >> #2 =9A0xc071e82b in panic (fmt=3DVariable "fmt" is not available.) at > >> /usr/src/sys/kern/kern_shutdown.c:607 > >> 607 =9A =9A =9A =9A =9A =9A kern_reboot(bootopt); > >> (kgdb) p/x *m > >> No symbol "m" in current context. > >> > >> > >> >> #4 =9A0xc0796b80 in vfs_vmio_release (bp=3D0xde8bcbf4) > >> >> =9A =9A at /usr/src/sys/kern/vfs_bio.c:1638 > >> >> #5 =9A0xc0798813 in getnewbuf (vp=3D0xc6ea3550, slpflag=3D0, slptim= eo=3D0, > >> >> =9A =9A size=3D16384, maxsize=3D16384, gbflags=3D0) at /usr/src/sys= /kern/vfs_bio.c:1949 > >> >> #6 =9A0xc0799f2a in getblk (vp=3D0xc6ea3550, blkno=3D2520, size=3D1= 6384, slpflag=3D0, > >> >> =9A =9A slptimeo=3D0, flags=3DVariable "flags" is not available. > >> >> ) at /usr/src/sys/kern/vfs_bio.c:2788 > >> >> #7 =9A0xc079d49c in cluster_rbuild (vp=3D0xc6ea3550, filesize=3D445= 05088, lbn=3D2520, > >> >> =9A =9A blkno=3D1209440, size=3D16384, run=3DVariable "run" is not = available. > >> >> ) at /usr/src/sys/kern/vfs_cluster.c:332 > >> >> #8 =9A0xc079e145 in cluster_read (vp=3D0xc6ea3550, filesize=3D44505= 088, > >> >> =9A =9A lblkno=3D2520, size=3D16384, cred=3D0x0, totread=3D1024, se= qcount=3D7, > >> >> =9A =9A bpp=3D0xf5824b60) at /usr/src/sys/kern/vfs_cluster.c:254 > >> >> #9 =9A0xc0934cf5 in ffs_read (ap=3D0xf5824bac) > >> >> =9A =9A at /usr/src/sys/ufs/ffs/ffs_vnops.c:514 > >> >> #10 0xc09ccb92 in VOP_READ_APV (vop=3D0xc0aa6a80, a=3D0xf5824bac) > >> >> =9A =9A at vnode_if.c:887 > >> >> #11 0xc07c1120 in vn_read (fp=3D0xc5474508, uio=3D0xf5824c48, > >> >> =9A =9A active_cred=3D0xc56a4d80, flags=3D1, td=3D0xc5b76b80) at vn= ode_if.h:384 > >> >> #12 0xc076380e in dofileread (td=3D0xc5b76b80, fd=3D3, fp=3D0xc5474= 508, > >> >> =9A =9A auio=3D0xf5824c48, offset=3D41189376, flags=3D1) at file.h:= 254 > >> >> #13 0xc07639f5 in kern_preadv (td=3D0xc5b76b80, fd=3D3, auio=3D0xf5= 824c48, > >> >> =9A =9A offset=3D41189376) at /usr/src/sys/kern/sys_generic.c:288 > >> >> #14 0xc0763b0d in sys_pread (td=3D0xc5b76b80, uap=3D0xf5824cec) > >> >> =9A =9A at /usr/src/sys/kern/sys_generic.c:189 > >> >> #15 0xc09accf5 in syscall (frame=3D0xf5824d28) at subr_syscall.c:131 > >> >> #16 0xc0996db1 in Xint0x80_syscall () > >> >> =9A =9A at /usr/src/sys/i386/i386/exception.s:266 > >> >> #17 0x00000033 in ?? () > >> >> Previous frame inner to this frame (corrupt stack?) > >> >> > >> >> -- > >> >> Alexandr Kovalenko > >> >> http://uafug.org.ua/ > >> >> _______________________________________________ > >> >> freebsd-stable@freebsd.org mailing list > >> >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable > >> >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebs= d.org" > >> > > >> > >> > >> > >> -- > >> Alexandr Kovalenko > >> http://uafug.org.ua/ > > >=20 >=20 >=20 > --=20 > Alexandr Kovalenko > http://uafug.org.ua/ --b4TJccIV73PFtYC8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk6EbAoACgkQC3+MBN1Mb4hgygCfYHEPe7iFRka89EQPlenSzdHl RyYAoOzKhzrrtP9IYCQR+T1qSdWGnfy1 =XoR+ -----END PGP SIGNATURE----- --b4TJccIV73PFtYC8--