From nobody Tue Oct 24 16:41:00 2023 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 4SFHqy5L5dz4yF6X for ; Tue, 24 Oct 2023 16:41:02 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SFHqy25Hlz3Ft1 for ; Tue, 24 Oct 2023 16:41:02 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.17.1/8.15.2) with ESMTPS id 39OGf1wg067182 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 24 Oct 2023 09:41:01 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.17.1/8.15.2/Submit) id 39OGf028067181; Tue, 24 Oct 2023 09:41:00 -0700 (PDT) (envelope-from fbsd) Date: Tue, 24 Oct 2023 09:41:00 -0700 From: bob prohaska To: Warner Losh Cc: "freebsd-arm@freebsd.org" Subject: Re: ucom debug not working on releng/14 Message-ID: References: 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US] X-Rspamd-Queue-Id: 4SFHqy25Hlz3Ft1 On Tue, Oct 24, 2023 at 09:43:53AM -0600, Warner Losh wrote: > I thought that was a loader tuneable... have you tried it there? > It works on arm64 (Pi3 and Pi4) in sysctl.conf. Adding hw.usb.ucom.debug="1" to /boot/loader.conf doesn't seem to make any difference, during boot the armv7 releng/14 host still reports sysctl: unknown oid 'hw.usb.ucom.debug' at line 10 I should have stated that it works on -current with Pi3 and Pi4 but does not work on Pi2 (armv7) with stable/12 and releng/14. There's presently no -current armv7 host to test. Thanks for writing! bob prohaska > Warner > > On Tue, Oct 24, 2023, 9:34 AM bob prohaska wrote: > > > A Pi2 running armv7 releng/14 reports > > > > sysctl: unknown oid 'hw.usb.ucom.debug' at line 10 > > > > when booting. > > > > The intent was to understand why it drops ssh connections > > when they are used to communicate with an ftdi usb-serial > > adapter. A few other hosts running -current accept the > > debug setting and generate copious output in response. > > > > Man pages suggest the option is available on stable, > > -current and releng/, but it seems to actually work > > only on -current, at least for armv7. > > > > Thanks for reading, and any hints what might be done wrong. > > > > bob prohaska > > > > > >