All of lore.kernel.org
 help / color / mirror / Atom feed
* Getting the kexec on panic
@ 2012-09-06  9:43 Lluís Batlle i Rossell
  2012-09-06 18:48 ` Daniel Baluta
  2012-09-06 22:06 ` Jerry Snitselaar
  0 siblings, 2 replies; 5+ messages in thread
From: Lluís Batlle i Rossell @ 2012-09-06  9:43 UTC (permalink / raw)
  To: kexec

Hello,

while I can load immediately a kernel using kexec, when I set it for panic and
crash with sysrq-c, the computer hangs.

I'm using the nvidia X driver; can it be that it stops the panic handling from
working? I don't understand why it would work with normal kexec though, if it
were the case.

Regards,
Lluís.

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Getting the kexec on panic
  2012-09-06  9:43 Getting the kexec on panic Lluís Batlle i Rossell
@ 2012-09-06 18:48 ` Daniel Baluta
  2012-09-06 22:06 ` Jerry Snitselaar
  1 sibling, 0 replies; 5+ messages in thread
From: Daniel Baluta @ 2012-09-06 18:48 UTC (permalink / raw)
  To: Lluís Batlle i Rossell; +Cc: kexec

On Thu, Sep 6, 2012 at 12:43 PM, Lluís Batlle i Rossell
<viric@viric.name> wrote:
> Hello,
>
> while I can load immediately a kernel using kexec, when I set it for panic and
> crash with sysrq-c, the computer hangs.
>
> I'm using the nvidia X driver; can it be that it stops the panic handling from
> working? I don't understand why it would work with normal kexec though, if it
> were the case.

Hello,

Did you setup a kernel for load on panic? Can you paste the output for
# cat /proc/cmdline ?

thanks,
Daniel.

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Getting the kexec on panic
  2012-09-06  9:43 Getting the kexec on panic Lluís Batlle i Rossell
  2012-09-06 18:48 ` Daniel Baluta
@ 2012-09-06 22:06 ` Jerry Snitselaar
  2012-09-07  9:34   ` Dave Young
  1 sibling, 1 reply; 5+ messages in thread
From: Jerry Snitselaar @ 2012-09-06 22:06 UTC (permalink / raw)
  To: Lluís Batlle i Rossell; +Cc: kexec

On Thu Sep 06 12, Lluís Batlle i Rossell wrote:
> Hello,
> 
> while I can load immediately a kernel using kexec, when I set it for panic and
> crash with sysrq-c, the computer hangs.
> 
> I'm using the nvidia X driver; can it be that it stops the panic handling from
> working? I don't understand why it would work with normal kexec though, if it
> were the case.
> 
> Regards,
> Lluís.

Hi Lluis,


What kernel are you using? The commit 722bc6b "x86/mm: Fix the size calculation of mapping tables" which started showing up in 3.5-rc1 causes problems for the crash kernel. You might try this patchset[1] from Jacob Shin and see if it resolves the problem for you if you are experiencing your problem on a 3.5-rc1+ kernel.

[1] https://lkml.org/lkml/2012/8/24/474

Regards,
Jerry

> 
> _______________________________________________
> kexec mailing list
> kexec@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Getting the kexec on panic
  2012-09-06 22:06 ` Jerry Snitselaar
@ 2012-09-07  9:34   ` Dave Young
  2012-09-07  9:41     ` Lluís Batlle i Rossell
  0 siblings, 1 reply; 5+ messages in thread
From: Dave Young @ 2012-09-07  9:34 UTC (permalink / raw)
  To: Lluís Batlle i Rossell, kexec

On 09/07/2012 06:06 AM, Jerry Snitselaar wrote:

> On Thu Sep 06 12, Lluís Batlle i Rossell wrote:
>> Hello,
>>
>> while I can load immediately a kernel using kexec, when I set it for panic and
>> crash with sysrq-c, the computer hangs.
>>
>> I'm using the nvidia X driver; can it be that it stops the panic handling from
>> working? I don't understand why it would work with normal kexec though, if it
>> were the case.
>>
>> Regards,
>> Lluís.
> 
> Hi Lluis,
> 
> 
> What kernel are you using? The commit 722bc6b "x86/mm: Fix the size calculation of mapping tables" which started showing up in 3.5-rc1 causes problems for the crash kernel. You might try this patchset[1] from Jacob Shin and see if it resolves the problem for you if you are experiencing your problem on a 3.5-rc1+ kernel.
> 
> [1] https://lkml.org/lkml/2012/8/24/474


He has updated the v5 patch set as below:
https://lkml.org/lkml/2012/8/29/227

> 
> Regards,
> Jerry
> 
>>
>> _______________________________________________
>> kexec mailing list
>> kexec@lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/kexec
> 
> _______________________________________________
> kexec mailing list
> kexec@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec



-- 
Thanks
Dave

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Getting the kexec on panic
  2012-09-07  9:34   ` Dave Young
@ 2012-09-07  9:41     ` Lluís Batlle i Rossell
  0 siblings, 0 replies; 5+ messages in thread
From: Lluís Batlle i Rossell @ 2012-09-07  9:41 UTC (permalink / raw)
  To: Dave Young; +Cc: kexec

On Fri, Sep 07, 2012 at 05:34:33PM +0800, Dave Young wrote:
> On 09/07/2012 06:06 AM, Jerry Snitselaar wrote:
> 
> > On Thu Sep 06 12, Lluís Batlle i Rossell wrote:
> >> Hello,
> >>
> >> while I can load immediately a kernel using kexec, when I set it for panic and
> >> crash with sysrq-c, the computer hangs.
> >>
> >> I'm using the nvidia X driver; can it be that it stops the panic handling from
> >> working? I don't understand why it would work with normal kexec though, if it
> >> were the case.
> >>
> >> Regards,
> >> Lluís.
> > 
> > Hi Lluis,
> > 
> > 
> > What kernel are you using? The commit 722bc6b "x86/mm: Fix the size calculation of mapping tables" which started showing up in 3.5-rc1 causes problems for the crash kernel. You might try this patchset[1] from Jacob Shin and see if it resolves the problem for you if you are experiencing your problem on a 3.5-rc1+ kernel.
> > 
> > [1] https://lkml.org/lkml/2012/8/24/474
> 
> 
> He has updated the v5 patch set as below:
> https://lkml.org/lkml/2012/8/29/227

I was in 3.5.2 when I tried. Ok, I see these are very recent... I may prepare a
build including that.

Thank you!
Lluís.

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-09-07  9:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-06  9:43 Getting the kexec on panic Lluís Batlle i Rossell
2012-09-06 18:48 ` Daniel Baluta
2012-09-06 22:06 ` Jerry Snitselaar
2012-09-07  9:34   ` Dave Young
2012-09-07  9:41     ` Lluís Batlle i Rossell

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.