From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e36.co.us.ibm.com (e36.co.us.ibm.com [32.97.110.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "e36.co.us.ibm.com", Issuer "Equifax" (verified OK)) by ozlabs.org (Postfix) with ESMTP id A5DC167AC6 for ; Tue, 20 Jun 2006 10:44:54 +1000 (EST) Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e36.co.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k5K0ipD6019108 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 19 Jun 2006 20:44:51 -0400 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay04.boulder.ibm.com (8.13.6/NCO/VER7.0) with ESMTP id k5K0j0wE033654 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 19 Jun 2006 18:45:00 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k5K0ipPp015002 for ; Mon, 19 Jun 2006 18:44:51 -0600 From: Arnd Bergmann To: linuxppc-dev@ozlabs.org Subject: Re: Unable to handle kernel paging request in show_instructions Date: Tue, 20 Jun 2006 02:44:49 +0200 References: <4497445F.50700@us.ibm.com> In-Reply-To: <4497445F.50700@us.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-Id: <200606200244.49532.arnd.bergmann@de.ibm.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tuesday 20 June 2006 02:42, David Wilder wrote: > But in this case the validation passes even though the address is > invalid. Any ideas how to fix this? Is there a easy way to validate > if a page is valid before accessing it? The check that kallsyms_lookup does should find this, but it may be overkill to call that function just to verify an address. You might also have success calling vmalloc_to_page for a 0xd000... address to check if that is really mapped. Arnd <><