Problems running the demos

Hello,

I just managed to install comedi, comedilib. Now I can load comedi and 
kcomedilib, my device driver daqboard2000 and after a while I even managed 
to comedi_config my device.
With 'cat /proc/comedi' I get

comedi version 0.7.66
format string: "%2d: %-20s %-20s %4d",i,driver_name,board_name,n_subdevices
 0: daqboard2000         ids2                    3
daqboard2000:
 daqboard2000
8255:
 8255

So I thought everything is okay, but sadly none of the demos are running, 
I always get a 'segmentation fault' when I try to start one. It's the same 
when I do 
- make clean
- make 

In the config file I activated the FPGA stuff for the card.
The (probably) interesting kernel output in the case of the segmentation 
fault is

Nov 11 15:40:42 Turing kernel:  <1>Unable to handle kernel NULL pointer dereference at virtual address 00000001
Nov 11 15:40:42 Turing kernel:  printing eip:
Nov 11 15:40:42 Turing kernel: f8a208ee
Nov 11 15:40:42 Turing kernel: *pde = 00000000
Nov 11 15:40:42 Turing kernel: Oops: 0000
Nov 11 15:40:42 Turing kernel: CPU:    0
Nov 11 15:40:42 Turing kernel: EIP:    0010:[st:__insmod_st_O/lib/modules/2.4.20-rtl3.2-pre2/kernel/drivers+-505618/96]    Tainted: P
Nov 11 15:40:42 Turing kernel: EIP:    0010:[<f8a208ee>]    Tainted: P
Nov 11 15:40:42 Turing kernel: EFLAGS: 00010206
Nov 11 15:40:42 Turing kernel: eax: 00000001   ebx: 00000000   ecx: f8a24ac8   edx: 02000000
Nov 11 15:40:42 Turing kernel: esi: 08049b28   edi: 02000000   ebp: f67a8000   esp: f67a9f4c
Nov 11 15:40:42 Turing kernel: ds: 0018   es: 0018   ss: 0018
Nov 11 15:40:42 Turing kernel: Process tut1 (pid: 1405, stackpage=f67a9000)
Nov 11 15:40:42 Turing kernel: Stack: bffff4c8 f6b05a20 80206403 ffffffe7 f8a24ac8 00000018 08049b28 00000002
Nov 11 15:40:42 Turing kernel:        00000000 00000000 08049b28 000000c8 00000000 40103140 40014b78 f8a201da
Nov 11 15:40:42 Turing kernel:        f6fd8c00 bffff4c8 f6b05a20 bffff4c8 c013ee77 f6d729c0 f6b05a20 80206403
Nov 11 15:40:42 Turing kernel: Call Trace:    [st:__insmod_st_O/lib/modules/2.4.20-rtl3.2-pre2/kernel/drivers+-488760/96] [st:__insmod_st_O/lib/modules/2.4.20-rtl3.2-pre2/kernel/drivers+-507430/96] [sys_ioctl+363/388] [system_call+71/76]
Nov 11 15:40:42 Turing kernel: Call Trace:    [<f8a24ac8>] [<f8a201da>] [<c013ee77>] [<c010876b>]
Nov 11 15:40:42 Turing kernel:
Nov 11 15:40:42 Turing kernel: Code: 0b 10 89 f0 83 c0 04 19 c9 39 45 0c 83 d9 00 85 c9 75 02 89

Versions of my software:
gcc: 2.95.3
linux kernel: 2.4.20 
rtlinux: 3.2-pre2
comedi: 0.7.66
comedilib: 0.7.20

With the actual release there is again a bug with the fpga, as in release 
0.7.56, if I try to do comedi_config I get the error message 'driver not 
found' and a kernelmessage

kernel: comedi0: daqboard2000: ids2no FPGA initialization code, aborting
kernel: comedi0: daqboard2000: remove

I think I got the same problem in april 2001, the thread was 'problems 
with comedi_config and comedilib'. The bug was removed in release 57. May 
be this can help to remove bugs from the test release 67.


I would be very grateful if anyone has an idea how to solve this problem.

Bye, Sacha.


-----------------------------------------------------
Sofienstraße 6
72074 Tübingen

Reply only in plain text! 
Only the finest schnickschnack!

Received on 2003-11-11Z15:46:23