Usb flash drive doesn't enumerate on boot, but does work if plugged in later on E8450

Hey folks, on my Linksys E8450 (target platform mediatek/mt7622) running OpenWrt 23.05.4 r24012-d8dd03c46f, I'm seeing something that appears to be a regression (still confirming, as downgrading to an older release isn't working at the moment with auc).

I have a usb flash drive plugged into the router directly in it's 1 usb port. This usb device doesn't enumerate on boot, and the kernel log shows a bunch of complaints, see below for a chunk of them.

If I physically remove the usb flash drive from the router and re-insert it, the usb flash drive is then enumerated as expected (and is automatically mounted as that's what I have openwrt configured to do with it when it appears).

Questions:

  1. Has anyone else seen this?
  2. Were there recent changes to the usb code (or perhaps configuration of the E8450) that might have caused this?
  3. Any other advice for debugging? Should I try using a development build? (I believe for E8450 that requires some re-partitioning which would make it somewhat difficult)
Mon Aug 19 22:49:57 2024 kern.info kernel: [ 1558.261384] usb 1-1: new high-speed USB device number 61 using xhci-mtk
Mon Aug 19 22:49:58 2024 kern.err kernel: [ 1558.422279] usb 1-1: device descriptor read/64, error -71
Mon Aug 19 22:49:58 2024 kern.err kernel: [ 1558.691714] usb 1-1: device descriptor read/64, error -71
Mon Aug 19 22:49:58 2024 kern.info kernel: [ 1558.811598] usb usb1-port1: attempt power cycle
Mon Aug 19 22:49:59 2024 kern.info kernel: [ 1560.241375] usb 1-1: new high-speed USB device number 62 using xhci-mtk
Mon Aug 19 22:49:59 2024 kern.warn kernel: [ 1560.248087] usb 1-1: Device not responding to setup address.
Mon Aug 19 22:50:00 2024 kern.warn kernel: [ 1560.471397] usb 1-1: Device not responding to setup address.
Mon Aug 19 22:50:00 2024 kern.err kernel: [ 1560.691319] usb 1-1: device not accepting address 62, error -71
Mon Aug 19 22:50:01 2024 kern.info kernel: [ 1562.021311] usb 1-1: new high-speed USB device number 63 using xhci-mtk
Mon Aug 19 22:50:01 2024 kern.warn kernel: [ 1562.028030] usb 1-1: Device not responding to setup address.
Mon Aug 19 22:50:01 2024 kern.warn kernel: [ 1562.251374] usb 1-1: Device not responding to setup address.
Mon Aug 19 22:50:02 2024 kern.err kernel: [ 1562.471293] usb 1-1: device not accepting address 63, error -71
Mon Aug 19 22:50:02 2024 kern.err kernel: [ 1562.478372] usb usb1-port1: unable to enumerate USB device
Mon Aug 19 22:50:02 2024 kern.info kernel: [ 1562.981338] usb 1-1: new high-speed USB device number 64 using xhci-mtk
Mon Aug 19 22:50:02 2024 kern.err kernel: [ 1563.131321] usb 1-1: device descriptor read/64, error -71
Mon Aug 19 22:50:03 2024 kern.err kernel: [ 1563.411318] usb 1-1: device descriptor read/64, error -71
Mon Aug 19 22:50:04 2024 kern.info kernel: [ 1564.861267] usb 1-1: new high-speed USB device number 65 using xhci-mtk
Mon Aug 19 22:50:04 2024 kern.err kernel: [ 1565.011389] usb 1-1: device descriptor read/64, error -71
Mon Aug 19 22:50:04 2024 kern.err kernel: [ 1565.281287] usb 1-1: device descriptor read/64, error -71
Mon Aug 19 22:50:05 2024 kern.info kernel: [ 1565.401524] usb usb1-port1: attempt power cycle
Mon Aug 19 22:50:06 2024 kern.info kernel: [ 1566.831221] usb 1-1: new high-speed USB device number 66 using xhci-mtk
Mon Aug 19 22:50:06 2024 kern.warn kernel: [ 1566.838805] usb 1-1: Device not responding to setup address.
Mon Aug 19 22:50:06 2024 kern.warn kernel: [ 1567.061402] usb 1-1: Device not responding to setup address.
Mon Aug 19 22:50:06 2024 kern.err kernel: [ 1567.291274] usb 1-1: device not accepting address 66, error -71
Mon Aug 19 22:50:08 2024 kern.info kernel: [ 1568.621214] usb 1-1: new high-speed USB device number 67 using xhci-mtk
Mon Aug 19 22:50:08 2024 kern.warn kernel: [ 1568.631490] usb 1-1: Device not responding to setup address.
Mon Aug 19 22:50:08 2024 kern.warn kernel: [ 1568.851371] usb 1-1: Device not responding to setup address.
Mon Aug 19 22:50:08 2024 kern.err kernel: [ 1569.071196] usb 1-1: device not accepting address 67, error -71
Mon Aug 19 22:50:08 2024 kern.err kernel: [ 1569.077296] usb usb1-port1: unable to enumerate USB device
Mon Aug 19 22:50:09 2024 kern.info kernel: [ 1569.581224] usb 1-1: new high-speed USB device number 68 using xhci-mtk
Mon Aug 19 22:50:09 2024 kern.err kernel: [ 1569.731258] usb 1-1: device descriptor read/64, error -71
Mon Aug 19 22:50:09 2024 kern.err kernel: [ 1570.001239] usb 1-1: device descriptor read/64, error -71
Mon Aug 19 22:50:11 2024 kern.info kernel: [ 1571.461199] usb 1-1: new high-speed USB device number 69 using xhci-mtk

Could you add events leading to first USB power cycle?