VIM4 boot issue when USB drive is attcahed to it

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu

Which version of system do you use? Khadas official images, self built images, or others?

Ubuntu 22.04.1 (official image)

Please describe your issue below:

When a usb disk is attached to a usb port (in my case a 4TB WD My Passport USB drive) and the VIM4 is powered on, most of the times the VIM4 does not boot at all since it remains stuck in an endless printing of the warning message reported here below (log is from VIM4’s serial port).

Post a console log of your issue below:


Starting the controller
USB XHCI 1.10
USB1:   No ----gpio-vbus-power
Register 2000120 NbrPorts 1
Starting the controller
USB XHCI 1.10
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... 9 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

Device 0: WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
Vendor: WD       Rev: 4010 Prod: My Passport 2627
            Type: Hard Disk
            Capacity: not available
... is now current device
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
WARN halted endpoint, queueing URB anyway.
(infinite printing of this warning message)

Hello @matteoguglielmi

How about other USB devices? Have the same issue?

The issue seems related to the powered usb hub I’m using and/or the presence on it of other usb devices such as 2x USB to TTL serial cable and 1x USB to Gigabit ethernet adapter.

When the usb hub is removed and the usb drive is directly connected to the vim4 usb3 port, the boot process does not hang.

I do confirm that the problem was the usb HUB.