I am running the ARM64 build of Ubuntu 20.04 under QEMU. ~50% of the time the boot process reports this:

[ TIME ] Timed out waiting for device /dev/ttyAMA0. [DEPEND] Dependency failed for Serial Getty on ttyAMA0. 

which means there is no login prompt in the QEMU terminal. SSH access is then required to start the daemon manually:

$ sudo systemctl start

How can I fix this? And where/how do I set a longer timeout value?

Many thanks.

[Added] See for a full set of scripts to reproduce the issue

The answer suggested here for Centos does not work.

System details follow.

$ sudo systemctl show | grep ^Tim TimeoutStartUSec=1min 30s TimeoutStopUSec=1min 30s TimeoutAbortUSec=1min 30s TimeoutCleanUSec=infinity $ lsb_release -a && uname -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: focal Linux miniarm64 5.4.0-96-generic #109-Ubuntu SMP Wed Jan 12 18:07:25 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux $ qemu-system-aarch64 --version QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.19) Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers 

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy