From nobody Tue Mar 15 14:34:14 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 E33411A107BC for ; Tue, 15 Mar 2022 14:34:33 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) (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 4KHwsN6njhz4V1f for ; Tue, 15 Mar 2022 14:34:32 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: by mail-ed1-x530.google.com with SMTP id w25so831610edi.11 for ; Tue, 15 Mar 2022 07:34:32 -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=W4PiAPJNaWcvhz4adId+73vtJ35ZEmeJ0Kkw9ar0wrk=; b=Kbr3hh83mq7EUJPy/cljzwCVh8NFxagalQhx1ZGReJDigKMO1A8gC54sNIhBbmokIK 2fHR0PzFwrmJYj9/4EPr7m90OgaOBqngZbAP3dcEED1MaGlgS5jU/SLA5cAryRgWkpn3 aA3pK0zokwgEpbXrM/pUuQ9SlAvca1yvDmaqz8H7tCDsLVe5myqE3QtpfE0zxigHwvtq hMEkURN/VIgvDyeNfdU11Fx//mGfFJZR/UZ4QeWNNlJg6IPimizSpQPzgqk373ihEKU1 8sLKwg++3fKTXer3ka7nzHMOHLaheXhOREQ8rDUdjBPijmqVA1cFnHFkYFQSBkuT9Nw9 2iQg== 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=W4PiAPJNaWcvhz4adId+73vtJ35ZEmeJ0Kkw9ar0wrk=; b=Fkdkyq+GNv4RtLl5UJeHY/oqa19XYYlMmusPtmbDro4KOefLV3LYCY9YD/hFCbZl6h zDpOaLKC0dWl/tyPHra+G3K/hqT/JbvXLa4yIQiN1RKc4YCOC+tnss1lSPdr2ETsicSr bs2rqh2NVC1dr7fyv5m4b3A82eINAl05hXG3ixJr6UWRbrk2H71PNG/ByVkdnn4l+5c4 M8yzO+H+vdPLCRqfG88xikcsBo5UyaYuzZ5WDDZoebmkVOW1sxv1HNJpj27xv9ISfoCA ZNVrTuCJ3eYhIJdNUTk+neynAH6PWaHD/yMP2ZN64SjvjRBle2iasynO3rKD9wio2wC/ W/6Q== X-Gm-Message-State: AOAM533DhusZ94g+PtraUancqJDsRIGKtCV8tAGdD/y+hbD/yNazzMaO nxvn545N/jNCgSZn0x91M4BLowRY1utpdgERJpbQwxvsXoM= X-Google-Smtp-Source: ABdhPJw5/+FIAOb+/VzOCkOvFurrA1yD5Vz0+ekrPC4NmmmrlQ5HxloCQKVClD/anbyqgjlkF3gkc8PcjKUmM/z5TV8= X-Received: by 2002:a05:6402:35c7:b0:418:6577:9eb0 with SMTP id z7-20020a05640235c700b0041865779eb0mr14109272edc.343.1647354865906; Tue, 15 Mar 2022 07:34:25 -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: Tue, 15 Mar 2022 22:34:14 +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="00000000000099f83b05da42b127" X-Rspamd-Queue-Id: 4KHwsN6njhz4V1f X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=Kbr3hh83; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of archimedesgaviola@gmail.com designates 2a00:1450:4864:20::530 as permitted sender) smtp.mailfrom=archimedesgaviola@gmail.com X-Spamd-Result: default: False [-4.00 / 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)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::530:from]; MLMMJ_DEST(0.00)[freebsd-arm]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --00000000000099f83b05da42b127 Content-Type: text/plain; charset="UTF-8" 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 --00000000000099f83b05da42b127 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Tue, Mar 15, 2022 at 4:54 PM Archi= medes Gaviola <archimede= s.gaviola@gmail.com> wrote:


On Tue, Mar 15, 20= 22 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 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
--00000000000099f83b05da42b127--