From: Eli Schwartz <eschwartz@archlinux.org>
To: grub-devel@gnu.org
Subject: Re: [PATCH] btrfs: disable zstd support for i386-pc
Date: Sun, 21 Jun 2020 14:56:20 -0400 [thread overview]
Message-ID: <6f2be4c8-e90a-d16a-1604-dacb1571cf8a@archlinux.org> (raw)
In-Reply-To: <CAJ0EP40iRcS2sL2yROYY8SHww3i7GJupao9Bh6qJc1uYNjSTtA@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 3259 bytes --]
On 6/21/20 2:26 PM, Mike Gilbert wrote:
> On Thu, Jun 11, 2020 at 6:58 PM Eli Schwartz <eschwartz@archlinux.org> wrote:
>>
>> On 11/7/19 12:08 AM, Vladimir 'phcoder' Serbinenko wrote:
>>> On Wed, 6 Nov 2019, 20:55 Michael Chang, <MChang@suse.com> wrote:
>>>
>>>> On Wed, Nov 06, 2019 at 11:15:04AM -0800, Vladimir 'phcoder' Serbinenko
>>>> wrote:
>>>>> Please don't do it this way. The right solution is to move it to separate
>>>>> module and include zstd module when needed.
>>>>
>>>> I fully agree to work out a proper solution, but before that I think it
>>>> is necessary to stop it from spread out going forward, as the running
>>>> system upgrading to new version could be affected and the consequence is
>>>> fatal - an unbootable system, qualified to be show stopper imho.
>>>>
>>> We don't do a release right now, so I don't think it's justified. Also
>>> increase in size can easily come from a compiler. If an increase in size
>>> can make system unbootable on upgrade, I'd rather be fixing this than just
>>> pepper over it.
>>
>> Given grub 2.06 is on the horizon, is it time to re-evaluate this and
>> disable something known to be badly broken?
>
> If I have read the thread correctly, this only breaks if you try to
> install grub in an undersized embedding area. This would really only
> affect new grub installs; existing ones can keep using the currently
> installed code.
"changing grub only affects people who newly run the grub-install
command" therefore it's not worth considering whether to make sure
grub-install completes without errors? I don't comprehend this logic.
Who ever suggested we care about people who aren't the target audience
of new grub versions to begin with?
But anyway this isn't true. There are valid reasons to reinstall grub on
old systems, in which case you are most likely not benefiting from zstd
support one way or another, but in this case, rerunning grub-install
destroys the working bootloader code and fails to replace.
https://bugs.archlinux.org/task/63656 our infrastructure apparently
somehow ended up mismatching core.img and /boot modules, and had to
rerun grub-install (it's not clear what happened exactly, possibly
grub-install accidentally got rerun in a broken manner?) and then this
remote server would not boot, and could not be fixed without hunting for
the right old version of grub via the rescue system, reinstalling it,
and using it to restore the boring (working) old pre-zstd bootloader
code, after a lot of painful debugging.
> I think it would be better to hold out for a real fix than to disable
> a feature for an entire platform where only a subset of configurations
> would not work.
I'm astonished that "it's better to hold out for a real fix than to
ensure users' systems actually work".
Why is the benefit of enabling zstd support in situations where it very
often breaks everything, worth more than the disadvantage of, in fact,
breaking everything? The feature was broken out of the gate, no proper
fix seems imminent, let's bandage the wound before more people get hurt.
Better to not have a hot new feature than to have it, but be unable to boot.
--
Eli Schwartz
Bug Wrangler and Trusted User
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 1601 bytes --]
next prev parent reply other threads:[~2020-06-21 18:56 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-05 9:19 [PATCH] btrfs: disable zstd support for i386-pc Michael Chang
2019-11-05 10:52 ` Paul Menzel
2019-11-07 4:22 ` Michael Chang
2019-11-06 12:40 ` David Sterba
2019-11-06 18:53 ` Nick Terrell
2019-11-07 6:34 ` Michael Chang
2019-11-06 19:15 ` Vladimir 'phcoder' Serbinenko
2019-11-07 4:55 ` Michael Chang
2019-11-07 5:08 ` Vladimir 'phcoder' Serbinenko
2019-11-07 6:59 ` Michael Chang
2020-06-11 22:58 ` Eli Schwartz
2020-06-21 18:26 ` Mike Gilbert
2020-06-21 18:56 ` Eli Schwartz [this message]
2020-06-23 1:59 ` Mike Gilbert
2020-06-23 2:16 ` Mike Gilbert
2020-06-23 6:32 ` Michael Chang
2020-06-23 17:50 ` Mike Gilbert
2019-11-07 11:52 ` Daniel Kiper
2019-11-13 11:00 ` Daniel Kiper
2019-11-14 9:53 ` Michael Chang
2019-11-15 11:42 ` Daniel Kiper
2019-11-19 8:34 ` Michael Chang
2020-03-03 16:59 ` Daniel Kiper
2020-03-04 7:58 ` Michael Chang
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=6f2be4c8-e90a-d16a-1604-dacb1571cf8a@archlinux.org \
--to=eschwartz@archlinux.org \
--cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.