From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id ACB2013838B for ; Sun, 5 Oct 2014 14:54:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B5ABE092F; Sun, 5 Oct 2014 14:54:20 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1CC73E08AA for ; Sun, 5 Oct 2014 14:54:19 +0000 (UTC) Received: from localhost ([84.133.163.250]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MT74k-1XlD5S3x2M-00S4tx for ; Sun, 05 Oct 2014 16:54:17 +0200 Date: Sun, 5 Oct 2014 16:54:15 +0200 From: meino.cramer@gmx.de To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Cohorent pool size too small... Message-ID: <20141005145415.GE3856@solfire> References: <20141005135221.GC3856@solfire> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: mutt-ng/devel-r804 (Linux) X-Provags-ID: V03:K0:GQGiqwYj1I/51uz8JePaZ8myh7cimn3qRmuFI0bxAXbpBT4QTy2 25Be+BpqO2S7DXDoKRiQWPzrzJ52qLKIeTWGK6o4bqAhC7zT+Ypo3QSpxXC/Ue2nSequQyE f8k9KWzFWH7H9aI4gVgiInIdBdY+sthP2AdOM8/C6W4sIwq+Fj5zwTrDbnwpBPO9fVDsjTO B2Cnz1PDWgEumgGE/CTMg== X-UI-Out-Filterresults: notjunk:1; X-Archives-Salt: 255d32f8-54f5-414b-9fa1-bf2732a2e3d6 X-Archives-Hash: d2107e0c8c2f0b4f17110c3aa986d99f walt [14-10-05 16:16]: > 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. What I dont understand is: If I provide the kernel driver...why does the kernel "decides" not to support the hardware the driver itsself supports...? By the way: I hacked the kernel to provide more coherent pool size with the effect that NO module was loaded anymore...without any trace in the dmesg out (beside the greater pool size itsself...)... best regards, mcc > > > [ 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... > > > > > > > > >