[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5d6222a80807281134r6f7ed626m21be399bbc0ca4a3@mail.gmail.com>
Date: Mon, 28 Jul 2008 15:34:31 -0300
From: "Glauber Costa" <glommer@...il.com>
To: "Vegard Nossum" <vegard.nossum@...il.com>
Cc: "Thomas Gleixner" <tglx@...utronix.de>,
"Dmitry Adamushko" <dmitry.adamushko@...il.com>,
lkml <linux-kernel@...r.kernel.org>,
"Thomas Meyer" <thomas@...3r.de>,
"the arch/x86 maintainers" <x86@...nel.org>
Subject: Re: -git: BUG: unable to handle kernel paging request at c0100248 [CPU hotplug]
On Sun, Jul 27, 2008 at 4:40 PM, Vegard Nossum <vegard.nossum@...il.com> wrote:
> On Sun, Jul 27, 2008 at 9:35 PM, Vegard Nossum <vegard.nossum@...il.com> wrote:
>> On Sun, Jul 27, 2008 at 9:23 PM, Thomas Gleixner <tglx@...utronix.de> wrote:
>>> On Sun, 27 Jul 2008, Vegard Nossum wrote:
>>>> Booting processor 1/1 ip 6000
>>>> Initializing CPU#1
>>>> [...]
>>>> Write protecting the kernel text: 5648k
>>>>
>>>> So it succeeds because the protection happens much later :-)
>>>
>>> Patch below fixes the issue. I get it to Linus ASAP.
>>
>> Nice :)
Just saw this one. Thanks for the quick fix! ;-)
>> [...]
>>
>>> +.section .cpuinit.data,"wa"
>>> +.align 4
>>> +ENTRY(initial_code)
>>> + .long i386_start_kernel
>>> +
>>> .section .text
>>> /*
>>> * Real beginning of normal "text" segment
>>>
>>
>> Hm, isn't there some kind of "section stack" that can be used to
>> restore the previous section? .pushsection/.popsection directives?
>
> Oh, never mind :-)
>
> (Sorry for the noise.)
>
>
> Vegard
>
> --
> "The animistic metaphor of the bug that maliciously sneaked in while
> the programmer was not looking is intellectually dishonest as it
> disguises that the error is the programmer's own creation."
> -- E. W. Dijkstra, EWD1036
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
Glauber Costa.
"Free as in Freedom"
http://glommer.net
"The less confident you are, the more serious you have to act."
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists