Unable to create Xenial KVM with uvtool on Cavium ThunderX ARM64 system

Bug #1751718 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
uvtool
Incomplete
Undecided
Unassigned
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

With a Cavium ThunderX system deployed with Bionic, if you try to create a Xenial KVM, this tool will failed with:
  uvt-kvm: error: timed out waiting for dnsmasq lease for 52:54:00:32:a2:f7

Steps:
  sudo uvt-simplestreams-libvirt sync release=xenial arch=arm64
  sudo uvt-kvm create kvm-test release=xenial arch=arm64
  sudo uvt-kvm wait bjf-test --insecure

Note that it works with release=artful.

With a Cavium ThunderX system deployed with Artful, the behaviour is different, this tool will failed with the KVM creation no matter if you're trying with Xenial or Artful:
  uvt-kvm: error: libvirt: unsupported configuration: ACPI requires UEFI on this architecture

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-10-generic 4.15.0-10.11
ProcVersionSignature: User Name 4.15.0-10.11-generic 4.15.3
Uname: Linux 4.15.0-10-generic aarch64
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Feb 26 03:32 seq
 crw-rw---- 1 root audio 116, 33 Feb 26 03:32 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.8-0ubuntu10
Architecture: arm64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CurrentDmesg:

Date: Mon Feb 26 06:20:28 2018
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
MachineType: Cavium ThunderX CRB
PciMultimedia:

ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
ProcFB:
 0 EFI VGA
 1 astdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-10-generic root=UUID=ddcb8b36-6267-4392-a1f9-74d9203b742e ro
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-10-generic N/A
 linux-backports-modules-4.15.0-10-generic N/A
 linux-firmware 1.171
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/12/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 5.11
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: To be filled by O.E.M.
dmi.board.vendor: To be filled by O.E.M.
dmi.board.version: To be filled by O.E.M.
dmi.chassis.asset.tag: To be filled by O.E.M.
dmi.chassis.type: 0
dmi.chassis.vendor: Cavium
dmi.chassis.version: To be filled by O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd12/12/2012:svnCavium:pnThunderXCRB:pvrTobefilledbyO.E.M.:rvnTobefilledbyO.E.M.:rnTobefilledbyO.E.M.:rvrTobefilledbyO.E.M.:cvnCavium:ct0:cvrTobefilledbyO.E.M.:
dmi.product.family: Default string
dmi.product.name: ThunderX CRB
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: Cavium

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1751718

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Robie Basak (racb) wrote :

Thank you for filing this report.

uvtool is just a wrapper for libvirt. Either we need libvirt support first, or this is a wishlist item for uvtool to support some customised libvirt configuration on this particular hardware, in which case please provide details.

Changed in uvtool:
status: New → Incomplete
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Hi Robie,

I am not sure which case applies, we use uvtool for the KVM smoke test for SRU regression-tests on all the kernels.
It a bit wired that this is working for Artful image but not with the Xenial image.
What detail I could provide?

Thanks

Changed in uvtool:
status: Incomplete → New
Revision history for this message
Robie Basak (racb) wrote :

It's not an issue for _uvtool itself_ until the hardware is enabled and functional in libvirt directly, and the specific Ubuntu image you need (Xenial) works against libvirt in the Ubuntu release you need. So please leave the bug status for uvtool Incomplete until that is done.

> What detail I could provide?

You're in the wrong place here. I suggest you follow this up internally within Canonical to find an engineer who can work on it for you.

Changed in uvtool:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.