[Users] kernel-debuginfo ovz-kernel; kernel panic

Sergej Kandyla sk.paix at gmail.com
Sat Mar 26 10:19:03 EDT 2011


Vasily Averin wrote:
>> 1. Does anybody know, where I can obtain the kernel-debuginfo and
>> kernel-debuginfo-common packages for stable ovz-kernel ?
>> (2.6.18-238.5.1.el5.028stab085.2)
>
> I'm sorry, build of debuginfo packages is currently broken in spec.
> however you can rebuild kernel with default config with enabled 
> debuginfo option

Thanks for your reply.

1. First I've realized that the newest version of ovz kernel  has appeared.
And also there is an ovzkernel-debug package present.

Could you tell me,  what the package  ovzkernel-debug  means ?
Will it enough for debugging the kernel coredump  with crash utility ?


2.  Following your advice,
I've  rebuilded the kernel with the next way:

yum install auto-buildrequires gcc redhat-rpm-config
wget current_kernel_src.rpm
rpm -ivh current_kernel_src.rpm

cd /usr/src/redhat/SPECS/

set in kernel-ovz.spec:
%define _without_debuginfo 0

rpmbuild -bp kernel-ovz.spec
rpmbuild -ba --target=`uname -i` kernel-ovz.spec


And currently I have a choose what kernel version I need to install:
# ls -1 ../RPMS/x86_64/
ovzkernel-2.6.18-238.5.1.el5.028stab085.3.x86_64.rpm
ovzkernel-debug-2.6.18-238.5.1.el5.028stab085.3.x86_64.rpm
ovzkernel-devel-2.6.18-238.5.1.el5.028stab085.3.x86_64.rpm
ovzkernel-xen-2.6.18-238.5.1.el5.028stab085.3.x86_64.rpm
ovzkernel-xen-devel-2.6.18-238.5.1.el5.028stab085.3.x86_64.rpm


And I'm a little confused:

use the official  openvz builded   ovzkernel-debug  \  ovzkernel
or  install my own builded kernel  ovzkernel  or ovzkernel-debug ...


3. It's good for current versions of the kernel,  however
how I can  analize the obtained vmcores from previous kernels?
To analyze the vmcore with "crash" I  need a corresponding  mapfile for 
that kernel versions.
Or there is not a big sense to do this?

>> 2.
>> After upgrading the server for 16G ram, I started to see a lot of 
>> kernel panics.
>>
>>
> Please catch kernel panic messages and report to bugzilla.openvz.org
>
It says something like this:

RIP [<ffffffff802451ae>] rt_check_expire +0xea/0x23b
Kernel panic - not syncing: Fatal exeption

I'm not sure that this will be helpful  without  analyzing of kernel dump.


Thanks a lot!



More information about the Users mailing list