JustKernel

Ray Of Hope

debugging

braindump- memory corruption

Linux kernel 3.10 has somewhat dubious use of __GFP_WAIT which is more recent kernel has been replaced __GFP_RECLAIM and __GFP_DIRECT_RECLAIM which are more sensible . I have been debugging a customer issue where AMD GPU passhtrough for S9050 card is causing XenServer host running 3.10 kernel to crash but XenServer 7.x Tech Preview release with […]

Posted in debugging, Linux Kernel, Xen, Xen | No Comments »

Random host crash when running Xen + Braindump pvMMU.

Kernel crash call trace Apr 6 02:50:06 localhost kernel: [ 3107.388117] [] dump_stack+0x19/0x20 Apr 6 02:50:06 localhost kernel: [ 3107.388119] [] warn_slowpath_common+0x70/0xa0 Apr 6 02:50:06 localhost kernel: [ 3107.388122] [] warn_slowpath_null+0x1a/0x20 Apr 6 02:50:06 localhost kernel: [ 3107.388125] [] xen_mc_flush+0x177/0x190 Apr 6 02:50:06 localhost kernel: [ 3107.388128] [] __xen_pgd_pin+0x23c/0x290 Apr 6 02:50:06 localhost kernel: [ […]

Tags:

Posted in debugging, Xen | 2 Comments »

Thinking perspective: debugging a crash

Many times its not possible to reproduce a crash that happened in customer environment, talking specifically of kernel or hypervisor or other low level crashes. So few things to keep in mind: 1) Analyze the log trying to find traces that can hint at what may be happening :Core dumps, debug traces 2) Thinking what […]

Posted in debugging | No Comments »