comedi_config for NI PCI-6534

Greetings comedi pals, I am having trouble getting comedi configured for 
a National Instruments PCI-6534.  This card requires firmware to be 
installed when configuring.  Here is what I am doing (Linux 2.4.30 with 
latest comedi CVS checkout):

1) modprobe comedi comedi_debug=1

2) modprobe ni_pcidio

3) comedi_config --init-data0 ni6534a.bin --init-data1 niscrb01.bin 
--init-data2 niscrb02.bin /dev/comedi0 ni_pcidio

On the third step, I get this error:

Configure failed!: Bad address
Check kernel log for more information
Possible reasons for failure:
    Comedi bug


By adding some debug statements, I have determined that it is failing in 
comedi_fops.c at the line:

     aux_data = kmalloc(aux_len,GFP_KERNEL);

In other words, the kmalloc is failing, implying that I don't have 
enough kernel memory?!  I do have 128MB in the box, could this possibly 
not be enough?  It is trying to allocate .3MB.  How do I increase the 
amount of available kernel memory?

Regards,

--Andy Stevens

Received on 2005-08-02Z20:35:41