From mboxrd@z Thu Jan 1 00:00:00 1970 From: Artem Bityutskiy Subject: Re: MTD : Kernel oops when remounting ubifs as read/write Date: Fri, 15 Mar 2013 10:40:04 +0200 Message-ID: <1363336804.11441.117.camel@sauron.fi.intel.com> References: <5134CEF9.5070502@mimc.co.uk> <1363087506.3348.62.camel@sauron.fi.intel.com> <51405F3A.3090901@mimc.co.uk> <1363252425.11441.94.camel@sauron.fi.intel.com> <51419E3A.8030007@mimc.co.uk> <1363257009.11441.97.camel@sauron.fi.intel.com> <5141B154.6050504@mimc.co.uk> <1363260202.11441.108.camel@sauron.fi.intel.com> <5141BC63.6060501@mimc.co.uk> <1363263529.11441.109.camel@sauron.fi.intel.com> <1363263812.11441.112.camel@sauron.fi.intel.com> <5141D351.8060901@mimc.co.uk> Reply-To: dedekind1@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5141D351.8060901@mimc.co.uk> Sender: linux-kernel-owner@vger.kernel.org To: Mark Jackson Cc: "linux-mtd@lists.infradead.org" , "linux-omap@vger.kernel.org" , lkml , adrian.hunter@intel.com List-Id: linux-omap@vger.kernel.org On Thu, 2013-03-14 at 13:40 +0000, Mark Jackson wrote: > On 14/03/13 12:23, Artem Bityutskiy wrote: > > On Thu, 2013-03-14 at 14:18 +0200, Artem Bityutskiy wrote: > >>> Is this size larger than the allocated buffer ? > >> > >> I believe so. > > > > Err, I mean, the buffer is large enough. I do not believe there is a > > stupid bug like too small buffer. This code has worked for years and I > > do not think it was changes much. > > > > The oops may be cause by memory corruption - some of your drivers may > > corrupt memory. You need to spend more time debugging this carefully. > > It can handle 64k, but not 122880 bytes ... No idea what is wrong with the CRC funtions, you may try older kernels and if you fine a working one, you may try to bisect. -- Best Regards, Artem Bityutskiy