Re: [rtl] breakpoints in kernel code

2001-11-19 Thread Michael Barabanov
Could you please send me a small example that demonstrates the problem? Tim Beamish ([EMAIL PROTECTED]) wrote: I'm trying to set a breakpoint for the debugger to stop on. I'm using the breakpoint function in rtl_debug.h. It seems to stop but I can't access the module from GDB (actually DDD)

Re: [rtl] Problems with PPPD

2001-08-30 Thread Michael Barabanov
Upgrading to RTLinux 3.1 (ftp://hq.fsmlabs.com/pub/rtlinux/v3) should fix the problem. Hermann Betz ([EMAIL PROTECTED]) wrote: Hi community, I?ve a periodic RT-Thread (pthread-make_periodic_np) with periodic time of 50 ms. In addition I have configured a PPP dialin-connection with mgetty

Re: [rtl] Examples and such

2001-08-20 Thread Michael Barabanov
Once I got back to my saved mailing list archive and re-read the documentation, I discovered that I was trying to compile the current version of rtlinux code with (the equivalent of) a makefile designed for v1-code. There are apparently a bunch of compiler switches and command-line #defines

Re: [rtl] Examples and such

2001-08-20 Thread Michael Barabanov
So examples/v1api/frank doesn't compile? Did you enable CONFIG_RTL_USE_V1_API and recompile RTL? Norm Dresner ([EMAIL PROTECTED]) wrote: Okay, I confesss, I've seen these questions a hundred times. But I'm not at work and my main e-mail computer at home is down and I don't have the archive

Re: [rtl] tracer

2001-07-27 Thread Michael Barabanov
Hello? Did you read tracer/README? Ahmet Mutlu ([EMAIL PROTECTED]) wrote: what does rtl_process.c excatly do (in tracer directory)? - End of forwarded message from [EMAIL PROTECTED] - -- [rtl] --- To unsubscribe: echo unsubscribe rtl | mail [EMAIL PROTECTED] OR echo

Re: [rtl] kernel patch

2001-07-25 Thread Michael Barabanov
I suggest you use 3.1pre with 2.4.4. We plan to release 3.1final this week. Shlomi Rechtman ([EMAIL PROTECTED]) wrote: Hi, For which kernel version kernel_patch-2.4 at rtlinux-3.0 suitable ? I do sucess to do patch with rtlinux-3.1pre3/kernel_patch-2.4.4 but fail at

Re: [rtl] Installationproblems: rtl v3.0 on SuSE 7.2

2001-07-23 Thread Michael Barabanov
I don't know what other patches there are in SuSE kernel, so I suggest you get plain 2.4.4 kernel from kernel.org, then patch reiserfs and RTLinux (the order is not important). Michael. Norbert Pfistner ([EMAIL PROTECTED]) wrote: Has anybody any experiences installing rtl v3.0 in conjunction

Re: [rtl] regd floating operations

2001-07-23 Thread Michael Barabanov
Yes, but only those that kernel implements. Look in linux/string.h in the kernel directory. Chandu Reddy K ([EMAIL PROTECTED]) wrote: Hi all , whether it is posible do string operation in Rtlinux. chandu - End of forwarded message from [EMAIL PROTECTED] - --

Re: [rtl] regd floating operations

2001-07-21 Thread Michael Barabanov
Using FPU in FIFO handlers is not directly supported in RTLinux. You can use a server thread like thread() { while(1) { sem_wait(sem); f = sin(f); ... } } fifo_handler() { sem_post(sem); } Michael. Chandu Reddy K ([EMAIL

Re: [rtl] Kernel panic with RTL

2001-07-21 Thread Michael Barabanov
Are you using the old v1 API? JOAQUIN HERRADA ([EMAIL PROTECTED]) wrote: I've downloaded the RTL Linux 3.0 with a prepatched kernel (2.2.18 rtl). I patched the kernel with a diskonchip driver because i'm developing a embedded system. The problem is that after running my application 30' the

Re: [rtl] rt_com. [ rt_com_write() ]

2001-07-13 Thread Michael Barabanov
1) How can I check out that 'rt_com_write()' has successfully written no. of characters to port?...As Man page says 'int' as return value...which means no. bytes read...But actually in source code of rt_com.o it's return type is 'void'.[ I am using RTLinuxV3.0 ] So How can I ensure that

Re: [rtl] monitoring rtl tasks

2001-07-07 Thread Michael Barabanov
Ahmet Mutlu ([EMAIL PROTECTED]) wrote: Make sure you recompile RTLinux from scratch after you do make config to enable tracer. What errors are you getting for measurement? i sun tracer, but notthing appeared, what actually does tracer do? The tracer records timestamped events into

Re: [rtl] monitoring rtl tasks

2001-07-07 Thread Michael Barabanov
can i find a very detailed manual of RTLinux source code? i mean , data structures used and detailed source code explanations? (scheduler especially) None that I know of. If you find some piece of code unclear, please feel free to post questions. Michael. - End of forwarded message

Re: [rtl] monitoring rtl tasks

2001-06-26 Thread Michael Barabanov
Make sure you recompile RTLinux from scratch after you do make config to enable tracer. What errors are you getting for measurement? Ahmet Mutlu ([EMAIL PROTECTED]) wrote: how can i run the tracer program which comes with rtlinux3.0? it crushed my computer, so what did i wrong ? also

[rtl] Re: regd RTL debugger

2001-06-21 Thread Michael Barabanov
whether it is possible to use one module rtl_debug.o to debug different modules separately used by two people, i faced probelm while doing this. No, it's not possible. There's no concept of ownership of RTLinux threads; only root can create them anyway. i am unable to set or print the

Re: [rtl] rtf_put

2001-06-20 Thread Michael Barabanov
It's fine. qiao ([EMAIL PROTECTED]) wrote: hi, all I use rtf_put() in init_module(), is it right? __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ - End of

Re: [rtl] Problem: suppressed periodic task

2001-06-14 Thread Michael Barabanov
Could you please try to run your program under RTLinux 3.0? Michael. Jens Tr?tzschler ([EMAIL PROTECTED]) wrote: Hello, I use a periodic task (10msec) for data aquision and a interrupt task (rt_com) under RTL2.0 on a 486. After some hours uptime the periodic task is completely suppressed

Re: [rtl] RTLinux clock

2001-04-18 Thread Michael Barabanov
S?bastien Gaume ([EMAIL PROTECTED]) wrote: Hi ! I'm starting progamming rtlinux and I have questions about the different clocks that can be used : - while using the "gethrtime();" instruction, where does the value returned come from ? the CPU ? an other clock ? gethrtime() uses the

Re: [rtl] question about soft irq

2000-10-11 Thread Michael Barabanov
For one thing, it is simpler to implement soft irqs this way. Also, 255 possible irqs is plenty for both hard and soft interrupts. Michael. dyd ([EMAIL PROTECTED]) wrote: Hi, all We know that the way using soft irq in rtl is first rtl_get_soft_irq(linux_handler,name) From the code I

Re: [rtl] Simple floating point question

2000-10-10 Thread Michael Barabanov
Adam, For doing this, I suggest using an FPU-enabled thread with a body like: thread_code() { while(1) { pthread_suspend_np(pthread_self()); your_handler_work(); } } interrupt_handler() { pthread_wakeup_np(thread); } Also, I strongly