From owner-freebsd-stable@FreeBSD.ORG Mon Dec 4 16:10:01 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 53C5616A49E; Mon, 4 Dec 2006 16:10:01 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from fw.zoral.com.ua (fw.zoral.com.ua [213.186.206.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CA4F43CA8; Mon, 4 Dec 2006 16:09:26 +0000 (GMT) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id kB4G9oH8066302 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 Dec 2006 18:09:50 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.13.8/8.13.8) with ESMTP id kB4G9o0x053828; Mon, 4 Dec 2006 18:09:50 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.8/8.13.8/Submit) id kB4G9oGj053827; Mon, 4 Dec 2006 18:09:50 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 4 Dec 2006 18:09:49 +0200 From: Kostik Belousov To: Hiroki Sato Message-ID: <20061204160949.GM35681@deviant.kiev.zoral.com.ua> References: <20061205.004323.78708386.hrs@allbsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="t5NgoZwlhlUmGr82" Content-Disposition: inline In-Reply-To: <20061205.004323.78708386.hrs@allbsd.org> User-Agent: Mutt/1.4.2.2i X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=1.4 required=5.0 tests=SPF_NEUTRAL, UNPARSEABLE_RELAY autolearn=no version=3.1.4 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on fw.zoral.com.ua Cc: stable@freebsd.org Subject: Re: panic in nfsd on 6.2-RC1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2006 16:10:01 -0000 --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--