From mboxrd@z Thu Jan 1 00:00:00 1970 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7D82A.870FEE24" Date: Mon, 6 Aug 2007 14:05:56 +0100 Message-ID: From: "Richardson, Andy" Subject: [Xenomai-help] Random crash in Xenomai List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C7D82A.870FEE24 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 ------_=_NextPart_001_01C7D82A.870FEE24 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Random crash in Xenomai

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


------_=_NextPart_001_01C7D82A.870FEE24-- From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <46B71EC3.9010101@domain.hid> Date: Mon, 06 Aug 2007 15:14:43 +0200 From: Jan Kiszka MIME-Version: 1.0 References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig90891402B980187B00D6D251" Sender: jan.kiszka@domain.hid Subject: Re: [Xenomai-help] Random crash in Xenomai List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Richardson, Andy" Cc: xenomai@xenomai.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig90891402B980187B00D6D251 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable 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 --------------enig90891402B980187B00D6D251 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGtx7DniDOoMHTA+kRAjmHAJwO49mSY8igY8eFZewgHlGPdslSJACcCQtU L9N3DUTAAew4N/WRZ/eS23k= =C08R -----END PGP SIGNATURE----- --------------enig90891402B980187B00D6D251-- From mboxrd@z Thu Jan 1 00:00:00 1970 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 6 Aug 2007 14:25:00 +0100 Message-ID: In-Reply-To: <46B71EC3.9010101@domain.hid> From: "Richardson, Andy" Subject: Re: [Xenomai-help] Random crash in Xenomai List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: jan.kiszka@domain.hid Cc: xenomai@xenomai.org Hi,=20 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <46B72685.30104@domain.hid> Date: Mon, 06 Aug 2007 15:47:49 +0200 From: Jan Kiszka MIME-Version: 1.0 References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig39DB32693DCAB52E47DF1C47" Sender: jan.kiszka@domain.hid Subject: Re: [Xenomai-help] Random crash in Xenomai List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Richardson, Andy" Cc: xenomai@xenomai.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig39DB32693DCAB52E47DF1C47 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Richardson, Andy wrote: > Hi,=20 > 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 fro= m > 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 --------------enig39DB32693DCAB52E47DF1C47 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGtyaFniDOoMHTA+kRAgCUAJ0Sd8ey3Yk2OC4nqOoAH/+CljZUuACfQSxk BfI6yKXirG1fI1zx/13Y3Wk= =UXfj -----END PGP SIGNATURE----- --------------enig39DB32693DCAB52E47DF1C47--