From nobody Sun Jan 1 19:56:56 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 4NlVBp3Xbvz2ngZf for ; Sun, 1 Jan 2023 19:57:06 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail.karels.net (mail.karels.net [216.160.39.52]) by mx1.freebsd.org (Postfix) with ESMTP id 4NlVBm5WtMz3qC7 for ; Sun, 1 Jan 2023 19:57:04 +0000 (UTC) (envelope-from mike@karels.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of mike@karels.net designates 216.160.39.52 as permitted sender) smtp.mailfrom=mike@karels.net; dmarc=none Received: from mail.karels.net (localhost [127.0.0.1]) by mail.karels.net (8.16.1/8.16.1) with ESMTP id 301Juvu3002014; Sun, 1 Jan 2023 13:56:57 -0600 (CST) (envelope-from mike@karels.net) Received: from [10.0.2.130] ([10.0.1.1]) by mail.karels.net with ESMTPSA id ct1wConlsWPcBwAA4+wvSQ (envelope-from ); Sun, 01 Jan 2023 13:56:57 -0600 From: Mike Karels To: "Bjoern A. Zeeb" Cc: Mark Millard , freebsd-arm Subject: Re: rpi3b+ ue0 too late to be configured on boot? Date: Sun, 01 Jan 2023 13:56:56 -0600 X-Mailer: MailMate (1.14r5921) Message-ID: In-Reply-To: <4AF80D6A-B421-4D1D-ADEA-5F4439A74E43@karels.net> References: <8srop579-r4sq-278-356p-nr7q81n31s4@mnoonqbm.arg> <52FD04A5-27B4-4C61-9C97-795D2D65135E@karels.net> <09EDBF79-75B7-486E-AE85-07E6FFA2FED3@yahoo.com> <4AF80D6A-B421-4D1D-ADEA-5F4439A74E43@karels.net> 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=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-2.19 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.991]; R_SPF_ALLOW(-0.20)[+ip4:216.160.39.52]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:209, ipnet:216.160.36.0/22, country:US]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEFALL_USER(0.00)[mike]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_CC(0.00)[yahoo.com,freebsd.org]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[karels.net]; RCPT_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4NlVBm5WtMz3qC7 X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N On 30 Dec 2022, at 16:16, Mike Karels wrote: > On 30 Dec 2022, at 16:03, Bjoern A. Zeeb wrote: > >> On Thu, 29 Dec 2022, Mark Millard wrote: >> >>> Bjoern did not report enough information for the configuration >>> of that EDK2 based context to replicate his boot context in a >>> test. >> >> Sorry, I applied the config.txt change from the open pull request ther= e >> where I left a comment a year or so ago. I was running with the >> previous version quite fine. >> >> I did disable ACPI for a change in the setup. No idea how that would = be >> persistent. >> >> I used to run with the previous version but loader now panics on that = so I >> found the fairly recent new one. >> >> I also have my own kernel admittingly; same builds on years because I >> run them with a memory disk. >> >> The GE switch port are on auto but given this is USB device attaching >> time it seem that shouldn't make the huge difference (and I checked th= at >> it wa on an auto-port before and so is my other one). >> >> In either way, @mike, does your boot indiciate that ue0 is setup durin= g >> the first netif run or is devd doing it later for you and it'd be ther= e >> by the time you login)? Just checking before I'll put it onto the TOD= O >> list to one day dig deeper. > > I think it was at the normal time (netif), according to the console > output. I=E2=80=99ll double-check later. Yes, ue0 was detected before devd started. However, this happened after root_hold_wait (in /etc/rc.subr, called from mountcritlocal) printed =E2=80=9CWaiting 30s for the root mount holders: usbus1=E2=80=9D, after w= hich uhub1, ue0 and other things configured after a very short delay. Mike > >> /bz >> >> -- = >> Bjoern A. Zeeb r15= :7