All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] system hangs with "ifconfig eth0 down"
@ 2008-06-04 13:10 Markus Osterried
  2008-06-04 13:40 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 7+ messages in thread
From: Markus Osterried @ 2008-06-04 13:10 UTC (permalink / raw)
  To: Xenomai-core

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

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?
 
Thanks.
 
Markus
 

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

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

end of thread, other threads:[~2008-06-04 16:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-04 13:10 [Xenomai-core] system hangs with "ifconfig eth0 down" Markus Osterried
2008-06-04 13:40 ` Gilles Chanteperdrix
2008-06-04 14:35   ` Markus Osterried
2008-06-04 14:54     ` Gilles Chanteperdrix
2008-06-04 15:09       ` Markus Osterried
2008-06-04 16:40         ` Gilles Chanteperdrix
2008-06-04 16:59         ` Philippe Gerum

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.