Kernel panic with (Kernel-2.6.27/Xenomai -2.4.6)
Hello,
I have compiled and installed linux kernel 2.6.27 in a fedora distro running in Virtualbox. Everything worked fine.
After that, I patched the kernel using xenomai-2.4.6 script "prepare-kernel.sh". So, the adeos patch used was adeos-ipie-2.6.27-x86-2.1-01.patch. No problem.
Then I have configured the newly patched kernel for activate xenomai and nucleus (find the .config file in attachment). I compiled the kernel. No error, no problem.
But when I boot the patched kernel, it produces a panic, apparently in xeno_sys_init (look at the screen copy of vitualbox).
Any clue ?
Sebastien DI MERCURIO
_____
Sébastien DI MERCURIO
DGEI - Bureau 108 - 1er étage
Institut National des Sciences Appliquées
135 Avenue de Rangueil, 31077, Toulouse cedex 4
Tel: 05 61 55 98 34
Quoted 8 lines · Sebastien DI MERCURIO
Hello,
I have compiled and installed linux kernel 2.6.27 in a fedora distro running in Virtualbox. Everything worked fine.
After that, I patched the kernel using xenomai-2.4.6 script "prepare-kernel.sh". So, the adeos patch used was adeos-ipie-2.6.27-x86-2.1-01.patch. No problem.
Quoted 6 lines
Then I have configured the newly patched kernel for activate xenomai and nucleus (find the .config file in attachment). I compiled the kernel. No error, no problem.
But when I boot the patched kernel, it produces a panic, apparently in
xeno_sys_init(look at the screen copy of vitualbox).
Do you have the same error if you boot this kernel on a real machine ?
Signature · 1 line
Gilles.
Sorry for the delay.
It seems it was a problem specific to VirtualBox. The same kernel works fine on a real machine.
Thanks for your help
-----Message d'origine-----
De : Gilles Chanteperdrix [mailto:[email protected] Envoyé : mercredi 28 janvier 2009 17:07
À : Sebastien DI MERCURIO
Cc : [email protected]
Objet : Re: [Xenomai-help] TR: Kernel panic with (Kernel-2.6.27/Xenomai -2.4.6)
Quoted 8 lines · Sebastien DI MERCURIO
Hello,
I have compiled and installed linux kernel 2.6.27 in a fedora distro running in Virtualbox. Everything worked fine.
After that, I patched the kernel using xenomai-2.4.6 script "prepare-kernel.sh". So, the adeos patch used was adeos-ipie-2.6.27-x86-2.1-01.patch. No problem.
Quoted 6 lines
Then I have configured the newly patched kernel for activate xenomai and nucleus (find the .config file in attachment). I compiled the kernel. No error, no problem.
But when I boot the patched kernel, it produces a panic, apparently in
xeno_sys_init(look at the screen copy of vitualbox).
Do you have the same error if you boot this kernel on a real machine ?
Signature · 1 line
Gilles.
Quoted 4 lines · Sebastien DI MERCURIO
Sorry for the delay.
It seems it was a problem specific to VirtualBox. The same kernel works fine on a real machine.
It /might/ be a problem of this VM, but often the different timing of these environments triggers races that only rarely occur on real hw. For x86, I'm doing a lot of debugging and stress testing (not latency testing, of course) under KVM. And I found no problem that was due to the VM - at least on that platform which is, granted, much more hardware-like than VirtualBox as it only uses HVM.
So, when time permits, it would be good to try catching the full trace (redirect kernel console to serial port, record output on that virtual serial port) and disassemble (objdump -dS vmlinux) the function that is reported to fail.
Thanks,
Jan
Quoted 27 lines
-----Message d'origine-----
De : Gilles Chanteperdrix [mailto:[email protected] Envoyé : mercredi 28 janvier 2009 17:07
À : Sebastien DI MERCURIO
Cc : [email protected]
Objet : Re: [Xenomai-help] TR: Kernel panic with (Kernel-2.6.27/Xenomai -2.4.6)Quoted 8 lines · Sebastien DI MERCURIO
Hello,
I have compiled and installed linux kernel 2.6.27 in a fedora distro running in Virtualbox. Everything worked fine.
After that, I patched the kernel using xenomai-2.4.6 script "prepare-kernel.sh". So, the adeos patch used was adeos-ipie-2.6.27-x86-2.1-01.patch. No problem.Quoted 6 lines
Then I have configured the newly patched kernel for activate xenomai and nucleus (find the .config file in attachment). I compiled the kernel. No error, no problem.
But when I boot the patched kernel, it produces a panic, apparently in
xeno_sys_init(look at the screen copy of vitualbox).Do you have the same error if you boot this kernel on a real machine ?
Signature · 2 lines
Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux
Quoted 5 lines · Sebastien DI MERCURIO
I have compiled and installed linux kernel 2.6.27 in a fedora distro running in Virtualbox. Everything worked fine.
After that, I patched the kernel using xenomai-2.4.6 script "prepare-kernel.sh". So, the adeos patch used was adeos-ipie-2.6.27-x86-2.1-01.patch. No problem.
Try Xenomai-2.4.6.1. This problem was fixed there.
Signature · 1 line
Sebastian