From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 26A61E5139A for ; Thu, 15 Feb 2024 03:12:14 -0500 (EST) (envelope-from tsoome@me.com) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 8149328F698; Thu, 15 Feb 2024 03:12:14 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1707984733; b=WAvpt8Mmpq6SOSzPXhaL9SFcTs+ae/WEJ6BAoTIvkM+SmVQoME ErQlwzmbEbCt/DNuJUYH/S944ila0zUn6YkPW3G0G+JYlyqzYldE59R3lhbR4IDv xpWrrstClWlURYf61oN4UN7EiTyO8jH4aDEp/d9Ymf9GtoD+GUa5j19KjBjBrAf6 e+uN68wB0k1jRuOprKp1mCD7HJoEpt+PLpT70aJY/qTczldYymivWGYd7Bcinh+d x6jlYzO/4IP9EBQi9uLslSEnJmK6o9M3RNRTIqCvZQELqo32usAFh8+NQvXCS2H2 qKrdq1/YYoZ+6dB1MZEXv3qRtKU6DgwPGq2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=from:content-type:mime-version:subject:date :references:to:in-reply-to:message-id; s=arcseal; t=1707984733; bh=suiVzN0w77S8Yy/3JV/pL6n9qWHGMAn+AcuP3roeiEk=; b=Z8SFraWwwNQJ d2b7XqSfpyN1XEHqw9d5NJLYLMlUfNgv4HlfL0iieL+q2AsSlvQcca89tYEQ3uST kzNZbn/Ecmje3uqg8riahVVppOhppL6cVXHKvRyniR0GlQWkwqkhP24fNpvxXE47 EjiTQOb3gUp3Ayb0HcF9hVUcixnuiEoRygq79BCeBBmDHlVdxcQrr9Cgm0/ER4Oi Zd/vTLyXZVlGHn4QlVVcmf9I54NMyAULtavBFxjpAKs1TfGUL/LKlH+80gbo5+dY 2hyFB2Z7/qEvbyo8dK+VXRPX7Jjc5o9Vb1Cx1VhyokQu4WMnbe2SBinqkp45QpzP 4JDNy7tjyQ== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=declined (Domain declined to participate); dkim=pass (2048-bit rsa key sha256) header.d=me.com header.i=@me.com header.b=mD5R78f2 header.a=rsa-sha256 header.s=1a1hai x-bits=2048; dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=me.com; iprev=pass smtp.remote-ip=17.58.23.193 (mr85p00im-zteg06022001.me.com); spf=pass smtp.mailfrom=tsoome@me.com smtp.helo=mr85p00im-zteg06022001.me.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mr85p00im-zteg06022001.me.com policy.ptr=mr85p00im-zteg06022001.me.com; x-return-mx=pass header.domain=me.com policy.is_org=yes (MX Records found: mx01.mail.icloud.com,mx02.mail.icloud.com); x-return-mx=pass smtp.domain=me.com policy.is_org=yes (MX Records found: mx01.mail.icloud.com,mx02.mail.icloud.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=declined (Domain declined to participate); dkim=pass (2048-bit rsa key sha256) header.d=me.com header.i=@me.com header.b=mD5R78f2 header.a=rsa-sha256 header.s=1a1hai x-bits=2048; dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=me.com; iprev=pass smtp.remote-ip=17.58.23.193 (mr85p00im-zteg06022001.me.com); spf=pass smtp.mailfrom=tsoome@me.com smtp.helo=mr85p00im-zteg06022001.me.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mr85p00im-zteg06022001.me.com policy.ptr=mr85p00im-zteg06022001.me.com; x-return-mx=pass header.domain=me.com policy.is_org=yes (MX Records found: mx01.mail.icloud.com,mx02.mail.icloud.com); x-return-mx=pass smtp.domain=me.com policy.is_org=yes (MX Records found: mx01.mail.icloud.com,mx02.mail.icloud.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvledrudelgdeivdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefhtggguffffhfvjgfkofesrgdtmherhhdtjeenucfh rhhomhepvfhoohhmrghsucfuohhomhgvuceothhsohhomhgvsehmvgdrtghomheqnecugg ftrfgrthhtvghrnhepffdvudehtdeffeffieefgeekjeeileffudfhgfetjeeuieeltefg feeggeekfeegnecuffhomhgrihhnpehilhhluhhmohhsrdhorhhgpdhtohhpihgtsghogi drtghomhenucfkphepudejrdehkedrvdefrdduleefpddujedrheejrdduhedvrddukeen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedujedrheekrddvfe drudelfedphhgvlhhopehmrhekhehptddtihhmqdiithgvghdtiedtvddvtddtuddrmhgv rdgtohhmpdhmrghilhhfrhhomhepoehtshhoohhmvgesmhgvrdgtohhmqe X-ME-VSScore: -100 X-ME-VSCategory: clean Received-SPF: pass (me.com: 17.58.23.193 is authorized to use 'tsoome@me.com' in 'mfrom' identity (mechanism 'ip4:17.58.0.0/16' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="tsoome@me.com"; helo=mr85p00im-zteg06022001.me.com; client-ip=17.58.23.193 Received: from mr85p00im-zteg06022001.me.com (mr85p00im-zteg06022001.me.com [17.58.23.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for ; Thu, 15 Feb 2024 03:12:13 -0500 (EST) (envelope-from tsoome@me.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1707984732; bh=suiVzN0w77S8Yy/3JV/pL6n9qWHGMAn+AcuP3roeiEk=; h=From:Content-Type:Mime-Version:Subject:Date:To:Message-Id; b=mD5R78f2gOd74n7BHDD42xxPB+/66bkfCA3hQ6wxQUdtwc+zfFC8yistI/Puo6EZY 1O0fD/abqqPPbDsD6QpArFvhBv8TXYiAFMM47GJl+eHnH56DCF62iiNwYNfxVx2Zx9 hWGVmw5rKmovstqaZGtf4ehR30z3jzYizIviStyTqpLoq8HFHAhQwiEPbgooC/HPHk cE5DQXh9zG8C5w499evI9gked/AHBl6aySa3nfkPI2xjOn3FNNGCcptC4i3n8ZUQYZ EzPpxQvqsrybQ2dpuaaEziKhGjHKwoEICBiop7+e6HqfzsAo78eWObjA7E2ikNt1p0 dJSV1seAr48ZA== Received: from smtpclient.apple (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-zteg06022001.me.com (Postfix) with ESMTPSA id 7C09B8001EE for ; Thu, 15 Feb 2024 08:12:11 +0000 (UTC) From: Toomas Soome Content-Type: multipart/alternative; boundary="Apple-Mail=_640EBDC7-B3C7-4CE5-A5FE-2E894591326E" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: Re: [developer] panic inside lmrc driver Date: Thu, 15 Feb 2024 10:11:58 +0200 References: <17073109090.B28cc8.93356@composer.illumos.topicbox-beta.com> <17073244220.2fca.655057@composer.illumos.topicbox.com> <17073791720.CaDA97B5a.43725@composer.illumos.topicbox-beta.com> <17073900900.c244b2.25526@composer.illumos.topicbox-beta.com> <17074660100.55FC1.17713@composer.illumos.topicbox-beta.com> <17075110160.6eBE.15095@composer.illumos.topicbox.com> <17077255120.0c8E98De.61832@composer.illumos.topicbox-beta.com> <17078582190.73B2Ec6.500152@composer.illumos.topicbox.com> <17079798300.0E90f1E5b.55809@composer.illumos.topicbox-beta.com> <17079826860.4D09.392000@composer.illumos.topicbox.com> To: illumos-developer In-Reply-To: <17079826860.4D09.392000@composer.illumos.topicbox.com> Message-Id: <66C1A001-169D-4532-BA88-974756FE8330@me.com> X-Mailer: Apple Mail (2.3774.300.61.1.2) X-Proofpoint-GUID: XW83rRB62UiwhoPHfZmDmugr5I8TcmTI X-Proofpoint-ORIG-GUID: XW83rRB62UiwhoPHfZmDmugr5I8TcmTI X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-15_08,2024-02-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxscore=0 suspectscore=0 clxscore=1015 mlxlogscore=999 malwarescore=0 phishscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2402150063 Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: f005a8e4-cbd9-11ee-9b4c-7e17008c7b06 --Apple-Mail=_640EBDC7-B3C7-4CE5-A5FE-2E894591326E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 15. Feb 2024, at 09:38, Carsten Grzemba via illumos-developer = wrote: >=20 > If it again the case try to force a crash dump on shutdown, e.g. > add /etc/system: >=20 > set pcplusmp:apic_panic_on_nmi =3D 1 >=20 > then if the system is frozen > $ ipmitool -Ilanplus -U idrac-user -P password -H idrac-ip power diag >=20 > Note that you probably won't have any luck with a crash dump if the = dump device is controlled by lmrc (if lmrc is the reason for frozen = system) >=20 > long text: > = https://illumos.org/docs/user-guide/debug-systems/#gathering-information-f= rom-a-running-system-using-only-nmi-x86 > illumos / illumos-developer / = see discussions + = participants + = delivery=C2=A0options = Permalink = in such case it is good idea to boot as: ok set nmi=3Dkmdb ok boot -k=20 or=20 ok boot -kd this way your nmi will get you to the kmdb. And yes, we should document the =E2=80=98nmi=E2=80=99 property, it can = have values =E2=80=98ignore=E2=80=99, =E2=80=98panic=E2=80=99 and = =E2=80=98kmdb=E2=80=99, see = https://src.illumos.org/source/xref/illumos-gate/usr/src/uts/i86pc/os/mlse= tup.c?r=3Dd32f26ee#159 rgds, toomas= --Apple-Mail=_640EBDC7-B3C7-4CE5-A5FE-2E894591326E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On 15. Feb 2024, at 09:38, Carsten Grzemba via = illumos-developer <developer@lists.illumos.org> wrote:

If it again the  case try to force a crash dump on = shutdown, e.g.
add = /etc/system:

set pcplusmp:apic_panic_on_nmi =3D = 1

then if the system is = frozen
Note = that you probably won't have any luck with a crash dump if the dump = device is controlled by lmrc (if lmrc is the reason for frozen = system)

long = text:

in such case it is good idea to = boot as:

ok set nmi=3Dkmdb
ok boot = -k 
or 
ok boot = -kd

this way your nmi will get you to the = kmdb.

And yes, we should document the =E2=80=98nm= i=E2=80=99 property, it can have values =E2=80=98ignore=E2=80=99, = =E2=80=98panic=E2=80=99 and =E2=80=98kmdb=E2=80=99, see https://src.illumos.org/source/xref/illumo= s-gate/usr/src/uts/i86pc/os/mlsetup.c?r=3Dd32f26ee#159

<= /div>
rgds,
toomas
= --Apple-Mail=_640EBDC7-B3C7-4CE5-A5FE-2E894591326E--