From nobody Wed Mar 16 12:02:57 2022 X-Original-To: freebsd-arm@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 A56021A2F7EC for ; Wed, 16 Mar 2022 12:03:11 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) (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 4KJTSG6z49z4b2K for ; Wed, 16 Mar 2022 12:03:10 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: by mail-ej1-x62a.google.com with SMTP id bi12so3701304ejb.3 for ; Wed, 16 Mar 2022 05:03:10 -0700 (PDT) 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=/BRvKOc3Cp+kmTVL11TpMS01sJIqGoKrfhdMHFH3bi4=; b=hcFSPuVQ26Lv71+nYrEYidRW4G3jenlp7PjO25ZC9wbMHaAWEp/qBUXxNgjvHiDVv1 fWuVbNtAQGc8AueSaCogLxH0PRzJaXOIS5IJZxQ5Ytvy1Uaw8n8LyxaWckjbF8W/EDz7 wQVUyy4kTORUx4P6HxivCMWY8qWpmSV5UwC2tNgYIQjt0E+wHX5rdtH9ky+tuxnHEqqy lKFOBJyHluuXx19IdcN2meZuIZhLu6936r0UN4t/bGmITu3ju3te69BSsgwZjlkI77R9 JFJ0gufB3+rEwNGTNwx7wKAQ8HlwkS4wukY/O7j/Ftp1JIuiE2LKr9WpNu8wyDoCjNLk m1eg== 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=/BRvKOc3Cp+kmTVL11TpMS01sJIqGoKrfhdMHFH3bi4=; b=783eEHntmMBoozmGF1eDIjQ1gEwfukLGL9wddNRmGqvGOu5KdyxFhaI7VNY/SNqzjV z6aVXbN2X7mvxFv3fJJZxoRCqXMlBuPPYm+PP06OYgKpUm/4N4TedYZu3J7nbXPO7Jk5 Jpd8DGXaHjlYmGgEfcKjbGVXjRMIxiMRsp0EPGpL98uVGWM4coo+jaY0EP2L1LVEAO5c KWDVrgkj041WzLTxQZ6iRr/+Bpo5Uh8KoVWpoqryCvSQWe1w0cwtn6SGbE5AZwhCdGoJ sFbmEBEbzTGTM8kulM7Kg6LbXryESjeILRnvaHAaIrGKfArDPhLDa0mMjTUy4aoXeSRi Rc6Q== X-Gm-Message-State: AOAM533aZNZQr6AWcijMc6fnugJhMgAlyl2w6tiXopx7kGr/W3qE4Nd1 pY2SoT7oxKn9hwy4vTmT2Bd4H0t7E4+efFiMVrLqiYszZiv2RA== X-Google-Smtp-Source: ABdhPJzwcmh+6WUKt3WxCKW8oTISeCo/JqwYxYyDMxbKM6/W8P/91ZwBRNR4ygSA73cfyvP6Cr/GoUhzmRdXCDVs+bU= X-Received: by 2002:a17:907:eac:b0:6db:799c:cb3c with SMTP id ho44-20020a1709070eac00b006db799ccb3cmr27314630ejc.559.1647432189898; Wed, 16 Mar 2022 05:03:09 -0700 (PDT) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 References: <7c67118e-f6ec-c87d-9a81-3ee6a5952f49@selasky.org> <60f98b10-dcdc-cdf4-3d7a-fe9fd4dff223@selasky.org> <8226461b-5740-9c19-0575-2740bd952e16@selasky.org> <7a77e3bd-1186-56a6-e60e-89e51c190a01@selasky.org> <87a3da15-d83d-c864-bdb7-6035db5cd70d@selasky.org> In-Reply-To: From: Archimedes Gaviola Date: Wed, 16 Mar 2022 20:02:57 +0800 Message-ID: Subject: Re: Raspberry Pi 3B USB Printing Issue To: Hans Petter Selasky Cc: freebsd-arm@freebsd.org Content-Type: multipart/alternative; boundary="00000000000078739b05da54b284" X-Rspamd-Queue-Id: 4KJTSG6z49z4b2K X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=hcFSPuVQ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of archimedesgaviola@gmail.com designates 2a00:1450:4864:20::62a as permitted sender) smtp.mailfrom=archimedesgaviola@gmail.com X-Spamd-Result: default: False [-2.81 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; 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:~]; 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)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.997]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(0.18)[0.185]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62a:from]; MLMMJ_DEST(0.00)[freebsd-arm]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --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 >> 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


=
On Tue, Mar 15, 2022 at 10:34 PM Arch= imedes Gaviola <archimed= es.gaviola@gmail.com> wrote:


On Tue, Mar 15, 2= 022 at 4:54 PM Archimedes Gaviola <archimedes.gaviola@gmail.com> wrote:
<= div dir=3D"ltr">

On Tue, Mar 15, 2022 at 3:59 PM Hans Petter Selasky <= ;hps@selasky.org&g= t; wrote:
On 3/1= 5/22 05:57, Archimedes Gaviola wrote:
> I did comment-out usbd_transfer_submit(xfer) and still the same behavi= or is
> experienced when hw.usb.dwc_otg.debug is enabled. The system seems to<= br> > freeze as my USB keyboard is unresponsive and I cannot connect over th= e
> Ethernet NIC with SSH. I can't print and capture.
=

Hi Hans,
=C2=A0

Hi,

If you re-plug the USB keyboard, does it come back?
No, it does not come back.


Try setting "sysctl kern.consmute=3D1". Then only capture logs fr= om
/var/log/messages.

Much bett= er, no more system freeze. I'll proceed with testing and capturing afte= r work.

Thanks,
Arc= himedes

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,
Arch= imedes


Hi = Hans,

I just uploaded the /var/log/messages file h= ere https://filebin.net/gf= fcyx587ynrcg6u. Kindly check if you can find something. The issue occur= red twice and I caught the second occurrence.

Than= ks,
Archimedes
--00000000000078739b05da54b284--