Hallo,
some times ago I started this thread. Now some days later I had the time to
verify some things (with new comedi-0.7.45, mbuff-6.6), e.g. the hint of using
the right gcc:
# cat /proc/version
Linux version 2.2.14-rtl2.2 (root@rtreg) (gcc driver version 2.95.2 19991024 (release)
executing gcc version 2.7.2.3) #10 Mit Jul 12 09:57:32 CEST 2000
So I recompiled the kernel, module, mbuff and comedi with the gcc 2.7.2.3
(without smp support). I insmoded the module from runlevel 1:
#ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.6 0.0 1120 56 ? S 11:34 0:03 init [
root 2 0.0 0.0 0 0 ? SW 11:34 0:00 [kflushd]
root 3 0.0 0.0 0 0 ? SW 11:34 0:00 [kupdate]
root 4 0.0 0.0 0 0 ? SW 11:34 0:00 [kpiod]
root 5 0.0 0.0 0 0 ? SW 11:34 0:00 [kswapd]
root 175 0.0 0.0 1120 0 tty1 SW 11:34 0:00 [init]
root 176 0.4 0.7 1680 468 tty1 S 11:34 0:02 /bin/sh
root 275 0.0 1.0 2320 688 tty1 R 11:43 0:00 ps aux
# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 6
model name : Celeron (Mendocino)
stepping : 5
cpu MHz : 501.143396
cache size : 128 KB
#lsmod
Module Size Used by
mbuff 5624 0
rtl_sched 5244 0
rtl_fifo 6760 0
rtl_posixio 6832 0 [rtl_fifo]
kcomedilib 5188 0
ni_pcimio 17344 0
mite 1428 0 [ni_pcimio]
comedi 15804 0 [kcomedilib ni_pcimio]
rtl_time 9028 0 [rtl_sched rtl_posixio kcomedilib ni_pcimio comedi]
nls_iso8859-1 2248 1 (autoclean)
nls_cp437 3752 1 (autoclean)
vfat 9192 1 (autoclean)
fat 29216 1 (autoclean) [vfat]
About 4 kHz the systems slows down. About 4.5 kHz I will get into troubel,
while rmmod the rtreg I got a lot of kernel oops (see attachement). Whats going
on ?
Who has running the rtlinux2.2 with comedi at higher 4kHz with which hardware,
compiler options and running software (fvwm, kde). The task is only doing
analog input and output, no calculations ! IMHO the problems causes comedi,
without comedi_trig_ioctl() the task was running up to 10kHz. Who can help or
has an idea?
Thanks Olaf
oops.txt.gz