как побороть ошибку DMA coherent pool is too small
muaddib |
|
|
|
|
|
|
|
Пункты: 1232 |
Регистрация: 20.11.2014 |
|
|
|
Подскажите как побороть ошибку atomic DMA coherent pool is too small!
Собрал драйвер rt5572sta.ko ralink 5370 при попытке поднять интерфейс и на все другие запросы к устройству ra0
ifconfig: SIOCSIFFLAGS: Operation not permitted
В dmesg ругань на coherent pool
Вывод dmesg
[ 79.674974] <-- RTMPAllocAdapterBlock, Status=0
[ 79.678473] Efuse Size=0x2d [2d0-2fc]
[ 79.681318] NVM is EFUSE
[ 79.683303] usbcore: registered new interface driver rt2870
[ 109.239596] NICLoadFirmware: We need to load firmware
[ 109.503738] ERROR: 256 KiB atomic DMA coherent pool is too small!
Please increase it with coherent_pool= kernel parameter!
[ 109.513633] <-- ERROR in Alloc Bulk buffer for HTTxContext!
[ 109.517923] <-- RTMPAllocTxRxRingMemory, Status=3
[ 109.521373] ERROR!!! RTMPAllocTxRxMemory failed, Status[=0x00000003]
[ 109.526492] ---> RTMPFreeTxRxRingMemory
[ 109.529041] <--- RTMPFreeTxRxRingMemory
[ 109.531584] !!! rt28xx Initialized fail !!!
[ 406.735108] RtmpAsicLoadFirmware: ver 21/21, sum cdf7/cdf7, mac cdf72100
[ 406.740722] NICLoadFirmware: firmware loaded already
[ 406.746356] <-- ERROR in Alloc Bulk buffer for HTTxContext!
[ 406.750648] <-- RTMPAllocTxRxRingMemory, Status=3
[ 406.754109] ERROR!!! RTMPAllocTxRxMemory failed, Status[=0x00000003]
[ 406.759204] ---> RTMPFreeTxRxRingMemory
[ 406.761787] <--- RTMPFreeTxRxRingMemory
[ 406.764375] !!! rt28xx Initialized fail !!!
[ 790.166105] RtmpAsicLoadFirmware: ver 21/21, sum cdf7/cdf7, mac cdf72100
[ 790.171721] NICLoadFirmware: firmware loaded already
[ 790.177233] <-- ERROR in Alloc Bulk buffer for HTTxContext!
[ 790.181525] <-- RTMPAllocTxRxRingMemory, Status=3
[ 790.184988] ERROR!!! RTMPAllocTxRxMemory failed, Status[=0x00000003]
[ 790.190076] ---> RTMPFreeTxRxRingMemory
[ 790.192660] <--- RTMPFreeTxRxRingMemory
[ 790.195260] !!! rt28xx Initialized fail !!!
[ 973.590993] RtmpAsicLoadFirmware: ver 21/21, sum cdf7/cdf7, mac cdf72100
[ 973.596607] NICLoadFirmware: firmware loaded already
[ 973.602480] <-- ERROR in Alloc Bulk buffer for HTTxContext!
[ 973.607116] <-- RTMPAllocTxRxRingMemory, Status=3
[ 973.610532] ERROR!!! RTMPAllocTxRxMemory failed, Status[=0x00000003]
[ 973.615697] ---> RTMPFreeTxRxRingMemory
[ 973.618411] <--- RTMPFreeTxRxRingMemory
[ 973.620959] !!! rt28xx Initialized fail !!!
[ 7237.177328] RtmpAsicLoadFirmware: ver 21/21, sum cdf7/cdf7, mac cdf72100
[ 7237.183150] NICLoadFirmware: firmware loaded already
[ 7237.188575] <-- ERROR in Alloc Bulk buffer for HTTxContext!
[ 7237.192851] <-- RTMPAllocTxRxRingMemory, Status=3
[ 7237.196310] ERROR!!! RTMPAllocTxRxMemory failed, Status[=0x00000003]
[ 7237.201483] ---> RTMPFreeTxRxRingMemory
[ 7237.204146] <--- RTMPFreeTxRxRingMemory
[ 7237.206682] !!! rt28xx Initialized fail !!! |
|
|
|
|
|
sasamy |
|
|
|
|
|
|
|
Пункты: 83540 |
Регистрация: 14.08.2009 |
|
|
|
В параметра ядра можно увеличить размер пула, например добавить
coherent_pool=1M
это старый драйвер - зачем он вам нужен. По-моему в ядре для ралинков есть драйверы |
|
|
|
|
|
muaddib |
|
|
|
|
|
|
|
Пункты: 1232 |
Регистрация: 20.11.2014 |
|
|
|
В ядре ралинков есть драйверы, но я не могу найти в них поддержку стандарта 80211n, скорость передачи этих драйверов соответствует стандарту 80211g и не превышает 3 Мегабайта в сек.
Заявленная скорость устройства 150 Мегабит в сек. |
|
|
|
|
|
muaddib |
|
|
|
|
|
|
|
Пункты: 1232 |
Регистрация: 20.11.2014 |
|
|
|
> When we are measuring performance using iperf, we see ~20Mbps, using
> Channel 11 of 2.4GHZ, using 802.11n.
Known problem of rt2800usb. You might try the original vendor driver[1]
if you want to use the device as STA. Are you running this test on ARM?
rt2800usb runs *extremely* poor with Raspi, e.g.
With the vendor driver rt5572..., I'm getting > 100MBit/s (measured w/
netperf) running at 2.4 GHz and 40 MHz even through reinforced concrete
floor using a rt5372 chip, e.g. - even w/ Raspberry Pi.
Вот ссылка:
http://comments.gmane.org/gmane.linux.kernel.wireless.general/127751 |
|
|
|
|
|
|