You are not logged in.

#1 2024-09-13 16:43:35

Akusari
Member
Registered: 2019-02-26
Posts: 25

QEMU 9.1.0: Firmware bugs

Since i upgraded from Qemu 9.0.2-1 to 9.1.0-2 i'm getting on all Linux guests these kind of error messages:

Sep 12 15:55:53 debian-webserver kernel: mce: [Firmware Bug]: Your BIOS is not setting up LVT offset 0x2 for deferred error IRQs correctly.
Sep 12 15:55:53 debian-webserver kernel: [Firmware Bug]: cpu 0, try to use APIC520 (LVT offset 2) for vector 0xf4, but the register is already in use for vector 0x0 on this cpu
Sep 12 15:55:53 debian-webserver kernel: mce: [Firmware Bug]: Your BIOS is not setting up LVT offset 0x2 for deferred error IRQs correctly.
Sep 12 15:55:53 debian-webserver kernel: [Firmware Bug]: cpu 1, try to use APIC520 (LVT offset 2) for vector 0xf4, but the register is already in use for vector 0x0 on this cpu

All virtual machines running fine so far to be honest. After a downgrade to preveous version 9.0.2-1 all error messages disapear.
Before i start to do something i like to ask whether anyone else has the same experiences ?

Regards
Akusari

Last edited by Akusari (2024-09-13 16:44:16)


black listed users: seth WorMzy
Please stay away from this thread - Thanks. smile

Offline

#2 2024-09-13 23:09:00

Toolybird
Member
Registered: 2017-09-30
Posts: 76

Re: QEMU 9.1.0: Firmware bugs

> anyone else has the same experiences ?

Yes, I noticed the same thing.

Offline

#3 2024-09-14 01:50:04

Toolybird
Member
Registered: 2017-09-30
Posts: 76

Re: QEMU 9.1.0: Firmware bugs

2ba8b7ee63589d4063c3b8dff3b70dbf9e224fc6 is the first bad commit
commit 2ba8b7ee63589d4063c3b8dff3b70dbf9e224fc6
Author: John Allen <john.allen@amd.com>
Date:   Mon Jun 3 19:36:21 2024 +0000

    i386: Add support for SUCCOR feature
    
    Add cpuid bit definition for the SUCCOR feature. This cpuid bit is required to
    be exposed to guests to allow them to handle machine check exceptions on AMD
    hosts.
    
    ----
    v2:
      - Add "succor" feature word.
      - Add case to kvm_arch_get_supported_cpuid for the SUCCOR feature.
    
    Reported-by: William Roche <william.roche@oracle.com>
    Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
    Signed-off-by: John Allen <john.allen@amd.com>
    Message-ID: <20240603193622.47156-3-john.allen@amd.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

 target/i386/cpu.c     | 18 +++++++++++++++++-
 target/i386/cpu.h     |  4 ++++
 target/i386/kvm/kvm.c |  2 ++
 3 files changed, 23 insertions(+), 1 deletion(-)

Offline

#4 2024-09-14 02:40:56

Toolybird
Member
Registered: 2017-09-30
Posts: 76

Offline

#5 2024-09-14 09:42:57

Akusari
Member
Registered: 2019-02-26
Posts: 25

Re: QEMU 9.1.0: Firmware bugs

Great job man!  Thank you very much for your efforts. :-)

More or less perfectly and i saved a lot of time for searching the rights commits. I would have done the same steps.
I have already commented on the ticket. 

Regards,
Akusari


black listed users: seth WorMzy
Please stay away from this thread - Thanks. smile

Offline

#6 2024-10-22 00:18:46

Akusari
Member
Registered: 2019-02-26
Posts: 25

Re: QEMU 9.1.0: Firmware bugs

BTW: It looks like it's not fixed with version 9.1.1. :-(

However, for some reasons i still on version 9.0.x branch at the moment.
I build version 9.0.3 for myself and if someone want to use it as well  you can download it here: http://akusari.ddns.net:12516/arch/akusari/os/x86_64/

Be aware it's build with x86-64-v3 option.

Cheers
Akusari


black listed users: seth WorMzy
Please stay away from this thread - Thanks. smile

Offline

Board footer

Powered by FluxBB