From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755476Ab2GXH0m (ORCPT ); Tue, 24 Jul 2012 03:26:42 -0400 Received: from mail-lb0-f174.google.com ([209.85.217.174]:59986 "EHLO mail-lb0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754831Ab2GXH0k (ORCPT ); Tue, 24 Jul 2012 03:26:40 -0400 Message-ID: <500E4E2C.3060804@linaro.org> Date: Tue, 24 Jul 2012 08:26:36 +0100 From: Lee Jones User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: Will Deacon CC: Mark Brown , "alsa-devel@alsa-project.org" , Liam Girdwood , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: Help request - ASoC recursion issue References: <500D5A1F.9000808@linaro.org> <500D649B.80704@linaro.org> <500D6602.6070809@linaro.org> <20120723181249.GF3421@mudshark.cambridge.arm.com> In-Reply-To: <20120723181249.GF3421@mudshark.cambridge.arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23/07/12 19:12, Will Deacon wrote: > On Mon, Jul 23, 2012 at 03:56:02PM +0100, Lee Jones wrote: >> On 23/07/12 15:50, Lee Jones wrote: >>>> I was wondering if I may bother you for some help. I've been having >>>> serious issues with testing the new mop500 sound system you have in your >>>> ASoC for-next branch. I've fixed a few issues and will be submitting >>>> patches shortly. The most serious issue I came across was with >>>> recursion. >>> >>> It appears you can ignore this. I just tried another piece of hardware >>> and this problem doesn't arise, leading me to believe I have some kind >>> of eMMC corruption error going on with one of my boards. >> >> FYI, just so you don't think I'm mad: http://paste.ubuntu.com/1106535/ > > I still maintain that you're getting memory corruption as a result of your > linear mapping getting screwed up: > > Truncating RAM at 18000000-3fffffff to -2c3fffff (vmalloc region overlap). > > looks wrong to me. Your command line also has some non-standard mem= options > that I don't understand: Yes, I am inclined to agree with you. I just thought it was uncharacteristic of a memory corruption error, as can reliably reproduce the bootlog above. What's even more strange is that the issue only arises on one of my two _identical_ development boards. > vmalloc=300M mem=128M@0 mali.mali_mem=64M@128M hwmem=168M@192M mem=22M@360M mem_issw=1M@383M mem=640M@384M > > I'd guess you need highmem to map that lot, but you don't appear to have that > enabled and you end up with a rather strange amount of reported memory to go > with your lowmem mapping: > > Memory: 474156k/474156k available, 11220k reserved, 0K highmem > Virtual kernel memory layout: > vector : 0xffff0000 - 0xffff1000 ( 4 kB) > fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) > vmalloc : 0xec800000 - 0xff000000 ( 296 MB) > lowmem : 0xc0000000 - 0xec400000 ( 708 MB) Enabling HIGHMEM is actually on my TODO list. We have it enabled in our release kernel, it's just on in Mainline yet. I'll bring it forward and make it the next think I do. > Now, I don't know a thing about Snowball, so maybe this is all normal for > that board but if you're seeing memory corruption I'd get to the bottom of > this before trying to debug instances of it cropping up in random driver > code :) I don't have any allocated time to debug issues which only arise on Snowball. I'm just waiting on another piece of hardware, then I can start testing on the u9540. This issue will be the first thing I test for. Thanks for your time chaps. -- Lee Jones Linaro ST-Ericsson Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog