Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Cohorent pool size too small...
Date: Sun, 05 Oct 2014 14:54:26
Message-Id: 20141005145415.GE3856@solfire
In Reply to: [gentoo-user] Re: Cohorent pool size too small... by walt
1 walt <w41ter@×××××.com> [14-10-05 16:16]:
2 > On 10/05/2014 06:52 AM, meino.cramer@×××.de wrote:
3 > > Hi,
4 > >
5 > > while trying to get a mt7601sta (UWN200 WiFi dongle) driver running
6 > > and working I came accross this in the dmesg output:
7 > >
8 > > [ 9.931938] usb 2-1: device v148f p7601 is not supported
9 >
10 > This looks to me like it's the real error, not the one below.
11
12 What I dont understand is: If I provide the kernel driver...why does
13 the kernel "decides" not to support the hardware the driver itsself
14 supports...?
15
16 By the way: I hacked the kernel to provide more coherent pool size
17 with the effect that NO module was loaded anymore...without any trace
18 in the dmesg out (beside the greater pool size itsself...)...
19
20 best regards,
21 mcc
22
23
24
25 >
26 > > [ 9.931976] usb 2-1: New USB device found, idVendor=148f, idProduct=7601
27 > > [ 9.931994] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
28 > > [ 10.077532] rtusb init rt2870 --->
29 > > [ 10.079338]
30 > >
31 > > === pAd = e0c58000, size = 860808 ===
32 > >
33 > > [ 10.079939] ERROR: 256 KiB atomic DMA coherent pool is too small!
34 > > Please increase it with coherent_pool= kernel parameter!
35 > > [ 10.079968] <-- ERROR in Alloc Bulk buffer for HTTxContext!
36 > > [ 10.079983] ---> RTMPFreeTxRxRingMemory
37 > > [ 10.080026] <--- RTMPFreeTxRxRingMemory
38 > > [ 10.080040] ERROR!!! Failed to allocate memory - TxRxRing
39 > >
40 > >
41 > > But
42 > >
43 > > cat /proc/cmdline
44 > >
45 > > shows:
46 > >
47 > > 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
48 > >
49 > > (this is an embedded device, thats why there are the other parameters
50 > > around...)
51 > >
52 > > I do not find any way to set this parameter while compiling the
53 > > kernel. And setting the kernel parameter seems not to work either...
54 > >
55 > > Lost?
56 > >
57 > > ...or am I only blind... ? ;)
58 > >
59 > > How can I increase the cohorent pool size successfully?
60 > >
61 > > Best regards,
62 > > mcc
63 > >
64 > > PS: The driver sources are not included in the kernel and have to be
65 > > compiled externally/extra...
66 > >
67 > >
68 > >
69 >
70 >
71 >

Replies

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