From owner-freebsd-stable@FreeBSD.ORG Sun Apr 18 12:44:59 2010 Return-Path: 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 62F701065672 for ; Sun, 18 Apr 2010 12:44:59 +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 F04E48FC1F for ; Sun, 18 Apr 2010 12:44:58 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o3ICiJKC097008 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 Apr 2010 15:44:19 +0300 (EEST) (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.14.4/8.14.4) with ESMTP id o3ICiJVT023586; Sun, 18 Apr 2010 15:44:19 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o3ICiJ07023585; Sun, 18 Apr 2010 15:44:19 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 18 Apr 2010 15:44:19 +0300 From: Kostik Belousov To: Daniel Braniss Message-ID: <20100418124419.GX2415@deviant.kiev.zoral.com.ua> References: <20100415104711.GA84922@icarus.home.lan> <20100415111102.GA85532@icarus.home.lan> <20100415122343.GD2415@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SpFw69Q4vVW19Q1W" 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.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_05, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-stable@freebsd.org, Jeremy Chadwick Subject: Re: panic: vm_fault_copy_wired: page missing 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: Sun, 18 Apr 2010 12:44:59 -0000 --SpFw69Q4vVW19Q1W Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 18, 2010 at 01:21:26PM +0300, Daniel Braniss wrote: > > > >=20 > > > > --QA3RSaXxDkY7tjDy > > > > Content-Type: text/plain; charset=3Dus-ascii > > > > Content-Disposition: inline > > > > Content-Transfer-Encoding: quoted-printable > > > >=20 > > > > On Thu, Apr 15, 2010 at 02:54:19PM +0300, Daniel Braniss wrote: > > > > >=3D20 > > > > > > Take NFS out of the picture if you can... > > > > > >=3D20 > > > > > I've been thinking along those lines, and Kostic is convinced > > > > > that the problem lies there, so I guess I'll give it a try, but > > > > > it's no realy a solution. > > > >=20 > > > > Better solution is to remove mlock()/mlockall(). > > >=20 > > > without binaries via NFS there is no panic. > > >=20 > > > I can't remove mlock()/mlockall() since it's not my program, it's apa= che=20 > > > et.all. > > > but, while my knowledge of dtrace is almost zero, I did the next best= thing > > > and put a printf in mlock/mlockall and they are not being called by u= serland. > > >=20 > > > so, it seems the problem is nfs related, calling in the heavy-weights, > > > hi rick! > >=20 > > well, Kostic was right after all. It was am-utils that called mlockall(= ), > > I missed the message first time, commented out the call to mlockall, an= d the > > system is not panicking. > >=20 > > so there is a problem with mlock and nfs, can this be fixed? is there a= pr? > >=20 > > anyways, thank you all! > >=20 > > danny >=20 > I placed amd(am-utils) on local disc, and it still panics - slightly=20 > differently: >=20 > KDB: enter: panic > [thread pid 1029 tid 100098 ] > Stopped at kdb_enter+0x3d: movq $0,0x68f7a0(%rip) > db> tr > Tracing pid 1029 tid 100098 td 0xffffff0007502000 > kdb_enter() at kdb_enter+0x3d > panic() at panic+0x17b > vm_fault_copy_entry() at vm_fault_copy_entry+0x283 > vmspace_fork() at vmspace_fork+0x4d0 > fork1() at fork1+0x35f > fork() at fork+0x1c > syscall() at syscall+0x1e7 > Xfast_syscall() at Xfast_syscall+0xe1 > --- syscall (2, FreeBSD ELF64, fork), rip =3D 0x8009f41ac, rsp =3D 0x7fff= ffffe788,=20 > rbp =3D 0 --- >=20 > so IMHO, the problem is somewhere in the fact that root is diskless. Root on nfs means that e.g. libc is still mapped from nfs mount. --SpFw69Q4vVW19Q1W Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkvK/poACgkQC3+MBN1Mb4h3YwCgjHPK3+XV5ptgl7nSk84RQVft 9G8AoOzcp/5+EoqadWlKBeJAfSiNT2q/ =vMwx -----END PGP SIGNATURE----- --SpFw69Q4vVW19Q1W--