From: Alexey Kardashevskiy <aik@ozlabs.ru>
To: "Cédric Le Goater" <clg@kaod.org>,
"David Gibson" <david@gibson.dropbear.id.au>
Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [PULL SUBSYSTEM qemu-pseries] pseries: Update SLOF firmware image
Date: Wed, 19 Feb 2020 12:20:18 +1100 [thread overview]
Message-ID: <4914aaf9-18e9-54e7-c71c-d2aeb9b573f4@ozlabs.ru> (raw)
In-Reply-To: <74ccc95e-d4bb-e540-5d63-ab057c504806@kaod.org>
On 18/02/2020 23:59, Cédric Le Goater wrote:
> On 2/18/20 1:48 PM, Cédric Le Goater wrote:
>> On 2/18/20 10:40 AM, Cédric 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édric Le Goater wrote:
>>>>>> On 2/18/20 1:30 AM, Alexey Kardashevskiy wrote:
>>>>>>>
>>>>>>>
>>>>>>> On 17/02/2020 20:48, Cédric Le Goater wrote:
>>>>>>>> On 2/17/20 3:12 AM, Alexey Kardashevskiy wrote:
>>>>>>>>> The following changes since commit 05943fb4ca41f626078014c0327781815c6584c5:
>>>>>>>>>
>>>>>>>>> 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 ea9a03e5aa023c5391bab5259898475d0298aac2:
>>>>>>>>>
>>>>>>>>> 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 ?
>>>>>
>>>>>
>>>>> 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 :
>>>
>>> Disk /dev/sda: 50 GiB, 53687091200 bytes, 104857600 sectors
>>> Disk model: QEMU HARDDISK
>>> Units: sectors of 1 * 512 = 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 ?
>>
>> For the failure, I bisected up to :
>>
>> 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
> but I am not forth fluent.
you basically zeroed the top bits by shifting them too far right :)
The proper fix I think is:
- 32 lshift or
+ 20 lshift or
I keep forgetting it is all in hex. Can you please give it a try? My
128GB disk does not expose this problem somehow. Thanks,
>
> "slash not found" is still there though.
>
> Cheers,
>
> C.
>
>
> From 92dc9f6dc7c6434419306d5a382adb42169b712a Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= <clg@kaod.org>
> 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=UTF-8
> Content-Transfer-Encoding: 8bit
>
> Fixes: f12149908705 ("ext2: Read all 64bit of inode number")
> Signed-off-by: Cédric Le Goater <clg@kaod.org>
> ---
> 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 drop
> ;
>
--
Alexey
next prev parent reply other threads:[~2020-02-19 1:21 UTC|newest]
Thread overview: 70+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-17 2:12 [PULL SUBSYSTEM qemu-pseries] pseries: Update SLOF firmware image Alexey Kardashevskiy
2020-02-17 2:31 ` David Gibson
2020-02-17 9:26 ` Philippe Mathieu-Daudé
2020-02-17 10:24 ` Philippe Mathieu-Daudé
2020-02-17 22:46 ` David Gibson
2020-02-18 5:48 ` Philippe Mathieu-Daudé
2020-02-18 23:09 ` David Gibson
2020-02-21 4:09 ` Alexey Kardashevskiy
2020-02-21 5:43 ` David Gibson
2020-02-18 0:32 ` Alexey Kardashevskiy
2020-02-17 9:48 ` Cédric Le Goater
2020-02-18 0:30 ` Alexey Kardashevskiy
2020-02-18 7:12 ` Cédric Le Goater
2020-02-18 9:05 ` Alexey Kardashevskiy
2020-02-18 9:10 ` Alexey Kardashevskiy
2020-02-18 9:40 ` Cédric Le Goater
2020-02-18 12:48 ` Cédric Le Goater
2020-02-18 12:59 ` Cédric Le Goater
2020-02-18 23:10 ` David Gibson
2020-02-19 1:20 ` Alexey Kardashevskiy [this message]
2020-02-19 6:44 ` Alexey Kardashevskiy
2020-02-19 7:18 ` Cédric Le Goater
2020-02-20 1:50 ` Alexey Kardashevskiy
2020-02-20 7:31 ` Cédric Le Goater
-- strict thread matches above, loose matches on Subject: below --
2024-11-06 4:57 Alexey Kardashevskiy
2024-11-06 4:59 ` Alexey Kardashevskiy
2023-11-21 8:28 Alexey Kardashevskiy
2023-09-18 10:09 Alexey Kardashevskiy
2022-07-19 7:59 Alexey Kardashevskiy
2022-07-19 8:00 ` Alexey Kardashevskiy
2022-07-20 16:08 ` Daniel Henrique Barboza
2022-07-21 8:14 ` Alexey Kardashevskiy
2022-07-21 8:48 ` Peter Maydell
2022-07-21 9:03 ` Alexey Kardashevskiy
2022-07-22 0:35 ` Stefan Hajnoczi
2022-07-21 18:40 ` Stefan Hajnoczi
2022-07-21 18:51 ` Peter Maydell
2022-07-21 22:30 ` Stefan Hajnoczi
2022-01-10 5:04 Alexey Kardashevskiy
2022-01-10 6:50 ` Cédric Le Goater
2022-01-12 11:38 ` Cédric Le Goater
2022-07-19 4:55 ` Alexey Kardashevskiy
2021-11-14 0:51 Alexey Kardashevskiy
2021-11-16 16:46 ` Cédric Le Goater
2021-11-16 17:12 ` Philippe Mathieu-Daudé
2021-11-16 17:28 ` Richard Henderson
2021-11-16 17:30 ` Cédric Le Goater
2021-11-16 17:57 ` Philippe Mathieu-Daudé
2021-11-16 17:59 ` Cédric Le Goater
2021-11-16 22:48 ` Alexey Kardashevskiy
2021-11-17 8:39 ` Richard Henderson
2021-11-17 8:49 ` Cédric Le Goater
2021-11-17 11:43 ` Alexey Kardashevskiy
2021-11-17 12:01 ` Philippe Mathieu-Daudé
2021-11-18 14:42 ` Cédric Le Goater
2021-07-11 14:10 Alexey Kardashevskiy
2021-02-19 4:13 Alexey Kardashevskiy
2021-02-22 6:07 ` David Gibson
2020-07-17 3:27 Alexey Kardashevskiy
2020-07-17 5:47 ` David Gibson
2020-05-13 2:43 Alexey Kardashevskiy
2020-06-02 11:39 ` Alexey Kardashevskiy
2020-03-27 3:02 Alexey Kardashevskiy
2020-03-16 23:33 Alexey Kardashevskiy
2020-03-17 1:11 ` David Gibson
2020-03-12 4:10 Alexey Kardashevskiy
2020-02-21 3:52 Alexey Kardashevskiy
2020-02-21 3:56 ` Alexey Kardashevskiy
2019-12-17 0:35 Alexey Kardashevskiy
2019-12-09 1:13 Alexey Kardashevskiy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4914aaf9-18e9-54e7-c71c-d2aeb9b573f4@ozlabs.ru \
--to=aik@ozlabs.ru \
--cc=clg@kaod.org \
--cc=david@gibson.dropbear.id.au \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).