From owner-freebsd-current@FreeBSD.ORG Sat Jul 27 16:33:18 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 801CC4B4 for ; Sat, 27 Jul 2013 16:33:18 +0000 (UTC) (envelope-from sean_bruno@yahoo.com) Received: from nm34-vm8.bullet.mail.bf1.yahoo.com (nm34-vm8.bullet.mail.bf1.yahoo.com [72.30.239.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F09E02BB4 for ; Sat, 27 Jul 2013 16:33:17 +0000 (UTC) Received: from [98.139.212.146] by nm34.bullet.mail.bf1.yahoo.com with NNFMP; 27 Jul 2013 16:33:16 -0000 Received: from [68.142.230.71] by tm3.bullet.mail.bf1.yahoo.com with NNFMP; 27 Jul 2013 16:33:16 -0000 Received: from [127.0.0.1] by smtp228.mail.bf1.yahoo.com with NNFMP; 27 Jul 2013 16:33:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1374942796; bh=2TE1dDfD06fmu2+6MeVbcJuMaW5WX/Is+fi9QwzQ7aM=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Subject:From:Reply-To:To:Cc:In-Reply-To:References:Content-Type:Date:Message-ID:Mime-Version:X-Mailer; b=FiUsAI/jOB1xqC0/XLpDtCSpMPiSgU1y0dMQiSRoFOK3/04wIa8srz3tCTfbCZy83iJw726XpY3ouW2HecLHVcb3gThTfFAhw1h/gYb3DIWfsKiLDsnaeOoUcBsaup+86hNjJbAGLmhxGn51RCeqyLaDpcTi22zzhHt/HBaNv3c= X-Yahoo-Newman-Id: 243287.63868.bm@smtp228.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: H3fMaSIVM1kfrUmJKM4MGHmhgGhTTC3q8DwfXfxFk96SN6A Er2MePmM0m2GhBzTHpILR0I4M60wdF.lDv87JWI2SgMuQ4P5LC0xqJvhJtN8 3eqOVa0dV1cUtDNpK29sorxwk6gsBVFJYpiSppyuscZjkfOBWnzw3qX9t.zL RkHUJz7un7eKShodTfNtsXFssvTL0SxzH6KIGsa8cz0MogsSUxsYdBVeKMkE 08lQ2nibtOo6dLk4RgI6wouacwRxqAjMlUrVeAKWFnv9Uzfy5XdL3uIEu2wY rOo_iegDZK.SdDLPdJ8WyIG0AOzYmddurfWml3vQOCUgcADvoce9c.XAqOFd EzAdxngKZqAjUHXG18PjnhBMRMNXrzcaraeOz76DxZw8Nghm1McOxemEKwfn 4OmEpcCBqKg4_Av5ojA4IGPba6OfI25C9CqFIBt8CI7j0sofYyJ1u7pPWD4X ZgJ0w1jHK3DZFCFj.jE4cW6D3ddypWWk4FP46CwBFAMCrpYZaRbTsaSCpPsE q26VuGcfSpv5hN_U454U6T44- X-Yahoo-SMTP: u5BKR6OswBC_iZJVfGRoMkTIpc8pEA4- X-Rocket-Received: from [192.168.1.210] (sean_bruno@71.202.40.63 with ) by smtp228.mail.bf1.yahoo.com with SMTP; 27 Jul 2013 16:33:16 +0000 UTC Subject: Re: NMI on shutdown From: Sean Bruno To: Hiroki Sato In-Reply-To: <20130727.130641.1045344958497890348.hrs@allbsd.org> References: <20130727.130641.1045344958497890348.hrs@allbsd.org> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-ucjGMHAx35DlMpGLoNMl" Date: Sat, 27 Jul 2013 09:33:14 -0700 Message-ID: <1374942794.1431.37.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jul 2013 16:33:18 -0000 --=-ucjGMHAx35DlMpGLoNMl Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Sat, 2013-07-27 at 13:06 +0900, Hiroki Sato wrote: > Hi, >=20 > The following log messages are displayed on a box where I am testing > stable/9. It occurs only when trying to shutdown the box: >=20 > | Waiting (max 60 seconds) for system process `vnlru' to stop...done > | Waiting (max 60 seconds) for system process `bufdaemon' to stop...done > | Waiting (max 60 seconds) for system process `syncer' to stop... > | Syncing disks, vnodes remaining...2 2 0 0 done > | All buffers synced. > | Uptime: 8d2h4m58s > | NMI ISA 30, EISA 0 > | NMI ISA 20, EISA 0 > | NMI ... going to debugger > | NMI ... going to debugger > | NMI ISA 20, EISA 0 > | NMI ISA 30, EISA 0 > | NMI ... going to debugger > | NMI ... going to debugger > | NMI ISA 20, EISA 0 > ... > | timeout stopping cpus > | [ thread pid 11 tid 100016 ] > | Stopped at acpi_cpu_c1+0x6: leave > | db> timeout stopping cpus > | timeout stopping cpus > | [ thread pid 11 tid 100015 ] > | Stopped at acpi_cpu_c1+0x6: leave > | db> timeout stopping cpus > | timeout stopping cpus >=20 > Once these are displayed, a power cycle is required to recover. > Shutdown sometimes works, and sometimes not. DDB prompt does not > work because it does not accept entered characters properly. And, > this symptom seems not specific to stable/9. >=20 > This may be a hardware specific issue, but where should I start to > debug this from? >=20 > -- Hiroki :-) I just spent the week looking at something that looks like this on my Dell machines. In my testing the NMI EISA problem seems to be coming from the fact that IPMI pokes at both the ACPI and ISA interfaces to the IPMI controller resulting in an attempt to create /dev/ipmi0 and /dev/ipmi1. Somewhere in the recent past (affects 9 as well) the ACPI and ISA IPMI device nodes where children of the same parent and ipmi_isa.c::ipmi_isa_identitfy() would see the ACPI attachment and do nothing. Now the two interfaces have different parents in the device tree. On bce(4) based systems, even if not using IPMI, this seems to crash/confuse older version of the management firmware and yield results similar to what you see. I've just commited a tested fix from Yahoo on this that Peter and I worked out. see svn R 253708 Sean --=-ucjGMHAx35DlMpGLoNMl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (FreeBSD) iQEcBAABAgAGBQJR8/ZDAAoJEBkJRdwI6BaHtD4H/2oEGpm8QStpMdpVPjweyAZ8 n1hONZTt2HDU8jaqfwlZ5FWhOGWhnp+Cwze57rQ8xKAzr+MCSMuhFtTICiMfkmJ+ PQZlRXMEC7H1D1SHA2EU3szdYSMcKuRbw+cFZO3GdLucd1vIbxj6grvF5tYR9c0q Sw34CIHoHCFtGnJLWXgEmVScdsWsTj/bKkkyou3swUyVhqomKSGRCqQZnEhWAuon eC+OjoPXR4k1CUWhAIYtAJVVBTgTmIcW/R4sodT56WcOeiorA4/5+JaOfrupSqFP FP2uLuMNw6h9VWRKYNuhyF3KMetFYUvj/Jd47zdIk6p/2KT1TDiwv8iC78jal9U= =NjOl -----END PGP SIGNATURE----- --=-ucjGMHAx35DlMpGLoNMl--