?XHCI not found on reboot

Hi all,

I have a VIM4 with a recent Khadas Ubuntu server image

Fenix 1.4 Ubuntu 22.04.2 LTS Linux 5.4.180

I have a serial console connected.

I notice that when I reboot the server, sometimes it does it fine, sometimes it does not.
When it doesn’t reboot automatically, I see this on the serial console and need to press Enter to boot up.

?XHCI  not found
1:      Default
Enter choice: 1 **I Enter "1" here**
1:      Default
Retrieving file: /initrd.img
10502606 bytes read in 76 ms (131.8 MiB/s)
Retrieving file: /Image
...

No problem when powering up, the problem occurs when I ask the system to execute the reboot command.

Any ideas ?

Has anyone seen this ?
Or have a solution/workaround ?

Thank you.

@p2_83
Please provide the accurate version number of image. Next, I will verify this problem.

Thank you, I think it’s 1.4-221229

root@Khadas:~# cat /etc/*-release
# PLEASE DO NOT EDIT THIS FILE
BOARD=VIM4
VENDOR=Amlogic
VERSION=1.4
ARCH=arm64
INITRD_ARCH=arm64
IMAGE_VERSION=1.4-221229
################ GIT VERSION ################
UBOOT_GIT_VERSION=khadas-vims-u-boot-2019.01-v1.4-release
LINUX_GIT_VERSION=khadas-vims-linux-5.4-v1.4-release
FENIX_GIT_VERSION=v1.4
#############################################
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS"
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Hi @ivan.li , any time to try it yet :slightly_smiling_face: ? Thanks !

@p2_83

  • I tried many times, but it never happened.

  • I will provide you with an official firmware to see if the problem still exists.

http://dl.khadas.com/products/vim4/firmware/ubuntu/emmc/vim4-ubuntu-22.04-server-linux-5.4-fenix-1.4-221229-emmc.img.xz

@ivan.li

Yes, that’s the firmware I have.

I think that the problem occurs when

  • the serial console module is connected to the VIM4
  • the dongle’s USB cable is not yet connected to my PC
  • a reboot is done.

(FYI, I’m using a wingoneer CP2104 module for the serial console)

@p2_83

As you only connected the cable to VIM4 but not connect the dongle’s USB to your PC, so there may some interference from UART to stop the system booting process.

We suggest you to remove the uart cable from VIM4 if you don’t use it to avoid this issue.

And we will fix this issue. have a great weekend!!

@ivan.li Ok, thank you !