- From: Omri Schwarz <ocschwar_at_MIT.EDU>
- Date: Thu, 17 Jun 2004 11:29:09 -0400
Hi, everyone. I have an AMD 64 bit Opteron machine running Fedora 64 Core 2, with a PCI 6023E card from National Instruments. I've built linux-2.6.6-comedi and now just have to figure out a few more things to be up and running. On startup, for now, no modules are loaded. As I load them, the following takes place: #/sbin/lspci [.... deleted ....] 02:0a.0 Class ff00: National Instruments PCI-6023E # /sbin/modprobe comedi # cat /proc/comedi comedi version 0.7.67.1 format string: "%2d: %-20s %-20s %4d",i,driver_name,board_name,n_subdevices no devices #/sbin/modprobe ni_pcimio # cat /proc/comedi comedi version 0.7.67.1 format string: "%2d: %-20s %-20s %4d",i,driver_name,board_name,n_subdevices no devices ni_pcimio: ni_pcimio 8255: 8255 So first I have to wonder why /proc/comedi was loaded with information on the 8255. I'd be much obliged for any hint on that. Secondly, I did not find in the docs any mknod incantations for defining the /dev/comedi device files. Trying the following crashed my machine hard: dev]# mknod comedi0 c 98 0 dev]# /usr/local/sbin/comedi_config comedi0 ni_pcimio Killed Rebooting, trying again: ]# /usr/local/sbin/comedi_config -v /dev/comedi0 ni_pcimio configuring driver=ni_pcimio 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0, And examining the logs shows: Jun 16 13:56:56 kernel: comedi0: ni_pcimio: pci-6023eMITE:0xe1813000 mapped to ffffff0000137000 DAQ:0xe1812000 mapped to ffffff0000139000 Jun 16 13:56:56 kernel: ( irq = 17 )<1>Unable to handle kernel paging request at 0000000000139000 RIP: Looking at this through gdb shows that the crash happens going into the ioctl() but I was not able to see (yet) how far into it it goes. Thanks in advance for any info at all, Omri Schwarz
Received on 2004-06-17Z14:29:09