From: Gabriel C <nix.or.die@gmail.com>
To: Juergen Gross <jgross@suse.com>, Ingo Molnar <mingo@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>,
Mike Galbraith <mgalbraith@suse.de>,
LKML <linux-kernel@vger.kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
Peter Zijlstra <peterz@infradead.org>
Subject: Re: [x86-tip] RSDP changes converted i4790 box SMP -> UP
Date: Mon, 15 Jan 2018 18:22:30 +0100 [thread overview]
Message-ID: <68e10f13-cc5d-fbde-e971-5abee5ebf09e@gmail.com> (raw)
In-Reply-To: <22bf2090-4319-080c-504d-8e38a9b67af1@suse.com>
On 15.01.2018 18:04, Juergen Gross wrote:
> On 15/01/18 17:56, Gabriel C wrote:
>> On 15.01.2018 17:42, Juergen Gross wrote:
>>> On 15/01/18 17:29, Gabriel C wrote:
>>>> On 15.01.2018 16:40, Juergen Gross wrote:
>>>>> On 15/01/18 16:32, Ingo Molnar wrote:
>>>>>>
>>>>
>>>> Hi Juergen,
>>>>
>>>>>> * Juergen Gross <jgross@suse.com> wrote:
>>>>>>
>>>>>>> On 15/01/18 15:56, Borislav Petkov wrote:
>>>>>>>> On Mon, Jan 15, 2018 at 03:52:25PM +0100, Juergen Gross wrote:
>>>>>>>>> Ingo, with my finding that above boot failure is related to a
>>>>>>>>> bug in
>>>>>>>>> openSUSE's grub2 (I've verified it soesn't exist in upstream
>>>>>>>>> grub2),
>>>>>>>>
>>>>>>>> The box I'm seeing this on has SLES12-SP2 grub:
>>>>>>>>
>>>>>>>> Version : 2.02~beta2-115.9.1
>>>>>>>>
>>>>>>>> Does it have the same bug?
>>>>>>>
>>>>>>> The patch introducing this problem is from 2012. So I guess: yes.
>>>>>>
>>>>>> I suspect this makes it a widespread, unintended ABI. Can we detect
>>>>>> and somehow avoid it?
>>>>>>
>>>>>> The boot protocol ABI sucks if it's fragile against such mistakes.
>>>>>
>>>>> Well, copying sizeof(setup_header) into grub2 and then coyping back
>>>>> just
>>>>> 1024 bytes is plain wrong. It is a miracle nothing broke up to now.
>>>>>
>>>>
>>>> I'm not on SUSE and hit that too on an H11DSi-NT.
>>>> See: https://marc.info/?l=linux-kernel&m=151579540320553&w=2
>>>
>>> Where does your grub come from?
>>
>> https://github.com/frugalware/frugalware-current/tree/master/source/base/grub2
>>
>>
>>
>
> See line 409 of:
>
> https://github.com/frugalware/frugalware-current/blob/master/source/base/grub2/0019-Add-support-for-linuxefi.patch
>
> There you can see the memcpy with the wrong size back to the to be
> booted kernel...
>
I see .. however Fedora have it too , Debian also..
https://src.fedoraproject.org/rpms/grub2/blob/master/f/0083-Add-support-for-linuxefi.patch#_409
prev parent reply other threads:[~2018-01-15 17:22 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1515675936.7350.15.camel@suse.de>
[not found] ` <20180111133723.d7x3sekanz5jhut2@gmail.com>
[not found] ` <1515682631.16805.3.camel@suse.de>
[not found] ` <20180111150331.7zzkd7awdxele54b@gmail.com>
[not found] ` <20180111151044.GC6176@hirez.programming.kicks-ass.net>
[not found] ` <1515694412.7054.10.camel@suse.de>
2018-01-12 4:25 ` [x86-tip] RSDP changes converted i4790 box SMP -> UP Mike Galbraith
2018-01-12 6:40 ` Juergen Gross
2018-01-12 8:01 ` Mike Galbraith
2018-01-12 11:17 ` Juergen Gross
2018-01-12 13:00 ` Mike Galbraith
2018-01-15 14:41 ` Juergen Gross
2018-01-15 15:08 ` Mike Galbraith
2018-01-12 12:23 ` Borislav Petkov
2018-01-12 13:11 ` Ingo Molnar
2018-01-15 14:52 ` Juergen Gross
2018-01-15 14:56 ` Borislav Petkov
2018-01-15 15:18 ` Juergen Gross
2018-01-15 15:32 ` Ingo Molnar
2018-01-15 15:40 ` Juergen Gross
2018-01-15 16:29 ` Gabriel C
2018-01-15 16:42 ` Juergen Gross
2018-01-15 16:56 ` Gabriel C
2018-01-15 17:04 ` Juergen Gross
2018-01-15 17:22 ` Gabriel C [this message]
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=68e10f13-cc5d-fbde-e971-5abee5ebf09e@gmail.com \
--to=nix.or.die@gmail.com \
--cc=bp@alien8.de \
--cc=jgross@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mgalbraith@suse.de \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
/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