From owner-freebsd-smp@FreeBSD.ORG Thu Jun 14 06:21:15 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 4086E16A400 for ; Thu, 14 Jun 2007 06:21:15 +0000 (UTC) (envelope-from yrao@force10networks.com) Received: from mx.force10networks.com (nat-eqx.force10networks.com [69.25.56.27]) by mx1.freebsd.org (Postfix) with ESMTP id 28EFD13C487 for ; Thu, 14 Jun 2007 06:21:14 +0000 (UTC) (envelope-from yrao@force10networks.com) Received: from mx.force10networks.com ([10.11.0.221]) by mx.force10networks.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 13 Jun 2007 23:21:54 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 13 Jun 2007 23:21:53 -0700 Message-ID: <1818EFE74C4A8A4292E05835D378EC66130074@EXCH-CLUSTER-07.force10networks.com> In-Reply-To: <20070614024333.GA70019@rot13.obsecurity.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FreeBSD-6.2, SMP, coredump -- fatal trap 12 : page fault while in kernel mode, current process: (swi1:net) Thread-Index: AceuLeYXLnmfiS93Rj6qn0XSIzFnVQAHYnsQ References: <1818EFE74C4A8A4292E05835D378EC66130055@EXCH-CLUSTER-07.force10networks.com> <20070614024333.GA70019@rot13.obsecurity.org> From: "Yong Rao" To: "Kris Kennaway" X-OriginalArrivalTime: 14 Jun 2007 06:21:54.0450 (UTC) FILETIME=[4D829720:01C7AE4C] Cc: freebsd-smp@freebsd.org, Jagjit Choudhary 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 06:21:15 -0000 Hi Kris, Thanks for your reply. 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 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? Thanks, Yong -----Original Message----- From: Kris Kennaway [mailto:kris@obsecurity.org]=20 Sent: Wednesday, June 13, 2007 7:44 PM To: Yong Rao Cc: freebsd-smp@freebsd.org; Jagjit Choudhary Subject: Re: FreeBSD-6.2, SMP, coredump -- fatal trap 12 : page fault while in kernel mode, current process: (swi1:net) On Wed, Jun 13, 2007 at 07:26:51PM -0700, Yong Rao wrote: > Hello, >=20 > =20 >=20 > Recently, in developing our driver, we found the core dump did not work > on the FBSD OS 6.2. It hung at the beginning of core dump when crash > happened.=20 This can happen when the panic involves the storage subsystem, or if something else is performing I/O (i.e. holding a relevant lock) at the time of panic. Online debugging using ddb helps a lot. Kris