Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756276AbYBXAoj (ORCPT ); Sat, 23 Feb 2008 19:44:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751030AbYBXAo3 (ORCPT ); Sat, 23 Feb 2008 19:44:29 -0500 Received: from ug-out-1314.google.com ([66.249.92.168]:39375 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750778AbYBXAo2 (ORCPT ); Sat, 23 Feb 2008 19:44:28 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=CYKE51Fci/Lk9YK1a1SW5IUlIcyDO/X3GE5wQ19avlFCi9BucTKxbvkXyScLnQGXwrI7//SyWDDGXDdYDWgkMbuWGRUuZOkPq+IyBH5XlzU1lkewv3wvHPVtKRDlim12JfNrWzt0dJUn7w3UxY6nPFVcY6+9pXz0lxH8ffw6BXE= Message-ID: <47C0BDE2.4020402@googlemail.com> Date: Sun, 24 Feb 2008 01:44:18 +0100 From: Gabriel C User-Agent: Thunderbird 2.0.0.9 (X11/20071204) MIME-Version: 1.0 To: Laurent Riffard CC: Andrew Morton , linux-kernel@vger.kernel.org, Stuart Bennett , Arjan van dev Ven , Len Brown Subject: Re: 2.6.25-rc2-mm1: WARNING at arch/x86/mm/ioremap.c:129 References: <20080216002522.9c4bd0fb.akpm@linux-foundation.org> <47B7553D.5040601@free.fr> In-Reply-To: <47B7553D.5040601@free.fr> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3756 Lines: 91 Laurent Riffard wrote: > Le 16.02.2008 09:25, Andrew Morton a ?crit : >> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc2/2.6.25-rc2-mm1/ > > Got this in dmesg output: > > ------------[ cut here ]------------ > WARNING: at arch/x86/mm/ioremap.c:129 __ioremap+0xc7/0x182() > Modules linked in: > Pid: 1, comm: swapper Not tainted 2.6.25-rc2-mm1 #40 > [] warn_on_slowpath+0x41/0x6d > [] ? trace_hardirqs_on+0xb/0xd > [] ? acpi_os_release_object+0x8/0xc > [] ? acpi_ut_delete_object_desc+0x39/0x3e > [] ? acpi_ut_delete_internal_obj+0x2c1/0x2c9 > [] ? trace_hardirqs_on+0xb/0xd > [] ? trace_hardirqs_on_caller+0xdf/0x100 > [] ? trace_hardirqs_on+0xb/0xd > [] __ioremap+0xc7/0x182 > [] ioremap_nocache+0xa/0xc > [] acpi_os_map_memory+0x11/0x1a > [] acpi_ex_system_memory_space_handler+0xd3/0x228 > [] ? acpi_ev_address_space_dispatch+0x142/0x1a8 > [] ? acpi_ex_system_memory_space_handler+0x0/0x228 > [] acpi_ev_address_space_dispatch+0x167/0x1a8 > [] acpi_ex_access_region+0x1e4/0x270 > [] acpi_ex_field_datum_io+0x153/0x2a1 > [] ? cache_alloc_debugcheck_after+0xe9/0x165 > [] acpi_ex_extract_from_field+0x91/0x224 > [] ? acpi_ex_read_data_from_field+0x163/0x1b0 > [] acpi_ex_read_data_from_field+0x180/0x1b0 > [] acpi_ex_resolve_node_to_value+0x1aa/0x230 > [] acpi_ex_resolve_to_value+0x270/0x2aa > [] acpi_ex_resolve_operands+0x24e/0x52f > [] acpi_ds_exec_end_op+0xb7/0x4f4 > [] acpi_ps_parse_loop+0x5e5/0x79c > [] acpi_ps_parse_aml+0xb2/0x2dd > [] acpi_ps_execute_method+0x13d/0x20d > [] acpi_ns_evaluate+0x10e/0x1b0 > [] acpi_ut_evaluate_object+0x57/0x1a1 > [] acpi_ut_execute_STA+0x22/0x7b > [] ? acpi_ut_release_mutex+0x85/0x8f > [] acpi_ns_get_device_callback+0x5a/0x121 > [] acpi_ns_walk_namespace+0xfa/0x114 > [] acpi_get_devices+0x47/0x5d > [] ? acpi_ns_get_device_callback+0x0/0x121 > [] ? ec_parse_device+0x0/0x6e > [] acpi_ec_ecdt_probe+0xaa/0x10a > [] acpi_init+0x73/0x21e > [] ? class_create+0x4b/0x64 > [] kernel_init+0xa3/0x1f3 > [] ? restore_nocheck_notrace+0x0/0xe > [] ? kernel_init+0x0/0x1f3 > [] ? kernel_init+0x0/0x1f3 > [] kernel_thread_helper+0x7/0x10 > ======================= > ---[ end trace 4eaa2a86a8e2da22 ]--- > > The offending code in arch/x86/mm/ioremap.c is: > 101 static void __iomem *__ioremap(unsigned long phys_addr, unsigned long size, > 102 enum ioremap_mode mode) > 103 { > ... > 119 /* > 120 * Don't allow anybody to remap normal RAM that we're using.. > 121 */ > 122 for (pfn = phys_addr >> PAGE_SHIFT; pfn < max_pfn_mapped && > 123 (pfn << PAGE_SHIFT) < last_addr; pfn++) { > 124 if (page_is_ram(pfn) && pfn_valid(pfn) && > 125 !PageReserved(pfn_to_page(pfn))) > 126 return NULL; > 127 } > 128 > 129 WARN_ON_ONCE(page_is_ram(pfn)); > 130 > > The WARN_ON was introduced by git-agpgart.patch. > [..] I'm getting that in mainline now on one of my older laptops also. > laurent > Gabriel -- 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/