All of lore.kernel.org
 help / color / mirror / Atom feed
* Debuging dom0, oops while kexec
@ 2013-06-21 12:01 Daniil Cherednik
  2013-06-21 12:32 ` Andrew Cooper
  2013-06-21 13:30 ` David Vrabel
  0 siblings, 2 replies; 3+ messages in thread
From: Daniil Cherednik @ 2013-06-21 12:01 UTC (permalink / raw)
  To: xen-devel

Hello!

We use ubuntu 12.04 on dom0 xen-4.1, linux-3.5
We have some issue with our hardware driver, and I need to get dom0 
coredump. But when I was trying to configure kdump it was unsuccessful 
and I used kexec -l ... to diagnostic the issue I got oops like 
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1807
Also I noticed recently it was discussing about implementation kexec 
mechanism in hypervisor without involving dom0 kernel...
So I will be grateful if someone can take me any advises about using 
kexec with xen and about bug1807

Best regards,
Daniil Cherednik

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

* Re: Debuging dom0, oops while kexec
  2013-06-21 12:01 Debuging dom0, oops while kexec Daniil Cherednik
@ 2013-06-21 12:32 ` Andrew Cooper
  2013-06-21 13:30 ` David Vrabel
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Cooper @ 2013-06-21 12:32 UTC (permalink / raw)
  To: Daniil Cherednik; +Cc: xen-devel

On 21/06/13 13:01, Daniil Cherednik wrote:
> Hello!
>
> We use ubuntu 12.04 on dom0 xen-4.1, linux-3.5
> We have some issue with our hardware driver, and I need to get dom0
> coredump. But when I was trying to configure kdump it was unsuccessful
> and I used kexec -l ... to diagnostic the issue I got oops like
> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1807
> Also I noticed recently it was discussing about implementation kexec
> mechanism in hypervisor without involving dom0 kernel...
> So I will be grateful if someone can take me any advises about using
> kexec with xen and about bug1807
>
> Best regards,
> Daniil Cherednik

First of all, you want -p for a crash kernel, not -l (which is a load
kernel).

That link shows a linux-3.5 bug.  At a guess machine_kexec_prepare is
not suitably sanitising some pointers before trying to use them.

There are patch series for Xen (and libxc) and kexec tools.  The Xen
patch series is being deferred until Xen 4.4 development starts.  The
kexec tools series also needs to wait until the libxc patches are available.

The slight problem with this approach is that you need to patch the
kernel to unconditionally issue a kexec hypercall as it no longer knows
whether a crash image has been loaded or not.

~Andrew

>
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

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

* Re: Debuging dom0, oops while kexec
  2013-06-21 12:01 Debuging dom0, oops while kexec Daniil Cherednik
  2013-06-21 12:32 ` Andrew Cooper
@ 2013-06-21 13:30 ` David Vrabel
  1 sibling, 0 replies; 3+ messages in thread
From: David Vrabel @ 2013-06-21 13:30 UTC (permalink / raw)
  To: Daniil Cherednik; +Cc: xen-devel

On 21/06/13 13:01, Daniil Cherednik wrote:
> Hello!
> 
> We use ubuntu 12.04 on dom0 xen-4.1, linux-3.5
> We have some issue with our hardware driver, and I need to get dom0
> coredump. But when I was trying to configure kdump it was unsuccessful

This is expected -- kexec from a Xen guest is not supported by upstream
Linux.

> and I used kexec -l ... to diagnostic the issue I got oops like
> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1807

Is it really like that one?  That oops dates back to a 2.6.32 kernel.

> Also I noticed recently it was discussing about implementation kexec
> mechanism in hypervisor without involving dom0 kernel...

Yes there is.  See the list archives.  Note that there are some bugs in
the latest version that was posted and I haven't yet had time to post an
updated patch series.

David

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

end of thread, other threads:[~2013-06-21 13:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-21 12:01 Debuging dom0, oops while kexec Daniil Cherednik
2013-06-21 12:32 ` Andrew Cooper
2013-06-21 13:30 ` David Vrabel

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.