libguestfs-test-tool stuck

Asked by Jevin gala

Hi,

Model name: AMD Ryzen 9 5900X 12-Core Processor
kernel : 5.4.0-109-generic
Libugestfs : libguestfs0/focal,now 1:1.40.2-7ubuntu5

#libguestfs-test-tool
.
..
...
....
libguestfs: responding to serial console Device Status Report
\x1b[1;256r\x1b[256;256H\x1b[6n
Google, Inc.
Serial Graphics Adapter 12/12/19
SGABIOS $Id$ (build@debian) Thu Dec 12 18:22:50 UTC 2019
Term: 80x24
4 0
SeaBIOS (version 1.13.0-1ubuntu1.1)
Booting from ROM...
\x1b[2J

Question information

Language:
English Edit question
Status:
Needs information
For:
Ubuntu libguestfs Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bernard Stafford (bernard010) said :
#1
Revision history for this message
Jevin gala (whatshouldiusethen) said :
#2

Hi,

In that case, it used to shows that libkeyutils is missing but here its getting stuck.

Revision history for this message
Richard Jones (rjones-redhat) said :
#3

It's unlikely to be related to the other bug. The different error messages would be obvious.

Unfortunately this one is probably a very low-level issue with the kernel booting on qemu. These are some of the hardest problems to diagnose and fix. I would first try upgrading any of these packages to see if the problem goes away:

 * kernel
 * qemu
 * seabios

If that still doesn't fix it, what's the version of all those packages?

Revision history for this message
Richard Jones (rjones-redhat) said :
#4

You might also want to see if you're using TCG, or nested KVM, or if you have some underlying hypervisor weirdness (eg. are you using this on top of a VMware VM?)

I should note this isn't really a libguestfs problem. We're just the canary in the coalmine here. There's some issue with virtualization on the machine.

Revision history for this message
Jevin gala (whatshouldiusethen) said (last edit ):
#5

Hi,

Thank you for your response.

Its already latest as per OS default :

kernel -5.4.0-109-generic
qemu- 4.2-3ubuntu6.21
seabios- 1.13.0-1ubuntu1.1

Its not nested.
So , Ryzen 9 is creating issues here ?

Revision history for this message
Richard Jones (rjones-redhat) said :
#6

Check if nested is enabled or disabled, and then try setting it to the other setting:

https://docs.fedoraproject.org/en-US/quick-docs/using-nested-virtualization-in-kvm/

If that makes no difference, try forcing TCG:

export LIBGUESTFS_BACKEND_SETTINGS=force_tcg

and if that makes no difference, forcing KVM:

export LIBGUESTFS_BACKEND_SETTINGS=force_kvm

Revision history for this message
Jevin gala (whatshouldiusethen) said (last edit ):
#7

Hi,

Still same, ends with this all the time :

Serial Graphics Adapter 12/12/19
SGABIOS $Id$ (build@debian) Thu Dec 12 18:22:50 UTC 2019
Term: 80x24
4 0
SeaBIOS (version 1.13.0-1ubuntu1.1)
Booting from ROM...
\x1b[2J

Alarm clock

Revision history for this message
Richard Jones (rjones-redhat) said :
#8

We think we may have tracked this one down. There is a possible patch here:
https://listman.redhat.com/archives/libguestfs/2022-May/028853.html

Revision history for this message
Jevin gala (whatshouldiusethen) said :
#9

Hi,

Thank you for your update.
Is there ETA when it would be fixed and available for all ?

Revision history for this message
Richard Jones (rjones-redhat) said :
#10

It's already upstream:
https://github.com/libguestfs/libguestfs/commit/59d7e6e017b7de79bcb60e1180e15303f1e7dae8
I'd encourage you to try out the patch to see if it fixes the problem.

Can you help with this problem?

Provide an answer of your own, or ask Jevin gala for more information if necessary.

To post a message you must log in.