From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergey Senozhatsky Subject: Re: acpi_ex_system_memory_space_handler oops Date: Fri, 14 Aug 2009 10:40:33 +0300 Message-ID: <20090814074033.GA3046@localdomain.by> References: <20090812201034.GA2983@localdomain.by> <20090813124647.GA19195@localdomain.by> <1250217283.2987.16.camel@minggr.sh.intel.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Return-path: Received: from mail-fx0-f217.google.com ([209.85.220.217]:38884 "EHLO mail-fx0-f217.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754841AbZHNHhR (ORCPT ); Fri, 14 Aug 2009 03:37:17 -0400 Content-Disposition: inline In-Reply-To: <1250217283.2987.16.camel@minggr.sh.intel.com> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Lin Ming Cc: Len Brown , "Brown, Len" , "Moore, Robert" , "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On (08/14/09 10:34), Lin Ming wrote: > Hi, Sergey >=20 Hi Lin, > Could you please help to locate the line of code that causes oops, as > below? > =20 According to EIP, acpi_ex_system_memory_space_handler+0x75 0x0000023f : call 0x240 0x00000244 : mov $0x3004,%eax= =20 0x00000249 : add $0x10,%esp 0x0000024c : jmp 0x3f5 0x00000251 : mov $0x1,%eax 0x00000256 : mov 0x8(%ebx),%e= dx << 0x00000259 : mov %edx,-0x28(%= ebp) 0x0000025c : cmp %edx,-0x14(%= ebp) =20 which I belive is (marked with __): /* * Does the request fit into the cached memory mapping? * Is 1) Address below the current mapping? OR =20 * 2) Address beyond the current mapping? =20 */ if ((__ address __ < mem_info->mapped_physical_address) || (((acpi_integer) address + length) > ((acpi_integer) mem_info-> mapped_physical_address + mem_info->mapped_length))= ) { =20 > 1. Compile the kernel with debug info > Kernel menuconfig -> Kernel hacking -> Compile the kernel with debug i= nfo >=20 > 2. Retest until it oops, here you get the address of code that causes oop= s. > addr2line -e vmlinux >=20 Sure, will try. Sergey --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iJwEAQECAAYFAkqFFPEACgkQfKHnntdSXjTIYQQAvr7ZpltyigmVe9UjK7OU3CVs pRRriga9XhpNQQoSwgF8E16x7tpTD50OQZVekKiwUtwY3skGi8s77Bi6lhLABPod peZNO7MwbzTmrMjC/v57FvwStvBKOiQbWhccCU7lHJ67Znoyr1YiGH0Y5DB0hlbX BS4BtFkELuzjJr6bdzs= =NQH1 -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v--