From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 930ADC433ED for ; Mon, 19 Apr 2021 12:28:58 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0806A6101E for ; Mon, 19 Apr 2021 12:28:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0806A6101E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:56354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYT1M-0004mp-Np for qemu-devel@archiver.kernel.org; Mon, 19 Apr 2021 08:28:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYT00-0004KN-5o for qemu-devel@nongnu.org; Mon, 19 Apr 2021 08:27:32 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:29266) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYSzw-0000av-FD for qemu-devel@nongnu.org; Mon, 19 Apr 2021 08:27:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618835247; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OxZ9NiM6/wuS6fXBpgVtJfS/258XO3FgDAzJBjMUX2M=; b=BH4rtaHHm+j9v+X5j8a7ehMbb7BQfGLRobhnra5lnnKUbw/5VhM/WjV/FuDmnTgtjTc6BN sKoR2SPQqHLr+g8xd7u2/H7AxjR5JK3W5WVVlgUVmdI/768RrU4PnDHAElmpnMCh2Bg/O1 ws0e+bztjq0OqFerMhm9dDZYuhkp0/Y= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-131-Ql_b3zF2Px6W5yK2zqQgJw-1; Mon, 19 Apr 2021 08:27:23 -0400 X-MC-Unique: Ql_b3zF2Px6W5yK2zqQgJw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 42B8F87DAC3; Mon, 19 Apr 2021 12:27:22 +0000 (UTC) Received: from localhost (unknown [10.40.208.10]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4BC5F5D9C0; Mon, 19 Apr 2021 12:27:20 +0000 (UTC) Date: Mon, 19 Apr 2021 14:27:19 +0200 From: Igor Mammedov To: Ed Davison <1923497@bugs.launchpad.net> Subject: Re: [Bug 1923497] Re: bios_linker_loader_add_checksum: Assertion `start_offset < file->blob->len' failed Message-ID: <20210419142719.226ddb77@redhat.com> In-Reply-To: <161842923676.15588.10923516048871617719.malone@chaenomeles.canonical.com> References: <161825934506.9582.2393035423485633300.malonedeb@chaenomeles.canonical.com> <161842923676.15588.10923516048871617719.malone@chaenomeles.canonical.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=imammedo@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=216.205.24.124; envelope-from=imammedo@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Wed, 14 Apr 2021 19:40:36 -0000 Ed Davison <1923497@bugs.launchpad.net> wrote: > The patch may be a bit beyond me at the moment as I use a package to > install this and would have to figure out how to download source, get it > configure, patched and compiled. Whew! Maybe ... > > But here is my XML config file. > > ** Attachment added: "domain xml file" > https://bugs.launchpad.net/qemu/+bug/1923497/+attachment/5487970/+files/win10-virt-domain.xml > I don't see anything in this config that could trigger the assert. (RAM size is 2Kb off 4Gb, but that's probably not the issue) Can you provide a stack trace, it should help to find out which path triggers assert. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 00DB9C433ED for ; Mon, 19 Apr 2021 12:37:24 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3D5A860FEF for ; Mon, 19 Apr 2021 12:37:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3D5A860FEF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bugs.launchpad.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:39600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYT9W-0001OX-9l for qemu-devel@archiver.kernel.org; Mon, 19 Apr 2021 08:37:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYT82-0000T5-AD for qemu-devel@nongnu.org; Mon, 19 Apr 2021 08:35:50 -0400 Received: from indium.canonical.com ([91.189.90.7]:35596) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYT7z-0005B3-V4 for qemu-devel@nongnu.org; Mon, 19 Apr 2021 08:35:50 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1lYT7x-0002Q2-EU for ; Mon, 19 Apr 2021 12:35:45 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 6C2AE2E8085 for ; Mon, 19 Apr 2021 12:35:45 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 19 Apr 2021 12:27:19 -0000 From: Igor <1923497@bugs.launchpad.net> To: qemu-devel@nongnu.org X-Launchpad-Notification-Type: bug X-Launchpad-Bug: product=qemu; status=New; importance=Undecided; assignee=None; X-Launchpad-Bug-Information-Type: Public X-Launchpad-Bug-Private: no X-Launchpad-Bug-Security-Vulnerability: no X-Launchpad-Bug-Commenters: ebdavison imammedo X-Launchpad-Bug-Reporter: Ed Davison (ebdavison) X-Launchpad-Bug-Modifier: Igor (imammedo) References: <161825934506.9582.2393035423485633300.malonedeb@chaenomeles.canonical.com> <161842923676.15588.10923516048871617719.malone@chaenomeles.canonical.com> Message-ID: <20210419142719.226ddb77@redhat.com> Subject: Re: [Bug 1923497] Re: bios_linker_loader_add_checksum: Assertion `start_offset < file->blob->len' failed X-Launchpad-Message-Rationale: Subscriber (QEMU) @qemu-devel-ml X-Launchpad-Message-For: qemu-devel-ml Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="26785e5a6adccabf68a42300ea7053912615013e"; Instance="production" X-Launchpad-Hash: 40df3fbb661c254b223963e058890eb3149c8d4f Received-SPF: none client-ip=91.189.90.7; envelope-from=bounces@canonical.com; helo=indium.canonical.com X-Spam_score_int: -65 X-Spam_score: -6.6 X-Spam_bar: ------ X-Spam_report: (-6.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bug 1923497 <1923497@bugs.launchpad.net> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Message-ID: <20210419122719.ku_uVyyWLGVcfMJUMzsExpt7-uvOizJjNOlAsN6Pq70@z> On Wed, 14 Apr 2021 19:40:36 -0000 Ed Davison <1923497@bugs.launchpad.net> wrote: > The patch may be a bit beyond me at the moment as I use a package to > install this and would have to figure out how to download source, get it > configure, patched and compiled. Whew! Maybe ... > = > But here is my XML config file. > = > ** Attachment added: "domain xml file" > https://bugs.launchpad.net/qemu/+bug/1923497/+attachment/5487970/+file= s/win10-virt-domain.xml > = I don't see anything in this config that could trigger the assert. (RAM size is 2Kb off 4Gb, but that's probably not the issue) Can you provide a stack trace, it should help to find out which path triggers assert. -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1923497 Title: bios_linker_loader_add_checksum: Assertion `start_offset < file->blob->len' failed Status in QEMU: New Bug description: Trying boot/start a Windows 10 VM. Worked until recently when this error started showing up. I have the following installed on Fedora 33: qemu-kvm-5.1.0-9.fc33.x86_64 This is the error: Error starting domain: internal error: process exited while connecting to monitor: qemu-system-x86_64: /builddir/build/BUILD/qemu-5.1.0/hw/acpi/bios-linker-loader.c:239: bios_linker_loader_add_checksum: Assertion `start_offset < file->blob->len' failed. Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 65, in cb_= wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/asyncjob.py", line 101, in tm= pcb callback(*args, **kwargs) File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", lin= e 57, in newfn ret =3D fn(self, *args, **kwargs) File "/usr/share/virt-manager/virtManager/object/domain.py", line 1329,= in startup self._backend.create() File "/usr/lib64/python3.9/site-packages/libvirt.py", line 1234, in cre= ate if ret =3D=3D -1: raise libvirtError ('virDomainCreate() failed', dom= =3Dself) libvirt.libvirtError: internal error: process exited while connecting to = monitor: qemu-system-x86_64: /builddir/build/BUILD/qemu-5.1.0/hw/acpi/bios-= linker-loader.c:239: bios_linker_loader_add_checksum: Assertion `start_offs= et < file->blob->len' failed. I see this were referenced in a patch from some time ago and supposedly fixed. Here is the patch info I was able to find: http://next.patchew.org/QEMU/1515677902-23436-1-git-send-email- peter.maydell@linaro.org/1515677902-23436-10-git-send-email- peter.maydell@linaro.org/ To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1923497/+subscriptions