From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-159120-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id B0EE113838B
	for <garchives@archives.gentoo.org>; Sun,  5 Oct 2014 14:12:52 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id DB388E0970;
	Sun,  5 Oct 2014 14:12:46 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id ABCF8E085B
	for <gentoo-user@lists.gentoo.org>; Sun,  5 Oct 2014 14:12:45 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
	by smtp.gentoo.org (Postfix) with ESMTP id D53DD340266
	for <gentoo-user@lists.gentoo.org>; Sun,  5 Oct 2014 14:12:44 +0000 (UTC)
X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org
X-Spam-Flag: NO
X-Spam-Score: 0.951
X-Spam-Level:
X-Spam-Status: No, score=0.951 tagged_above=-999 required=5.5
	tests=[AWL=1.487, BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001,
	FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_LOW=-0.7,
	RCVD_NUMERIC_HELO=1.164, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
	T_FSL_HELO_BARE_IP_2=0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=no
Received: from smtp.gentoo.org ([127.0.0.1])
	by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id N1cX76Rzypin for <gentoo-user@lists.gentoo.org>;
	Sun,  5 Oct 2014 14:12:39 +0000 (UTC)
Received: from plane.gmane.org (plane.gmane.org [80.91.229.3])
	(using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 3D35F3402CC
	for <gentoo-user@gentoo.org>; Sun,  5 Oct 2014 14:12:38 +0000 (UTC)
Received: from list by plane.gmane.org with local (Exim 4.69)
	(envelope-from <lnx-gentoo-user@m.gmane.org>)
	id 1XamY7-0007uI-CR
	for gentoo-user@gentoo.org; Sun, 05 Oct 2014 16:12:35 +0200
Received: from 64.69.39.82 ([64.69.39.82])
        by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <gentoo-user@gentoo.org>; Sun, 05 Oct 2014 16:12:35 +0200
Received: from w41ter by 64.69.39.82 with local (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <gentoo-user@gentoo.org>; Sun, 05 Oct 2014 16:12:35 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: gentoo-user@lists.gentoo.org
From: walt <w41ter@gmail.com>
Subject: [gentoo-user] Re: Cohorent pool size too small...
Date: Sun, 05 Oct 2014 07:12:19 -0700
Message-ID: <m0rjk4$1d9$1@ger.gmane.org>
References: <20141005135221.GC3856@solfire>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@ger.gmane.org
X-Gmane-NNTP-Posting-Host: 64.69.39.82
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1
In-Reply-To: <20141005135221.GC3856@solfire>
X-Archives-Salt: b67b0f48-99a3-4267-b6cb-2a8549fb7d6f
X-Archives-Hash: c77a1de21fa2a9175ffba95e9b181f2d

On 10/05/2014 06:52 AM, meino.cramer@gmx.de wrote:
> Hi,
> 
> while trying to get a mt7601sta (UWN200 WiFi dongle) driver running
> and working I came accross this in the dmesg output:
> 
> [    9.931938] usb 2-1: device v148f p7601 is not supported

This looks to me like it's the real error, not the one below.

> [    9.931976] usb 2-1: New USB device found, idVendor=148f, idProduct=7601
> [    9.931994] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> [   10.077532] rtusb init rt2870 --->
> [   10.079338] 
> 
> === pAd = e0c58000, size = 860808 ===
> 
> [   10.079939] ERROR: 256 KiB atomic DMA coherent pool is too small!
> Please increase it with coherent_pool= kernel parameter!
> [   10.079968] <-- ERROR in Alloc Bulk buffer for HTTxContext!
> [   10.079983] ---> RTMPFreeTxRxRingMemory
> [   10.080026] <--- RTMPFreeTxRxRingMemory
> [   10.080040] ERROR!!! Failed to allocate memory - TxRxRing
> 
> 
> But 
> 
> cat /proc/cmdline 
> 
> shows:
> 
> 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
> 
> (this is an embedded device, thats why there are the other parameters
> around...)
> 
> I do not find any way to set this parameter while compiling the
> kernel. And setting the kernel parameter seems not to work either...
> 
> Lost?
> 
> ...or am I only blind... ? ;)
> 
> How can I increase the cohorent pool size successfully?
> 
> Best regards,
> mcc
> 
> PS: The driver sources are not included in the kernel and have to be
> compiled externally/extra...
> 
> 
>