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 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 7E290C433B4 for ; Wed, 14 Apr 2021 08:50:41 +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 D94B261153 for ; Wed, 14 Apr 2021 08:50:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D94B261153 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]:46850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWbEJ-0003lJ-8K for qemu-devel@archiver.kernel.org; Wed, 14 Apr 2021 04:50:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWbD6-000387-Ee for qemu-devel@nongnu.org; Wed, 14 Apr 2021 04:49:21 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:28164) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWbD4-0005cE-5n for qemu-devel@nongnu.org; Wed, 14 Apr 2021 04:49:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618390157; 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=KMOWooV4fSw52uLEdPFdPHOP6YogRvE96ZXrnN0k2ko=; b=Sz7Lglu+K8UilMW5a2q5d747UUiGCB0p+PHyMzV0+wpL88uPFaXCkMvL5dcY0vPWKd7ERc D9KsmRt6a07yEUq3+cY9xbR03RH7vy2TDUBJzZ8TN00novQlgh9nrQMMciM87sMk+hesMJ YoJypbTMRd4hqtsPACiSJeBAWNboLZQ= 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-127-wdZ193I_NKGD9tWAp-t0ww-1; Wed, 14 Apr 2021 04:49:12 -0400 X-MC-Unique: wdZ193I_NKGD9tWAp-t0ww-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 04A57192203C; Wed, 14 Apr 2021 08:49:11 +0000 (UTC) Received: from localhost (unknown [10.40.208.10]) by smtp.corp.redhat.com (Postfix) with ESMTP id 04D2B1A919; Wed, 14 Apr 2021 08:49:09 +0000 (UTC) Date: Wed, 14 Apr 2021 10:49:07 +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: <20210414104907.62985c51@redhat.com> In-Reply-To: <161834938509.17765.14119628731216209208.malone@wampee.canonical.com> References: <161825934506.9582.2393035423485633300.malonedeb@chaenomeles.canonical.com> <161834938509.17765.14119628731216209208.malone@wampee.canonical.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 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 Tue, 13 Apr 2021 21:29:45 -0000 Ed Davison <1923497@bugs.launchpad.net> wrote: > Hmmm. Well, I don't know what the command line was. I use Virtual > Machine Manager (virt-manager.org) for my interface to the VM and it > does the startup. The error shows up when I start the VM. In this case you should be able to attach domain xml. (View->Details->Overview->XML) Also try and see if the following patch helps: https://lore.kernel.org/qemu-devel/20210413160834-mutt-send-email-mst@kernel.org/T/#md70161e63276e9d5b6fd50fd835d2e62895810b8 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 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 2792CC433ED for ; Wed, 14 Apr 2021 08:57:36 +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 286D461176 for ; Wed, 14 Apr 2021 08:57:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 286D461176 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]:54722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWbL4-0007vw-9X for qemu-devel@archiver.kernel.org; Wed, 14 Apr 2021 04:57:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWbJK-00073n-3b for qemu-devel@nongnu.org; Wed, 14 Apr 2021 04:55:46 -0400 Received: from indium.canonical.com ([91.189.90.7]:37384) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lWbJH-0000ol-MZ for qemu-devel@nongnu.org; Wed, 14 Apr 2021 04:55:45 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1lWbJF-0000Kk-J7 for ; Wed, 14 Apr 2021 08:55:41 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 76A062E8162 for ; Wed, 14 Apr 2021 08:55:41 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 14 Apr 2021 08:49:07 -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> <161834938509.17765.14119628731216209208.malone@wampee.canonical.com> Message-ID: <20210414104907.62985c51@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="9327c982b35e4a485a3c716663ed8345e279c16e"; Instance="production" X-Launchpad-Hash: 83ab7519efaee6257cbc16d58550a62dc19b3b0f 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: <20210414084907.XY_ReOBci5XVJBygGf8Ocv3eXFzoa5_JaUazRH7VNZA@z> On Tue, 13 Apr 2021 21:29:45 -0000 Ed Davison <1923497@bugs.launchpad.net> wrote: > Hmmm. Well, I don't know what the command line was. I use Virtual > Machine Manager (virt-manager.org) for my interface to the VM and it > does the startup. The error shows up when I start the VM. In this case you should be able to attach domain xml. (View->Details->Overv= iew->XML) Also try and see if the following patch helps: https://lore.kernel.org/qemu-devel/20210413160834-mutt-send-email-mst@kerne= l.org/T/#md70161e63276e9d5b6fd50fd835d2e62895810b8 -- = 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