Date: Mon, 21 Feb 2022 19:48:55 -0900 From: Rob Wing <rob.fx907@gmail.com> To: Michael Jung <mikej@paymentallianceintl.com> Cc: Hans Petter Selasky <hps@selasky.org>, freebsd-current <freebsd-current@freebsd.org> Subject: Re: New panic in main-n253273-a52d8d4a6c6: Message-ID: <CAF3%2Bn_fhyRctPhUC1WcrV79FpWjeP279wZ-tVzgHZCAa4ujU4A@mail.gmail.com> In-Reply-To: <903498700a1c4b32acb8fe283e746189@MAIL-HUB.pai.local> References: <b7ca5b5e7a9a4df3951a2cb2f1d63552@MAIL-HUB.pai.local> <d04c0d93-8168-f53a-a5fd-865a1f6d2486@selasky.org> <6fcc161dd23b4f7ebe7cc789f11c017e@MAIL-HUB.pai.local> <dbd20a4d-b5a3-390e-a231-8ccca4f64c70@selasky.org> <924c13764ce342cf968ef9a93699be9a@MAIL-HUB.pai.local> <719aa03f-6f34-fdf8-1258-c7e5fcf33043@selasky.org> <794fbec71b714f6ea3931b942f17e1ea@MAIL-HUB.pai.local> <CAF3%2Bn_dsm0tK6_9pSJxwMVRxxGeAzps0BSx8MvqQdgGTbTFkYw@mail.gmail.com> <CAF3%2Bn_dGf%2BA3o0PnQ28xL0RNhu5q=wyp=hsNNw9Bw3dw5bcSkw@mail.gmail.com> <903498700a1c4b32acb8fe283e746189@MAIL-HUB.pai.local>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000005ae5a605d89411cb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Think that's it...thanks for testing for the patch. I opened up https://reviews.freebsd.org/D34335 for review. -Rob On Mon, Feb 21, 2022 at 6:05 PM Michael Jung <mikej@paymentallianceintl.com= > wrote: > Rob: > > > > I did not remove Hans earlier patch, but your =E2=80=9Clatest=E2=80=9D pa= tch applied and > compiled with no errors. > > > > I can now watch and control a TTY (v0) or a SSH session (pts/1) without > crashing. > > > > Anything else you would like me to try? > > > > --mikej > > > > > > *From:* Rob Wing [mailto:rob.fx907@gmail.com] > *Sent:* Monday, February 21, 2022 9:30 PM > *To:* Michael Jung <mikej@paymentallianceintl.com> > *Cc:* Hans Petter Selasky <hps@selasky.org>; freebsd-current < > freebsd-current@freebsd.org> > *Subject:* Re: New panic in main-n253273-a52d8d4a6c6: > > > > The previous attached patch should work for testing purposes, but it's > incorrect if an error occurs. > > > > The fhold() should be below FILEDESC_SUNLOCK(), this patch addresses that= . > > > > On Mon, Feb 21, 2022 at 5:18 PM Rob Wing <rob.fx907@gmail.com> wrote: > > try the attached patch > > > > On Mon, Feb 21, 2022 at 5:14 PM Michael Jung < > mikej@paymentallianceintl.com> 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' <hps@selasky.org>; freebsd-current < > freebsd-current@freebsd.org> > *Subject:* RE: New panic in main-n253273-a52d8d4a6c6: > > > > *From:* Hans Petter Selasky [mailto:hps@selasky.org <hps@selasky.org>] > *Sent:* Monday, February 21, 2022 8:34 PM > *To:* Michael Jung <mikej@paymentallianceintl.com>; 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. > > > > *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. > --0000000000005ae5a605d89411cb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Think that's it...thanks for testing for the patc= h.<br></div><div><br></div><div>I opened up <a href=3D"https://reviews.free= bsd.org/D34335">https://reviews.freebsd.org/D34335</a> for review.<br></div= ><div><br></div><div>-Rob<br></div></div><br><div class=3D"gmail_quote"><di= v dir=3D"ltr" class=3D"gmail_attr">On Mon, Feb 21, 2022 at 6:05 PM Michael = Jung <<a href=3D"mailto:mikej@paymentallianceintl.com">mikej@paymentalli= anceintl.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" styl= e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin= g-left:1ex"> <div lang=3D"EN-US"> <div class=3D"gmail-m_8824088032583821341WordSection1"> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)">Rob:<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)"><u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)">I did not remove Hans earlier pa= tch, but your =E2=80=9Clatest=E2=80=9D patch applied and compiled with no e= rrors.<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)"><u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)">I can now watch and control a TT= Y (v0) or a SSH session (pts/1) without crashing.<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)"><u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)">Anything else you would like me = to try?<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)"><u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)">--mikej<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)"><u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)"><u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal"><b><span style=3D"font-size:11pt;font-family:"C= alibri",sans-serif">From:</span></b><span style=3D"font-size:11pt;font= -family:"Calibri",sans-serif"> Rob Wing [mailto:<a href=3D"mailto= :rob.fx907@gmail.com" target=3D"_blank">rob.fx907@gmail.com</a>] <br> <b>Sent:</b> Monday, February 21, 2022 9:30 PM<br> <b>To:</b> Michael Jung <<a href=3D"mailto:mikej@paymentallianceintl.com= " target=3D"_blank">mikej@paymentallianceintl.com</a>><br> <b>Cc:</b> Hans Petter Selasky <<a href=3D"mailto:hps@selasky.org" targe= t=3D"_blank">hps@selasky.org</a>>; freebsd-current <<a href=3D"mailto= :freebsd-current@freebsd.org" target=3D"_blank">freebsd-current@freebsd.org= </a>><br> <b>Subject:</b> Re: New panic in main-n253273-a52d8d4a6c6:<u></u><u></u></s= pan></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <div> <div> <p class=3D"MsoNormal">The previous attached patch should work for testing = purposes, but it's incorrect if an error occurs.<u></u><u></u></p> </div> <div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> <div> <p class=3D"MsoNormal">The fhold() should be below FILEDESC_SUNLOCK(), this= patch addresses that.<u></u><u></u></p> </div> </div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <div> <div> <p class=3D"MsoNormal">On Mon, Feb 21, 2022 at 5:18 PM Rob Wing <<a href= =3D"mailto:rob.fx907@gmail.com" target=3D"_blank">rob.fx907@gmail.com</a>&g= t; wrote:<u></u><u></u></p> </div> <blockquote style=3D"border-color:currentcolor currentcolor currentcolor rg= b(204,204,204);border-style:none none none solid;border-width:medium medium= medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"> <div> <p class=3D"MsoNormal">try the attached patch<u></u><u></u></p> </div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <div> <div> <p class=3D"MsoNormal">On Mon, Feb 21, 2022 at 5:14 PM Michael Jung <<a = href=3D"mailto:mikej@paymentallianceintl.com" target=3D"_blank">mikej@payme= ntallianceintl.com</a>> wrote:<u></u><u></u></p> </div> <blockquote style=3D"border-color:currentcolor currentcolor currentcolor rg= b(204,204,204);border-style:none none none solid;border-width:medium medium= medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"> <div> <div> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)">=C2=A0</span><u></u><u></u></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)">=C2=A0</span><u></u><u></u></p> <div> <p><span style=3D"font-size:10pt;font-family:"Arial",sans-serif">= =C2=A0<u></u><u></u></span></p> <div style=3D"border-color:rgb(102,102,102) currentcolor;border-style:solid= none;border-width:1pt medium;padding:4pt 0in"> <p class=3D"MsoNormal" style=3D"margin-bottom:12pt"><span style=3D"font-siz= e:7.5pt;font-family:"Verdana",sans-serif">CONFIDENTIALITY NOTE: T= his message is intended only for the use<br> of the individual or entity to whom it is addressed and may <br> contain information that is privileged, confidential, and <br> exempt from disclosure under applicable law. If the reader <br> of this message is not the intended recipient, you are hereby <br> notified that any dissemination, distribution or copying <br> of this communication is strictly prohibited. If you have <br> received this transmission in error, please notify us by <br> telephone at (502) 212-4000 or notify us at: PAI, Dept. 99, <br> 2101 High Wickham Place, Suite 101, Louisville, KY 40245<br> <br> <br> <u></u><u></u></span></p> </div> </div> <div> <div style=3D"border-style:solid none none;border-width:1pt medium medium;p= adding:3pt 0in 0in;border-color:currentcolor"> <p class=3D"MsoNormal"><b><span style=3D"font-size:11pt;font-family:"C= alibri",sans-serif">From:</span></b><span style=3D"font-size:11pt;font= -family:"Calibri",sans-serif"> Michael Jung <br> <b>Sent:</b> Monday, February 21, 2022 9:06 PM<br> <b>To:</b> 'Hans Petter Selasky' <<a href=3D"mailto:hps@selasky.= org" target=3D"_blank">hps@selasky.org</a>>; freebsd-current <<a href= =3D"mailto:freebsd-current@freebsd.org" target=3D"_blank">freebsd-current@f= reebsd.org</a>><br> <b>Subject:</b> RE: New panic in main-n253273-a52d8d4a6c6:</span><u></u><u>= </u></p> </div> </div> <p class=3D"MsoNormal">=C2=A0<u></u><u></u></p> <p class=3D"MsoNormal"><b><span style=3D"font-size:11pt;font-family:"C= alibri",sans-serif">From:</span></b><span style=3D"font-size:11pt;font= -family:"Calibri",sans-serif"> Hans Petter Selasky [<a href=3D"ma= ilto:hps@selasky.org" target=3D"_blank">mailto:hps@selasky.org</a>] <br> <b>Sent:</b> Monday, February 21, 2022 8:34 PM<br> <b>To:</b> Michael Jung <<a href=3D"mailto:mikej@paymentallianceintl.com= " target=3D"_blank">mikej@paymentallianceintl.com</a>>; freebsd-current = <<a href=3D"mailto:freebsd-current@freebsd.org" target=3D"_blank">freebs= d-current@freebsd.org</a>><br> <b>Subject:</b> Re: New panic in main-n253273-a52d8d4a6c6:</span><u></u><u>= </u></p> <p class=3D"MsoNormal">=C2=A0<u></u><u></u></p> <p class=3D"MsoNormal">On 2/22/22 00:42, Michael Jung wrote:<br> > Hi:<br> > <br> > I was trying to remember what I did that was odd when this crash occur= red then it<br> > hit me. You can repeat this panic by doing:<br> > <br> > # watch -I -W pts/0<br> > <br> > Here is another panic that happened write after issuing "watch&qu= ot; for comparison.<br> > <br> > <a href=3D"http://mail.mikej.com/core.txt.1" target=3D"_blank"> http://mail.mikej.com/core.txt.1</a><br> > <br> > <a href=3D"http://mail.mikej.com/info.1" target=3D"_blank"> http://mail.mikej.com/info.1</a><br> > <br> > <a href=3D"http://mail.mikej.com/vmcore.1" target=3D"_blank"> http://mail.mikej.com/vmcore.1</a><br> > <br> <br> I also need your kernel and debug kernel to fully debug this.<br> <br> 1) Do ssh to machine.<br> 2) watch -i -W pts/0 (does not panic over here)<br> <br> Can you explain what step 1 is? An scp ?<br> <br> Refcount is -1.<br> f_count =3D 0xffffffff<br> <br> f_data =3D 0xfffff800158b0400<br> <br> In your KGDB, can you enter:<br> <br> info 0xffffffff81b052d0<br> <br> Does the attached patch make any difference?<br> <br> --HPS<u></u><u></u></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)">=C2=A0</span><u></u><u></u></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)">=C2=A0</span><u></u><u></u></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)">So sorry, yes step one, ssh to m= achine=E2=80=A6. </span><u></u><u></u></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)">=C2=A0</span><u></u><u></u></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)">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.</span><u></u><u></u></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)">=C2=A0</span><u></u><u></u></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)">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</span><u></u><u></u></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)">=C2=A0</span><u></u><u></u></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)"><a href=3D"http://mail.mikej.com= /core.txt.3" target=3D"_blank">http://mail.mikej.com/core.txt.3</a></span><= u></u><u></u></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)">=C2=A0</span><u></u><u></u></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)"><a href=3D"http://mail.mikej.com= /info.3" target=3D"_blank">http://mail.mikej.com/info.3</a></span><u></u><u= ></u></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)">=C2=A0</span><u></u><u></u></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)"><a href=3D"http://mail.mikej.com= /vmcore.3" target=3D"_blank">http://mail.mikej.com/vmcore.3</a></span><u></= u><u></u></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)">=C2=A0</span><u></u><u></u></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)">=C2=A0</span><u></u><u></u></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif;color:rgb(31,73,125)">=C2=A0</span><u></u><u></u></p> </div> <p class=3D"MsoNormal" style=3D"margin-bottom:12pt"><u></u>=C2=A0<u></u></p= > <p><b><span style=3D"font-size:10pt;font-family:"Verdana",sans-se= rif;color:rgb(102,102,102)">Disclaimer</span></b><span style=3D"font-size:1= 0pt;font-family:"Verdana",sans-serif;color:rgb(102,102,102)"><u><= /u><u></u></span></p> <p><span style=3D"font-size:8pt;font-family:"Verdana",sans-serif;= color:rgb(102,102,102)">The information contained in this communication fro= m the sender is confidential. It is intended solely for use by the recipien= t and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distr= ibution or taking action in relation of the contents of this information is= strictly prohibited and may be unlawful.<br> <br> This email has been scanned for viruses and malware, and may have been auto= matically archived by Mimecast, a leader in email security and cyber resili= ence. Mimecast integrates email defenses with brand protection, security aw= areness 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.<u></u><u></u></span></p> </div> </blockquote> </div> </blockquote> </div> </div> <br><br><p style=3D"font-family:Verdana;font-size:10pt;color:rgb(102,102,10= 2)"><b>Disclaimer</b></p><p style=3D"font-family:Verdana;font-size:8pt;colo= r:rgb(102,102,102)">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.<br><br>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.</p></div> </blockquote></div> --0000000000005ae5a605d89411cb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF3%2Bn_fhyRctPhUC1WcrV79FpWjeP279wZ-tVzgHZCAa4ujU4A>