From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ameya Mitragotri" Date: Sat, 08 Nov 2003 07:58:59 +0000 Subject: RE: Problem with accessing page tables Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org > Ameya> One of the checks below fails because the call > pmd_offset gives pmd > Ameya> With value o. > > That means the PTE directory hasn't been allocated yet. > Perfectly normal for memory that hasn't been accessed yet. We passed the address of swapper_pg_dir and this is what we got. Nov 8 12:29:35 i2 kernel: The swapper_pg_dir address is a0000001008d6000 Nov 8 12:29:35 i2 kernel: The pgd offset is 280 address of pgd entry is a0000001008d6000 value @ pgd entry is 2146033664 Nov 8 12:29:35 i2 kernel: The pmd offset is 201 pmd address is e00000007fe9f008 value @ pmd is 0 Now I think the memory for the swapper_pg_dir has already been allocated. I still get PMD as 0. Am I doing something fundamentally wrong? Thanks ameya