From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ee0-f49.google.com ([74.125.83.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TAG7c-0004Xk-JE for linux-mtd@lists.infradead.org; Sat, 08 Sep 2012 08:10:33 +0000 Received: by eekc13 with SMTP id c13so146912eek.36 for ; Sat, 08 Sep 2012 01:10:29 -0700 (PDT) Message-ID: <504AFD8E.50701@gmail.com> Date: Sat, 08 Sep 2012 10:10:54 +0200 From: Sasha Levin MIME-Version: 1.0 To: Linus Torvalds Subject: Re: mtd: kernel BUG at arch/x86/mm/pat.c:279! References: <1340959739.2936.28.camel@lappy> <1347057778.26695.68.camel@sbsiddha-desk.sc.intel.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Suresh Siddha , "linux-kernel@vger.kernel.org" , linux-mm , linux-mtd@lists.infradead.org, Dave Jones , Andrew Morton , dwmw2@infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 09/08/2012 01:09 AM, Linus Torvalds wrote: > Sasha, since you can apparently reproduce it, can you replace the > "BUG_ON()" with just a > > if (start >= end) { > printf("bogus range %llx - %llx\n", start, end); > return -EINVAL; > } Replacing it gives me the following: [ 36.231736] bogus range fffffffffffff000 - 0 Thanks, Sasha