Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761180AbYHUTAU (ORCPT ); Thu, 21 Aug 2008 15:00:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755436AbYHUS75 (ORCPT ); Thu, 21 Aug 2008 14:59:57 -0400 Received: from gw.goop.org ([64.81.55.164]:57122 "EHLO mail.goop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760982AbYHUS7z (ORCPT ); Thu, 21 Aug 2008 14:59:55 -0400 Message-ID: <48ADBB29.3040800@goop.org> Date: Thu, 21 Aug 2008 11:59:53 -0700 From: Jeremy Fitzhardinge User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: Hugh Dickins CC: =?ISO-8859-1?Q?Rafa=3F_Mi=3Fecki?= , "Rafael J. Wysocki" , Linux Kernel Mailing List , Kernel Testers List , Ingo Molnar , "H. Peter Anvin" , Yinghai Lu , Jack Steiner , Alan Jenkins Subject: Re: [Bug #11313] Plugging HDMI causes "unable to handle kernel paging request" References: <48AB5D17.5030600@goop.org> <48AC3FA4.9080603@goop.org> <48ADB041.9040806@goop.org> In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2107 Lines: 58 Hugh Dickins wrote: > On Thu, 21 Aug 2008, Jeremy Fitzhardinge wrote: > >> Some notes as I pick through all the evidence so far: >> >> - the crash is specifically because there are reserved bits set in the pmd >> - the pmd is b02a00043a6001a3 in both cases >> > > Yes, it's corrupt, it should be > 800000013a6001a3 > > >> - the vaddr is ffff88013a600000 in the first crash, and >> ffff81013a6d1c00 in the second >> corresponding to the same large-page pmd mapping of phys page 0x13a600000 >> - this maps to e820 entry >> BIOS-e820: 0000000100000000 - 0000000140000000 (usable) >> - the corresponding boot-time mapping is >> >> init_memory_mapping >> 0100000000 - 0140000000 page 2M >> kernel direct mapping tables up to 140000000 @ b000-11000 >> ^^^^^^^^^^ >> addr 100000000 reusing pgd 201880 0000000000202063 >> last_map_addr: 140000000 end: 140000000 >> >> !!! and the memory allocated for this pagetable is: >> #5 [0000008000 - 000000b000] PGTABLE ==> [0000008000 - 000000b000] >> #6 [000000b000 - 000000c000] PGTABLE ==> [000000b000 - 000000c000] >> ^^^^^^^^^^^^^^^^^^^^^^^ >> >> IOW, it's mapping using b000-11000, but it has only reserved b000 - c000 >> >> Also, this is right in the middle of the ISA area, which seems risky. >> <<<< >> >> Bug #11237 shows the same symptom, so I'm pretty confident they're dups now. >> > > [ Sorry, I'm replying to #11313 even though we think it's dup of #11237. ] > > Haven't you got that backwards? > > My reading is that find_early_table_space set aside b000-11000 for the > worst case possible, but actually only b000-c000 was needed (because > most of the tables were already there): no problem. > Drat. I think you may be right. J -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/