From: Michael Schmitz <schmitzmic@gmail.com>
To: Martin Steigerwald <martin@lichtvoll.de>,
Christian Zigotzky <chzigotzky@xenosoft.de>,
axboe@kernel.dk
Cc: linux-m68k@vger.kernel.org,
Darren Stevens <darren@stevens-zone.net>,
mad skateman <madskateman@gmail.com>,
linux-block@vger.kernel.org,
Geert Uytterhoeven <geert@linux-m68k.org>,
"R.T.Dickinson" <rtd2@xtra.co.nz>,
linuxppc-dev <linuxppc-dev@lists.ozlabs.org>,
Christoph Hellwig <hch@lst.de>
Subject: Re: [FSL P50x0] [PASEMI] The Access to partitions on disks with an Amiga partition table doesn't work anymore after the block updates 2023-06-23
Date: Sat, 1 Jul 2023 14:05:30 +1200 [thread overview]
Message-ID: <48ded6f5-242c-a1b7-39b3-0585be4b848a@gmail.com> (raw)
In-Reply-To: <0a8cabbf-89c6-a247-dee8-c27e081b9561@gmail.com>
Hi Martin, Christian,
Am 01.07.2023 um 09:17 schrieb Michael Schmitz:
>>> By reverting my patch, you just reintroduce the old bug, which could
>>> result in mis-parsing the partition table in a way that is not
>>> detected by inane values of partition sizes as above, and as far as I
>>> recall this bug was reported because it did cause data corruption. Do
>>> I have that correct, Martin? Do you still have a copy of the
>>> problematic RDB from the old bug report around?
>>
>> It is in the first attachment of the bug report I mentioned above. The
>> bug the patch fixed.
>
> Thanks, I'll get it from there.
Confirmed the bug on that RDB block, also that my proposed patch fixes
it, at least as far as that's possible to show with a sparse image file.
Now I note that this patch will actually treat any partition block
address beyond the 31 bit limit as end of the linked list, but that's
been the behaviour of Linux RDB partitions since very early on, so I see
no reason to change that.
The RDB format description URL that appears in one of your messages from
the 2012 thread has gone dead. I'll try to find it on Wayback later. In
the meantime, I will submit a patch to fix the new bug ... We can has
out details in the inevitable review process.
Cheers,
Michael
next prev parent reply other threads:[~2023-07-01 2:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-29 4:59 [FSL P50x0] [PASEMI] The Access to partitions on disks with an Amiga partition table doesn't work anymore after the block updates 2023-06-23 Christian Zigotzky
2023-06-29 10:17 ` John Paul Adrian Glaubitz
2023-06-29 11:15 ` Christian Zigotzky
2023-06-29 20:27 ` Michael Schmitz
2023-06-30 8:35 ` Martin Steigerwald
2023-06-30 21:17 ` Michael Schmitz
2023-07-01 2:05 ` Michael Schmitz [this message]
2023-07-02 11:29 ` Martin Steigerwald
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=48ded6f5-242c-a1b7-39b3-0585be4b848a@gmail.com \
--to=schmitzmic@gmail.com \
--cc=axboe@kernel.dk \
--cc=chzigotzky@xenosoft.de \
--cc=darren@stevens-zone.net \
--cc=geert@linux-m68k.org \
--cc=hch@lst.de \
--cc=linux-block@vger.kernel.org \
--cc=linux-m68k@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=madskateman@gmail.com \
--cc=martin@lichtvoll.de \
--cc=rtd2@xtra.co.nz \
/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).