* RE: [Xenomai-help] Newbie problem : xenomai 2.3.1 and kernel 2.6.20.4installation problem
@ 2007-03-30 11:32 RAKOTOSALAMA, Nirilanto
2007-03-30 13:44 ` Gilles Chanteperdrix
0 siblings, 1 reply; 3+ messages in thread
From: RAKOTOSALAMA, Nirilanto @ 2007-03-30 11:32 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai
> > Hello everybody !
> >
> > I installed xenomai 2.3.0 on a FC6 linux distribution with vanilla kernel 2.6.19.7 following the
> > http://www.captain.at/xenomai-2.1-installation.php installation guide.
> > It worked well until I install a new xenomai version (2.3.1) and linux kernel (2.6.20.4)
> > with the same kernel configuration than the first install.
> > The compilation and installation passed but when I run the xeno-test program, sometimes, it blocks
> > at the begining and I have to reboot the PC. Also, the cyclic testsuite program always blocks when I stop it pressing ctl-c.
> > I have no problem with the latency test or others simple programs I made using rt_arlarm objects (I only use native skin).
> >
> > When I launch the ancient kernel (which worked before) I have the same behaviour when I launch cyclic test and xeno-test.
> This means that the problem lies in user-space. Could you launch
> xeno-test with bash -x to see what command of xeno-test blocks ? And
> attach gdb to the bloccked cyclictest to see where it is blocked ?
Strangely, I ran xeno-test 5 times and it did'nt hard lock.
I ran bash -x xeno_test and it froze twice at :
+date
ven mar 30 09:44:27 CEST 2007
+ echo running: cat /proc/xenomai/interfaces/rtdm
running cat....
+ eval cat /proc/xenomai/interfaces/rtdm
++ cat /proc/xenomai/interfaces/rtdm
+ wait 2953
Another strange behaviour : I stopped the xeno-test program pressing ctl-C and I
entered commands in the console, and at the moment I heard the PC signal "beep", the PC froze. (it occurred twice)
I attached gdb to the cyclictest but, the program is supposed to freeze when I stop it pressing ctl-C
and during debugging that only stops gdb and doesn't stop cyclictest.
So I tried to find where it is blocked using printf() into cyclictest sources. But when I run cyclictest and I press ctl-C
the PC doesn't freeze anymore but reboot. I restored the original cyclictest version and ran it, the PC rebooted.
After I reinstalled xenomai (only /usr/xenomai) and when I stop the cyclictest, the PC reboots
> >
> > Note : When I installed 2.3.1 xenomai version over the ancien 2.3.0 version I only removed the
> > old /usr/xenomai directory and launch the 2.3.1 xenomai installation. (Is there a better manner to unsinstall an older xenomai version?)
> No, this method should work.
> > (...)
> > [niry@domain.hid ~]$ xeno-info
> > If some fields are empty or look unusual you may have an old version.
> > Compare to the current minimal requirements in Documentation/Changes.
> >
> > Linux localhost.localdomain 2.6.20.4-xenomai.2.3.1_29-03-2007 #1 Thu Mar 29 16:27:42 CEST 2007 i686 i686 i386 GNU/Linux
> >
> > Gnu C 4.1.1
> To rule out any compiler bug, could you try recompiling with a less
> recent version ? Say gcc 3.3.x ?
I think it's my last solution. You want me to recompile the whole kernel or only xenomai ?
> --
> Gilles Chanteperdrix.
> This mail has originated outside your organization, either from an external partner or the Global Internet.
> Keep this in mind if you answer this message.
This e-mail is intended only for the above addressee. It may contain privileged information.
If you are not the addressee you must not copy, distribute, disclose or use any of the information in it.
If you have received it in error please delete it and immediately notify the sender.
Security Notice: all e-mail, sent to or from this address, may be accessed by someone other than the recipient, for system management and security reasons. This access is controlled under Regulation of security reasons.
This access is controlled under Regulation of Investigatory Powers Act 2000, Lawful Business Practises.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] Newbie problem : xenomai 2.3.1 and kernel 2.6.20.4installation problem
2007-03-30 11:32 [Xenomai-help] Newbie problem : xenomai 2.3.1 and kernel 2.6.20.4installation problem RAKOTOSALAMA, Nirilanto
@ 2007-03-30 13:44 ` Gilles Chanteperdrix
0 siblings, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2007-03-30 13:44 UTC (permalink / raw)
To: RAKOTOSALAMA, Nirilanto; +Cc: xenomai
RAKOTOSALAMA, Nirilanto wrote:
>
> > > Hello everybody !
> > >
> > > I installed xenomai 2.3.0 on a FC6 linux distribution with vanilla kernel 2.6.19.7 following the
> > > http://www.captain.at/xenomai-2.1-installation.php installation guide.
> > > It worked well until I install a new xenomai version (2.3.1) and linux kernel (2.6.20.4)
> > > with the same kernel configuration than the first install.
> > > The compilation and installation passed but when I run the xeno-test program, sometimes, it blocks
> > > at the begining and I have to reboot the PC. Also, the cyclic testsuite program always blocks when I stop it pressing ctl-c.
> > > I have no problem with the latency test or others simple programs I made using rt_arlarm objects (I only use native skin).
> > >
> > > When I launch the ancient kernel (which worked before) I have the same behaviour when I launch cyclic test and xeno-test.
>
> > This means that the problem lies in user-space. Could you launch
> > xeno-test with bash -x to see what command of xeno-test blocks ? And
> > attach gdb to the bloccked cyclictest to see where it is blocked ?
>
> Strangely, I ran xeno-test 5 times and it did'nt hard lock.
> I ran bash -x xeno_test and it froze twice at :
> +date
> ven mar 30 09:44:27 CEST 2007
> + echo running: cat /proc/xenomai/interfaces/rtdm
> running cat....
> + eval cat /proc/xenomai/interfaces/rtdm
> ++ cat /proc/xenomai/interfaces/rtdm
> + wait 2953
>
> Another strange behaviour : I stopped the xeno-test program pressing ctl-C and I
> entered commands in the console, and at the moment I heard the PC signal "beep", the PC froze. (it occurred twice)
>
> I attached gdb to the cyclictest but, the program is supposed to freeze when I stop it pressing ctl-C
> and during debugging that only stops gdb and doesn't stop cyclictest.
> So I tried to find where it is blocked using printf() into cyclictest sources. But when I run cyclictest and I press ctl-C
> the PC doesn't freeze anymore but reboot. I restored the original cyclictest version and ran it, the PC rebooted.
> After I reinstalled xenomai (only /usr/xenomai) and when I stop the cyclictest, the PC reboots
I meant to attach gdb to cyclictest once it is blocked. But if the
machine reboots, it will be hard. Note that when adding printf to trace
the program termination, you should not add it in a signal handler, as
this could be the cause of deadlocks.
--
Gilles Chanteperdrix
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [Xenomai-help] Newbie problem : xenomai 2.3.1 and kernel 2.6.20.4installation problem
@ 2007-04-02 10:15 RAKOTOSALAMA, Nirilanto
0 siblings, 0 replies; 3+ messages in thread
From: RAKOTOSALAMA, Nirilanto @ 2007-04-02 10:15 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai
> >
> > > > Hello everybody !
> > > >
> > > > I installed xenomai 2.3.0 on a FC6 linux distribution with vanilla kernel 2.6.19.7 following the
> > > > http://www.captain.at/xenomai-2.1-installation.php installation guide.
> > > > It worked well until I install a new xenomai version (2.3.1) and linux kernel (2.6.20.4)
> > > > with the same kernel configuration than the first install.
> > > > The compilation and installation passed but when I run the xeno-test program, sometimes, it blocks
> > > > at the begining and I have to reboot the PC. Also, the cyclic testsuite program always blocks when I stop it pressing ctl-c.
> > > > I have no problem with the latency test or others simple programs I made using rt_arlarm objects (I only use native skin).
> > > >
> > > > When I launch the ancient kernel (which worked before) I have the same behaviour when I launch cyclic test and xeno-test.
> >
> > > This means that the problem lies in user-space. Could you launch
> > > xeno-test with bash -x to see what command of xeno-test blocks ? And
> > > attach gdb to the bloccked cyclictest to see where it is blocked ?
> >
> > Strangely, I ran xeno-test 5 times and it did'nt hard lock.
> > I ran bash -x xeno_test and it froze twice at :
> > +date
> > ven mar 30 09:44:27 CEST 2007
> > + echo running: cat /proc/xenomai/interfaces/rtdm
> > running cat....
> > + eval cat /proc/xenomai/interfaces/rtdm
> > ++ cat /proc/xenomai/interfaces/rtdm
> > + wait 2953
> >
> > Another strange behaviour : I stopped the xeno-test program pressing ctl-C and I
> > entered commands in the console, and at the moment I heard the PC signal "beep", the PC froze. (it occurred twice)
> >
> > I attached gdb to the cyclictest but, the program is supposed to freeze when I stop it pressing ctl-C
> > and during debugging that only stops gdb and doesn't stop cyclictest.
> > So I tried to find where it is blocked using printf() into cyclictest sources. But when I run cyclictest and I press ctl-C
> > the PC doesn't freeze anymore but reboot. I restored the original cyclictest version and ran it, the PC rebooted.
> > After I reinstalled xenomai (only /usr/xenomai) and when I stop the cyclictest, the PC reboots
> I meant to attach gdb to cyclictest once it is blocked. But if the
> machine reboots, it will be hard. Note that when adding printf to trace
> the program termination, you should not add it in a signal handler, as
> this could be the cause of deadlocks.
Sorry, I can't attach gdb to cyclictest once it is blocked because, the PC is hard locked and I can't do anything (only reboot).
So, I'm trying to install the gcc version 3.3.6. I hope that will solve my problems.
Thanks for your help..
Niry.
This e-mail is intended only for the above addressee. It may contain privileged information.
If you are not the addressee you must not copy, distribute, disclose or use any of the information in it.
If you have received it in error please delete it and immediately notify the sender.
Security Notice: all e-mail, sent to or from this address, may be accessed by someone other than the recipient, for system management and security reasons. This access is controlled under Regulation of security reasons.
This access is controlled under Regulation of Investigatory Powers Act 2000, Lawful Business Practises.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-04-02 10:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-30 11:32 [Xenomai-help] Newbie problem : xenomai 2.3.1 and kernel 2.6.20.4installation problem RAKOTOSALAMA, Nirilanto
2007-03-30 13:44 ` Gilles Chanteperdrix
-- strict thread matches above, loose matches on Subject: below --
2007-04-02 10:15 RAKOTOSALAMA, Nirilanto
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.