From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 15 20:01:06 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0C75106566B for ; Tue, 15 Feb 2011 20:01:06 +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 67BD68FC17 for ; Tue, 15 Feb 2011 20:01:05 +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 p1FK12nl037326 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Feb 2011 22:01:02 +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.14.4/8.14.4) with ESMTP id p1FK12Xr088053; Tue, 15 Feb 2011 22:01:02 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p1FK11B0088052; Tue, 15 Feb 2011 22:01:01 +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: Tue, 15 Feb 2011 22:01:01 +0200 From: Kostik Belousov To: "Dr. Baud" Message-ID: <20110215200101.GE78089@deviant.kiev.zoral.com.ua> References: <628608.40948.qm@web120708.mail.ne1.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xgtqT0tr7NoD/uy/" Content-Disposition: inline In-Reply-To: <628608.40948.qm@web120708.mail.ne1.yahoo.com> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, 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-hackers@freebsd.org Subject: Re: spontaneous reboot - ptrace X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2011 20:01:07 -0000 --xgtqT0tr7NoD/uy/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 15, 2011 at 09:46:05AM -0800, Dr. Baud wrote: > I've an interesting anomaly I'd appreciate some help with. >=20 > As a result of looking at a threading problem I modified gcore=20 > to dump all memory segments associated with a process; > basically comment out the "Ignore" conditional in readmap(). > The result is that the box spontaneously reboots sometime > Between 40 and 50 seconds into the dump; this is an application > that is indeed a memory hog. I commented out the actual > write to disk and the result is the same. I???ve even disabled the > watchdog to no avail. >=20 > This is a vanilla 8.1 install: >=20 > FreeBSD pollyanna 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49= UTC=20 > 2010 > root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >=20 > running on fairly vanilla hardware: >=20 > CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3212.93-MHz K8-class CPU) > Origin =3D "GenuineIntel" Id =3D 0xf49 Family =3D f Model =3D 4 Ste= pping =3D 9 > Features=3D0xbfebfbff MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > Features2=3D0x641d > AMD Features=3D0x20000800 > AMD Features2=3D0x1 > TSC: P-state invariant >=20 > =20 > Any thoughts on how to proceed? First, do you have a console output during the run ? Is it possible that machine paniced ? If not, were there any kernel messages before reboot ? Second, what is the process you are dumping ? Can you show at least the procstat -v output for the process ? --xgtqT0tr7NoD/uy/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk1a230ACgkQC3+MBN1Mb4gz2wCgqCUROYg5ZhMA8uB5Jut9iID6 pvYAoLEusSihA+4MWPgnZdmsEuBHFpRs =0aRP -----END PGP SIGNATURE----- --xgtqT0tr7NoD/uy/--