From owner-freebsd-smp@FreeBSD.ORG Thu Jun 14 19:06:04 2007 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CC95D16A46B for ; Thu, 14 Jun 2007 19:06:04 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id B152E13C46A for ; Thu, 14 Jun 2007 19:06:04 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id E2A881A3C1A; Thu, 14 Jun 2007 12:05:35 -0700 (PDT) Received: from rot13.obsecurity.org (rot13.obsecurity.org [192.168.1.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 03BAA5129D; Thu, 14 Jun 2007 15:06:03 -0400 (EDT) Received: by rot13.obsecurity.org (Postfix, from userid 1001) id 94980BEC4; Thu, 14 Jun 2007 15:06:03 -0400 (EDT) Date: Thu, 14 Jun 2007 15:06:03 -0400 From: Kris Kennaway To: Yong Rao Message-ID: <20070614190603.GA89528@rot13.obsecurity.org> References: <1818EFE74C4A8A4292E05835D378EC66130055@EXCH-CLUSTER-07.force10networks.com> <20070614024333.GA70019@rot13.obsecurity.org> <1818EFE74C4A8A4292E05835D378EC66130074@EXCH-CLUSTER-07.force10networks.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NzB8fVQJ5HfG6fxh" Content-Disposition: inline In-Reply-To: <1818EFE74C4A8A4292E05835D378EC66130074@EXCH-CLUSTER-07.force10networks.com> User-Agent: Mutt/1.4.2.3i Cc: Jagjit Choudhary , freebsd-smp@freebsd.org, Kris Kennaway Subject: Re: FreeBSD-6.2, SMP, coredump -- fatal trap 12 : page fault while in kernel mode, current process: (swi1:net) X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2007 19:06:04 -0000 --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 13, 2007 at 11:21:53PM -0700, Yong Rao wrote: > Hi Kris, >=20 > Thanks for your reply. >=20 > I have 2 exactly the same equipments. The ONLY difference is the OS. One > is running 6.0 FBSD. The other one is 6.2 FBSD.=20 >=20 > I built the kernels using the same configuration file (with SMP option). > My problem is that the OS 6.2 does not dump core when crash happens, > while the OS 6.0 does core dump perfectly. Why it is like this? > Something wrong with FBSD 6.2 OS when SMP options is enabled? Impossible to rule it out of course, but this sounds unlikely. Many of us developers perform dumps on SMP 6.2 systems regularly. There were *many* changes between 6.0 and 6.2, and perhaps it is as simple as your workload is exercising a slightly different code path or timing. Using DDB you will be able to determine what the other threads are doing at the time of crash and this should help to figure out why dumping is failing. Kris --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGcZGbWry0BWjoQKURAgNpAJ9ZBSoKSjyjLGS2LkRSgRWzHYeB6gCfddSH omoX5/J1c149Q/O7EJRzMho= =qioB -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh--