[rtl] rtl_printf and float/double

2001-03-14 Thread Marcus Högberg
Is it possible to printout floats or doubles with rtl_printf and if it is, how do i do it? I've tried the examples below but they dont work. rtl_printf(" float fl = %f", fl); rtl_printf(" double db = %e", db); I'm sorry if this is an old question but I've searced the archive for help on this a

RE: [rtl] rtl_printf an floating point

2001-03-07 Thread Dingrong Yi
answering machine > > FAX:(410) 993 - 8084On-site > > (410) 969 - 8068Afternoons; call first to arrange > > E-Mail: Mornings: [EMAIL PROTECTED] > > Afternoons: [EMAIL PROTECTED] > > > > > -Original Message- > > >

RE: [rtl] rtl_printf an floating point

2001-03-07 Thread bionic
oons; call first to arrange > E-Mail: Mornings: [EMAIL PROTECTED] > Afternoons: [EMAIL PROTECTED] > > > -Original Message- > > From: joseph canou [SMTP:[EMAIL PROTECTED]] > > Sent: Wednesday, March 07, 2001 7:54 AM > > To: [EMAIL PROT

RE: [rtl] rtl_printf an floating point

2001-03-07 Thread Dresner, Norman A.
EMAIL PROTECTED] Afternoons: [EMAIL PROTECTED] > -Original Message- > From: joseph canou [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, March 07, 2001 7:54 AM > To: [EMAIL PROTECTED] > Subject: [rtl] rtl_printf an floating point > > hello > i am using floating

[rtl] rtl_printf an floating point

2001-03-07 Thread joseph canou
hello i am using floating point in rt module and i would like to see some results (for debugging) by using rtl_printf but if i write rtl_printf("%f", var) with var declared as double i just see %f in /var/log/messages how can i do to see this var value? i use rtl3.0 pre9 thank you for your he

[rtl] rtl_printf()s causing panic?

2001-02-22 Thread Eric Peterson
Hi, I have an RT-Linux (2.2.14-rtl2.2) program that is doing quite a few rtl_printf()s (for tracing), that (after a moment) panic'd the kernel (consistently). Disabling a subset of these print statements seemed to make the problem go away. Is this a known problem, or should

Re: [rtl] rtl_printf

2000-10-26 Thread Thomas Paoloni
Dingrong Yi wrote: > Hello, > > Maybe my question is stupid, wish you could forgive me as a beginner. > > Where could I find the output of rtl_printf(" running time %d\n", runtme)? > > If one can see the value of some variables during a code executing, it is > helpful for understanding how the c

Re: [rtl] rtl_printf

2000-10-26 Thread Stuart Hughes
Dingrong Yi wrote: > > Hello, > > Maybe my question is stupid, wish you could forgive me as a beginner. > > Where could I find the output of rtl_printf(" running time %d\n", runtme)? > > If one can see the value of some variables during a code executing, it is > helpful for understanding how

Re: [rtl] rtl_printf

2000-10-26 Thread Olaf Petzold
> Where could I find the output of rtl_printf(" running time %d\n", runtme)? You can use # dmesg to get the messages from the kernel ringbuffer or you can do a # tail -f /var/log/messages to see the messages directly. The last I prefer - to see the timing depencies. > If one can see the

[rtl] rtl_printf

2000-10-25 Thread Dingrong Yi
Hello, Maybe my question is stupid, wish you could forgive me as a beginner. Where could I find the output of rtl_printf(" running time %d\n", runtme)? If one can see the value of some variables during a code executing, it is helpful for understanding how the code behavies. Thanks. Dingron

Re: [rtl] rtl_printf and periodics_tasks

2000-06-21 Thread Victor Yodaiken
On Tue, Jun 20, 2000 at 11:13:58PM +0200, Mario Teijeiro Otero wrote: > I have a long pthread periodic of 10ms, ?is it posible that, > when I debugging with rtl_printf, the period of this is large > that 10ms and freeze the kernel? Yes. Try setting RTL_DEFINE_SLOW_CONSOLE in include/rtl_config.h

[rtl] rtl_printf and periodics_tasks

2000-06-20 Thread Mario Teijeiro Otero
I have a long pthread periodic of 10ms, ¿is it posible that, when I debugging with rtl_printf, the period of this is large that 10ms and freeze the kernel? -- El código fuente, como el estiércol, si lo diseminas ayuda al crecimiento si lo acaparas solamente apesta.(Zachary Kessing SLASHDOT)

Re: [rtl] rtl_printf crash

2000-05-25 Thread kissg
> What's the details of the crash? Is it repeatable? At this moment I couldn't reproduce it. Maybe it was a false alarm. Regards Gabor > > On Tue, May 23, 2000 at 09:29:50AM +0200, [EMAIL PROTECTED] wrote: > > I found, that too many rtl_printf() within a short period > > can crash the kernel

Re: [rtl] rtl_printf crash

2000-05-23 Thread yodaiken
What's the details of the crash? Is it repeatable? On Tue, May 23, 2000 at 09:29:50AM +0200, [EMAIL PROTECTED] wrote: > I found, that too many rtl_printf() within a short period > can crash the kernel. > Why? > Is there any automatic mechanism to prevent this? > > I have a 19200 bps serial conso

[rtl] rtl_printf crash

2000-05-23 Thread kissg
I found, that too many rtl_printf() within a short period can crash the kernel. Why? Is there any automatic mechanism to prevent this? I have a 19200 bps serial console on a 100MHz 486 machine. RTL version is 2.2. CONFIG_RTL_SLOW_CONSOLE=y Gabor -- [rtl] --- To unsubscribe: echo "unsubscribe rtl

Re: [rtl] rtl_printf problem

2000-03-24 Thread Kulwinder Atwal
cd to the top of the Linux source code directory grep -r 'sscanf*{' * | more 'man grep' is your friend. - Kal. "Herbel, Rick" wrote: > > Sorry if this is a repeat but does any one remember the library to link in > to use sscanf in a realtime app -l? > > Thaanks, > > Rick > -- [rtl] --- > To

Re: [rtl] rtl_printf?

2000-03-10 Thread kissg
> (I know this topic was treated before, but mailing list archive doesn't > work in www.rtlinux.org and I can't find documentation about it). List archive is at http://www.realtimelinux.org/archives/rtl/ Regards Gabor -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROT

Re: [rtl] rtl_printf?

2000-03-10 Thread Stephane Bouchard
Hi, To see your rtl_printf() output, you can use dmesg and/or tail /var/log/messages (depending on how you configured syslogd). I'm personnaly not able to do this in rtl v2.0 but with v2.2, that's working. Regards, Stephane A 10:28 00-03-10 +0100, vous avez écrit : > Hello, I want to re

[rtl] rtl_printf?

2000-03-10 Thread Ivan Martinez
Hello, I want to reports errors produced in the real time task and I think rtl_printf is the way to do it, isn't it?. In that case, where does rtl_printf output go to in RTLinux 2.2?. (I know this topic was treated before, but mailing list archive doesn't work in www.rtlinux.org an

Re: [rtl] rtl_printf problem

2000-02-13 Thread Michael Barabanov
Hi, Stephane, > I send to you the screenshoot of the dmesg and tail /var/log/messages in > the file Test in attachment. This is before and after running the hello > example from /rtl/examples/hello. All look to be the normal boot sequence. > > Note: I have add the mbuff on the insrtl and rmrtl f

Re: [rtl] rtl_printf problem

2000-02-13 Thread Michael Barabanov
; > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 31, 2000 8:35 PM > To: [EMAIL PROTECTED] > Subject: [rtl] rtl_printf problem > > > Hi, > > I have install rt-linux on a second machine and I have a problem with th

[rtl] rtl_printf question

1999-12-04 Thread Der Herr Hofr.at
Hi all ! I have a problem understanding what rtl_printf is actualy doing I call rtl_printf at init_module and at cleanup , wich works fine but if I cal it within a thread then the last strings droped to rtl_printf are buffered somwhere , and if I do my terminal