[comedi] On later kernels 'comedi_config /dev/comedi0 ni_pcimio' does not work
"'Anders Blomdell' via Comedi: Linux Control and Measurement Device Interface" <[email protected]> Fri, 25 Aug 2023 17:10:34 +0200
| Newsgroups | gmane.linux.comedi |
|---|---|
| Message-ID | <[email protected]> |
With comedi from https://github.com/Linux-Comedi/comedi (git tag 9792ce4) 'comedi_config /dev/comedi0 ni_pcimio' later kernels (6.2.9, 6.3.7 and 6.4.6) fails with 'Buffer allocation failed' in dmesg but earlier kernels (6.0.15) works. The problem is that the call to 'dma_alloc_coherent' (called from 'comedi_buf_alloc' fails to allocate the needed buffer. Looking at the source in the kernel tree shows very different code in 'comedi_buf_alloc', than in the standalone comedi. Should I take this as a discouragement to use the out of tree version of comedi, and instead rebuild the kernel with comedi support? Best regards /Anders -- Anders Blomdell Email: [email protected] Department of Automatic Control Lund University Phone: +46 46 222 8793 P.O. Box 118 SE-221 00 Lund, Sweden -- You received this message because you are subscribed to the Google Groups "Comedi: Linux Control and Measurement Device Interface" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/comedi_list/910a6c0f-6556-5505-2d1a-463083c5b745%40control.lth.se.