Hi,

thank you for the fast response.
Can you give me a hint which patch this is?
We use kernel 2.6.18 and ipipe 1.5-01, which I think is the latest for
this kernel.
We could backport the ipipe patch, but we don't want to change the
kernel.
Thanks.

Markus



-----Original Message-----
From: Gilles Chanteperdrix [mailto:[EMAIL PROTECTED] 
Sent: Mittwoch, 4. Juni 2008 15:40
To: Markus Osterried
Cc: Xenomai-core@gna.org
Subject: Re: [Xenomai-core] system hangs with "ifconfig eth0 down"

On Wed, Jun 4, 2008 at 3:10 PM, Markus Osterried
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using Xenomai with pSOS-skin.
> The application and the whole system crashes when I call the following

> statement from a pSOS-thread:
>
> system("ifconfig eth0 down");
>
> Any other call to system(), e.g. system("ls") works fine.
> On the other hand, if I call "ifconfig eth0 down" from a shell outside

> the Xenomai-application, it works also fine.
>
> I have reduced the whole application to only one pSOS-thread which 
> only call system(), it crashes.
> If I call system() in the main() function before creating/starting the

> pSOS-thread, it works fine.
>
> Anybody any idea why this call to system() doesn't work from inside 
> the application?

A similar issue has been fixed in recent I-pipe patches. Could you try a
more recent I-pipe patch ?

--
 Gilles

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to