OpenVZ Forum


Home » Mailing lists » Users » kernel-debuginfo ovz-kernel; kernel panic
kernel-debuginfo ovz-kernel; kernel panic [message #42245] Fri, 25 March 2011 12:00 Go to next message
paix is currently offline  paix
Messages: 8
Registered: January 2009
Location: ua
Junior Member
From: *parallels.com
Hi, all.
A few questions.

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)

2.
After upgrading the server for 16G ram, I started to see a lot of kernel panics.

The hardware is desktop grade,
AMD Phenom(tm) II X4 945 Processor
MSI 770-C45
16G of mem.

OS: CentOS 5.5 with the latest openvz kernel.

However, I've checked the mem with memtest86+, and it shows no errors.
And I've successfully got a kernel dump (with kdump), so it seems to be related to some software errors.

With 8G of mem, the server was running 1 year without any errors.

Any suggestions ?


PS. also in the messages:
kernel: amd64_edac: probe of 0000:00:18.2 failed with error -22
kernel: EDAC amd64_edac: Ver: 3.2.0 May 18 2010
kernel: EDAC amd64: This node reports that Memory ECC is currently disabled, set F3x44[22] (0000:00:18.3).
kernel: EDAC amd64: WARNING: ECC is disabled by BIOS. Module will NOT be loaded.
Re: kernel-debuginfo ovz-kernel; kernel panic [message #42248 is a reply to message #42245] Fri, 25 March 2011 15:14 Go to previous messageGo to next message
Vasily Averin is currently offline  Vasily Averin
Messages: 17
Registered: April 2008
Junior Member
From: *parallels.com
On 03/25/2011 03:00 PM, Sergej Kandyla wrote:
> Hi, all.
> A few questions.
>
> 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

> 2.
> After upgrading the server for 16G ram, I started to see a lot of kernel panics.
>
> The hardware is desktop grade, AMD Phenom(tm) II X4 945 Processor
> MSI 770-C45
> 16G of mem.
>
> OS: CentOS 5.5 with the latest openvz kernel.
>
> However, I've checked the mem with memtest86+, and it shows no errors. And I've
> successfully got a kernel dump (with kdump), so it seems to be related to some
> software errors.
>
> With 8G of mem, the server was running 1 year without any errors.
>
> Any suggestions ?

Please catch kernel panic messages and report to bugzilla.openvz.org

> PS. also in the messages:
> kernel: amd64_edac: probe of 0000:00:18.2 failed with error -22
> kernel: EDAC amd64_edac: Ver: 3.2.0 May 18 2010
> kernel: EDAC amd64: This node reports that Memory ECC is currently disabled, set
> F3x44[22] (0000:00:18.3).
> kernel: EDAC amd64: WARNING: ECC is disabled by BIOS. Module will NOT be loaded.

IMHO it isn't fatal messages, you can ignore it.

thank you,
Vasily Averin
Re: kernel-debuginfo ovz-kernel; kernel panic [message #42255 is a reply to message #42248] Sat, 26 March 2011 14:19 Go to previous message
paix is currently offline  paix
Messages: 8
Registered: January 2009
Location: ua
Junior Member
From: *parallels.com
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.r pm


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!
Previous Topic: Newbie question - trying to install openvz
Next Topic: Assign a container to a dedicated CPU core?
Goto Forum:
  


Current Time: Mon Nov 19 15:38:55 GMT 2018