[Xenomai-core] [patch] fix SMI and proc cleanup

2005-11-30 Thread Jan Kiszka
Hi, the smaller the bug is, the longer it takes to track. The first one in this patch was such an issue. It prevented the SMI workaround to do its job because the related PCI ID table got "optimised" away (SVN trunk only). The second one is also SVN-only. It fixes the proc-fs cleanup of the nucle

Re: [Xenomai-core] [patch] fix SMI and proc cleanup

2005-11-30 Thread Philippe Gerum
Jan Kiszka wrote: Hi, the smaller the bug is, the longer it takes to track. The first one in this patch was such an issue. It prevented the SMI workaround to do its job because the related PCI ID table got "optimised" away (SVN trunk only). Good catch. Fact is that this table must survive free

Re: [Xenomai-core] Coding style

2005-11-30 Thread Ignacio García Pérez
Philippe Gerum wrote: > Ignacio García Pérez wrote: > >> Hi, >> >> Some time ago someone mentioned the current xenomai coding style, and >> that maybe it would be a good idea to change it to something more >> "standard". A good place to start would be turn the tabs into spaces to >> eliminate edit

[Xenomai-core] [bug] don't try this at home...

2005-11-30 Thread Jan Kiszka
Hi Philippe, I'm afraid this one is serious: let the attached migration stress test run on likely any Xenomai since 2.0, preferably with CONFIG_XENO_OPT_DEBUG on. Will give a nice crash sooner or later (I'm trying to set up a serial console now). To be more precisely: Setup 1: xeno 2.0, kerne

Re: [Xenomai-core] [bug] don't try this at home...

2005-11-30 Thread Jan Kiszka
Jan Kiszka wrote: > Hi Philippe, > > I'm afraid this one is serious: let the attached migration stress test > run on likely any Xenomai since 2.0, preferably with > CONFIG_XENO_OPT_DEBUG on. Will give a nice crash sooner or later (I'm > trying to set up a serial console now). > As it took some t

Re: [Xenomai-core] [bug] don't try this at home...

2005-11-30 Thread Philippe Gerum
Jan Kiszka wrote: Jan Kiszka wrote: Hi Philippe, I'm afraid this one is serious: let the attached migration stress test run on likely any Xenomai since 2.0, preferably with CONFIG_XENO_OPT_DEBUG on. Will give a nice crash sooner or later (I'm trying to set up a serial console now). Confirme

[Xenomai-core] [bug?] calling xnpod_delete_thread after self-termination

2005-11-30 Thread Jan Kiszka
Hi all, as the subject already says: I face some warning of the nucleus (with XENO_OPT_DEBUG on - useful switch) when I call xnpod_delete_thread for a thread which has already terminated itself by leaving the thread function. Is this double-deletion illegal? Or is it a cleanup-bug of the nucleus?

Re: [Xenomai-core] [bug?] calling xnpod_delete_thread after self-termination

2005-11-30 Thread Philippe Gerum
Jan Kiszka wrote: Hi all, as the subject already says: I face some warning of the nucleus (with XENO_OPT_DEBUG on - useful switch) when I call xnpod_delete_thread for a thread which has already terminated itself by leaving the thread function. Is this double-deletion illegal? Or is it a cleanup-

Re: [Xenomai-core] [bug?] calling xnpod_delete_thread after self-termination

2005-11-30 Thread Philippe Gerum
Jan Kiszka wrote: Hi all, as the subject already says: I face some warning of the nucleus (with XENO_OPT_DEBUG on - useful switch) when I call xnpod_delete_thread for a thread which has already terminated itself by leaving the thread function. Is this double-deletion illegal? Or is it a cleanup-

Re: [Xenomai-core] [bug?] calling xnpod_delete_thread after self-termination

2005-11-30 Thread Jan Kiszka
Philippe Gerum wrote: > Jan Kiszka wrote: > >> Hi all, >> >> as the subject already says: I face some warning of the nucleus (with >> XENO_OPT_DEBUG on - useful switch) when I call xnpod_delete_thread for a >> thread which has already terminated itself by leaving the thread >> function. Is this do

Re: [Xenomai-core] [bug?] calling xnpod_delete_thread after self-termination

2005-11-30 Thread Philippe Gerum
Jan Kiszka wrote: Philippe Gerum wrote: Jan Kiszka wrote: Hi all, as the subject already says: I face some warning of the nucleus (with XENO_OPT_DEBUG on - useful switch) when I call xnpod_delete_thread for a thread which has already terminated itself by leaving the thread function. Is this

[Xenomai-core] [patch] minor doc clarification

2005-11-30 Thread Jan Kiszka
Hi, this patch clarifies the usage of rtdm_task_join_nrt. Typically, rtdm_task_join_nrt + target task wakeup should be preferred over rtdm_task_destroy during cleanup of drivers. It's now intensively used in RTnet. Jan Index: ChangeLog

[Xenomai-core] rt_heap_bind error -2

2005-11-30 Thread 郭宇铮
Hi, I'm using xenomai instead of fusion. When I bind a heap in user space which is created by a kernel module, the return value is -2 which I don't know what it means for it is not one of several values explained by the document. This program runned well with fusion 0.9. My kernel is 2.6.13 patch

Re: [Xenomai-core] [patch] minor doc clarification

2005-11-30 Thread Philippe Gerum
Jan Kiszka wrote: Hi, this patch clarifies the usage of rtdm_task_join_nrt. Applied, thanks. Typically, rtdm_task_join_nrt + target task wakeup should be preferred over rtdm_task_destroy during cleanup of drivers. It's now intensively used in RTnet. Jan --

[Xenomai-core] [patch] fix SMI and proc cleanup

2005-11-30 Thread Jan Kiszka
Hi, the smaller the bug is, the longer it takes to track. The first one in this patch was such an issue. It prevented the SMI workaround to do its job because the related PCI ID table got "optimised" away (SVN trunk only). The second one is also SVN-only. It fixes the proc-fs cleanup of the nucle

Re: [Xenomai-core] [patch] fix SMI and proc cleanup

2005-11-30 Thread Philippe Gerum
Jan Kiszka wrote: Hi, the smaller the bug is, the longer it takes to track. The first one in this patch was such an issue. It prevented the SMI workaround to do its job because the related PCI ID table got "optimised" away (SVN trunk only). Good catch. Fact is that this table must survive free

Re: [Xenomai-core] Coding style

2005-11-30 Thread Ignacio García Pérez
Philippe Gerum wrote: > Ignacio García Pérez wrote: > >> Hi, >> >> Some time ago someone mentioned the current xenomai coding style, and >> that maybe it would be a good idea to change it to something more >> "standard". A good place to start would be turn the tabs into spaces to >> eliminate edit

[Xenomai-core] [bug] don't try this at home...

2005-11-30 Thread Jan Kiszka
Hi Philippe, I'm afraid this one is serious: let the attached migration stress test run on likely any Xenomai since 2.0, preferably with CONFIG_XENO_OPT_DEBUG on. Will give a nice crash sooner or later (I'm trying to set up a serial console now). To be more precisely: Setup 1: xeno 2.0, kerne

Re: [Xenomai-core] [bug] don't try this at home...

2005-11-30 Thread Jan Kiszka
Jan Kiszka wrote: > Hi Philippe, > > I'm afraid this one is serious: let the attached migration stress test > run on likely any Xenomai since 2.0, preferably with > CONFIG_XENO_OPT_DEBUG on. Will give a nice crash sooner or later (I'm > trying to set up a serial console now). > As it took some t

Re: [Xenomai-core] [bug] don't try this at home...

2005-11-30 Thread Philippe Gerum
Jan Kiszka wrote: Jan Kiszka wrote: Hi Philippe, I'm afraid this one is serious: let the attached migration stress test run on likely any Xenomai since 2.0, preferably with CONFIG_XENO_OPT_DEBUG on. Will give a nice crash sooner or later (I'm trying to set up a serial console now). Confirme

[Xenomai-core] [bug?] calling xnpod_delete_thread after self-termination

2005-11-30 Thread Jan Kiszka
Hi all, as the subject already says: I face some warning of the nucleus (with XENO_OPT_DEBUG on - useful switch) when I call xnpod_delete_thread for a thread which has already terminated itself by leaving the thread function. Is this double-deletion illegal? Or is it a cleanup-bug of the nucleus?

Re: [Xenomai-core] [bug?] calling xnpod_delete_thread after self-termination

2005-11-30 Thread Philippe Gerum
Jan Kiszka wrote: Hi all, as the subject already says: I face some warning of the nucleus (with XENO_OPT_DEBUG on - useful switch) when I call xnpod_delete_thread for a thread which has already terminated itself by leaving the thread function. Is this double-deletion illegal? Or is it a cleanup-

Re: [Xenomai-core] [bug?] calling xnpod_delete_thread after self-termination

2005-11-30 Thread Philippe Gerum
Jan Kiszka wrote: Hi all, as the subject already says: I face some warning of the nucleus (with XENO_OPT_DEBUG on - useful switch) when I call xnpod_delete_thread for a thread which has already terminated itself by leaving the thread function. Is this double-deletion illegal? Or is it a cleanup-

Re: [Xenomai-core] [bug?] calling xnpod_delete_thread after self-termination

2005-11-30 Thread Jan Kiszka
Philippe Gerum wrote: > Jan Kiszka wrote: > >> Hi all, >> >> as the subject already says: I face some warning of the nucleus (with >> XENO_OPT_DEBUG on - useful switch) when I call xnpod_delete_thread for a >> thread which has already terminated itself by leaving the thread >> function. Is this do

Re: [Xenomai-core] [bug?] calling xnpod_delete_thread after self-termination

2005-11-30 Thread Philippe Gerum
Jan Kiszka wrote: Philippe Gerum wrote: Jan Kiszka wrote: Hi all, as the subject already says: I face some warning of the nucleus (with XENO_OPT_DEBUG on - useful switch) when I call xnpod_delete_thread for a thread which has already terminated itself by leaving the thread function. Is this