From nobody Tue Feb 22 02:18:22 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BDBDE19D2878 for ; Tue, 22 Feb 2022 02:18:36 +0000 (UTC) (envelope-from rob.fx907@gmail.com) Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K2jWv6fFFz4VWq for ; Tue, 22 Feb 2022 02:18:35 +0000 (UTC) (envelope-from rob.fx907@gmail.com) Received: by mail-ej1-x633.google.com with SMTP id p9so38096611ejd.6 for ; Mon, 21 Feb 2022 18:18:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PzabeRmQzKXvPR2gCLlvnTaQ080dhYKceBC/P5rWjug=; b=TNDW0aq5RvFB+zhwnyed6H3mKotwDgXyD8JZ+0Ilz7QibwHDh80lrG5dk1MLS/2vXl 0K+2Tw8ivl/uPvIBl/QaEYFzU8QRxYADowIVdcwiNr9nGJtm/kGw7NDB67zS0/Icm0hZ Y6RIUrkx+SD+nDgCpNdXd6/L81UssAZkEQY2oQ1YvAyp+r1hlZtGbGMGbC39zf09udtl cHHXr9T1h/0PNd1D6u2OhtK6DgC8q59k0FGPXPq47HGPzMxXc/UBQlBBlPsBYXERXAd1 gGGIB8LcvSjuVldKM7wofwESizIpYUaABMhmARk2WrvpstKkEX91ey3noRSJV3UX9LA8 pPRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PzabeRmQzKXvPR2gCLlvnTaQ080dhYKceBC/P5rWjug=; b=MJ/w1xe6iO6LQ0JLiQzJjGox2rPP4eB5+aOscsRyuVwHQmvKFPMlWSjK7b6krrG3xW 40nD3r0dSM7HyyGgFEyGRYpX0gYH5POuSb7uNLEkuFf61CAtbFMzhR2Wj6R6bt9X6FwM eIUrT/VJSc4Ou4pbjc+mTsYeHvWt/47s1xuS4wLGypftiowRFXugF5WuJCy0soGFK45d xwAGLq6RqIj2zdwnC34+yx7gII3ZF7cwbKPaOAo7JoKa0BGBcSWXABqGzQOcJuNAjwgt fOS+8cxmSQaROF9Ww2ccNVNABGRbNSQUzaMuFtIh1vIWomd9uAgd53pu0DXfp0ag1jfT Rmow== X-Gm-Message-State: AOAM532tdQUYsQMGZiuLG4t5q4HTdF2v79AOVoHwCzxbkuWg3J4GLcIy 1BdMcqTWVWLUMhxCdQhvGhLRsOkFCyWAzDwj9WoNAz/k X-Google-Smtp-Source: ABdhPJwk4BshzyhMH8qVl2Jna21ZdAPCK3v1A+u3CdLmNzMT74S2PnD/NG1RWYfkBmMEA24wVLNX/9wpJv9EH1+d04s= X-Received: by 2002:a17:906:2a92:b0:6cd:4349:dc1a with SMTP id l18-20020a1709062a9200b006cd4349dc1amr17595632eje.648.1645496308825; Mon, 21 Feb 2022 18:18:28 -0800 (PST) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <6fcc161dd23b4f7ebe7cc789f11c017e@MAIL-HUB.pai.local> <924c13764ce342cf968ef9a93699be9a@MAIL-HUB.pai.local> <719aa03f-6f34-fdf8-1258-c7e5fcf33043@selasky.org> <794fbec71b714f6ea3931b942f17e1ea@MAIL-HUB.pai.local> In-Reply-To: <794fbec71b714f6ea3931b942f17e1ea@MAIL-HUB.pai.local> From: Rob Wing Date: Mon, 21 Feb 2022 17:18:22 -0900 Message-ID: Subject: Re: New panic in main-n253273-a52d8d4a6c6: To: Michael Jung Cc: Hans Petter Selasky , freebsd-current Content-Type: multipart/mixed; boundary="000000000000f7994b05d891f6e9" X-Rspamd-Queue-Id: 4K2jWv6fFFz4VWq X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=TNDW0aq5; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of robfx907@gmail.com designates 2a00:1450:4864:20::633 as permitted sender) smtp.mailfrom=robfx907@gmail.com X-Spamd-Result: default: False [-2.90 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; HAS_ATTACHMENT(0.00)[]; MIME_BASE64_TEXT_BOGUS(1.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MIME_BASE64_TEXT(0.10)[]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/mixed,multipart/alternative,text/plain,text/x-patch]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::633:from]; MLMMJ_DEST(0.00)[freebsd-current]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000f7994b05d891f6e9 Content-Type: multipart/alternative; boundary="000000000000f7994805d891f6e7" --000000000000f7994805d891f6e7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable try the attached patch On Mon, Feb 21, 2022 at 5:14 PM Michael Jung wrote: > > > > > > CONFIDENTIALITY NOTE: This message is intended only for the use > of the individual or entity to whom it is addressed and may > contain information that is privileged, confidential, and > exempt from disclosure under applicable law. If the reader > of this message is not the intended recipient, you are hereby > notified that any dissemination, distribution or copying > of this communication is strictly prohibited. If you have > received this transmission in error, please notify us by > telephone at (502) 212-4000 or notify us at: PAI, Dept. 99, > 2101 High Wickham Place, Suite 101, Louisville, KY 40245 > > > > *From:* Michael Jung > *Sent:* Monday, February 21, 2022 9:06 PM > *To:* 'Hans Petter Selasky' ; freebsd-current < > freebsd-current@freebsd.org> > *Subject:* RE: New panic in main-n253273-a52d8d4a6c6: > > > > *From:* Hans Petter Selasky [mailto:hps@selasky.org ] > *Sent:* Monday, February 21, 2022 8:34 PM > *To:* Michael Jung ; freebsd-current < > freebsd-current@freebsd.org> > *Subject:* Re: New panic in main-n253273-a52d8d4a6c6: > > > > On 2/22/22 00:42, Michael Jung wrote: > > Hi: > > > > I was trying to remember what I did that was odd when this crash > occurred then it > > hit me. You can repeat this panic by doing: > > > > # watch -I -W pts/0 > > > > Here is another panic that happened write after issuing "watch" for > comparison. > > > > http://mail.mikej.com/core.txt.1 > > > > http://mail.mikej.com/info.1 > > > > http://mail.mikej.com/vmcore.1 > > > > I also need your kernel and debug kernel to fully debug this. > > 1) Do ssh to machine. > 2) watch -i -W pts/0 (does not panic over here) > > Can you explain what step 1 is? An scp ? > > Refcount is -1. > f_count =3D 0xffffffff > > f_data =3D 0xfffff800158b0400 > > In your KGDB, can you enter: > > info 0xffffffff81b052d0 > > Does the attached patch make any difference? > > --HPS > > > > > > So sorry, yes step one, ssh to machine=E2=80=A6. > > > > Even open a second console on the computer, no SSH and do =E2=80=9Cwatch = =E2=80=93I -W > v0=E2=80=9D it panics. > > > > Example of =E2=80=9Cwatch =E2=80=93I =E2=80=93W v0=E2=80=9D for compariso= n =E2=80=93 kernel/kernel.full have not > changed since .2 > > > > http://mail.mikej.com/core.txt.3 > > > > http://mail.mikej.com/info.3 > > > > http://mail.mikej.com/vmcore.3 > > > > > > > > > *Disclaimer* > > The information contained in this communication from the sender is > confidential. It is intended solely for use by the recipient and others > authorized to receive it. If you are not the recipient, you are hereby > notified that any disclosure, copying, distribution or taking action in > relation of the contents of this information is strictly prohibited and m= ay > be unlawful. > > This email has been scanned for viruses and malware, and may have been > automatically archived by Mimecast, a leader in email security and cyber > resilience. Mimecast integrates email defenses with brand protection, > security awareness training, web security, compliance and other essential > capabilities. Mimecast helps protect large and small organizations from > malicious activity, human error and technology failure; and to lead the > movement toward building a more resilient world. To find out more, visit > our website. > --000000000000f7994805d891f6e7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
try the attached patch

On Mon, Feb 21, 2022 at 5:14 PM = Michael Jung <mikej@pay= mentallianceintl.com> wrote:

=C2=A0

=C2=A0

=C2=A0

CONFIDENTIALITY NOTE: This message is intended only for the use
of the individual or entity to whom it is addressed and may
contain information that is privileged, confidential, and
exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby
notified that any dissemination, distribution or copying
of this communication is strictly prohibited. If you have
received this transmission in error, please notify us by
telephone at (502) 212-4000 or notify us at: PAI, Dept. 99,
2101 High Wickham Place, Suite 101, Louisville, KY 40245



From: Michael Jung
Sent: Monday, February 21, 2022 9:06 PM
To: 'Hans Petter Selasky' <hps@selasky.org>; freebsd-current <freebsd-current@f= reebsd.org>
Subject: RE: New panic in main-n253273-a52d8d4a6c6:

=C2=A0

From: Hans Petter Selasky [mailto:hps@selasky.org]
Sent: Monday, February 21, 2022 8:34 PM
To: Michael Jung <mikej@paymentallianceintl.com>; freebsd-current = <freebs= d-current@freebsd.org>
Subject: Re: New panic in main-n253273-a52d8d4a6c6:

=C2=A0

On 2/22/22 00:42, Michael Jung wrote:
> Hi:
>
> I was trying to remember what I did that was odd when this crash occur= red then it
> hit me. You can repeat this panic by doing:
>
> # watch -I -W pts/0
>
> Here is another panic that happened write after issuing "watch&qu= ot; for comparison.
>
> http://mail.mikej.com/core.txt.1
>
> http://mail.mikej.com/info.1
>
> http://mail.mikej.com/vmcore.1
>

I also need your kernel and debug kernel to fully debug this.

1) Do ssh to machine.
2) watch -i -W pts/0 (does not panic over here)

Can you explain what step 1 is? An scp ?

Refcount is -1.
f_count =3D 0xffffffff

f_data =3D 0xfffff800158b0400

In your KGDB, can you enter:

info 0xffffffff81b052d0

Does the attached patch make any difference?

--HPS

=C2=A0

=C2=A0

So sorry, yes step one, ssh to m= achine=E2=80=A6.

=C2=A0

Even open a second console on th= e computer, no SSH and do =E2=80=9Cwatch =E2=80=93I =C2=A0-W v0=E2=80=9D it= panics.

=C2=A0

Example of =E2=80=9Cwatch =E2=80= =93I =E2=80=93W v0=E2=80=9D for comparison =E2=80=93 kernel/kernel.full hav= e not changed since .2

=C2=A0

http://mail.mikej.com/core.txt.3<= u>

=C2=A0

http://mail.mikej.com/info.3

=C2=A0

http://mail.mikej.com/vmcore.3

=C2=A0

=C2=A0

=C2=A0



Disclaimer

The information contained in this communication from th= e sender is confidential. It is intended solely for use by the recipient an= d others authorized to receive it. If you are not the recipient, you are he= reby notified that any disclosure, copying, distribution or taking action i= n relation of the contents of this information is strictly prohibited and m= ay be unlawful.

This email has been scanned for viruses and malware,= and may have been automatically archived by Mimecast, a leader in email se= curity and cyber resilience. Mimecast integrates email defenses with brand = protection, security awareness training, web security, compliance and other= essential capabilities. Mimecast helps protect large and small organizatio= ns from malicious activity, human error and technology failure; and to lead= the movement toward building a more resilient world. To find out more, vis= it our website.

--000000000000f7994805d891f6e7-- --000000000000f7994b05d891f6e9 Content-Type: text/x-patch; charset="US-ASCII"; name="tty.patch" Content-Disposition: attachment; filename="tty.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kzxi05x50 ZGlmZiAtLWdpdCBhL3N5cy9rZXJuL3R0eS5jIGIvc3lzL2tlcm4vdHR5LmMKaW5kZXggZWJiMzJm Njk4ZTg4Li5lOThiMmQxMGI4MTAgMTAwNjQ0Ci0tLSBhL3N5cy9rZXJuL3R0eS5jCisrKyBiL3N5 cy9rZXJuL3R0eS5jCkBAIC0yMDgzLDYgKzIwODMsOCBAQCB0dHlob29rX3JlZ2lzdGVyKHN0cnVj dCB0dHkgKipydHAsIHN0cnVjdCBwcm9jICpwLCBpbnQgZmQsIHN0cnVjdCB0dHlob29rICp0aCwK IAlGSUxFREVTQ19TTE9DSyhmZHApOwogCWVycm9yID0gZmdldF9jYXBfbG9ja2VkKGZkcCwgZmQs IGNhcF9yaWdodHNfaW5pdF9vbmUoJnJpZ2h0cywgQ0FQX1RUWUhPT0spLAogCSAgICAmZnAsIE5V TEwpOworCWlmIChlcnJvciA9PSAwICYmICFmaG9sZChmcCkpCisJCXJldHVybiAoRUJBREYpOwog CUZJTEVERVNDX1NVTkxPQ0soZmRwKTsKIAlpZiAoZXJyb3IgIT0gMCkKIAkJcmV0dXJuIChlcnJv cik7Cg== --000000000000f7994b05d891f6e9--