Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Dec 2022 21:17:28 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        Mark Millard <marklmi@yahoo.com>, Mike Karels <mike@karels.net>,  freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: rpi3b+ ue0 too late to be configured on boot?
Message-ID:  <CANCZdfrSPK763Uf2XYfcn64GNm3Ekbnug4HG4QZfEZ-oYt=EyA@mail.gmail.com>
In-Reply-To: <ro7733p-100-2261-4q5r-6o7268775837@yvfgf.mnoonqbm.arg>
References:  <8srop579-r4sq-278-356p-nr7q81n31s4@mnoonqbm.arg> <52FD04A5-27B4-4C61-9C97-795D2D65135E@karels.net> <09EDBF79-75B7-486E-AE85-07E6FFA2FED3@yahoo.com> <ro7733p-100-2261-4q5r-6o7268775837@yvfgf.mnoonqbm.arg>

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

On Fri, Dec 30, 2022, 3:03 PM Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net>
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 there
> 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 that
> 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 during
> the first netif run or is devd doing it later for you and it'd be there
> by the time you login)?  Just checking before I'll put it onto the TODO
> list to one day dig deeper.
>

In the mean time you can add ue to re regular expression for removable
devices, you might be able to use devd to configure them when they become
available using the now lamely named pccard_ether...

We likely should add a wait usb command to rc since that would solve a lot
of issues with zfs startup racing umass discovery.

Warner

/bz
>
> --
> Bjoern A. Zeeb                                                     r15:7
>
>

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

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Fri, Dec 30, 2022, 3:03 PM Bjoern A. Zeeb &lt;<a hr=
ef=3D"mailto:bzeeb-lists@lists.zabbadoz.net">bzeeb-lists@lists.zabbadoz.net=
</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 29 Dec 2022=
, Mark Millard wrote:<br>
<br>
&gt; Bjoern did not report enough information for the configuration<br>
&gt; of that EDK2 based context to replicate his boot context in a<br>
&gt; test.<br>
<br>
Sorry, I applied the config.txt change from the open pull request there<br>
where I left a comment a year or so ago.=C2=A0 I was running with the<br>
previous version quite fine.<br>
<br>
I did disable ACPI for a change in the setup.=C2=A0 No idea how that would =
be<br>
persistent.<br>
<br>
I used to run with the previous version but loader now panics on that so I<=
br>
found the fairly recent new one.<br>
<br>
I also have my own kernel admittingly; same builds on years because I<br>
run them with a memory disk.<br>
<br>
The GE switch port are on auto but given this is USB device attaching<br>
time it seem that shouldn&#39;t make the huge difference (and I checked tha=
t<br>
it wa on an auto-port before and so is my other one).<br>
<br>
In either way, @mike, does your boot indiciate that ue0 is setup during<br>
the first netif run or is devd doing it later for you and it&#39;d be there=
<br>
by the time you login)?=C2=A0 Just checking before I&#39;ll put it onto the=
 TODO<br>
list to one day dig deeper.<br></blockquote></div></div><div dir=3D"auto"><=
br></div><div dir=3D"auto">In the mean time you can add ue to re regular ex=
pression for removable devices, you might be able to use devd to configure =
them when they become available using the now lamely named pccard_ether...<=
/div><div dir=3D"auto"><br></div><div dir=3D"auto">We likely should add a w=
ait usb command to rc since that would solve a lot of issues with zfs start=
up racing umass discovery.=C2=A0</div><div dir=3D"auto"><br></div><div dir=
=3D"auto">Warner</div><div dir=3D"auto"><br></div><div dir=3D"auto"><div cl=
ass=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex">
/bz<br>
<br>
-- <br>
Bjoern A. Zeeb=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0r15:7<br>
<br>
</blockquote></div></div></div>

--000000000000ac863d05f117ff42--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrSPK763Uf2XYfcn64GNm3Ekbnug4HG4QZfEZ-oYt=EyA>