All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] TR: Kernel panic with (Kernel-2.6.27/Xenomai -2.4.6)
@ 2009-01-28 16:03 Sebastien DI MERCURIO
  2009-01-28 16:07 ` Gilles Chanteperdrix
  2009-01-28 16:09 ` Sebastian Smolorz
  0 siblings, 2 replies; 5+ messages in thread
From: Sebastien DI MERCURIO @ 2009-01-28 16:03 UTC (permalink / raw)
  To: xenomai


[-- Attachment #1.1.1: Type: text/plain, Size: 823 bytes --]

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
 

[-- Attachment #1.1.2: Type: text/html, Size: 2558 bytes --]

[-- Attachment #1.2: Outlook.jpg --]
[-- Type: image/jpeg, Size: 105223 bytes --]

[-- Attachment #2: .config --]
[-- Type: application/xml, Size: 93355 bytes --]

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

* Re: [Xenomai-help] TR: Kernel panic with (Kernel-2.6.27/Xenomai -2.4.6)
  2009-01-28 16:03 [Xenomai-help] TR: Kernel panic with (Kernel-2.6.27/Xenomai -2.4.6) Sebastien DI MERCURIO
@ 2009-01-28 16:07 ` Gilles Chanteperdrix
  2009-02-02 11:32   ` Sebastien DI MERCURIO
  2009-01-28 16:09 ` Sebastian Smolorz
  1 sibling, 1 reply; 5+ messages in thread
From: Gilles Chanteperdrix @ 2009-01-28 16:07 UTC (permalink / raw)
  To: Sebastien DI MERCURIO; +Cc: xenomai

Sebastien DI MERCURIO wrote:
> 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).

Do you have the same error if you boot this kernel on a real machine ?


-- 
                                                 Gilles.


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

* Re: [Xenomai-help] TR: Kernel panic with (Kernel-2.6.27/Xenomai -2.4.6)
  2009-01-28 16:03 [Xenomai-help] TR: Kernel panic with (Kernel-2.6.27/Xenomai -2.4.6) Sebastien DI MERCURIO
  2009-01-28 16:07 ` Gilles Chanteperdrix
@ 2009-01-28 16:09 ` Sebastian Smolorz
  1 sibling, 0 replies; 5+ messages in thread
From: Sebastian Smolorz @ 2009-01-28 16:09 UTC (permalink / raw)
  To: Sebastien DI MERCURIO; +Cc: xenomai

Sebastien DI MERCURIO schrieb:
> 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.

-- 
Sebastian


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

* Re: [Xenomai-help] TR: Kernel panic with (Kernel-2.6.27/Xenomai -2.4.6)
  2009-01-28 16:07 ` Gilles Chanteperdrix
@ 2009-02-02 11:32   ` Sebastien DI MERCURIO
  2009-02-02 16:37     ` Jan Kiszka
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastien DI MERCURIO @ 2009-02-02 11:32 UTC (permalink / raw)
  To: 'Gilles Chanteperdrix'; +Cc: xenomai

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:gilles.chanteperdrix@xenomai.org
Envoyé : mercredi 28 janvier 2009 17:07
À : Sebastien DI MERCURIO
Cc : xenomai@xenomai.org
Objet : Re: [Xenomai-help] TR: Kernel panic with (Kernel-2.6.27/Xenomai
-2.4.6)

Sebastien DI MERCURIO wrote:
> 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).

Do you have the same error if you boot this kernel on a real machine ?


-- 
                                                 Gilles.



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

* Re: [Xenomai-help] TR: Kernel panic with (Kernel-2.6.27/Xenomai -2.4.6)
  2009-02-02 11:32   ` Sebastien DI MERCURIO
@ 2009-02-02 16:37     ` Jan Kiszka
  0 siblings, 0 replies; 5+ messages in thread
From: Jan Kiszka @ 2009-02-02 16:37 UTC (permalink / raw)
  To: Sebastien DI MERCURIO; +Cc: xenomai

Sebastien DI MERCURIO wrote:
> 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

> -----Message d'origine-----
> De : Gilles Chanteperdrix [mailto:gilles.chanteperdrix@xenomai.org
> Envoyé : mercredi 28 janvier 2009 17:07
> À : Sebastien DI MERCURIO
> Cc : xenomai@xenomai.org
> Objet : Re: [Xenomai-help] TR: Kernel panic with (Kernel-2.6.27/Xenomai
> -2.4.6)
> 
> Sebastien DI MERCURIO wrote:
>> 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).
> 
> Do you have the same error if you boot this kernel on a real machine ?
> 
> 

-- 
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux


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

end of thread, other threads:[~2009-02-02 16:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-28 16:03 [Xenomai-help] TR: Kernel panic with (Kernel-2.6.27/Xenomai -2.4.6) Sebastien DI MERCURIO
2009-01-28 16:07 ` Gilles Chanteperdrix
2009-02-02 11:32   ` Sebastien DI MERCURIO
2009-02-02 16:37     ` Jan Kiszka
2009-01-28 16:09 ` Sebastian Smolorz

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.