Re: cdc_acm buffer allocation out of memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

2013/4/22 Jan Pohanka <xhpohanka@xxxxxxxxx>:
> Dear all,
>
> I'm getting following message from cdc_acm driver when plugging in my
> GSM module on Amlogic 8726-MXS platform (kernel v3.0.8):
>
> cdc_acm 1-1:1.4: ttyACM2: USB ACM device
> [ 26.730474@0] cdc_acm 1-1:1.6: This device cannot do calls on its
> own. It is not a modem.
> [ 26.733206@0] cdc_acm 1-1:1.6: out of memory (write buffer alloc)
> [ 26.740307@0] cdc_acm: probe of 1-1:1.6 failed with error -12
>
> acm_write_buffers_alloc() function calls hcd_buffer_alloc() which
> allocates coherent memory for DMA transfers through dma_pool_alloc or
> dma_alloc_coherent.
> Can please someone give me an advice where is the memory available for
> these allocations defined?

If I am not wrong you should take a look at the define CONSISTENT_DMA_SIZE.

Regards,
Daniele
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux