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 07708C433B4 for ; Tue, 13 Apr 2021 09:04:17 +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 9303C610CE for ; Tue, 13 Apr 2021 09:04:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9303C610CE 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]:45576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWExz-0002TL-MX for qemu-devel@archiver.kernel.org; Tue, 13 Apr 2021 05:04:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWExH-0001jx-F8 for qemu-devel@nongnu.org; Tue, 13 Apr 2021 05:03:31 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:54240) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWExE-0005xt-Q1 for qemu-devel@nongnu.org; Tue, 13 Apr 2021 05:03:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618304607; 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=rXiI4LsD/Fcjk5/iIYvpUD7CgcEr3pwyX3vWkVfjR4o=; b=H5YXj6LBOd59QA0lZQkd5fJVyZytQsYUAPi5hlMKo4OwU3QudHVwlcntZF8ZVlFw68TvYz whbJWmw/XGhaxIDLjOf4nLf8l4/tAAWIieVX9EDH53kTt7z5zHZvhJJ+d2IK8a0fZhwrAT v2Lbxog0t768nJGnh7vqrFXi/LltbKo= 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-126-q2gW6l3aN0-ib3YRAdc4eA-1; Tue, 13 Apr 2021 05:03:23 -0400 X-MC-Unique: q2gW6l3aN0-ib3YRAdc4eA-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9F38487A82A; Tue, 13 Apr 2021 09:03:22 +0000 (UTC) Received: from localhost (unknown [10.40.208.10]) by smtp.corp.redhat.com (Postfix) with ESMTP id DA8685C239; Tue, 13 Apr 2021 09:03:21 +0000 (UTC) Date: Tue, 13 Apr 2021 11:03:20 +0200 From: Igor Mammedov To: Ed Davison <1923497@bugs.launchpad.net> Subject: Re: [Bug 1923497] [NEW] bios_linker_loader_add_checksum: Assertion `start_offset < file->blob->len' failed Message-ID: <20210413110320.7e67c2bb@redhat.com> In-Reply-To: <161825934506.9582.2393035423485633300.malonedeb@chaenomeles.canonical.com> References: <161825934506.9582.2393035423485633300.malonedeb@chaenomeles.canonical.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 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=170.10.133.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 Mon, 12 Apr 2021 20:29:04 -0000 Ed Davison <1923497@bugs.launchpad.net> wrote: > Public bug reported: > > 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 Could you add used QEMU command line in your case? > > 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 tmpcb > callback(*args, **kwargs) > File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 57, in newfn > ret = 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 create > if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) > 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_offset < 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/ > > ** Affects: qemu > Importance: Undecided > Status: New > 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.7 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 64792C433ED for ; Tue, 13 Apr 2021 09:12: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 92A8C610CE for ; Tue, 13 Apr 2021 09:12:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 92A8C610CE 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]:53778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWF5q-0006CR-Jp for qemu-devel@archiver.kernel.org; Tue, 13 Apr 2021 05:12:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWF4P-0005cX-VM for qemu-devel@nongnu.org; Tue, 13 Apr 2021 05:10:53 -0400 Received: from indium.canonical.com ([91.189.90.7]:48954) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lWF4M-00027m-Ni for qemu-devel@nongnu.org; Tue, 13 Apr 2021 05:10:53 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1lWF4I-00055G-Ej for ; Tue, 13 Apr 2021 09:10:46 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 68EFB2E8162 for ; Tue, 13 Apr 2021 09:10:46 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 13 Apr 2021 09:03:20 -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> Message-ID: <20210413110320.7e67c2bb@redhat.com> Subject: Re: [Bug 1923497] [NEW] 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="f3c8a1aed7c0b9bc4f5601dbf2698b30e1ab66f1"; Instance="production" X-Launchpad-Hash: bfe34d1a8588c637a7a7375e3c4726e76cd2e041 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.25, 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: <20210413090320.qhqImm6hFd5ZMLS0aH2NK02_BkrmKSoNebcOVow8yl0@z> On Mon, 12 Apr 2021 20:29:04 -0000 Ed Davison <1923497@bugs.launchpad.net> wrote: > Public bug reported: > = > 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 Could you add used QEMU command line in your case? > = > 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/ > = > ** Affects: qemu > Importance: Undecided > Status: New > -- = 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