Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Sep 2011 16:00:58 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Alexandr Kovalenko <alexandr.kovalenko@gmail.com>
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
Message-ID:  <20110929130058.GN1511@deviant.kiev.zoral.com.ua>
In-Reply-To: <CAJDksDQi1To_LYd63%2BZ2vhnKAXwRZzE7VVshsDAOW%2BM=_PzicA@mail.gmail.com>
References:  <CAJDksDQF1cdzy55ApzAUVmTMQdqoDGPirtT-4YZge8QMjOoN_A@mail.gmail.com> <20110929123011.GK1511@deviant.kiev.zoral.com.ua> <CAJDksDRHihwL5RBcjx=CmFbE8OGMLTBk8UuB2xXYdAOi3kUVDw@mail.gmail.com> <20110929124837.GM1511@deviant.kiev.zoral.com.ua> <CAJDksDQi1To_LYd63%2BZ2vhnKAXwRZzE7VVshsDAOW%2BM=_PzicA@mail.gmail.com>

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

--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 <kostikbel@gmail.com>:
> > On Thu, Sep 29, 2011 at 03:47:19PM +0300, Alexandr Kovalenko wrote:
> >> On Thu, Sep 29, 2011 at 3:30 PM, Kostik Belousov <kostikbel@gmail.com>=
 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--



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