Re: comedi_config for NI PCI-6534

On Tuesday 02 August 2005 05:35 pm, Andy Stevens wrote:
> 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?

Try replacing the kmalloc/kfree with vmalloc/vfree.

-- 
Frank

Received on 2005-08-03Z01:03:02