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=-18.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham 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 744D5C34026 for ; Tue, 18 Feb 2020 13:11:21 +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 4B6F5206F4 for ; Tue, 18 Feb 2020 13:11:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4B6F5206F4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kaod.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:34506 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j42em-0000rW-EY for qemu-devel@archiver.kernel.org; Tue, 18 Feb 2020 08:11:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42092) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j42Tp-0000v3-20 for qemu-devel@nongnu.org; Tue, 18 Feb 2020 08:00:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j42Tn-00005a-Or for qemu-devel@nongnu.org; Tue, 18 Feb 2020 08:00:00 -0500 Received: from 3.mo7.mail-out.ovh.net ([46.105.34.113]:48362) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j42Tn-00004s-I0 for qemu-devel@nongnu.org; Tue, 18 Feb 2020 07:59:59 -0500 Received: from player714.ha.ovh.net (unknown [10.108.54.119]) by mo7.mail-out.ovh.net (Postfix) with ESMTP id 18402152E86 for ; Tue, 18 Feb 2020 13:59:57 +0100 (CET) Received: from kaod.org (82-64-250-170.subs.proxad.net [82.64.250.170]) (Authenticated sender: clg@kaod.org) by player714.ha.ovh.net (Postfix) with ESMTPSA id 0B254F6D760F; Tue, 18 Feb 2020 12:59:44 +0000 (UTC) Subject: Re: [PULL SUBSYSTEM qemu-pseries] pseries: Update SLOF firmware image From: =?UTF-8?Q?C=c3=a9dric_Le_Goater?= To: Alexey Kardashevskiy , David Gibson References: <20200217021217.95766-1-aik@ozlabs.ru> <8e67117e-e74a-fb5c-226b-78e62ac26291@kaod.org> <44499677-3099-56c6-7249-afa8eccc7668@ozlabs.ru> <0c21bb33-e6c0-c117-c9e7-dda16d3b13a5@ozlabs.ru> <4a8261b3-3842-869c-0997-b997229ff3f6@ozlabs.ru> <20649920-f867-7193-e86e-89b42ec6ae97@kaod.org> <474f7204-fcee-ae4b-eb9a-d5d0a987c4a2@kaod.org> Message-ID: <74ccc95e-d4bb-e540-5d63-ab057c504806@kaod.org> Date: Tue, 18 Feb 2020 13:59:44 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <474f7204-fcee-ae4b-eb9a-d5d0a987c4a2@kaod.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US X-Ovh-Tracer-Id: 16126264368615295808 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrjeekgdegjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefuhffvfhfkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeevrogurhhitggpnfgvpgfiohgrthgvrhcuoegtlhhgsehkrghougdrohhrgheqnecukfhppedtrddtrddtrddtpdekvddrieegrddvhedtrddujedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpqdhouhhtpdhhvghlohepphhlrgihvghrjedugedrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpegtlhhgsehkrghougdrohhrghdprhgtphhtthhopehqvghmuhdquggvvhgvlhesnhhonhhgnhhurdhorhhg Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 46.105.34.113 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-ppc@nongnu.org, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 2/18/20 1:48 PM, C=C3=A9dric Le Goater wrote: > On 2/18/20 10:40 AM, C=C3=A9dric Le Goater wrote: >> On 2/18/20 10:10 AM, Alexey Kardashevskiy wrote: >>> >>> >>> On 18/02/2020 20:05, Alexey Kardashevskiy wrote: >>>> >>>> >>>> On 18/02/2020 18:12, C=C3=A9dric Le Goater wrote: >>>>> On 2/18/20 1:30 AM, Alexey Kardashevskiy wrote: >>>>>> >>>>>> >>>>>> On 17/02/2020 20:48, C=C3=A9dric Le Goater wrote: >>>>>>> On 2/17/20 3:12 AM, Alexey Kardashevskiy wrote: >>>>>>>> The following changes since commit 05943fb4ca41f626078014c032778= 1815c6584c5: >>>>>>>> >>>>>>>> ppc: free 'fdt' after reset the machine (2020-02-17 11:27:23 += 1100) >>>>>>>> >>>>>>>> are available in the Git repository at: >>>>>>>> >>>>>>>> git@github.com:aik/qemu.git tags/qemu-slof-20200217 >>>>>>>> >>>>>>>> for you to fetch changes up to ea9a03e5aa023c5391bab5259898475d0= 298aac2: >>>>>>>> >>>>>>>> pseries: Update SLOF firmware image (2020-02-17 13:08:59 +1100= ) >>>>>>>> >>>>>>>> ---------------------------------------------------------------- >>>>>>>> Alexey Kardashevskiy (1): >>>>>>>> pseries: Update SLOF firmware image >>>>>>>> >>>>>>>> pc-bios/README | 2 +- >>>>>>>> pc-bios/slof.bin | Bin 931032 -> 968560 bytes >>>>>>>> roms/SLOF | 2 +- >>>>>>>> 3 files changed, 2 insertions(+), 2 deletions(-) >>>>>>>> >>>>>>>> >>>>>>>> *** Note: this is not for master, this is for pseries >>>>>>>> >>>>>>> >>>>>>> Hello Alexey, >>>>>>> >>>>>>> QEMU fails to boot from disk. See below. >>>>>> >>>>>> >>>>>> It does boot mine (fedora 30, ubuntu 18.04), see below. I believe = I >>>>>> could have broken something but I need more detail. Thanks, >>>>> >>>>> fedora31 boots but not ubuntu 19.10. Could it be GRUB version 2.04 = ?=20 >>>> >>>> >>>> No, not that either: >>> >>> >>> but it might be because of power9 - I only tried power8, rsyncing the >>> image to a p9 machine now... >> >> Here is the disk :=20 >> >> Disk /dev/sda: 50 GiB, 53687091200 bytes, 104857600 sectors >> Disk model: QEMU HARDDISK =20 >> Units: sectors of 1 * 512 =3D 512 bytes >> Sector size (logical/physical): 512 bytes / 512 bytes >> I/O size (minimum/optimal): 512 bytes / 512 bytes >> Disklabel type: gpt >> Disk identifier: 27DCE458-231A-4981-9FF1-983F87C2902D >> >> Device Start End Sectors Size Type >> /dev/sda1 2048 16383 14336 7M PowerPC PReP boot >> /dev/sda2 16384 100679679 100663296 48G Linux filesystem >> /dev/sda3 100679680 104857566 4177887 2G Linux swap >> >> >> GPT ?=20 >=20 > For the failure, I bisected up to : >=20 > f12149908705 ("ext2: Read all 64bit of inode number") Here is a possible fix for it. I did some RPN on my hp28s in the past=20 but I am not forth fluent. "slash not found" is still there though.=20 Cheers, C. >From 92dc9f6dc7c6434419306d5a382adb42169b712a Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?C=3DC3=3DA9dric=3D20Le=3D20Goater?=3D Date: Tue, 18 Feb 2020 13:54:54 +0100 Subject: [PATCH] ext2: Fix 64bit inode number MIME-Version: 1.0 Content-Type: text/plain; charset=3DUTF-8 Content-Transfer-Encoding: 8bit Fixes: f12149908705 ("ext2: Read all 64bit of inode number") Signed-off-by: C=C3=A9dric Le Goater --- slof/fs/packages/ext2-files.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slof/fs/packages/ext2-files.fs b/slof/fs/packages/ext2-files= .fs index b6a7880bd88e..f1d9fdfd67e2 100644 --- a/slof/fs/packages/ext2-files.fs +++ b/slof/fs/packages/ext2-files.fs @@ -152,7 +152,7 @@ CONSTANT /ext4-ee dup 8 + l@-le \ reads bg_inode_table_lo swap 28 + l@-le \ reads bg_inode_table_hi - 32 lshift or + 32 rshift or block-size @ * \ # in group, inode table swap inode-size @ * + xlsplit seek drop inode @ inode-size @ read dro= p ; --=20 2.21.1