Hi,
with Xenomai 2.4.10 same error.
i solved with this patch that you have made in 2009.
best regards
davide
diff --git a/src/rtdk/rt_print.c b/src/rtdk/rt_print.c
index 0615247..a0aeec3 100644
--- a/src/rtdk/rt_print.c
+++ b/src/rtdk/rt_print.c
@@ -422,6 +422,7 @@ void __rt_print_init(void)
pthread_attr_t thattr;
const char *value_str;
unsigned long long period;
+ unsigned stksize;
first_buffer = NULL;
seq_no = 0;
@@ -457,6 +458,9 @@ void __rt_print_init(void)
pthread_cond_init(&printer_wakeup, NULL);
pthread_attr_init(&thattr);
- pthread_attr_setstacksize(&thattr, PTHREAD_STACK_MIN);
+ stksize = 32768;
+ if (stksize < PTHREAD_STACK_MIN)
+ stksize = PTHREAD_STACK_MIN;
+ pthread_attr_setstacksize(&thattr, stksize);
pthread_create(&printer_thread, &thattr, printer_loop, NULL);
}
Il giorno 19-apr-2011, alle ore 19.39, davide doninelli ha scritto:
> Hi,
> sorry i precise
> Linux kernel v.2.6.29.6
> Adeos patch 2.6.29 2.6.26-mxc
> Xenomai v. 2.4.8
>
> compiler 4.2.1
> thanks in advance
> davide
> Il giorno 19-apr-2011, alle ore 19.13, Gilles Chanteperdrix ha scritto:
>
>> davide doninelli wrote:
>>> Hi,
>>> With xenomai on the APF27, the commands rt_printf() don't print on console?
>>> Have someone the same issue?
>>> Or i need to change some output ? (on which serial print out)
>>>
>>>
>>> rt_printk() works fine.
>>>
>>
>> http://www.xenomai.org/index.php/Request_for_information
>>
>> --
>> Gilles.
>
> _______________________________________________
> Xenomai-help mailing list
> [email protected]
> https://mail.gna.org/listinfo/xenomai-help
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help