Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Dec 2006 18:09:49 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Hiroki Sato <hrs@freebsd.org>
Cc:        stable@freebsd.org
Subject:   Re: panic in nfsd on 6.2-RC1
Message-ID:  <20061204160949.GM35681@deviant.kiev.zoral.com.ua>
In-Reply-To: <20061205.004323.78708386.hrs@allbsd.org>
References:  <20061205.004323.78708386.hrs@allbsd.org>

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

--t5NgoZwlhlUmGr82
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Dec 05, 2006 at 12:43:23AM +0900, Hiroki Sato wrote:
> Hi,
>=20
>  One of my NFS servers running 6.2-RC1 that are highly-loaded causes a
>  panic repeatedly these days.  I am not sure which upgrading this
>  panic starts after precisely, but this was running for almost one
>  year (6.0R and 6.1R) with no problem at least.  A core file is
>  available.
>=20
> ----(from here)
> Fatal trap 12: page fault while in kernel mode
> fault virtual address   =3D 0x0
> fault code              =3D supervisor read, page not present
> instruction pointer     =3D 0x20:0xc069d890
> stack pointer           =3D 0x28:0xed0ae920
> frame pointer           =3D 0x28:0xed0ae928
> code segment            =3D base 0x0, limit 0xfffff, type 0x1b
>                         =3D DPL 0, pres 1, def32 1, gran 1
> processor eflags        =3D resume, IOPL =3D 0
> current process         =3D 653 (nfsd)
> trap number             =3D 12
> panic: page fault
> Uptime: 46m22s
> Dumping 1021 MB (2 chunks)
>   chunk 0: 1MB (159 pages) ... ok
>   chunk 1: 1022MB (261423 pages) 1006 990 974 958 942 926 910 894 878 862=
 846 830 814 798 782 766 750 734 718 702 686 670 654 638 622 606 590 574 55=
8 542 526 510 494 478 462 446 430 414 398 382 366 350 334 318 302 286 270 2=
54 238 222 206 190 174 158 142 126 110 94 78 62 46 30 14
>=20
> #0  doadump () at pcpu.h:165
> 165     pcpu.h: No such file or directory.
>         in pcpu.h
> (kgdb) bt
> #0  doadump () at pcpu.h:165
> #1  0xc067c512 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c=
:409
> #2  0xc067c7d8 in panic (fmt=3D0xc08d0c8e "%s")
>     at /usr/src/sys/kern/kern_shutdown.c:565
> #3  0xc0892122 in trap_fatal (frame=3D0xed0ae8e0, eva=3D0)
>     at /usr/src/sys/i386/i386/trap.c:837
> #4  0xc0891866 in trap (frame=3D
>       {tf_fs =3D -992346104, tf_es =3D 40, tf_ds =3D 268107816, tf_edi =
=3D 72, tf_esi =3D 0, tf_ebp =3D -318052056, tf_isp =3D -318052084, tf_ebx =
=3D -993986688, tf_edx =3D -993986688, tf_ecx =3D 4, tf_eax =3D 4, tf_trapn=
o =3D 12, tf_err =3D 0, tf_eip =3D -1066805104, tf_cs =3D 32, tf_eflags =3D=
 589831, tf_esp =3D 0, tf_ss =3D -1063278752})
>     at /usr/src/sys/i386/i386/trap.c:270
> #5  0xc088012a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
> #6  0xc069d890 in turnstile_broadcast (ts=3D0x0)
>     at /usr/src/sys/kern/subr_turnstile.c:726
> #7  0xc06739d7 in _mtx_unlock_sleep (m=3D0xc09fa760, opts=3D0, file=3D0x0=
, line=3D0)
>     at /usr/src/sys/kern/kern_mutex.c:690
> #8  0xc077e00b in nfs_rephead (siz=3D0, nd=3D0xc5023c00, err=3D72, mbp=3D=
0x4,
>     bposp=3D0x4) at /usr/src/sys/nfsserver/nfs_srvsock.c:152
> #9  0xc07779f3 in nfsrv_symlink (nfsd=3D0xc5023c00, slp=3D0xc4f8ae80,
>     td=3D0xc4c0f780, mrq=3D0xed0aec98) at /usr/src/sys/nfsserver/nfs_serv=
.c:2844
> #10 0xc07819b1 in nfssvc_nfsd (td=3D0x4)
>     at /usr/src/sys/nfsserver/nfs_syscalls.c:474
> #11 0xc0781194 in nfssvc (td=3D0xc4c0f780, uap=3D0xed0aed04)
>     at /usr/src/sys/nfsserver/nfs_syscalls.c:181
> #12 0xc0892437 in syscall (frame=3D
>       {tf_fs =3D 59, tf_es =3D 59, tf_ds =3D 59, tf_edi =3D 1, tf_esi =3D=
 0, tf_ebp =3D -1077941464, tf_isp =3D -318050972, tf_ebx =3D 12, tf_edx =
=3D 672449048, tf_ecx =3D 26, tf_eax =3D 155, tf_trapno =3D 12, tf_err =3D =
2, tf_eip =3D 671863223, tf_cs =3D 51, tf_eflags =3D 662, tf_esp =3D -10779=
41492, tf_ss =3D 59}) at /usr/src/sys/i386/i386/trap.c:983
> #13 0xc088017f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception=
.s:200
> #14 0x00000033 in ?? ()
> Previous frame inner to this frame (corrupt stack?)
> (kgdb)
> ----(to here)
>=20
> --
> | Hiroki SATO

What version of sys/nfsserver/nfs_serv.c do you use ? If it is older than
1.156.2.7, please, update the system.


--t5NgoZwlhlUmGr82
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFdEhNC3+MBN1Mb4gRArjGAJwK7yF/zrRNixIFSUEvHTDEYhtVKgCfcqkA
fHgmLfeYWzpke2ZdGAQtWV0=
=saZK
-----END PGP SIGNATURE-----

--t5NgoZwlhlUmGr82--



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