Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Mar 2022 20:02:57 +0800
From:      Archimedes Gaviola <archimedes.gaviola@gmail.com>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Raspberry Pi 3B USB Printing Issue
Message-ID:  <CAJFbk7H8-kgQ952L_0ryjhMgvgdPNYBJWXf6iMf5fF-KjJEYJQ@mail.gmail.com>
In-Reply-To: <CAJFbk7GjHS3UpYSOAWN-OvPEu4wiuAtedm7HGB6bw7e9e5%2BpYA@mail.gmail.com>
References:  <CAJFbk7EzSfPNbaGxiweKrivwNrKXCPVzA1b7_=0_bTvbs8oBow@mail.gmail.com> <7c67118e-f6ec-c87d-9a81-3ee6a5952f49@selasky.org> <CAJFbk7GYbLAFTJY077Nzh3CTBJM6bk8swr4AkgGMaukCxrfcHQ@mail.gmail.com> <60f98b10-dcdc-cdf4-3d7a-fe9fd4dff223@selasky.org> <CAJFbk7EAjrQG5Kj_upVKW72opOS%2B8d63VrMnQdLxcJjUcfsd=g@mail.gmail.com> <8226461b-5740-9c19-0575-2740bd952e16@selasky.org> <CAJFbk7GwjFA-=GrJG3KTCnqVfEPhRSY1g8xyws_nE8pAohErEg@mail.gmail.com> <dabb798c-435c-6dd3-ac9b-8db3fb02a43c@selasky.org> <CAJFbk7FFeNTKvbNMr41kkwwYtyamJybTzk3=DQB1Hg3z%2Bx2hgQ@mail.gmail.com> <CAJFbk7GZF4ahORzCUKaLZS4b=fCJQbEADPJmMYZjyaJwRR%2Bhbw@mail.gmail.com> <CAJFbk7Fxz24r73AzHGhZHHKYwyHLqn-HCpiCpsAi4D-E6oKtKg@mail.gmail.com> <7a77e3bd-1186-56a6-e60e-89e51c190a01@selasky.org> <CAJFbk7EutGbB-LoHxN_mUZbSb70C8yjxfZBADvejuCLwTcD5FA@mail.gmail.com> <CAJFbk7G_SVcoH4pak4SvNp0EYsbU_i4LiNZ6HyEDrmxAPvviUg@mail.gmail.com> <87a3da15-d83d-c864-bdb7-6035db5cd70d@selasky.org> <CAJFbk7FOQQG7upVtiq9R5tF34yJypbdYfNJ90o0G%2BRGM4C5TiA@mail.gmail.com> <CAJFbk7GjHS3UpYSOAWN-OvPEu4wiuAtedm7HGB6bw7e9e5%2BpYA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000078739b05da54b284
Content-Type: text/plain; charset="UTF-8"

On Tue, Mar 15, 2022 at 10:34 PM Archimedes Gaviola <
archimedes.gaviola@gmail.com> wrote:

>
>
> On Tue, Mar 15, 2022 at 4:54 PM Archimedes Gaviola <
> archimedes.gaviola@gmail.com> wrote:
>
>>
>>
>> On Tue, Mar 15, 2022 at 3:59 PM Hans Petter Selasky <hps@selasky.org>
>> wrote:
>>
>>> On 3/15/22 05:57, Archimedes Gaviola wrote:
>>> > I did comment-out usbd_transfer_submit(xfer) and still the same
>>> behavior is
>>> > experienced when hw.usb.dwc_otg.debug is enabled. The system seems to
>>> > freeze as my USB keyboard is unresponsive and I cannot connect over the
>>> > Ethernet NIC with SSH. I can't print and capture.
>>>
>>
>> Hi Hans,
>>
>>
>>>
>>> Hi,
>>>
>>> If you re-plug the USB keyboard, does it come back?
>>>
>>
>> No, it does not come back.
>>
>>
>>> Try setting "sysctl kern.consmute=1". Then only capture logs from
>>> /var/log/messages.
>>>
>>
>> Much better, no more system freeze. I'll proceed with testing and
>> capturing after work.
>>
>> Thanks,
>> Archimedes
>>
>
> Hi Hans,
>
> I'll just give you an update for now. For several times of printing I've
> done, the issue never occurred. So, tomorrow I'll continue for another
> round of testing. Thanks for the debugging resolution, it's working now.
>
> Thanks,
> Archimedes
>


Hi Hans,

I just uploaded the /var/log/messages file here
https://filebin.net/gffcyx587ynrcg6u. Kindly check if you can find
something. The issue occurred twice and I caught the second occurrence.

Thanks,
Archimedes

--00000000000078739b05da54b284
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Tue, Mar 15, 2022 at 10:34 PM Arch=
imedes Gaviola &lt;<a href=3D"mailto:archimedes.gaviola@gmail.com">archimed=
es.gaviola@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204=
);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div cl=
ass=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Mar 15, 2=
022 at 4:54 PM Archimedes Gaviola &lt;<a href=3D"mailto:archimedes.gaviola@=
gmail.com" target=3D"_blank">archimedes.gaviola@gmail.com</a>&gt; wrote:<br=
></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;=
border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><=
div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" c=
lass=3D"gmail_attr">On Tue, Mar 15, 2022 at 3:59 PM Hans Petter Selasky &lt=
;<a href=3D"mailto:hps@selasky.org" target=3D"_blank">hps@selasky.org</a>&g=
t; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p=
x 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 3/1=
5/22 05:57, Archimedes Gaviola wrote:<br>
&gt; I did comment-out usbd_transfer_submit(xfer) and still the same behavi=
or is<br>
&gt; experienced when hw.usb.dwc_otg.debug is enabled. The system seems to<=
br>
&gt; freeze as my USB keyboard is unresponsive and I cannot connect over th=
e<br>
&gt; Ethernet NIC with SSH. I can&#39;t print and capture.<br></blockquote>=
<div><br></div><div>Hi Hans,</div><div>=C2=A0<br></div><blockquote class=3D=
"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(2=
04,204,204);padding-left:1ex">
<br>
Hi,<br>
<br>
If you re-plug the USB keyboard, does it come back?<br></blockquote><div><b=
r></div><div>No, it does not come back.</div><div><br></div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid =
rgb(204,204,204);padding-left:1ex">
<br>
Try setting &quot;sysctl kern.consmute=3D1&quot;. Then only capture logs fr=
om <br>
/var/log/messages.<br></blockquote><div><br></div><div></div><div>Much bett=
er, no more system freeze. I&#39;ll proceed with testing and capturing afte=
r work.<br></div><div><br></div>Thanks,</div><div class=3D"gmail_quote">Arc=
himedes<br></div></div></blockquote><div><br></div><div>Hi Hans,</div><div>=
<br></div><div>I&#39;ll just give you an update for now. For several times =
of printing I&#39;ve done, the issue never occurred. So, tomorrow I&#39;ll =
continue for another round of testing. Thanks for the debugging resolution,=
 it&#39;s working now. <br></div><div><br></div><div>Thanks,</div><div>Arch=
imedes</div></div></div></blockquote><div><br></div><div><br></div><div>Hi =
Hans,</div><div><br></div><div>I just uploaded the /var/log/messages file h=
ere <a href=3D"https://filebin.net/gffcyx587ynrcg6u">https://filebin.net/gf=
fcyx587ynrcg6u</a>. Kindly check if you can find something. The issue occur=
red twice and I caught the second occurrence.</div><div><br></div><div>Than=
ks,</div><div>Archimedes <br></div></div></div>

--00000000000078739b05da54b284--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJFbk7H8-kgQ952L_0ryjhMgvgdPNYBJWXf6iMf5fF-KjJEYJQ>