[rtl] large memory block problem
hi, i want to use some large memory block in my module, so i does this: in my app.c #define MEM_SIZE 1000 // 10M unsigned long memory_block[MEM_SIZE]; int init_module(void) { int i; for(i = 0 ;i " | mail [EMAIL PROTECTED] --- For more information on Real-Time Linux see: http://www.rtlinux.org/rtlinux/
[rtl] FW: sprintf for floating point numbers in rt module
> -Original Message- > From: Horacio and Janet Estabridis [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, August 10, 2000 1:59 PM > To: 'Janet Estabridis @ work' > Subject: sprintf for floating point numbers in rt module > > Hi, > > I'm using RTLV0.9J with kernel 2.0.36 if that matters. > > I've search the archives and found that sprintf doesn't work with floating > > point numbers in a real-time modules, but that Pavel Andris had done > something "quick and dirty" and had agreed with Phil Wilshire to have it > available. So, I looked and can't find it. Where can I get it and > instructions for using it? > > Thanks in advance --- > > Janet Estabridis > Electrical Engineer > Code 473E00D > China Lake, CA 93555 > 760-9399-2896 -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl " | mail [EMAIL PROTECTED] --- For more information on Real-Time Linux see: http://www.rtlinux.org/rtlinux/
Re: [rtl] About size
On Thu, Aug 10, 2000 at 09:25:06AM -0400, Binu Balakrishnan wrote: > Hi RTLinuxers, > > What is the size of the basic Linux kernel and what is that of RTLinux kernel? On i386, a compiled Linux kernel is about .5 to 2 MB, depending on which options are configured. My laptop, 2.4.0-test4-ds1, with a lot of options enabled, is at the higher end, my 486 running 2.0.37, is at the lower end. (This is the size of _uncompressed_ kernel images.) For 2.2.14-rtl2.3, the RTLinux module sizes on my laptop are: -rw-r--r--1 root root 122196 Jul 6 06:47 rtl_fifo.o -rw-r--r--1 root root 114864 Jul 6 06:47 rtl_posixio.o -rw-r--r--1 root root 329912 Jul 6 06:47 rtl_sched.o -rw-r--r--1 root root 320670 Jul 6 06:47 rtl_time.o 95% of the size is debigging symbols. After being stripped: -rw-r--r--1 root root 7708 Aug 10 11:31 rtl_fifo.o -rw-r--r--1 root root 6048 Aug 10 11:31 rtl_posixio.o -rw-r--r--1 root root 7952 Aug 10 11:31 rtl_sched.o -rw-r--r--1 root root10104 Aug 10 11:31 rtl_time.o dave... -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl " | mail [EMAIL PROTECTED] --- For more information on Real-Time Linux see: http://www.rtlinux.org/rtlinux/
[rtl] mbuff driver 0.7.2
Hello all, I am using mbuff version 0.7.2 with RTL ver 2.2. I would like to know the effect to change the max allocate number (MBUFF_MAX_MMAPS). Is there an effect on real time behavior of the system ? By default, the define is 16. Changing it to 1000 seems run well. What is the exact fonction of it ? Why the limit of the count of allocation ? Many thanks. JM BELLET -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl " | mail [EMAIL PROTECTED] --- For more information on Real-Time Linux see: http://www.rtlinux.org/rtlinux/
[rtl] About size
Hi RTLinuxers, What is the size of the basic Linux kernel and what is that of RTLinux kernel? Thank You in advance Binu Balakrishnan This e-mail has been sent to you courtesy of OperaMail, as a free service from Opera Software, makers of the award-winning Web Browser, Opera. Visit us at http://www.opera.com/ or our portal at: http://www.myopera.com/ Your free e-mail account is waiting at: http://www.operamail.com/ -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl " | mail [EMAIL PROTECTED] --- For more information on Real-Time Linux see: http://www.rtlinux.org/rtlinux/
[rtl] Programming UDP in RT
Just wondering if anyone has an examples for programming UDP sockets in RT module?? - Tony
Re: [rtl] generating random numbers
On Thu, 10 Aug 2000, Adi Sudewa wrote: > > You could used get_random_bytes(). See linux/random.h for the > > prototype. > > I already try it. But when I insmod random.o, I get this message : > ``couldn't find the kernel version the module was compiled for''. Because it is not a module. That code is always compiled in the kernel - TCP uses it. Just use it. To get your numbers more random you might wish to feed more noise into "enthropy pool" - use every hard disk and network interrupt to add the noise - look (grep kernel source) for places where * void add_interrupt_randomness(int irq); * void add_blkdev_randomness(int irq); are used and see how to activate it. Best regards, -- Tomek -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl " | mail [EMAIL PROTECTED] --- For more information on Real-Time Linux see: http://www.rtlinux.org/rtlinux/
Re: [rtl] generating random numbers
On Thu, 10 Aug 2000, Nathan Simons wrote: > You could used get_random_bytes(). See linux/random.h for the > prototype. I already try it. But when I insmod random.o, I get this message : ``couldn't find the kernel version the module was compiled for''. Actually, it is a very good random number generator, but what I need is just a simple algorithm. I can't get to world wide web right now (the 3rd world internet infrastructure suck :(, connection is too slow and only paying students are given access), so please someone send one algorithm that I can use ? I will highly appreciate it. (It's summer vacation, so my friends who once taking simulation and modeling class is not here :() TIA, -dewa- -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl " | mail [EMAIL PROTECTED] --- For more information on Real-Time Linux see: http://www.rtlinux.org/rtlinux/