Re: Testing 14-CURRENT-f44280bf5fb on aarch64

From: Daniel Morante <daniel_at_morante.net>
Date: Tue, 10 May 2022 07:37:18 UTC
Updated to the latest (14.0-CURRENT #2 main-n255521-10f44229dcd: Tue May 
10 02:52:27 EDT 2022) and removed the sysctl option 
(hw.usb.disable_enumeration=1).

Still seeing the problem.  The below just endlessly prints out on the 
console:

```

FreeBSD/arm64 (mars.morante.com) (ttyu0)

login: ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0 (disconnected)
uhub4: at uhub0, port 1, addr 1 (disconnected)
uhub4: detached
ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0
uhub4 numa-domain 0 on uhub0
uhub4: <Interrupt In Interface> on usbus0
uhub4: 4 ports with 4 removable, self powered
ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0 (disconnected)
uhub4: at uhub0, port 1, addr 1 (disconnected)
uhub4: detached
ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0
uhub4 numa-domain 0 on uhub0
uhub4: <Interrupt In Interface> on usbus0
uhub4: 4 ports with 4 removable, self powered
ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0 (disconnected)
uhub4: at uhub0, port 1, addr 1 (disconnected)
uhub4: detached
ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0
uhub4 numa-domain 0 on uhub0
uhub4: <Interrupt In Interface> on usbus0
uhub_attach: port 1 power on or off failed, USB_ERR_IOERROR
uhub_attach: port 2 power on or off failed, USB_ERR_IOERROR
uhub_attach: port 3 power on or off failed, USB_ERR_IOERROR
uhub_attach: port 4 power on or off failed, USB_ERR_IOERROR
uhub4: 4 ports with 4 removable, self powered
uhub_reattach_port: device problem (USB_ERR_IOERROR), disabling port 1
uhub_reattach_port: device problem (USB_ERR_IOERROR), disabling port 2
uhub_reattach_port: device problem (USB_ERR_IOERROR), disabling port 3
uhub_reattach_port: device problem (USB_ERR_IOERROR), disabling port 4
ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0 (disconnected)
uhub4: at uhub0, port 1, addr 1 (disconnected)
uhub4: detached
ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0
uhub4 numa-domain 0 on uhub0
uhub4: <Interrupt In Interface> on usbus0
uhub4: 4 ports with 4 removable, self powered
ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0 (disconnected)
uhub4: at uhub0, port 1, addr 1 (disconnected)
uhub4: detached
ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0
uhub4 numa-domain 0 on uhub0
uhub4: <Interrupt In Interface> on usbus0
uhub4: 4 ports with 4 removable, self powered
ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0 (disconnected)
uhub4: at uhub0, port 1, addr 1 (disconnected)
uhub4: detached
ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0
uhub4 numa-domain 0 on uhub0
uhub4: <Interrupt In Interface> on usbus0
uhub4: 4 ports with 4 removable, self powered
ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0 (disconnected)
uhub4: at uhub0, port 1, addr 1 (disconnected)
uhub4: detached
ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0
uhub4 numa-domain 0 on uhub0
uhub4: <Interrupt In Interface> on usbus0
uhub4: 4 ports with 4 removable, self powered
ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0 (disconnected)
uhub4: at uhub0, port 1, addr 1 (disconnected)
uhub4: detached
ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0
uhub4 numa-domain 0 on uhub0
uhub4: <Interrupt In Interface> on usbus0
uhub4: 4 ports with 4 removable, self powered
ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0 (disconnected)
uhub4: at uhub0, port 1, addr 1 (disconnected)
uhub4: detached
ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0
uhub4 numa-domain 0 on uhub0
uhub4: <Interrupt In Interface> on usbus0
uhub4: 4 ports with 4 removable, self powered
ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0 (disconnected)
uhub4: at uhub0, port 1, addr 1 (disconnected)
uhub4: detached
ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0
uhub4 numa-domain 0 on uhub0
uhub4: <Interrupt In Interface> on usbus0
uhub4: 4 ports with 4 removable, self powered
ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0 (disconnected)
uhub4: at uhub0, port 1, addr 1 (disconnected)
uhub4: detached
ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0
uhub4 numa-domain 0 on uhub0
uhub4: <Interrupt In Interface> on usbus0
uhub4: 4 ports with 4 removable, self powered
```

On 5/4/2022 4:10 AM, Hans Petter Selasky wrote:
> On 5/4/22 09:49, Daniel Morante wrote:
>> I'm still using the sysctl option "hw.usb.disable_enumeration=1" to 
>> prevent the USB devices from disconnecting/reconnecting every few 
>> seconds.  Other than that the improvement in stability with 
>> 14-CURRENT on aarach64 on this hardware is much better since the last 
>> time I tried, back in late February 2022.
>
> Hi Daniel,
>
> Could you try the very latest 14-current as of now? I've made a couple 
> of USB fixes which may fix the issue you are seeing.
>
> --HPS
>