Problems while init a driver

Hi,

I have an old 2.4 kernel driver that I somehow adjusted to compile
with current COMEDI.
However, I was given some warnings and when I init the card, I have
such a messages (see below)

please give me a hint what is the problem here.

Cheers Askar


[root_at_sgo-klf comedi]# comedi_config /dev/comedi0 pci1751
Segmentation fault
[root_at_sgo-klf comedi]#
Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel: Oops: 0000 [#1]

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel: CPU:    0

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel: EIP:    0060:[<e02596e7>]    Not tainted VLI

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel: EFLAGS: 00210246   (2.6.20-1.2312.fc5 #1)

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel: EIP is at pci_card_list_init+0x29/0xbc [pci1751]

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel: eax: 00000000   ebx: 000013fe   ecx: c14da000   edx: 00000001

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel: esi: 00000000   edi: d78aaeb4   ebp: df3b6000   esp: d78aade0

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel: ds: 007b   es: 007b   ss: 0068

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel: Process comedi_config (pid: 8239, ti=d78aa000
task=dc35c270 task.ti=d78aa000)

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel: Stack: de0c08f8 df3b6000 e025a187 d78aaeb4 e025979d
c04d3fa6 df0f7988 df71aaf4

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel:        c046e260 de505964 d78aaeac c0467777 deffd00c
00000001 00000001 dead4ead

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel:        ffffffff d78aaeac e025a187 d78aaeb4 df3b6000
e0245ac9 00000000 05590d89

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel: Call Trace:

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel:  [<e025979d>] pci1751_attach+0x23/0x4b1 [pci1751]

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel:  [<c04d3fa6>] _atomic_dec_and_lock+0x22/0x2c

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel:  [<c046e260>] dput+0x31/0xfd

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel:  [<c0467777>] __link_path_walk+0xac7/0xc04

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel:  [<e0245ac9>] comedi_device_attach+0xc7/0x3b5 [comedi]

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel:  [<c04d3fa6>] _atomic_dec_and_lock+0x22/0x2c

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel:  [<e02438fd>] comedi_ioctl+0x10c/0xe06 [comedi]

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel:  [<c044f942>] __handle_mm_fault+0x858/0x87a

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel:  [<c045e487>] nameidata_to_filp+0x24/0x33

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel:  [<c045e4c8>] do_filp_open+0x32/0x39

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel:  [<c046e2ba>] dput+0x8b/0xfd

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel:  [<e02437f1>] comedi_ioctl+0x0/0xe06 [comedi]

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel:  [<c04696f2>] do_ioctl+0x3e/0x4d

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel:  [<c0469900>] vfs_ioctl+0x1ff/0x216

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel:  [<c0469963>] sys_ioctl+0x4c/0x65

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel:  [<c0403dc8>] syscall_call+0x7/0xb

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel:  [<c0600033>] unix_sock_destructor+0xbb/0xd3

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel:  =======================

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel: Code: 5b c3 57 31 c9 56 53 89 c3 83 ec 04 c7 05 00 b3
25 e0 00 00 00 00 eb 02 89 f1 83 ca ff 83 c8 ff e8 0a 79 28 e0 85 c0
89 c6 75 ed <66> 39 1d 24 00 00 00 0f 85 81 00 00 00 a1 b0 bb 6a c0 ba
d0 00

Message from syslogd_at_sgo-klf at Sun May 27 15:42:29 2007 ...
sgo-klf kernel: EIP: [<e02596e7>] pci_card_list_init+0x29/0xbc
[pci1751] SS:ESP 0068:d78aade0


-- 
ICQ 19576333  Cellular +358 45 6386080

Received on 2007-05-27Z11:46:24