Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] Cohorent pool size too small...
Date: Sun, 05 Oct 2014 13:52:32
Message-Id: 20141005135221.GC3856@solfire
1 Hi,
2
3 while trying to get a mt7601sta (UWN200 WiFi dongle) driver running
4 and working I came accross this in the dmesg output:
5
6 [ 9.931938] usb 2-1: device v148f p7601 is not supported
7 [ 9.931976] usb 2-1: New USB device found, idVendor=148f, idProduct=7601
8 [ 9.931994] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
9 [ 10.077532] rtusb init rt2870 --->
10 [ 10.079338]
11
12 === pAd = e0c58000, size = 860808 ===
13
14 [ 10.079939] ERROR: 256 KiB atomic DMA coherent pool is too small!
15 Please increase it with coherent_pool= kernel parameter!
16 [ 10.079968] <-- ERROR in Alloc Bulk buffer for HTTxContext!
17 [ 10.079983] ---> RTMPFreeTxRxRingMemory
18 [ 10.080026] <--- RTMPFreeTxRxRingMemory
19 [ 10.080040] ERROR!!! Failed to allocate memory - TxRxRing
20
21
22 But
23
24 cat /proc/cmdline
25
26 shows:
27
28 console=tty1 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G,coherent_pool=2M
29
30 (this is an embedded device, thats why there are the other parameters
31 around...)
32
33 I do not find any way to set this parameter while compiling the
34 kernel. And setting the kernel parameter seems not to work either...
35
36 Lost?
37
38 ...or am I only blind... ? ;)
39
40 How can I increase the cohorent pool size successfully?
41
42 Best regards,
43 mcc
44
45 PS: The driver sources are not included in the kernel and have to be
46 compiled externally/extra...

Replies

Subject Author
[gentoo-user] Re: Cohorent pool size too small... walt <w41ter@×××××.com>