All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Random crash in Xenomai
@ 2007-08-06 13:05 Richardson, Andy
  2007-08-06 13:14 ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Richardson, Andy @ 2007-08-06 13:05 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 495 bytes --]

Dear all,
  I keep on getting random crashes when the RTDM system is used for the
first time. Looking at previous posts it may be something todo with the
/proc file system interface, is there any way to disable  /proc
interaction all together in the kernel compilation?

Thanks in advance,

Andy

Andy Richardson
Senior Engineer - Embedded Control
Siemens Traffic Controls
Sopers Lane, Poole, Dorset. BH17 7ER. UK.
Tel: 01202 782857
Fax: 01202 782545
www.siemenstraffic.com



[-- Attachment #2: Type: text/html, Size: 1383 bytes --]

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

* Re: [Xenomai-help] Random crash in Xenomai
  2007-08-06 13:05 [Xenomai-help] Random crash in Xenomai Richardson, Andy
@ 2007-08-06 13:14 ` Jan Kiszka
  2007-08-06 13:25   ` Richardson, Andy
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2007-08-06 13:14 UTC (permalink / raw)
  To: Richardson, Andy; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 701 bytes --]

Richardson, Andy wrote:
> Dear all,
>   I keep on getting random crashes when the RTDM system is used for the
> first time. Looking at previous posts it may be something todo with the
> /proc file system interface, is there any way to disable  /proc
> interaction all together in the kernel compilation?

Normally, yes (unless some other subsystem or userland depends on it):
CONFIG_PROC.

However, I would be very interested in seeing the oops dump you get (try
to capture with a serial console if the system hangs) + some information
about the versions you use. We should try to kill that gremlin first
before considering workarounds (which may only postpone the crash, BTW).

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

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

* Re: [Xenomai-help] Random crash in Xenomai
  2007-08-06 13:14 ` Jan Kiszka
@ 2007-08-06 13:25   ` Richardson, Andy
  2007-08-06 13:47     ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Richardson, Andy @ 2007-08-06 13:25 UTC (permalink / raw)
  To: jan.kiszka; +Cc: xenomai

Hi, 
 I get an AIEE, but no oops! I have disabled the xenomai RTDM device
open in my software and the problem goes away. The standard aiee
complains and "disables interrupt handler". The system then reboots. I
am using a custom PPC board with version 2.6.14 of Linux and 2.2.4 of
Xenomai. I don't seem to be able to activate Adeos debugging: I can
compile the kernel with that option enabled, but the board won't boot
when using it! Is there an option I can use to output more printk's from
Linux when booting?

Thanks in advance,


Andy

Andy Richardson
Senior Engineer - Embedded Control
Siemens Traffic Controls
Sopers Lane, Poole, Dorset. BH17 7ER. UK.
Tel: 01202 782857
Fax: 01202 782545
www.siemenstraffic.com


-----Original Message-----
From: jan.kiszka@domain.hid [mailto:jan.kiszka@domain.hid
Sent: 06 August 2007 14:15
To: Richardson, Andy
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Random crash in Xenomai

Richardson, Andy wrote:
> Dear all,
>   I keep on getting random crashes when the RTDM system is used for
the
> first time. Looking at previous posts it may be something todo with
the
> /proc file system interface, is there any way to disable  /proc
> interaction all together in the kernel compilation?

Normally, yes (unless some other subsystem or userland depends on it):
CONFIG_PROC.

However, I would be very interested in seeing the oops dump you get (try
to capture with a serial console if the system hangs) + some information
about the versions you use. We should try to kill that gremlin first
before considering workarounds (which may only postpone the crash, BTW).

Jan



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

* Re: [Xenomai-help] Random crash in Xenomai
  2007-08-06 13:25   ` Richardson, Andy
@ 2007-08-06 13:47     ` Jan Kiszka
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Kiszka @ 2007-08-06 13:47 UTC (permalink / raw)
  To: Richardson, Andy; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 1296 bytes --]

Richardson, Andy wrote:
> Hi, 
>  I get an AIEE, but no oops! I have disabled the xenomai RTDM device
> open in my software and the problem goes away. The standard aiee
> complains and "disables interrupt handler". The system then reboots. I
> am using a custom PPC board with version 2.6.14 of Linux and 2.2.4 of
> Xenomai. I don't seem to be able to activate Adeos debugging: I can
> compile the kernel with that option enabled, but the board won't boot
> when using it! Is there an option I can use to output more printk's from
> Linux when booting?

I guess you mean the I-pipe tracer (CONFIG_IPIPE_DEBUG_CONTEXT was
introduced much later): The tracer may make your board stumble in case
of low memory. Try CONFIG_IPIPE_TRACE_VMALLOC. Still, this alone will
not help to point at the bug.

Let us start with clarifying the scenario a bit more: You have Xenomai
loaded (including RTDM) and working flawlessly (e.g. tested with the
included testsuite)? Then you insert your custom RTDM driver and open it
from some user space application, right? And next you get those crashes.

You may try using Xenomai debugging options, specifically
CONFIG_XENO_OPT_DEBUG_RTDM. /Maybe/ there is some issue hidden in your
RTDM driver (not claiming that RTDM must be bugfree).

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

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

end of thread, other threads:[~2007-08-06 13:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-06 13:05 [Xenomai-help] Random crash in Xenomai Richardson, Andy
2007-08-06 13:14 ` Jan Kiszka
2007-08-06 13:25   ` Richardson, Andy
2007-08-06 13:47     ` Jan Kiszka

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.